Makefile 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. NAME = avfilter
  2. DESC = FFmpeg audio/video filtering library
  3. HEADERS = avfilter.h \
  4. buffersink.h \
  5. buffersrc.h \
  6. version.h \
  7. OBJS = allfilters.o \
  8. audio.o \
  9. avfilter.o \
  10. avfiltergraph.o \
  11. buffersink.o \
  12. buffersrc.o \
  13. drawutils.o \
  14. fifo.o \
  15. formats.o \
  16. framepool.o \
  17. framequeue.o \
  18. graphdump.o \
  19. graphparser.o \
  20. transform.o \
  21. video.o \
  22. OBJS-$(HAVE_THREADS) += pthread.o
  23. # subsystems
  24. OBJS-$(CONFIG_QSVVPP) += qsvvpp.o
  25. DNN-OBJS-$(CONFIG_LIBTENSORFLOW) += dnn_backend_tf.o
  26. OBJS-$(CONFIG_DNN) += dnn_interface.o dnn_backend_native.o $(DNN-OBJS-yes)
  27. OBJS-$(CONFIG_SCENE_SAD) += scene_sad.o
  28. # audio filters
  29. OBJS-$(CONFIG_ABENCH_FILTER) += f_bench.o
  30. OBJS-$(CONFIG_ACOMPRESSOR_FILTER) += af_sidechaincompress.o
  31. OBJS-$(CONFIG_ACONTRAST_FILTER) += af_acontrast.o
  32. OBJS-$(CONFIG_ACOPY_FILTER) += af_acopy.o
  33. OBJS-$(CONFIG_ACROSSFADE_FILTER) += af_afade.o
  34. OBJS-$(CONFIG_ACROSSOVER_FILTER) += af_acrossover.o
  35. OBJS-$(CONFIG_ACRUSHER_FILTER) += af_acrusher.o
  36. OBJS-$(CONFIG_ACUE_FILTER) += f_cue.o
  37. OBJS-$(CONFIG_ADECLICK_FILTER) += af_adeclick.o
  38. OBJS-$(CONFIG_ADECLIP_FILTER) += af_adeclick.o
  39. OBJS-$(CONFIG_ADELAY_FILTER) += af_adelay.o
  40. OBJS-$(CONFIG_ADERIVATIVE_FILTER) += af_aderivative.o
  41. OBJS-$(CONFIG_AECHO_FILTER) += af_aecho.o
  42. OBJS-$(CONFIG_AEMPHASIS_FILTER) += af_aemphasis.o
  43. OBJS-$(CONFIG_AEVAL_FILTER) += aeval.o
  44. OBJS-$(CONFIG_AFADE_FILTER) += af_afade.o
  45. OBJS-$(CONFIG_AFFTDN_FILTER) += af_afftdn.o
  46. OBJS-$(CONFIG_AFFTFILT_FILTER) += af_afftfilt.o
  47. OBJS-$(CONFIG_AFIR_FILTER) += af_afir.o
  48. OBJS-$(CONFIG_AFORMAT_FILTER) += af_aformat.o
  49. OBJS-$(CONFIG_AGATE_FILTER) += af_agate.o
  50. OBJS-$(CONFIG_AIIR_FILTER) += af_aiir.o
  51. OBJS-$(CONFIG_AINTEGRAL_FILTER) += af_aderivative.o
  52. OBJS-$(CONFIG_AINTERLEAVE_FILTER) += f_interleave.o
  53. OBJS-$(CONFIG_ALIMITER_FILTER) += af_alimiter.o
  54. OBJS-$(CONFIG_ALLPASS_FILTER) += af_biquads.o
  55. OBJS-$(CONFIG_ALOOP_FILTER) += f_loop.o
  56. OBJS-$(CONFIG_AMERGE_FILTER) += af_amerge.o
  57. OBJS-$(CONFIG_AMETADATA_FILTER) += f_metadata.o
  58. OBJS-$(CONFIG_AMIX_FILTER) += af_amix.o
  59. OBJS-$(CONFIG_AMULTIPLY_FILTER) += af_amultiply.o
  60. OBJS-$(CONFIG_ANEQUALIZER_FILTER) += af_anequalizer.o
  61. OBJS-$(CONFIG_ANLMDN_FILTER) += af_anlmdn.o
  62. OBJS-$(CONFIG_ANULL_FILTER) += af_anull.o
  63. OBJS-$(CONFIG_APAD_FILTER) += af_apad.o
  64. OBJS-$(CONFIG_APERMS_FILTER) += f_perms.o
  65. OBJS-$(CONFIG_APHASER_FILTER) += af_aphaser.o generate_wave_table.o
  66. OBJS-$(CONFIG_APULSATOR_FILTER) += af_apulsator.o
  67. OBJS-$(CONFIG_AREALTIME_FILTER) += f_realtime.o
  68. OBJS-$(CONFIG_ARESAMPLE_FILTER) += af_aresample.o
  69. OBJS-$(CONFIG_AREVERSE_FILTER) += f_reverse.o
  70. OBJS-$(CONFIG_ASELECT_FILTER) += f_select.o
  71. OBJS-$(CONFIG_ASENDCMD_FILTER) += f_sendcmd.o
  72. OBJS-$(CONFIG_ASETNSAMPLES_FILTER) += af_asetnsamples.o
  73. OBJS-$(CONFIG_ASETPTS_FILTER) += setpts.o
  74. OBJS-$(CONFIG_ASETRATE_FILTER) += af_asetrate.o
  75. OBJS-$(CONFIG_ASETTB_FILTER) += settb.o
  76. OBJS-$(CONFIG_ASHOWINFO_FILTER) += af_ashowinfo.o
  77. OBJS-$(CONFIG_ASIDEDATA_FILTER) += f_sidedata.o
  78. OBJS-$(CONFIG_ASOFTCLIP_FILTER) += af_asoftclip.o
  79. OBJS-$(CONFIG_ASPLIT_FILTER) += split.o
  80. OBJS-$(CONFIG_ASR_FILTER) += af_asr.o
  81. OBJS-$(CONFIG_ASTATS_FILTER) += af_astats.o
  82. OBJS-$(CONFIG_ASTREAMSELECT_FILTER) += f_streamselect.o framesync.o
  83. OBJS-$(CONFIG_ATEMPO_FILTER) += af_atempo.o
  84. OBJS-$(CONFIG_ATRIM_FILTER) += trim.o
  85. OBJS-$(CONFIG_AZMQ_FILTER) += f_zmq.o
  86. OBJS-$(CONFIG_BANDPASS_FILTER) += af_biquads.o
  87. OBJS-$(CONFIG_BANDREJECT_FILTER) += af_biquads.o
  88. OBJS-$(CONFIG_BASS_FILTER) += af_biquads.o
  89. OBJS-$(CONFIG_BIQUAD_FILTER) += af_biquads.o
  90. OBJS-$(CONFIG_BS2B_FILTER) += af_bs2b.o
  91. OBJS-$(CONFIG_CHANNELMAP_FILTER) += af_channelmap.o
  92. OBJS-$(CONFIG_CHANNELSPLIT_FILTER) += af_channelsplit.o
  93. OBJS-$(CONFIG_CHORUS_FILTER) += af_chorus.o generate_wave_table.o
  94. OBJS-$(CONFIG_COMPAND_FILTER) += af_compand.o
  95. OBJS-$(CONFIG_COMPENSATIONDELAY_FILTER) += af_compensationdelay.o
  96. OBJS-$(CONFIG_CROSSFEED_FILTER) += af_crossfeed.o
  97. OBJS-$(CONFIG_CRYSTALIZER_FILTER) += af_crystalizer.o
  98. OBJS-$(CONFIG_DCSHIFT_FILTER) += af_dcshift.o
  99. OBJS-$(CONFIG_DEESSER_FILTER) += af_deesser.o
  100. OBJS-$(CONFIG_DRMETER_FILTER) += af_drmeter.o
  101. OBJS-$(CONFIG_DYNAUDNORM_FILTER) += af_dynaudnorm.o
  102. OBJS-$(CONFIG_EARWAX_FILTER) += af_earwax.o
  103. OBJS-$(CONFIG_EBUR128_FILTER) += f_ebur128.o
  104. OBJS-$(CONFIG_EQUALIZER_FILTER) += af_biquads.o
  105. OBJS-$(CONFIG_EXTRASTEREO_FILTER) += af_extrastereo.o
  106. OBJS-$(CONFIG_FIREQUALIZER_FILTER) += af_firequalizer.o
  107. OBJS-$(CONFIG_FLANGER_FILTER) += af_flanger.o generate_wave_table.o
  108. OBJS-$(CONFIG_HAAS_FILTER) += af_haas.o
  109. OBJS-$(CONFIG_HDCD_FILTER) += af_hdcd.o
  110. OBJS-$(CONFIG_HEADPHONE_FILTER) += af_headphone.o
  111. OBJS-$(CONFIG_HIGHPASS_FILTER) += af_biquads.o
  112. OBJS-$(CONFIG_HIGHSHELF_FILTER) += af_biquads.o
  113. OBJS-$(CONFIG_JOIN_FILTER) += af_join.o
  114. OBJS-$(CONFIG_LADSPA_FILTER) += af_ladspa.o
  115. OBJS-$(CONFIG_LOUDNORM_FILTER) += af_loudnorm.o ebur128.o
  116. OBJS-$(CONFIG_LOWPASS_FILTER) += af_biquads.o
  117. OBJS-$(CONFIG_LOWSHELF_FILTER) += af_biquads.o
  118. OBJS-$(CONFIG_LV2_FILTER) += af_lv2.o
  119. OBJS-$(CONFIG_MCOMPAND_FILTER) += af_mcompand.o
  120. OBJS-$(CONFIG_PAN_FILTER) += af_pan.o
  121. OBJS-$(CONFIG_REPLAYGAIN_FILTER) += af_replaygain.o
  122. OBJS-$(CONFIG_RESAMPLE_FILTER) += af_resample.o
  123. OBJS-$(CONFIG_RUBBERBAND_FILTER) += af_rubberband.o
  124. OBJS-$(CONFIG_SIDECHAINCOMPRESS_FILTER) += af_sidechaincompress.o
  125. OBJS-$(CONFIG_SIDECHAINGATE_FILTER) += af_agate.o
  126. OBJS-$(CONFIG_SILENCEDETECT_FILTER) += af_silencedetect.o
  127. OBJS-$(CONFIG_SILENCEREMOVE_FILTER) += af_silenceremove.o
  128. OBJS-$(CONFIG_SOFALIZER_FILTER) += af_sofalizer.o
  129. OBJS-$(CONFIG_STEREOTOOLS_FILTER) += af_stereotools.o
  130. OBJS-$(CONFIG_STEREOWIDEN_FILTER) += af_stereowiden.o
  131. OBJS-$(CONFIG_SUPEREQUALIZER_FILTER) += af_superequalizer.o
  132. OBJS-$(CONFIG_SURROUND_FILTER) += af_surround.o
  133. OBJS-$(CONFIG_TREBLE_FILTER) += af_biquads.o
  134. OBJS-$(CONFIG_TREMOLO_FILTER) += af_tremolo.o
  135. OBJS-$(CONFIG_VIBRATO_FILTER) += af_vibrato.o generate_wave_table.o
  136. OBJS-$(CONFIG_VOLUME_FILTER) += af_volume.o
  137. OBJS-$(CONFIG_VOLUMEDETECT_FILTER) += af_volumedetect.o
  138. OBJS-$(CONFIG_AEVALSRC_FILTER) += aeval.o
  139. OBJS-$(CONFIG_ANOISESRC_FILTER) += asrc_anoisesrc.o
  140. OBJS-$(CONFIG_ANULLSRC_FILTER) += asrc_anullsrc.o
  141. OBJS-$(CONFIG_FLITE_FILTER) += asrc_flite.o
  142. OBJS-$(CONFIG_HILBERT_FILTER) += asrc_hilbert.o
  143. OBJS-$(CONFIG_SINC_FILTER) += asrc_sinc.o
  144. OBJS-$(CONFIG_SINE_FILTER) += asrc_sine.o
  145. OBJS-$(CONFIG_ANULLSINK_FILTER) += asink_anullsink.o
  146. # video filters
  147. OBJS-$(CONFIG_ALPHAEXTRACT_FILTER) += vf_extractplanes.o
  148. OBJS-$(CONFIG_ALPHAMERGE_FILTER) += vf_alphamerge.o
  149. OBJS-$(CONFIG_AMPLIFY_FILTER) += vf_amplify.o
  150. OBJS-$(CONFIG_ASS_FILTER) += vf_subtitles.o
  151. OBJS-$(CONFIG_ATADENOISE_FILTER) += vf_atadenoise.o
  152. OBJS-$(CONFIG_AVGBLUR_FILTER) += vf_avgblur.o
  153. OBJS-$(CONFIG_AVGBLUR_OPENCL_FILTER) += vf_avgblur_opencl.o opencl.o \
  154. opencl/avgblur.o boxblur.o
  155. OBJS-$(CONFIG_BBOX_FILTER) += bbox.o vf_bbox.o
  156. OBJS-$(CONFIG_BENCH_FILTER) += f_bench.o
  157. OBJS-$(CONFIG_BITPLANENOISE_FILTER) += vf_bitplanenoise.o
  158. OBJS-$(CONFIG_BLACKDETECT_FILTER) += vf_blackdetect.o
  159. OBJS-$(CONFIG_BLACKFRAME_FILTER) += vf_blackframe.o
  160. OBJS-$(CONFIG_BLEND_FILTER) += vf_blend.o framesync.o
  161. OBJS-$(CONFIG_BM3D_FILTER) += vf_bm3d.o
  162. OBJS-$(CONFIG_BOXBLUR_FILTER) += vf_boxblur.o boxblur.o
  163. OBJS-$(CONFIG_BOXBLUR_OPENCL_FILTER) += vf_avgblur_opencl.o opencl.o \
  164. opencl/avgblur.o boxblur.o
  165. OBJS-$(CONFIG_BWDIF_FILTER) += vf_bwdif.o yadif_common.o
  166. OBJS-$(CONFIG_CHROMAHOLD_FILTER) += vf_chromakey.o
  167. OBJS-$(CONFIG_CHROMAKEY_FILTER) += vf_chromakey.o
  168. OBJS-$(CONFIG_CHROMASHIFT_FILTER) += vf_chromashift.o
  169. OBJS-$(CONFIG_CIESCOPE_FILTER) += vf_ciescope.o
  170. OBJS-$(CONFIG_CODECVIEW_FILTER) += vf_codecview.o
  171. OBJS-$(CONFIG_COLORBALANCE_FILTER) += vf_colorbalance.o
  172. OBJS-$(CONFIG_COLORCHANNELMIXER_FILTER) += vf_colorchannelmixer.o
  173. OBJS-$(CONFIG_COLORKEY_FILTER) += vf_colorkey.o
  174. OBJS-$(CONFIG_COLORKEY_OPENCL_FILTER) += vf_colorkey_opencl.o opencl.o \
  175. opencl/colorkey.o
  176. OBJS-$(CONFIG_COLORHOLD_FILTER) += vf_colorkey.o
  177. OBJS-$(CONFIG_COLORLEVELS_FILTER) += vf_colorlevels.o
  178. OBJS-$(CONFIG_COLORMATRIX_FILTER) += vf_colormatrix.o
  179. OBJS-$(CONFIG_COLORSPACE_FILTER) += vf_colorspace.o colorspace.o colorspacedsp.o
  180. OBJS-$(CONFIG_CONVOLUTION_FILTER) += vf_convolution.o
  181. OBJS-$(CONFIG_CONVOLUTION_OPENCL_FILTER) += vf_convolution_opencl.o opencl.o \
  182. opencl/convolution.o
  183. OBJS-$(CONFIG_CONVOLVE_FILTER) += vf_convolve.o framesync.o
  184. OBJS-$(CONFIG_COPY_FILTER) += vf_copy.o
  185. OBJS-$(CONFIG_COREIMAGE_FILTER) += vf_coreimage.o
  186. OBJS-$(CONFIG_COVER_RECT_FILTER) += vf_cover_rect.o lavfutils.o
  187. OBJS-$(CONFIG_CROP_FILTER) += vf_crop.o
  188. OBJS-$(CONFIG_CROPDETECT_FILTER) += vf_cropdetect.o
  189. OBJS-$(CONFIG_CUE_FILTER) += f_cue.o
  190. OBJS-$(CONFIG_CURVES_FILTER) += vf_curves.o
  191. OBJS-$(CONFIG_DATASCOPE_FILTER) += vf_datascope.o
  192. OBJS-$(CONFIG_DCTDNOIZ_FILTER) += vf_dctdnoiz.o
  193. OBJS-$(CONFIG_DEBAND_FILTER) += vf_deband.o
  194. OBJS-$(CONFIG_DEBLOCK_FILTER) += vf_deblock.o
  195. OBJS-$(CONFIG_DECIMATE_FILTER) += vf_decimate.o
  196. OBJS-$(CONFIG_DERAIN_FILTER) += vf_derain.o
  197. OBJS-$(CONFIG_DECONVOLVE_FILTER) += vf_convolve.o framesync.o
  198. OBJS-$(CONFIG_DEDOT_FILTER) += vf_dedot.o
  199. OBJS-$(CONFIG_DEFLATE_FILTER) += vf_neighbor.o
  200. OBJS-$(CONFIG_DEFLICKER_FILTER) += vf_deflicker.o
  201. OBJS-$(CONFIG_DEINTERLACE_QSV_FILTER) += vf_deinterlace_qsv.o
  202. OBJS-$(CONFIG_DEINTERLACE_VAAPI_FILTER) += vf_deinterlace_vaapi.o vaapi_vpp.o
  203. OBJS-$(CONFIG_DEJUDDER_FILTER) += vf_dejudder.o
  204. OBJS-$(CONFIG_DELOGO_FILTER) += vf_delogo.o
  205. OBJS-$(CONFIG_DENOISE_VAAPI_FILTER) += vf_misc_vaapi.o vaapi_vpp.o
  206. OBJS-$(CONFIG_DESHAKE_FILTER) += vf_deshake.o
  207. OBJS-$(CONFIG_DESPILL_FILTER) += vf_despill.o
  208. OBJS-$(CONFIG_DETELECINE_FILTER) += vf_detelecine.o
  209. OBJS-$(CONFIG_DILATION_FILTER) += vf_neighbor.o
  210. OBJS-$(CONFIG_DILATION_OPENCL_FILTER) += vf_neighbor_opencl.o opencl.o \
  211. opencl/neighbor.o
  212. OBJS-$(CONFIG_DISPLACE_FILTER) += vf_displace.o framesync.o
  213. OBJS-$(CONFIG_DOUBLEWEAVE_FILTER) += vf_weave.o
  214. OBJS-$(CONFIG_DRAWBOX_FILTER) += vf_drawbox.o
  215. OBJS-$(CONFIG_DRAWGRAPH_FILTER) += f_drawgraph.o
  216. OBJS-$(CONFIG_DRAWGRID_FILTER) += vf_drawbox.o
  217. OBJS-$(CONFIG_DRAWTEXT_FILTER) += vf_drawtext.o
  218. OBJS-$(CONFIG_EDGEDETECT_FILTER) += vf_edgedetect.o
  219. OBJS-$(CONFIG_ELBG_FILTER) += vf_elbg.o
  220. OBJS-$(CONFIG_ENTROPY_FILTER) += vf_entropy.o
  221. OBJS-$(CONFIG_EQ_FILTER) += vf_eq.o
  222. OBJS-$(CONFIG_EROSION_FILTER) += vf_neighbor.o
  223. OBJS-$(CONFIG_EROSION_OPENCL_FILTER) += vf_neighbor_opencl.o opencl.o \
  224. opencl/neighbor.o
  225. OBJS-$(CONFIG_EXTRACTPLANES_FILTER) += vf_extractplanes.o
  226. OBJS-$(CONFIG_FADE_FILTER) += vf_fade.o
  227. OBJS-$(CONFIG_FFTDNOIZ_FILTER) += vf_fftdnoiz.o
  228. OBJS-$(CONFIG_FFTFILT_FILTER) += vf_fftfilt.o
  229. OBJS-$(CONFIG_FIELD_FILTER) += vf_field.o
  230. OBJS-$(CONFIG_FIELDHINT_FILTER) += vf_fieldhint.o
  231. OBJS-$(CONFIG_FIELDMATCH_FILTER) += vf_fieldmatch.o
  232. OBJS-$(CONFIG_FIELDORDER_FILTER) += vf_fieldorder.o
  233. OBJS-$(CONFIG_FILLBORDERS_FILTER) += vf_fillborders.o
  234. OBJS-$(CONFIG_FIND_RECT_FILTER) += vf_find_rect.o lavfutils.o
  235. OBJS-$(CONFIG_FLOODFILL_FILTER) += vf_floodfill.o
  236. OBJS-$(CONFIG_FORMAT_FILTER) += vf_format.o
  237. OBJS-$(CONFIG_FPS_FILTER) += vf_fps.o
  238. OBJS-$(CONFIG_FRAMEPACK_FILTER) += vf_framepack.o
  239. OBJS-$(CONFIG_FRAMERATE_FILTER) += vf_framerate.o
  240. OBJS-$(CONFIG_FRAMESTEP_FILTER) += vf_framestep.o
  241. OBJS-$(CONFIG_FREEZEDETECT_FILTER) += vf_freezedetect.o
  242. OBJS-$(CONFIG_FREI0R_FILTER) += vf_frei0r.o
  243. OBJS-$(CONFIG_FSPP_FILTER) += vf_fspp.o
  244. OBJS-$(CONFIG_GBLUR_FILTER) += vf_gblur.o
  245. OBJS-$(CONFIG_GEQ_FILTER) += vf_geq.o
  246. OBJS-$(CONFIG_GRADFUN_FILTER) += vf_gradfun.o
  247. OBJS-$(CONFIG_GRAPHMONITOR_FILTER) += f_graphmonitor.o
  248. OBJS-$(CONFIG_GREYEDGE_FILTER) += vf_colorconstancy.o
  249. OBJS-$(CONFIG_HALDCLUT_FILTER) += vf_lut3d.o framesync.o
  250. OBJS-$(CONFIG_HFLIP_FILTER) += vf_hflip.o
  251. OBJS-$(CONFIG_HISTEQ_FILTER) += vf_histeq.o
  252. OBJS-$(CONFIG_HISTOGRAM_FILTER) += vf_histogram.o
  253. OBJS-$(CONFIG_HQDN3D_FILTER) += vf_hqdn3d.o
  254. OBJS-$(CONFIG_HQX_FILTER) += vf_hqx.o
  255. OBJS-$(CONFIG_HSTACK_FILTER) += vf_stack.o framesync.o
  256. OBJS-$(CONFIG_HUE_FILTER) += vf_hue.o
  257. OBJS-$(CONFIG_HWDOWNLOAD_FILTER) += vf_hwdownload.o
  258. OBJS-$(CONFIG_HWMAP_FILTER) += vf_hwmap.o
  259. OBJS-$(CONFIG_HWUPLOAD_CUDA_FILTER) += vf_hwupload_cuda.o
  260. OBJS-$(CONFIG_HWUPLOAD_FILTER) += vf_hwupload.o
  261. OBJS-$(CONFIG_HYSTERESIS_FILTER) += vf_hysteresis.o framesync.o
  262. OBJS-$(CONFIG_IDET_FILTER) += vf_idet.o
  263. OBJS-$(CONFIG_IL_FILTER) += vf_il.o
  264. OBJS-$(CONFIG_INFLATE_FILTER) += vf_neighbor.o
  265. OBJS-$(CONFIG_INTERLACE_FILTER) += vf_tinterlace.o
  266. OBJS-$(CONFIG_INTERLEAVE_FILTER) += f_interleave.o
  267. OBJS-$(CONFIG_KERNDEINT_FILTER) += vf_kerndeint.o
  268. OBJS-$(CONFIG_LAGFUN_FILTER) += vf_lagfun.o
  269. OBJS-$(CONFIG_LENSCORRECTION_FILTER) += vf_lenscorrection.o
  270. OBJS-$(CONFIG_LENSFUN_FILTER) += vf_lensfun.o
  271. OBJS-$(CONFIG_LIBVMAF_FILTER) += vf_libvmaf.o framesync.o
  272. OBJS-$(CONFIG_LIMITER_FILTER) += vf_limiter.o
  273. OBJS-$(CONFIG_LOOP_FILTER) += f_loop.o
  274. OBJS-$(CONFIG_LUMAKEY_FILTER) += vf_lumakey.o
  275. OBJS-$(CONFIG_LUT1D_FILTER) += vf_lut3d.o
  276. OBJS-$(CONFIG_LUT_FILTER) += vf_lut.o
  277. OBJS-$(CONFIG_LUT2_FILTER) += vf_lut2.o framesync.o
  278. OBJS-$(CONFIG_LUT3D_FILTER) += vf_lut3d.o
  279. OBJS-$(CONFIG_LUTRGB_FILTER) += vf_lut.o
  280. OBJS-$(CONFIG_LUTYUV_FILTER) += vf_lut.o
  281. OBJS-$(CONFIG_MASKEDCLAMP_FILTER) += vf_maskedclamp.o framesync.o
  282. OBJS-$(CONFIG_MASKEDMERGE_FILTER) += vf_maskedmerge.o framesync.o
  283. OBJS-$(CONFIG_MASKFUN_FILTER) += vf_maskfun.o
  284. OBJS-$(CONFIG_MCDEINT_FILTER) += vf_mcdeint.o
  285. OBJS-$(CONFIG_MERGEPLANES_FILTER) += vf_mergeplanes.o framesync.o
  286. OBJS-$(CONFIG_MESTIMATE_FILTER) += vf_mestimate.o motion_estimation.o
  287. OBJS-$(CONFIG_METADATA_FILTER) += f_metadata.o
  288. OBJS-$(CONFIG_MIDEQUALIZER_FILTER) += vf_midequalizer.o framesync.o
  289. OBJS-$(CONFIG_MINTERPOLATE_FILTER) += vf_minterpolate.o motion_estimation.o
  290. OBJS-$(CONFIG_MIX_FILTER) += vf_mix.o
  291. OBJS-$(CONFIG_MPDECIMATE_FILTER) += vf_mpdecimate.o
  292. OBJS-$(CONFIG_NEGATE_FILTER) += vf_lut.o
  293. OBJS-$(CONFIG_NLMEANS_FILTER) += vf_nlmeans.o
  294. OBJS-$(CONFIG_NLMEANS_OPENCL_FILTER) += vf_nlmeans_opencl.o opencl.o opencl/nlmeans.o
  295. OBJS-$(CONFIG_NNEDI_FILTER) += vf_nnedi.o
  296. OBJS-$(CONFIG_NOFORMAT_FILTER) += vf_format.o
  297. OBJS-$(CONFIG_NOISE_FILTER) += vf_noise.o
  298. OBJS-$(CONFIG_NORMALIZE_FILTER) += vf_normalize.o
  299. OBJS-$(CONFIG_NULL_FILTER) += vf_null.o
  300. OBJS-$(CONFIG_OCR_FILTER) += vf_ocr.o
  301. OBJS-$(CONFIG_OCV_FILTER) += vf_libopencv.o
  302. OBJS-$(CONFIG_OSCILLOSCOPE_FILTER) += vf_datascope.o
  303. OBJS-$(CONFIG_OVERLAY_FILTER) += vf_overlay.o framesync.o
  304. OBJS-$(CONFIG_OVERLAY_OPENCL_FILTER) += vf_overlay_opencl.o opencl.o \
  305. opencl/overlay.o framesync.o
  306. OBJS-$(CONFIG_OVERLAY_QSV_FILTER) += vf_overlay_qsv.o framesync.o
  307. OBJS-$(CONFIG_OWDENOISE_FILTER) += vf_owdenoise.o
  308. OBJS-$(CONFIG_PAD_FILTER) += vf_pad.o
  309. OBJS-$(CONFIG_PALETTEGEN_FILTER) += vf_palettegen.o
  310. OBJS-$(CONFIG_PALETTEUSE_FILTER) += vf_paletteuse.o framesync.o
  311. OBJS-$(CONFIG_PERMS_FILTER) += f_perms.o
  312. OBJS-$(CONFIG_PERSPECTIVE_FILTER) += vf_perspective.o
  313. OBJS-$(CONFIG_PHASE_FILTER) += vf_phase.o
  314. OBJS-$(CONFIG_PIXDESCTEST_FILTER) += vf_pixdesctest.o
  315. OBJS-$(CONFIG_PIXSCOPE_FILTER) += vf_datascope.o
  316. OBJS-$(CONFIG_PP_FILTER) += vf_pp.o
  317. OBJS-$(CONFIG_PP7_FILTER) += vf_pp7.o
  318. OBJS-$(CONFIG_PREMULTIPLY_FILTER) += vf_premultiply.o framesync.o
  319. OBJS-$(CONFIG_PREWITT_FILTER) += vf_convolution.o
  320. OBJS-$(CONFIG_PREWITT_OPENCL_FILTER) += vf_convolution_opencl.o opencl.o \
  321. opencl/convolution.o
  322. OBJS-$(CONFIG_PROCAMP_VAAPI_FILTER) += vf_procamp_vaapi.o vaapi_vpp.o
  323. OBJS-$(CONFIG_PROGRAM_OPENCL_FILTER) += vf_program_opencl.o opencl.o framesync.o
  324. OBJS-$(CONFIG_PSEUDOCOLOR_FILTER) += vf_pseudocolor.o
  325. OBJS-$(CONFIG_PSNR_FILTER) += vf_psnr.o framesync.o
  326. OBJS-$(CONFIG_PULLUP_FILTER) += vf_pullup.o
  327. OBJS-$(CONFIG_QP_FILTER) += vf_qp.o
  328. OBJS-$(CONFIG_RANDOM_FILTER) += vf_random.o
  329. OBJS-$(CONFIG_READEIA608_FILTER) += vf_readeia608.o
  330. OBJS-$(CONFIG_READVITC_FILTER) += vf_readvitc.o
  331. OBJS-$(CONFIG_REALTIME_FILTER) += f_realtime.o
  332. OBJS-$(CONFIG_REMAP_FILTER) += vf_remap.o framesync.o
  333. OBJS-$(CONFIG_REMOVEGRAIN_FILTER) += vf_removegrain.o
  334. OBJS-$(CONFIG_REMOVELOGO_FILTER) += bbox.o lswsutils.o lavfutils.o vf_removelogo.o
  335. OBJS-$(CONFIG_REPEATFIELDS_FILTER) += vf_repeatfields.o
  336. OBJS-$(CONFIG_REVERSE_FILTER) += f_reverse.o
  337. OBJS-$(CONFIG_RGBASHIFT_FILTER) += vf_chromashift.o
  338. OBJS-$(CONFIG_ROBERTS_FILTER) += vf_convolution.o
  339. OBJS-$(CONFIG_ROBERTS_OPENCL_FILTER) += vf_convolution_opencl.o opencl.o \
  340. opencl/convolution.o
  341. OBJS-$(CONFIG_ROTATE_FILTER) += vf_rotate.o
  342. OBJS-$(CONFIG_SAB_FILTER) += vf_sab.o
  343. OBJS-$(CONFIG_SCALE_FILTER) += vf_scale.o scale.o
  344. OBJS-$(CONFIG_SCALE_CUDA_FILTER) += vf_scale_cuda.o vf_scale_cuda.ptx.o
  345. OBJS-$(CONFIG_SCALE_NPP_FILTER) += vf_scale_npp.o scale.o
  346. OBJS-$(CONFIG_SCALE_QSV_FILTER) += vf_scale_qsv.o
  347. OBJS-$(CONFIG_SCALE_VAAPI_FILTER) += vf_scale_vaapi.o scale.o vaapi_vpp.o
  348. OBJS-$(CONFIG_SCALE2REF_FILTER) += vf_scale.o scale.o
  349. OBJS-$(CONFIG_SELECT_FILTER) += f_select.o
  350. OBJS-$(CONFIG_SELECTIVECOLOR_FILTER) += vf_selectivecolor.o
  351. OBJS-$(CONFIG_SENDCMD_FILTER) += f_sendcmd.o
  352. OBJS-$(CONFIG_SEPARATEFIELDS_FILTER) += vf_separatefields.o
  353. OBJS-$(CONFIG_SETDAR_FILTER) += vf_aspect.o
  354. OBJS-$(CONFIG_SETFIELD_FILTER) += vf_setparams.o
  355. OBJS-$(CONFIG_SETPARAMS_FILTER) += vf_setparams.o
  356. OBJS-$(CONFIG_SETPTS_FILTER) += setpts.o
  357. OBJS-$(CONFIG_SETRANGE_FILTER) += vf_setparams.o
  358. OBJS-$(CONFIG_SETSAR_FILTER) += vf_aspect.o
  359. OBJS-$(CONFIG_SETTB_FILTER) += settb.o
  360. OBJS-$(CONFIG_SHARPNESS_VAAPI_FILTER) += vf_misc_vaapi.o vaapi_vpp.o
  361. OBJS-$(CONFIG_SHOWINFO_FILTER) += vf_showinfo.o
  362. OBJS-$(CONFIG_SHOWPALETTE_FILTER) += vf_showpalette.o
  363. OBJS-$(CONFIG_SHUFFLEFRAMES_FILTER) += vf_shuffleframes.o
  364. OBJS-$(CONFIG_SHUFFLEPLANES_FILTER) += vf_shuffleplanes.o
  365. OBJS-$(CONFIG_SIDEDATA_FILTER) += f_sidedata.o
  366. OBJS-$(CONFIG_SIGNALSTATS_FILTER) += vf_signalstats.o
  367. OBJS-$(CONFIG_SIGNATURE_FILTER) += vf_signature.o
  368. OBJS-$(CONFIG_SMARTBLUR_FILTER) += vf_smartblur.o
  369. OBJS-$(CONFIG_SOBEL_FILTER) += vf_convolution.o
  370. OBJS-$(CONFIG_SOBEL_OPENCL_FILTER) += vf_convolution_opencl.o opencl.o \
  371. opencl/convolution.o
  372. OBJS-$(CONFIG_SPLIT_FILTER) += split.o
  373. OBJS-$(CONFIG_SPP_FILTER) += vf_spp.o
  374. OBJS-$(CONFIG_SR_FILTER) += vf_sr.o
  375. OBJS-$(CONFIG_SSIM_FILTER) += vf_ssim.o framesync.o
  376. OBJS-$(CONFIG_STEREO3D_FILTER) += vf_stereo3d.o
  377. OBJS-$(CONFIG_STREAMSELECT_FILTER) += f_streamselect.o framesync.o
  378. OBJS-$(CONFIG_SUBTITLES_FILTER) += vf_subtitles.o
  379. OBJS-$(CONFIG_SUPER2XSAI_FILTER) += vf_super2xsai.o
  380. OBJS-$(CONFIG_SWAPRECT_FILTER) += vf_swaprect.o
  381. OBJS-$(CONFIG_SWAPUV_FILTER) += vf_swapuv.o
  382. OBJS-$(CONFIG_TBLEND_FILTER) += vf_blend.o framesync.o
  383. OBJS-$(CONFIG_TELECINE_FILTER) += vf_telecine.o
  384. OBJS-$(CONFIG_THRESHOLD_FILTER) += vf_threshold.o framesync.o
  385. OBJS-$(CONFIG_THUMBNAIL_FILTER) += vf_thumbnail.o
  386. OBJS-$(CONFIG_THUMBNAIL_CUDA_FILTER) += vf_thumbnail_cuda.o vf_thumbnail_cuda.ptx.o
  387. OBJS-$(CONFIG_TILE_FILTER) += vf_tile.o
  388. OBJS-$(CONFIG_TINTERLACE_FILTER) += vf_tinterlace.o
  389. OBJS-$(CONFIG_TLUT2_FILTER) += vf_lut2.o framesync.o
  390. OBJS-$(CONFIG_TMIX_FILTER) += vf_mix.o framesync.o
  391. OBJS-$(CONFIG_TONEMAP_FILTER) += vf_tonemap.o colorspace.o
  392. OBJS-$(CONFIG_TONEMAP_OPENCL_FILTER) += vf_tonemap_opencl.o colorspace.o opencl.o \
  393. opencl/tonemap.o opencl/colorspace_common.o
  394. OBJS-$(CONFIG_TPAD_FILTER) += vf_tpad.o
  395. OBJS-$(CONFIG_TRANSPOSE_FILTER) += vf_transpose.o
  396. OBJS-$(CONFIG_TRANSPOSE_NPP_FILTER) += vf_transpose_npp.o
  397. OBJS-$(CONFIG_TRANSPOSE_OPENCL_FILTER) += vf_transpose_opencl.o opencl.o opencl/transpose.o
  398. OBJS-$(CONFIG_TRANSPOSE_VAAPI_FILTER) += vf_transpose_vaapi.o vaapi_vpp.o
  399. OBJS-$(CONFIG_TRIM_FILTER) += trim.o
  400. OBJS-$(CONFIG_UNPREMULTIPLY_FILTER) += vf_premultiply.o framesync.o
  401. OBJS-$(CONFIG_UNSHARP_FILTER) += vf_unsharp.o
  402. OBJS-$(CONFIG_UNSHARP_OPENCL_FILTER) += vf_unsharp_opencl.o opencl.o \
  403. opencl/unsharp.o
  404. OBJS-$(CONFIG_USPP_FILTER) += vf_uspp.o
  405. OBJS-$(CONFIG_VAGUEDENOISER_FILTER) += vf_vaguedenoiser.o
  406. OBJS-$(CONFIG_VECTORSCOPE_FILTER) += vf_vectorscope.o
  407. OBJS-$(CONFIG_VFLIP_FILTER) += vf_vflip.o
  408. OBJS-$(CONFIG_VFRDET_FILTER) += vf_vfrdet.o
  409. OBJS-$(CONFIG_VIBRANCE_FILTER) += vf_vibrance.o
  410. OBJS-$(CONFIG_VIDSTABDETECT_FILTER) += vidstabutils.o vf_vidstabdetect.o
  411. OBJS-$(CONFIG_VIDSTABTRANSFORM_FILTER) += vidstabutils.o vf_vidstabtransform.o
  412. OBJS-$(CONFIG_VIGNETTE_FILTER) += vf_vignette.o
  413. OBJS-$(CONFIG_VMAFMOTION_FILTER) += vf_vmafmotion.o framesync.o
  414. OBJS-$(CONFIG_VPP_QSV_FILTER) += vf_vpp_qsv.o
  415. OBJS-$(CONFIG_VSTACK_FILTER) += vf_stack.o framesync.o
  416. OBJS-$(CONFIG_W3FDIF_FILTER) += vf_w3fdif.o
  417. OBJS-$(CONFIG_WAVEFORM_FILTER) += vf_waveform.o
  418. OBJS-$(CONFIG_WEAVE_FILTER) += vf_weave.o
  419. OBJS-$(CONFIG_XBR_FILTER) += vf_xbr.o
  420. OBJS-$(CONFIG_XMEDIAN_FILTER) += vf_xmedian.o framesync.o
  421. OBJS-$(CONFIG_XSTACK_FILTER) += vf_stack.o framesync.o
  422. OBJS-$(CONFIG_YADIF_FILTER) += vf_yadif.o yadif_common.o
  423. OBJS-$(CONFIG_YADIF_CUDA_FILTER) += vf_yadif_cuda.o vf_yadif_cuda.ptx.o \
  424. yadif_common.o
  425. OBJS-$(CONFIG_ZMQ_FILTER) += f_zmq.o
  426. OBJS-$(CONFIG_ZOOMPAN_FILTER) += vf_zoompan.o
  427. OBJS-$(CONFIG_ZSCALE_FILTER) += vf_zscale.o
  428. OBJS-$(CONFIG_ALLRGB_FILTER) += vsrc_testsrc.o
  429. OBJS-$(CONFIG_ALLYUV_FILTER) += vsrc_testsrc.o
  430. OBJS-$(CONFIG_CELLAUTO_FILTER) += vsrc_cellauto.o
  431. OBJS-$(CONFIG_COLOR_FILTER) += vsrc_testsrc.o
  432. OBJS-$(CONFIG_COREIMAGESRC_FILTER) += vf_coreimage.o
  433. OBJS-$(CONFIG_FREI0R_SRC_FILTER) += vf_frei0r.o
  434. OBJS-$(CONFIG_HALDCLUTSRC_FILTER) += vsrc_testsrc.o
  435. OBJS-$(CONFIG_LIFE_FILTER) += vsrc_life.o
  436. OBJS-$(CONFIG_MANDELBROT_FILTER) += vsrc_mandelbrot.o
  437. OBJS-$(CONFIG_MPTESTSRC_FILTER) += vsrc_mptestsrc.o
  438. OBJS-$(CONFIG_NULLSRC_FILTER) += vsrc_testsrc.o
  439. OBJS-$(CONFIG_OPENCLSRC_FILTER) += vf_program_opencl.o opencl.o
  440. OBJS-$(CONFIG_PAL75BARS_FILTER) += vsrc_testsrc.o
  441. OBJS-$(CONFIG_PAL100BARS_FILTER) += vsrc_testsrc.o
  442. OBJS-$(CONFIG_RGBTESTSRC_FILTER) += vsrc_testsrc.o
  443. OBJS-$(CONFIG_SMPTEBARS_FILTER) += vsrc_testsrc.o
  444. OBJS-$(CONFIG_SMPTEHDBARS_FILTER) += vsrc_testsrc.o
  445. OBJS-$(CONFIG_TESTSRC_FILTER) += vsrc_testsrc.o
  446. OBJS-$(CONFIG_TESTSRC2_FILTER) += vsrc_testsrc.o
  447. OBJS-$(CONFIG_YUVTESTSRC_FILTER) += vsrc_testsrc.o
  448. OBJS-$(CONFIG_NULLSINK_FILTER) += vsink_nullsink.o
  449. # multimedia filters
  450. OBJS-$(CONFIG_ABITSCOPE_FILTER) += avf_abitscope.o
  451. OBJS-$(CONFIG_ADRAWGRAPH_FILTER) += f_drawgraph.o
  452. OBJS-$(CONFIG_AGRAPHMONITOR_FILTER) += f_graphmonitor.o
  453. OBJS-$(CONFIG_AHISTOGRAM_FILTER) += avf_ahistogram.o
  454. OBJS-$(CONFIG_APHASEMETER_FILTER) += avf_aphasemeter.o
  455. OBJS-$(CONFIG_AVECTORSCOPE_FILTER) += avf_avectorscope.o
  456. OBJS-$(CONFIG_CONCAT_FILTER) += avf_concat.o
  457. OBJS-$(CONFIG_SHOWCQT_FILTER) += avf_showcqt.o lswsutils.o lavfutils.o
  458. OBJS-$(CONFIG_SHOWFREQS_FILTER) += avf_showfreqs.o
  459. OBJS-$(CONFIG_SHOWSPATIAL_FILTER) += avf_showspatial.o
  460. OBJS-$(CONFIG_SHOWSPECTRUM_FILTER) += avf_showspectrum.o
  461. OBJS-$(CONFIG_SHOWSPECTRUMPIC_FILTER) += avf_showspectrum.o
  462. OBJS-$(CONFIG_SHOWVOLUME_FILTER) += avf_showvolume.o
  463. OBJS-$(CONFIG_SHOWWAVES_FILTER) += avf_showwaves.o
  464. OBJS-$(CONFIG_SHOWWAVESPIC_FILTER) += avf_showwaves.o
  465. OBJS-$(CONFIG_SPECTRUMSYNTH_FILTER) += vaf_spectrumsynth.o
  466. # multimedia sources
  467. OBJS-$(CONFIG_AMOVIE_FILTER) += src_movie.o
  468. OBJS-$(CONFIG_MOVIE_FILTER) += src_movie.o
  469. # Windows resource file
  470. SLIBOBJS-$(HAVE_GNU_WINDRES) += avfilterres.o
  471. SKIPHEADERS-$(CONFIG_LIBVIDSTAB) += vidstabutils.h
  472. OBJS-$(CONFIG_SHARED) += log2_tab.o
  473. SKIPHEADERS-$(CONFIG_QSVVPP) += qsvvpp.h
  474. SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
  475. SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_vpp.h
  476. TOOLS = graph2dot
  477. TESTPROGS = drawutils filtfmts formats integral
  478. TOOLS-$(CONFIG_LIBZMQ) += zmqsend
  479. clean::
  480. $(RM) $(CLEANSUFFIXES:%=libavfilter/libmpcodecs/%)
  481. OPENCL = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavfilter/opencl/*.cl))
  482. .SECONDARY: $(OPENCL:.cl=.c)
  483. libavfilter/opencl/%.c: TAG = OPENCL
  484. libavfilter/opencl/%.c: $(SRC_PATH)/libavfilter/opencl/%.cl
  485. $(M)$(SRC_PATH)/tools/cl2c $< $@