diff options
author | Lynne <dev@lynne.ee> | 2024-10-14 05:56:43 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-10-15 17:45:20 +0200 |
commit | 4d19be287faa9c4d4dde2caa187c8a28f886b0a3 (patch) | |
tree | 6b068eadd52b9fd58a21a9e4dd9e0001ae0df200 | |
parent | 4e861ad8e02c941361e5b1fe4a290155270d23d0 (diff) | |
download | ffmpeg-4d19be287faa9c4d4dde2caa187c8a28f886b0a3.tar.gz |
libavfilter/Makefile: add a makefile for Vulkan shaders
-rw-r--r-- | libavfilter/Makefile | 13 | ||||
-rw-r--r-- | libavfilter/vulkan/Makefile | 12 |
2 files changed, 16 insertions, 9 deletions
diff --git a/libavfilter/Makefile b/libavfilter/Makefile index a8a778632c..4d9681768b 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -24,6 +24,9 @@ OBJS = allfilters.o \ version.o \ video.o \ +include $(SRC_PATH)/libavfilter/dnn/Makefile +include $(SRC_PATH)/libavfilter/vulkan/Makefile + OBJS-$(HAVE_LIBC_MSVCRT) += file_open.o OBJS-$(HAVE_THREADS) += pthread.o @@ -31,7 +34,6 @@ OBJS-$(HAVE_THREADS) += pthread.o OBJS-$(CONFIG_QSVVPP) += qsvvpp.o OBJS-$(CONFIG_SCENE_SAD) += scene_sad.o OBJS-$(CONFIG_DNN) += dnn_filter_common.o -include $(SRC_PATH)/libavfilter/dnn/Makefile # audio filters OBJS-$(CONFIG_AAP_FILTER) += af_aap.o @@ -218,8 +220,7 @@ OBJS-$(CONFIG_BOXBLUR_OPENCL_FILTER) += vf_avgblur_opencl.o opencl.o \ OBJS-$(CONFIG_BWDIF_FILTER) += vf_bwdif.o bwdifdsp.o yadif_common.o OBJS-$(CONFIG_BWDIF_CUDA_FILTER) += vf_bwdif_cuda.o vf_bwdif_cuda.ptx.o \ yadif_common.o -OBJS-$(CONFIG_BWDIF_VULKAN_FILTER) += vf_bwdif_vulkan.o yadif_common.o vulkan.o vulkan_filter.o \ - vulkan/bwdif.o +OBJS-$(CONFIG_BWDIF_VULKAN_FILTER) += vf_bwdif_vulkan.o yadif_common.o vulkan.o vulkan_filter.o OBJS-$(CONFIG_CAS_FILTER) += vf_cas.o OBJS-$(CONFIG_CCREPACK_FILTER) += vf_ccrepack.o OBJS-$(CONFIG_CHROMABER_VULKAN_FILTER) += vf_chromaber_vulkan.o vulkan.o vulkan_filter.o @@ -680,9 +681,3 @@ OPENCL = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavfilter/opencl/*.cl)) libavfilter/opencl/%.c: TAG = OPENCL libavfilter/opencl/%.c: $(SRC_PATH)/libavfilter/opencl/%.cl $(M)$(SRC_PATH)/tools/source2c $< $@ - -VULKAN = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavfilter/vulkan/*.comp)) -.SECONDARY: $(VULKAN:.comp=.c) -libavfilter/vulkan/%.c: TAG = VULKAN -libavfilter/vulkan/%.c: $(SRC_PATH)/libavfilter/vulkan/%.comp - $(M)$(SRC_PATH)/tools/source2c $< $@ diff --git a/libavfilter/vulkan/Makefile b/libavfilter/vulkan/Makefile new file mode 100644 index 0000000000..573eee32c7 --- /dev/null +++ b/libavfilter/vulkan/Makefile @@ -0,0 +1,12 @@ +GEN_CLEANSUFFIXES = *.o *.c *.d + +clean:: + $(RM) $(GEN_CLEANSUFFIXES:%=libavfilter/vulkan/%) + +OBJS-$(CONFIG_BWDIF_VULKAN_FILTER) += vulkan/bwdif.o + +VULKAN = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavfilter/vulkan/*.comp)) +.SECONDARY: $(VULKAN:.comp=.c) +libavfilter/vulkan/%.c: TAG = VULKAN +libavfilter/vulkan/%.c: $(SRC_PATH)/libavfilter/vulkan/%.comp + $(M)$(SRC_PATH)/tools/source2c $< $@ |