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