3477ecab6becf0fe23c6dfa50597b58344defafd
[ffmpeg.git] / libavfilter / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avfilter
4 FFLIBS = avutil
5 FFLIBS-$(CONFIG_ASYNCTS_FILTER) += avresample
6 FFLIBS-$(CONFIG_RESAMPLE_FILTER) += avresample
7 FFLIBS-$(CONFIG_SCALE_FILTER)   += swscale
8
9 FFLIBS-$(CONFIG_ACONVERT_FILTER)             += swresample
10 FFLIBS-$(CONFIG_AMOVIE_FILTER)               += avformat avcodec
11 FFLIBS-$(CONFIG_ARESAMPLE_FILTER)            += swresample
12 FFLIBS-$(CONFIG_ATEMPO_FILTER)               += avcodec
13 FFLIBS-$(CONFIG_DECIMATE_FILTER)             += avcodec
14 FFLIBS-$(CONFIG_MOVIE_FILTER)                += avformat avcodec
15 FFLIBS-$(CONFIG_PAN_FILTER)                  += swresample
16 FFLIBS-$(CONFIG_REMOVELOGO_FILTER)           += avformat avcodec
17 FFLIBS-$(CONFIG_MP_FILTER)                   += avcodec postproc
18 FFLIBS-$(CONFIG_SMARTBLUR_FILTER)            += swscale
19
20 HEADERS = asrc_abuffer.h                                                \
21           avcodec.h                                                     \
22           avfilter.h                                                    \
23           avfiltergraph.h                                               \
24           buffersink.h                                                  \
25           buffersrc.h                                                   \
26           version.h                                                     \
27
28 OBJS = allfilters.o                                                     \
29        audio.o                                                          \
30        avfilter.o                                                       \
31        avfiltergraph.o                                                  \
32        buffer.o                                                         \
33        buffersink.o                                                     \
34        buffersrc.o                                                      \
35        drawutils.o                                                      \
36        formats.o                                                        \
37        graphdump.o                                                      \
38        graphparser.o                                                    \
39        src_buffer.o                                                     \
40        transform.o                                                      \
41        vf_scale.o                                                       \
42        video.o                                                          \
43
44
45 OBJS-$(CONFIG_AVCODEC)                       += avcodec.o
46 OBJS-$(CONFIG_AVFORMAT)                      += lavfutils.o
47 OBJS-$(CONFIG_SWSCALE)                       += lswsutils.o
48
49 OBJS-$(CONFIG_ACONVERT_FILTER)               += af_aconvert.o
50 OBJS-$(CONFIG_AFIFO_FILTER)                  += fifo.o
51 OBJS-$(CONFIG_AFORMAT_FILTER)                += af_aformat.o
52 OBJS-$(CONFIG_AMERGE_FILTER)                 += af_amerge.o
53 OBJS-$(CONFIG_AMIX_FILTER)                   += af_amix.o
54 OBJS-$(CONFIG_ANULL_FILTER)                  += af_anull.o
55 OBJS-$(CONFIG_ARESAMPLE_FILTER)              += af_aresample.o
56 OBJS-$(CONFIG_ASENDCMD_FILTER)               += f_sendcmd.o
57 OBJS-$(CONFIG_ASETNSAMPLES_FILTER)           += af_asetnsamples.o
58 OBJS-$(CONFIG_ASETPTS_FILTER)                += f_setpts.o
59 OBJS-$(CONFIG_ASETTB_FILTER)                 += f_settb.o
60 OBJS-$(CONFIG_ASHOWINFO_FILTER)              += af_ashowinfo.o
61 OBJS-$(CONFIG_ASPLIT_FILTER)                 += split.o
62 OBJS-$(CONFIG_ASTREAMSYNC_FILTER)            += af_astreamsync.o
63 OBJS-$(CONFIG_ASYNCTS_FILTER)                += af_asyncts.o
64 OBJS-$(CONFIG_ATEMPO_FILTER)                 += af_atempo.o
65 OBJS-$(CONFIG_CHANNELMAP_FILTER)             += af_channelmap.o
66 OBJS-$(CONFIG_CHANNELSPLIT_FILTER)           += af_channelsplit.o
67 OBJS-$(CONFIG_EARWAX_FILTER)                 += af_earwax.o
68 OBJS-$(CONFIG_JOIN_FILTER)                   += af_join.o
69 OBJS-$(CONFIG_PAN_FILTER)                    += af_pan.o
70 OBJS-$(CONFIG_RESAMPLE_FILTER)               += af_resample.o
71 OBJS-$(CONFIG_SILENCEDETECT_FILTER)          += af_silencedetect.o
72 OBJS-$(CONFIG_VOLUME_FILTER)                 += af_volume.o
73 OBJS-$(CONFIG_VOLUMEDETECT_FILTER)           += af_volumedetect.o
74
75 OBJS-$(CONFIG_AEVALSRC_FILTER)               += asrc_aevalsrc.o
76 OBJS-$(CONFIG_ANULLSRC_FILTER)               += asrc_anullsrc.o
77 OBJS-$(CONFIG_FLITE_FILTER)                  += asrc_flite.o
78
79 OBJS-$(CONFIG_ABUFFERSINK_FILTER)            += sink_buffer.o
80 OBJS-$(CONFIG_FFABUFFERSINK_FILTER)          += sink_buffer.o
81 OBJS-$(CONFIG_ANULLSINK_FILTER)              += asink_anullsink.o
82
83 OBJS-$(CONFIG_ASS_FILTER)                    += vf_ass.o
84 OBJS-$(CONFIG_ALPHAEXTRACT_FILTER)           += vf_alphaextract.o
85 OBJS-$(CONFIG_ALPHAMERGE_FILTER)             += vf_alphamerge.o
86 OBJS-$(CONFIG_BBOX_FILTER)                   += bbox.o vf_bbox.o
87 OBJS-$(CONFIG_BLACKDETECT_FILTER)            += vf_blackdetect.o
88 OBJS-$(CONFIG_BLACKFRAME_FILTER)             += vf_blackframe.o
89 OBJS-$(CONFIG_BOXBLUR_FILTER)                += vf_boxblur.o
90 OBJS-$(CONFIG_COLORMATRIX_FILTER)            += vf_colormatrix.o
91 OBJS-$(CONFIG_COPY_FILTER)                   += vf_copy.o
92 OBJS-$(CONFIG_CROP_FILTER)                   += vf_crop.o
93 OBJS-$(CONFIG_CROPDETECT_FILTER)             += vf_cropdetect.o
94 OBJS-$(CONFIG_DECIMATE_FILTER)               += vf_decimate.o
95 OBJS-$(CONFIG_DELOGO_FILTER)                 += vf_delogo.o
96 OBJS-$(CONFIG_DESHAKE_FILTER)                += vf_deshake.o
97 OBJS-$(CONFIG_DRAWBOX_FILTER)                += vf_drawbox.o
98 OBJS-$(CONFIG_DRAWTEXT_FILTER)               += vf_drawtext.o
99 OBJS-$(CONFIG_EDGEDETECT_FILTER)             += vf_edgedetect.o
100 OBJS-$(CONFIG_FADE_FILTER)                   += vf_fade.o
101 OBJS-$(CONFIG_FIELDORDER_FILTER)             += vf_fieldorder.o
102 OBJS-$(CONFIG_FIFO_FILTER)                   += fifo.o
103 OBJS-$(CONFIG_FORMAT_FILTER)                 += vf_format.o
104 OBJS-$(CONFIG_FRAMESTEP_FILTER)              += vf_framestep.o
105 OBJS-$(CONFIG_FPS_FILTER)                    += vf_fps.o
106 OBJS-$(CONFIG_FREI0R_FILTER)                 += vf_frei0r.o
107 OBJS-$(CONFIG_GRADFUN_FILTER)                += vf_gradfun.o
108 OBJS-$(CONFIG_HFLIP_FILTER)                  += vf_hflip.o
109 OBJS-$(CONFIG_HQDN3D_FILTER)                 += vf_hqdn3d.o
110 OBJS-$(CONFIG_HUE_FILTER)                    += vf_hue.o
111 OBJS-$(CONFIG_IDET_FILTER)                   += vf_idet.o
112 OBJS-$(CONFIG_LUT_FILTER)                    += vf_lut.o
113 OBJS-$(CONFIG_LUTRGB_FILTER)                 += vf_lut.o
114 OBJS-$(CONFIG_LUTYUV_FILTER)                 += vf_lut.o
115 OBJS-$(CONFIG_MP_FILTER)                     += vf_mp.o
116 OBJS-$(CONFIG_NEGATE_FILTER)                 += vf_lut.o
117 OBJS-$(CONFIG_NOFORMAT_FILTER)               += vf_format.o
118 OBJS-$(CONFIG_NULL_FILTER)                   += vf_null.o
119 OBJS-$(CONFIG_OCV_FILTER)                    += vf_libopencv.o
120 OBJS-$(CONFIG_OVERLAY_FILTER)                += vf_overlay.o
121 OBJS-$(CONFIG_PAD_FILTER)                    += vf_pad.o
122 OBJS-$(CONFIG_PIXDESCTEST_FILTER)            += vf_pixdesctest.o
123 OBJS-$(CONFIG_REMOVELOGO_FILTER)             += bbox.o lswsutils.o lavfutils.o vf_removelogo.o
124 OBJS-$(CONFIG_SCALE_FILTER)                  += vf_scale.o
125 OBJS-$(CONFIG_SELECT_FILTER)                 += vf_select.o
126 OBJS-$(CONFIG_SENDCMD_FILTER)                += f_sendcmd.o
127 OBJS-$(CONFIG_SETDAR_FILTER)                 += vf_aspect.o
128 OBJS-$(CONFIG_SETFIELD_FILTER)               += vf_setfield.o
129 OBJS-$(CONFIG_SETPTS_FILTER)                 += f_setpts.o
130 OBJS-$(CONFIG_SETSAR_FILTER)                 += vf_aspect.o
131 OBJS-$(CONFIG_SETTB_FILTER)                  += f_settb.o
132 OBJS-$(CONFIG_SHOWINFO_FILTER)               += vf_showinfo.o
133 OBJS-$(CONFIG_SLICIFY_FILTER)                += vf_slicify.o
134 OBJS-$(CONFIG_SMARTBLUR_FILTER)              += vf_smartblur.o
135 OBJS-$(CONFIG_SPLIT_FILTER)                  += split.o
136 OBJS-$(CONFIG_SUPER2XSAI_FILTER)             += vf_super2xsai.o
137 OBJS-$(CONFIG_SWAPUV_FILTER)                 += vf_swapuv.o
138 OBJS-$(CONFIG_THUMBNAIL_FILTER)              += vf_thumbnail.o
139 OBJS-$(CONFIG_TILE_FILTER)                   += vf_tile.o
140 OBJS-$(CONFIG_TINTERLACE_FILTER)             += vf_tinterlace.o
141 OBJS-$(CONFIG_TRANSPOSE_FILTER)              += vf_transpose.o
142 OBJS-$(CONFIG_UNSHARP_FILTER)                += vf_unsharp.o
143 OBJS-$(CONFIG_VFLIP_FILTER)                  += vf_vflip.o
144 OBJS-$(CONFIG_YADIF_FILTER)                  += vf_yadif.o
145
146 OBJS-$(CONFIG_CELLAUTO_FILTER)               += vsrc_cellauto.o
147 OBJS-$(CONFIG_COLOR_FILTER)                  += vsrc_testsrc.o
148 OBJS-$(CONFIG_FREI0R_SRC_FILTER)             += vf_frei0r.o
149 OBJS-$(CONFIG_LIFE_FILTER)                   += vsrc_life.o
150 OBJS-$(CONFIG_MANDELBROT_FILTER)             += vsrc_mandelbrot.o
151 OBJS-$(CONFIG_MPTESTSRC_FILTER)              += vsrc_mptestsrc.o
152 OBJS-$(CONFIG_NULLSRC_FILTER)                += vsrc_testsrc.o
153 OBJS-$(CONFIG_RGBTESTSRC_FILTER)             += vsrc_testsrc.o
154 OBJS-$(CONFIG_SMPTEBARS_FILTER)              += vsrc_testsrc.o
155 OBJS-$(CONFIG_TESTSRC_FILTER)                += vsrc_testsrc.o
156
157 OBJS-$(CONFIG_BUFFERSINK_FILTER)             += sink_buffer.o
158 OBJS-$(CONFIG_FFBUFFERSINK_FILTER)           += sink_buffer.o
159 OBJS-$(CONFIG_NULLSINK_FILTER)               += vsink_nullsink.o
160
161 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/mp_image.o
162 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/img_format.o
163 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_denoise3d.o
164 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_detc.o
165 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_dint.o
166 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_divtc.o
167 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_down3dright.o
168 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_dsize.o
169 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_eq2.o
170 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_eq.o
171 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_field.o
172 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_fil.o
173 #OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_filmdint.o
174 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_fixpts.o
175 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_fspp.o
176 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_geq.o
177 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_harddup.o
178 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_hqdn3d.o
179 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_il.o
180 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_ilpack.o
181 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_ivtc.o
182 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_kerndeint.o
183 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_mcdeint.o
184 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_noise.o
185 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_ow.o
186 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_palette.o
187 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_perspective.o
188 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_phase.o
189 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_pp.o
190 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_pp7.o
191 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_pullup.o
192 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_qp.o
193 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_rectangle.o
194 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_sab.o
195 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_softpulldown.o
196 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_softskip.o
197 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_spp.o
198 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_stereo3d.o
199 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_telecine.o
200 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_tile.o
201 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_tinterlace.o
202 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_unsharp.o
203 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_uspp.o
204 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_yuvcsp.o
205 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/vf_yvu9.o
206 OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/pullup.o
207
208 # multimedia filters
209 OBJS-$(CONFIG_CONCAT_FILTER)                 += avf_concat.o
210 OBJS-$(CONFIG_SHOWSPECTRUM_FILTER)           += avf_showspectrum.o
211 OBJS-$(CONFIG_SHOWWAVES_FILTER)              += avf_showwaves.o
212
213 # multimedia sources
214 OBJS-$(CONFIG_AMOVIE_FILTER)                 += src_movie.o
215 OBJS-$(CONFIG_MOVIE_FILTER)                  += src_movie.o
216
217 TOOLS     = graph2dot
218 TESTPROGS = drawutils filtfmts formats
219
220 clean::
221         $(RM) $(CLEANSUFFIXES:%=libavfilter/libmpcodecs/%)