lavfi/mp: remove mp=perspective
[ffmpeg.git] / libavfilter / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avfilter
4 FFLIBS = avutil
5 FFLIBS-$(CONFIG_ACONVERT_FILTER)             += swresample
6 FFLIBS-$(CONFIG_AMOVIE_FILTER)               += avformat avcodec
7 FFLIBS-$(CONFIG_ARESAMPLE_FILTER)            += swresample
8 FFLIBS-$(CONFIG_ASYNCTS_FILTER)              += avresample
9 FFLIBS-$(CONFIG_ATEMPO_FILTER)               += avcodec
10 FFLIBS-$(CONFIG_DECIMATE_FILTER)             += avcodec
11 FFLIBS-$(CONFIG_DESHAKE_FILTER)              += avcodec
12 FFLIBS-$(CONFIG_MCDEINT_FILTER)              += avcodec
13 FFLIBS-$(CONFIG_MOVIE_FILTER)                += avformat avcodec
14 FFLIBS-$(CONFIG_MP_FILTER)                   += avcodec
15 FFLIBS-$(CONFIG_PAN_FILTER)                  += swresample
16 FFLIBS-$(CONFIG_PP_FILTER)                   += postproc
17 FFLIBS-$(CONFIG_REMOVELOGO_FILTER)           += avformat avcodec swscale
18 FFLIBS-$(CONFIG_RESAMPLE_FILTER)             += avresample
19 FFLIBS-$(CONFIG_SAB_FILTER)                  += swscale
20 FFLIBS-$(CONFIG_SCALE_FILTER)                += swscale
21 FFLIBS-$(CONFIG_SHOWSPECTRUM_FILTER)         += avcodec
22 FFLIBS-$(CONFIG_SMARTBLUR_FILTER)            += swscale
23 FFLIBS-$(CONFIG_SUBTITLES_FILTER)            += avformat avcodec
24
25 HEADERS = asrc_abuffer.h                                                \
26           avcodec.h                                                     \
27           avfilter.h                                                    \
28           avfiltergraph.h                                               \
29           buffersink.h                                                  \
30           buffersrc.h                                                   \
31           version.h                                                     \
32
33 OBJS = allfilters.o                                                     \
34        audio.o                                                          \
35        avfilter.o                                                       \
36        avfiltergraph.o                                                  \
37        buffer.o                                                         \
38        buffersink.o                                                     \
39        buffersrc.o                                                      \
40        drawutils.o                                                      \
41        fifo.o                                                           \
42        formats.o                                                        \
43        graphdump.o                                                      \
44        graphparser.o                                                    \
45        opencl_allkernels.o                                              \
46        transform.o                                                      \
47        video.o                                                          \
48
49
50 OBJS-$(CONFIG_AVCODEC)                       += avcodec.o
51 OBJS-$(CONFIG_AVFORMAT)                      += lavfutils.o
52 OBJS-$(CONFIG_SWSCALE)                       += lswsutils.o
53
54 OBJS-$(CONFIG_ACONVERT_FILTER)               += af_aconvert.o
55 OBJS-$(CONFIG_AECHO_FILTER)                  += af_aecho.o
56 OBJS-$(CONFIG_AFADE_FILTER)                  += af_afade.o
57 OBJS-$(CONFIG_AFORMAT_FILTER)                += af_aformat.o
58 OBJS-$(CONFIG_AINTERLEAVE_FILTER)            += f_interleave.o
59 OBJS-$(CONFIG_ALLPASS_FILTER)                += af_biquads.o
60 OBJS-$(CONFIG_AMERGE_FILTER)                 += af_amerge.o
61 OBJS-$(CONFIG_AMIX_FILTER)                   += af_amix.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
66 OBJS-$(CONFIG_ARESAMPLE_FILTER)              += af_aresample.o
67 OBJS-$(CONFIG_ASELECT_FILTER)                += f_select.o
68 OBJS-$(CONFIG_ASENDCMD_FILTER)               += f_sendcmd.o
69 OBJS-$(CONFIG_ASETNSAMPLES_FILTER)           += af_asetnsamples.o
70 OBJS-$(CONFIG_ASETPTS_FILTER)                += setpts.o
71 OBJS-$(CONFIG_ASETRATE_FILTER)               += af_asetrate.o
72 OBJS-$(CONFIG_ASETTB_FILTER)                 += f_settb.o
73 OBJS-$(CONFIG_ASHOWINFO_FILTER)              += af_ashowinfo.o
74 OBJS-$(CONFIG_ASPLIT_FILTER)                 += split.o
75 OBJS-$(CONFIG_ASTATS_FILTER)                 += af_astats.o
76 OBJS-$(CONFIG_ASTREAMSYNC_FILTER)            += af_astreamsync.o
77 OBJS-$(CONFIG_ASYNCTS_FILTER)                += af_asyncts.o
78 OBJS-$(CONFIG_ATEMPO_FILTER)                 += af_atempo.o
79 OBJS-$(CONFIG_ATRIM_FILTER)                  += trim.o
80 OBJS-$(CONFIG_AZMQ_FILTER)                   += f_zmq.o
81 OBJS-$(CONFIG_BANDPASS_FILTER)               += af_biquads.o
82 OBJS-$(CONFIG_BANDREJECT_FILTER)             += af_biquads.o
83 OBJS-$(CONFIG_BASS_FILTER)                   += af_biquads.o
84 OBJS-$(CONFIG_BIQUAD_FILTER)                 += af_biquads.o
85 OBJS-$(CONFIG_CHANNELMAP_FILTER)             += af_channelmap.o
86 OBJS-$(CONFIG_CHANNELSPLIT_FILTER)           += af_channelsplit.o
87 OBJS-$(CONFIG_EARWAX_FILTER)                 += af_earwax.o
88 OBJS-$(CONFIG_EBUR128_FILTER)                += f_ebur128.o
89 OBJS-$(CONFIG_EQUALIZER_FILTER)              += af_biquads.o
90 OBJS-$(CONFIG_HIGHPASS_FILTER)               += af_biquads.o
91 OBJS-$(CONFIG_JOIN_FILTER)                   += af_join.o
92 OBJS-$(CONFIG_LOWPASS_FILTER)                += af_biquads.o
93 OBJS-$(CONFIG_PAN_FILTER)                    += af_pan.o
94 OBJS-$(CONFIG_RESAMPLE_FILTER)               += af_resample.o
95 OBJS-$(CONFIG_SILENCEDETECT_FILTER)          += af_silencedetect.o
96 OBJS-$(CONFIG_TREBLE_FILTER)                 += af_biquads.o
97 OBJS-$(CONFIG_VOLUME_FILTER)                 += af_volume.o
98 OBJS-$(CONFIG_VOLUMEDETECT_FILTER)           += af_volumedetect.o
99
100 OBJS-$(CONFIG_AEVALSRC_FILTER)               += asrc_aevalsrc.o
101 OBJS-$(CONFIG_ANULLSRC_FILTER)               += asrc_anullsrc.o
102 OBJS-$(CONFIG_FLITE_FILTER)                  += asrc_flite.o
103 OBJS-$(CONFIG_SINE_FILTER)                   += asrc_sine.o
104
105 OBJS-$(CONFIG_ANULLSINK_FILTER)              += asink_anullsink.o
106
107 OBJS-$(CONFIG_ASS_FILTER)                    += vf_subtitles.o
108 OBJS-$(CONFIG_ALPHAEXTRACT_FILTER)           += vf_extractplanes.o
109 OBJS-$(CONFIG_ALPHAMERGE_FILTER)             += vf_alphamerge.o
110 OBJS-$(CONFIG_BBOX_FILTER)                   += bbox.o vf_bbox.o
111 OBJS-$(CONFIG_BLACKDETECT_FILTER)            += vf_blackdetect.o
112 OBJS-$(CONFIG_BLACKFRAME_FILTER)             += vf_blackframe.o
113 OBJS-$(CONFIG_BLEND_FILTER)                  += vf_blend.o dualinput.o
114 OBJS-$(CONFIG_BOXBLUR_FILTER)                += vf_boxblur.o
115 OBJS-$(CONFIG_COLORBALANCE_FILTER)           += vf_colorbalance.o
116 OBJS-$(CONFIG_COLORCHANNELMIXER_FILTER)      += vf_colorchannelmixer.o
117 OBJS-$(CONFIG_COLORMATRIX_FILTER)            += vf_colormatrix.o
118 OBJS-$(CONFIG_COPY_FILTER)                   += vf_copy.o
119 OBJS-$(CONFIG_CROP_FILTER)                   += vf_crop.o
120 OBJS-$(CONFIG_CROPDETECT_FILTER)             += vf_cropdetect.o
121 OBJS-$(CONFIG_CURVES_FILTER)                 += vf_curves.o
122 OBJS-$(CONFIG_DCTDNOIZ_FILTER)               += vf_dctdnoiz.o
123 OBJS-$(CONFIG_DECIMATE_FILTER)               += vf_decimate.o
124 OBJS-$(CONFIG_DELOGO_FILTER)                 += vf_delogo.o
125 OBJS-$(CONFIG_DESHAKE_FILTER)                += vf_deshake.o
126 OBJS-$(CONFIG_DRAWBOX_FILTER)                += vf_drawbox.o
127 OBJS-$(CONFIG_DRAWGRID_FILTER)               += vf_drawbox.o
128 OBJS-$(CONFIG_DRAWTEXT_FILTER)               += vf_drawtext.o
129 OBJS-$(CONFIG_EDGEDETECT_FILTER)             += vf_edgedetect.o
130 OBJS-$(CONFIG_EXTRACTPLANES_FILTER)          += vf_extractplanes.o
131 OBJS-$(CONFIG_FADE_FILTER)                   += vf_fade.o
132 OBJS-$(CONFIG_FIELD_FILTER)                  += vf_field.o
133 OBJS-$(CONFIG_FIELDMATCH_FILTER)             += vf_fieldmatch.o
134 OBJS-$(CONFIG_FIELDORDER_FILTER)             += vf_fieldorder.o
135 OBJS-$(CONFIG_FORMAT_FILTER)                 += vf_format.o
136 OBJS-$(CONFIG_FRAMESTEP_FILTER)              += vf_framestep.o
137 OBJS-$(CONFIG_FPS_FILTER)                    += vf_fps.o
138 OBJS-$(CONFIG_FREI0R_FILTER)                 += vf_frei0r.o
139 OBJS-$(CONFIG_GEQ_FILTER)                    += vf_geq.o
140 OBJS-$(CONFIG_GRADFUN_FILTER)                += vf_gradfun.o
141 OBJS-$(CONFIG_HALDCLUT_FILTER)               += vf_lut3d.o dualinput.o
142 OBJS-$(CONFIG_HFLIP_FILTER)                  += vf_hflip.o
143 OBJS-$(CONFIG_HISTEQ_FILTER)                 += vf_histeq.o
144 OBJS-$(CONFIG_HISTOGRAM_FILTER)              += vf_histogram.o
145 OBJS-$(CONFIG_HQDN3D_FILTER)                 += vf_hqdn3d.o
146 OBJS-$(CONFIG_HUE_FILTER)                    += vf_hue.o
147 OBJS-$(CONFIG_IDET_FILTER)                   += vf_idet.o
148 OBJS-$(CONFIG_IL_FILTER)                     += vf_il.o
149 OBJS-$(CONFIG_INTERLACE_FILTER)              += vf_interlace.o
150 OBJS-$(CONFIG_INTERLEAVE_FILTER)             += f_interleave.o
151 OBJS-$(CONFIG_KERNDEINT_FILTER)              += vf_kerndeint.o
152 OBJS-$(CONFIG_LUT3D_FILTER)                  += vf_lut3d.o
153 OBJS-$(CONFIG_LUT_FILTER)                    += vf_lut.o
154 OBJS-$(CONFIG_LUTRGB_FILTER)                 += vf_lut.o
155 OBJS-$(CONFIG_LUTYUV_FILTER)                 += vf_lut.o
156 OBJS-$(CONFIG_MCDEINT_FILTER)                += vf_mcdeint.o
157 OBJS-$(CONFIG_MP_FILTER)                     += vf_mp.o
158 OBJS-$(CONFIG_MPDECIMATE_FILTER)             += vf_mpdecimate.o
159 OBJS-$(CONFIG_NEGATE_FILTER)                 += vf_lut.o
160 OBJS-$(CONFIG_NOFORMAT_FILTER)               += vf_format.o
161 OBJS-$(CONFIG_NOISE_FILTER)                  += vf_noise.o
162 OBJS-$(CONFIG_NULL_FILTER)                   += vf_null.o
163 OBJS-$(CONFIG_OCV_FILTER)                    += vf_libopencv.o
164 OBJS-$(CONFIG_OPENCL)                        += deshake_opencl.o unsharp_opencl.o
165 OBJS-$(CONFIG_OVERLAY_FILTER)                += vf_overlay.o dualinput.o
166 OBJS-$(CONFIG_OWDENOISE_FILTER)              += vf_owdenoise.o
167 OBJS-$(CONFIG_PAD_FILTER)                    += vf_pad.o
168 OBJS-$(CONFIG_PERMS_FILTER)                  += f_perms.o
169 OBJS-$(CONFIG_PERSPECTIVE_FILTER)            += vf_perspective.o
170 OBJS-$(CONFIG_PIXDESCTEST_FILTER)            += vf_pixdesctest.o
171 OBJS-$(CONFIG_PP_FILTER)                     += vf_pp.o
172 OBJS-$(CONFIG_PSNR_FILTER)                   += vf_psnr.o dualinput.o
173 OBJS-$(CONFIG_REMOVELOGO_FILTER)             += bbox.o lswsutils.o lavfutils.o vf_removelogo.o
174 OBJS-$(CONFIG_ROTATE_FILTER)                 += vf_rotate.o
175 OBJS-$(CONFIG_SEPARATEFIELDS_FILTER)         += vf_separatefields.o
176 OBJS-$(CONFIG_SAB_FILTER)                    += vf_sab.o
177 OBJS-$(CONFIG_SCALE_FILTER)                  += vf_scale.o
178 OBJS-$(CONFIG_SELECT_FILTER)                 += f_select.o
179 OBJS-$(CONFIG_SENDCMD_FILTER)                += f_sendcmd.o
180 OBJS-$(CONFIG_SETDAR_FILTER)                 += vf_aspect.o
181 OBJS-$(CONFIG_SETFIELD_FILTER)               += vf_setfield.o
182 OBJS-$(CONFIG_SETPTS_FILTER)                 += setpts.o
183 OBJS-$(CONFIG_SETSAR_FILTER)                 += vf_aspect.o
184 OBJS-$(CONFIG_SETTB_FILTER)                  += f_settb.o
185 OBJS-$(CONFIG_SHOWINFO_FILTER)               += vf_showinfo.o
186 OBJS-$(CONFIG_SMARTBLUR_FILTER)              += vf_smartblur.o
187 OBJS-$(CONFIG_SPLIT_FILTER)                  += split.o
188 OBJS-$(CONFIG_SPP_FILTER)                    += vf_spp.o
189 OBJS-$(CONFIG_STEREO3D_FILTER)               += vf_stereo3d.o
190 OBJS-$(CONFIG_SUBTITLES_FILTER)              += vf_subtitles.o
191 OBJS-$(CONFIG_SUPER2XSAI_FILTER)             += vf_super2xsai.o
192 OBJS-$(CONFIG_SWAPUV_FILTER)                 += vf_swapuv.o
193 OBJS-$(CONFIG_TELECINE_FILTER)               += vf_telecine.o
194 OBJS-$(CONFIG_THUMBNAIL_FILTER)              += vf_thumbnail.o
195 OBJS-$(CONFIG_TILE_FILTER)                   += vf_tile.o
196 OBJS-$(CONFIG_TINTERLACE_FILTER)             += vf_tinterlace.o
197 OBJS-$(CONFIG_TRANSPOSE_FILTER)              += vf_transpose.o
198 OBJS-$(CONFIG_TRIM_FILTER)                   += trim.o
199 OBJS-$(CONFIG_UNSHARP_FILTER)                += vf_unsharp.o
200 OBJS-$(CONFIG_VFLIP_FILTER)                  += vf_vflip.o
201 OBJS-$(CONFIG_VIDSTABDETECT_FILTER)          += vidstabutils.o vf_vidstabdetect.o
202 OBJS-$(CONFIG_VIDSTABTRANSFORM_FILTER)       += vidstabutils.o vf_vidstabtransform.o
203 OBJS-$(CONFIG_VIGNETTE_FILTER)               += vf_vignette.o
204 OBJS-$(CONFIG_YADIF_FILTER)                  += vf_yadif.o
205 OBJS-$(CONFIG_ZMQ_FILTER)                    += f_zmq.o
206
207 OBJS-$(CONFIG_CELLAUTO_FILTER)               += vsrc_cellauto.o
208 OBJS-$(CONFIG_COLOR_FILTER)                  += vsrc_testsrc.o
209 OBJS-$(CONFIG_FREI0R_SRC_FILTER)             += vf_frei0r.o
210 OBJS-$(CONFIG_HALDCLUTSRC_FILTER)            += vsrc_testsrc.o
211 OBJS-$(CONFIG_LIFE_FILTER)                   += vsrc_life.o
212 OBJS-$(CONFIG_MANDELBROT_FILTER)             += vsrc_mandelbrot.o
213 OBJS-$(CONFIG_MPTESTSRC_FILTER)              += vsrc_mptestsrc.o
214 OBJS-$(CONFIG_NULLSRC_FILTER)                += vsrc_testsrc.o
215 OBJS-$(CONFIG_RGBTESTSRC_FILTER)             += vsrc_testsrc.o
216 OBJS-$(CONFIG_SMPTEBARS_FILTER)              += vsrc_testsrc.o
217 OBJS-$(CONFIG_SMPTEHDBARS_FILTER)            += vsrc_testsrc.o
218 OBJS-$(CONFIG_TESTSRC_FILTER)                += vsrc_testsrc.o
219
220 OBJS-$(CONFIG_NULLSINK_FILTER)               += vsink_nullsink.o
221
222 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/mp_image.o
223 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/img_format.o
224 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_dint.o
225 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_eq2.o
226 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_eq.o
227 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_fil.o
228 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_fspp.o
229 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_ilpack.o
230 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_phase.o
231 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_pp7.o
232 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_pullup.o
233 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_qp.o
234 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_softpulldown.o
235 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_uspp.o
236 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/pullup.o
237
238 # multimedia filters
239 OBJS-$(CONFIG_AVECTORSCOPE_FILTER)           += avf_avectorscope.o
240 OBJS-$(CONFIG_CONCAT_FILTER)                 += avf_concat.o
241 OBJS-$(CONFIG_SHOWSPECTRUM_FILTER)           += avf_showspectrum.o
242 OBJS-$(CONFIG_SHOWWAVES_FILTER)              += avf_showwaves.o
243
244 # multimedia sources
245 OBJS-$(CONFIG_AMOVIE_FILTER)                 += src_movie.o
246 OBJS-$(CONFIG_MOVIE_FILTER)                  += src_movie.o
247
248 SKIPHEADERS-$(CONFIG_LIBVIDSTAB)             += vidstabutils.h
249 SKIPHEADERS-$(CONFIG_OPENCL)                 += opencl_internal.h deshake_opencl_kernel.h unsharp_opencl_kernel.h
250
251 OBJS-$(HAVE_THREADS)                         += pthread.o
252
253 TOOLS     = graph2dot
254 TESTPROGS = drawutils filtfmts formats
255
256 TOOLS-$(CONFIG_LIBZMQ) += zmqsend
257
258 clean::
259         $(RM) $(CLEANSUFFIXES:%=libavfilter/libmpcodecs/%)