Update to MPlayer SVN rev 32628 and FFmpeg SVN rev 25754.
[vaapi:dantemasons-mplayer.git] / ffmpeg / libavcodec / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avcodec
4 FFLIBS = avutil avcore
5
6 HEADERS = avcodec.h avfft.h dxva2.h opt.h vaapi.h vdpau.h xvmc.h
7
8 OBJS = allcodecs.o                                                      \
9        audioconvert.o                                                   \
10        avpacket.o                                                       \
11        bitstream.o                                                      \
12        bitstream_filter.o                                               \
13        dsputil.o                                                        \
14        faanidct.o                                                       \
15        imgconvert.o                                                     \
16        jrevdct.o                                                        \
17        opt.o                                                            \
18        options.o                                                        \
19        parser.o                                                         \
20        raw.o                                                            \
21        resample.o                                                       \
22        resample2.o                                                      \
23        simple_idct.o                                                    \
24        utils.o                                                          \
25
26 # parts needed for many different codecs
27 OBJS-$(CONFIG_AANDCT)                  += aandcttab.o
28 OBJS-$(CONFIG_ENCODERS)                += faandct.o jfdctfst.o jfdctint.o
29 OBJS-$(CONFIG_DCT)                     += dct.o
30 OBJS-$(CONFIG_DWT)                     += dwt.o
31 OBJS-$(CONFIG_DXVA2)                   += dxva2.o
32 FFT-OBJS-$(CONFIG_HARDCODED_TABLES)    += cos_tables.o
33 OBJS-$(CONFIG_FFT)                     += avfft.o fft.o $(FFT-OBJS-yes)
34 OBJS-$(CONFIG_GOLOMB)                  += golomb.o
35 OBJS-$(CONFIG_H264DSP)                 += h264dsp.o h264idct.o
36 OBJS-$(CONFIG_H264PRED)                += h264pred.o
37 OBJS-$(CONFIG_HUFFMAN)                 += huffman.o
38 OBJS-$(CONFIG_LPC)                     += lpc.o
39 OBJS-$(CONFIG_LSP)                     += lsp.o
40 OBJS-$(CONFIG_MDCT)                    += mdct.o
41 RDFT-OBJS-$(CONFIG_HARDCODED_TABLES)   += sin_tables.o
42 OBJS-$(CONFIG_RDFT)                    += rdft.o $(RDFT-OBJS-yes)
43 OBJS-$(CONFIG_VAAPI)                   += vaapi.o
44 OBJS-$(CONFIG_VDPAU)                   += vdpau.o
45
46 # decoders/encoders/hardware accelerators
47 OBJS-$(CONFIG_A64MULTI_ENCODER)        += a64multienc.o elbg.o
48 OBJS-$(CONFIG_A64MULTI5_ENCODER)       += a64multienc.o elbg.o
49 OBJS-$(CONFIG_AAC_DECODER)             += aacdec.o aactab.o aacsbr.o aacps.o \
50                                           aacadtsdec.o mpeg4audio.o
51 OBJS-$(CONFIG_AAC_ENCODER)             += aacenc.o aaccoder.o    \
52                                           aacpsy.o aactab.o      \
53                                           psymodel.o iirfilter.o \
54                                           mpeg4audio.o
55 OBJS-$(CONFIG_AASC_DECODER)            += aasc.o msrledec.o
56 OBJS-$(CONFIG_AC3_DECODER)             += ac3dec.o ac3dec_data.o ac3.o
57 OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc.o ac3tab.o ac3.o
58 OBJS-$(CONFIG_ALAC_DECODER)            += alac.o
59 OBJS-$(CONFIG_ALAC_ENCODER)            += alacenc.o
60 OBJS-$(CONFIG_ALS_DECODER)             += alsdec.o bgmc.o mpeg4audio.o
61 OBJS-$(CONFIG_AMRNB_DECODER)           += amrnbdec.o celp_filters.o   \
62                                           celp_math.o acelp_filters.o \
63                                           acelp_vectors.o             \
64                                           acelp_pitch_delay.o
65 OBJS-$(CONFIG_AMV_DECODER)             += sp5xdec.o mjpegdec.o mjpeg.o
66 OBJS-$(CONFIG_ANM_DECODER)             += anm.o
67 OBJS-$(CONFIG_ANSI_DECODER)            += ansi.o cga_data.o
68 OBJS-$(CONFIG_APE_DECODER)             += apedec.o
69 OBJS-$(CONFIG_ASS_DECODER)             += assdec.o ass.o
70 OBJS-$(CONFIG_ASS_ENCODER)             += assenc.o ass.o
71 OBJS-$(CONFIG_ASV1_DECODER)            += asv1.o mpeg12data.o
72 OBJS-$(CONFIG_ASV1_ENCODER)            += asv1.o mpeg12data.o
73 OBJS-$(CONFIG_ASV2_DECODER)            += asv1.o mpeg12data.o
74 OBJS-$(CONFIG_ASV2_ENCODER)            += asv1.o mpeg12data.o
75 OBJS-$(CONFIG_ATRAC1_DECODER)          += atrac1.o atrac.o
76 OBJS-$(CONFIG_ATRAC3_DECODER)          += atrac3.o atrac.o
77 OBJS-$(CONFIG_AURA_DECODER)            += cyuv.o
78 OBJS-$(CONFIG_AURA2_DECODER)           += aura.o
79 OBJS-$(CONFIG_AVS_DECODER)             += avs.o
80 OBJS-$(CONFIG_BETHSOFTVID_DECODER)     += bethsoftvideo.o
81 OBJS-$(CONFIG_BFI_DECODER)             += bfi.o
82 OBJS-$(CONFIG_BINK_DECODER)            += bink.o binkidct.o
83 OBJS-$(CONFIG_BINKAUDIO_DCT_DECODER)   += binkaudio.o wma.o
84 OBJS-$(CONFIG_BINKAUDIO_RDFT_DECODER)  += binkaudio.o wma.o
85 OBJS-$(CONFIG_BMP_DECODER)             += bmp.o msrledec.o
86 OBJS-$(CONFIG_BMP_ENCODER)             += bmpenc.o
87 OBJS-$(CONFIG_C93_DECODER)             += c93.o
88 OBJS-$(CONFIG_CAVS_DECODER)            += cavs.o cavsdec.o cavsdsp.o \
89                                           mpeg12data.o mpegvideo.o
90 OBJS-$(CONFIG_CDGRAPHICS_DECODER)      += cdgraphics.o
91 OBJS-$(CONFIG_CINEPAK_DECODER)         += cinepak.o
92 OBJS-$(CONFIG_CLJR_DECODER)            += cljr.o
93 OBJS-$(CONFIG_CLJR_ENCODER)            += cljr.o
94 OBJS-$(CONFIG_COOK_DECODER)            += cook.o
95 OBJS-$(CONFIG_CSCD_DECODER)            += cscd.o
96 OBJS-$(CONFIG_CYUV_DECODER)            += cyuv.o
97 OBJS-$(CONFIG_DCA_DECODER)             += dca.o synth_filter.o dcadsp.o
98 OBJS-$(CONFIG_DNXHD_DECODER)           += dnxhddec.o dnxhddata.o
99 OBJS-$(CONFIG_DNXHD_ENCODER)           += dnxhdenc.o dnxhddata.o       \
100                                           mpegvideo_enc.o motion_est.o \
101                                           ratecontrol.o mpeg12data.o   \
102                                           mpegvideo.o
103 OBJS-$(CONFIG_DPX_DECODER)             += dpx.o
104 OBJS-$(CONFIG_DSICINAUDIO_DECODER)     += dsicinav.o
105 OBJS-$(CONFIG_DSICINVIDEO_DECODER)     += dsicinav.o
106 OBJS-$(CONFIG_DVBSUB_DECODER)          += dvbsubdec.o
107 OBJS-$(CONFIG_DVBSUB_ENCODER)          += dvbsub.o
108 OBJS-$(CONFIG_DVDSUB_DECODER)          += dvdsubdec.o
109 OBJS-$(CONFIG_DVDSUB_ENCODER)          += dvdsubenc.o
110 OBJS-$(CONFIG_DVVIDEO_DECODER)         += dv.o dvdata.o
111 OBJS-$(CONFIG_DVVIDEO_ENCODER)         += dv.o dvdata.o
112 OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
113 OBJS-$(CONFIG_EAC3_DECODER)            += eac3dec.o eac3dec_data.o
114 OBJS-$(CONFIG_EACMV_DECODER)           += eacmv.o
115 OBJS-$(CONFIG_EAMAD_DECODER)           += eamad.o eaidct.o mpeg12.o \
116                                           mpeg12data.o mpegvideo.o  \
117                                           error_resilience.o
118 OBJS-$(CONFIG_EATGQ_DECODER)           += eatgq.o eaidct.o
119 OBJS-$(CONFIG_EATGV_DECODER)           += eatgv.o
120 OBJS-$(CONFIG_EATQI_DECODER)           += eatqi.o eaidct.o mpeg12.o \
121                                           mpeg12data.o mpegvideo.o  \
122                                           error_resilience.o
123 OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
124 OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)    += 8svx.o
125 OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)    += 8svx.o
126 OBJS-$(CONFIG_ESCAPE124_DECODER)       += escape124.o
127 OBJS-$(CONFIG_FFV1_DECODER)            += ffv1.o rangecoder.o
128 OBJS-$(CONFIG_FFV1_ENCODER)            += ffv1.o rangecoder.o
129 OBJS-$(CONFIG_FFVHUFF_DECODER)         += huffyuv.o
130 OBJS-$(CONFIG_FFVHUFF_ENCODER)         += huffyuv.o
131 OBJS-$(CONFIG_FLAC_DECODER)            += flacdec.o flacdata.o flac.o
132 OBJS-$(CONFIG_FLAC_ENCODER)            += flacenc.o flacdata.o flac.o
133 OBJS-$(CONFIG_FLASHSV_DECODER)         += flashsv.o
134 OBJS-$(CONFIG_FLASHSV_ENCODER)         += flashsvenc.o
135 OBJS-$(CONFIG_FLIC_DECODER)            += flicvideo.o
136 OBJS-$(CONFIG_FOURXM_DECODER)          += 4xm.o
137 OBJS-$(CONFIG_FRAPS_DECODER)           += fraps.o
138 OBJS-$(CONFIG_FRWU_DECODER)            += frwu.o
139 OBJS-$(CONFIG_GIF_DECODER)             += gifdec.o lzw.o
140 OBJS-$(CONFIG_GIF_ENCODER)             += gif.o lzwenc.o
141 OBJS-$(CONFIG_GSM_DECODER)             += gsmdec.o gsmdec_data.o msgsmdec.o
142 OBJS-$(CONFIG_GSM_MS_DECODER)          += gsmdec.o gsmdec_data.o msgsmdec.o
143 OBJS-$(CONFIG_H261_DECODER)            += h261dec.o h261.o \
144                                           mpegvideo.o error_resilience.o
145 OBJS-$(CONFIG_H261_ENCODER)            += h261enc.o h261.o             \
146                                           mpegvideo_enc.o motion_est.o \
147                                           ratecontrol.o mpeg12data.o   \
148                                           mpegvideo.o
149 OBJS-$(CONFIG_H263_DECODER)            += h263dec.o h263.o ituh263dec.o        \
150                                           mpeg4video.o mpeg4videodec.o flvdec.o\
151                                           intelh263dec.o mpegvideo.o           \
152                                           error_resilience.o
153 OBJS-$(CONFIG_H263_VAAPI_HWACCEL)      += vaapi_mpeg4.o
154 OBJS-$(CONFIG_H263_ENCODER)            += mpegvideo_enc.o mpeg4video.o      \
155                                           mpeg4videoenc.o motion_est.o      \
156                                           ratecontrol.o h263.o ituh263enc.o \
157                                           flvenc.o mpeg12data.o             \
158                                           mpegvideo.o error_resilience.o
159 OBJS-$(CONFIG_H264_DECODER)            += h264.o                               \
160                                           h264_loopfilter.o h264_direct.o      \
161                                           cabac.o h264_sei.o h264_ps.o         \
162                                           h264_refs.o h264_cavlc.o h264_cabac.o\
163                                           mpegvideo.o error_resilience.o
164 OBJS-$(CONFIG_H264_DXVA2_HWACCEL)      += dxva2_h264.o
165 OBJS-$(CONFIG_H264_ENCODER)            += h264enc.o h264dspenc.o
166 OBJS-$(CONFIG_H264_VAAPI_HWACCEL)      += vaapi_h264.o
167 OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o
168 OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o
169 OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o
170 OBJS-$(CONFIG_IFF_BYTERUN1_DECODER)    += iff.o
171 OBJS-$(CONFIG_IFF_ILBM_DECODER)        += iff.o
172 OBJS-$(CONFIG_IMC_DECODER)             += imc.o
173 OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
174 OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
175 OBJS-$(CONFIG_INDEO5_DECODER)          += indeo5.o ivi_common.o ivi_dsp.o
176 OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
177 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
178 OBJS-$(CONFIG_JPEGLS_DECODER)          += jpeglsdec.o jpegls.o \
179                                           mjpegdec.o mjpeg.o
180 OBJS-$(CONFIG_JPEGLS_ENCODER)          += jpeglsenc.o jpegls.o
181 OBJS-$(CONFIG_KGV1_DECODER)            += kgv1dec.o
182 OBJS-$(CONFIG_KMVC_DECODER)            += kmvc.o
183 OBJS-$(CONFIG_LJPEG_ENCODER)           += ljpegenc.o mjpegenc.o mjpeg.o \
184                                           mpegvideo_enc.o motion_est.o  \
185                                           ratecontrol.o mpeg12data.o    \
186                                           mpegvideo.o
187 OBJS-$(CONFIG_LOCO_DECODER)            += loco.o
188 OBJS-$(CONFIG_MACE3_DECODER)           += mace.o
189 OBJS-$(CONFIG_MACE6_DECODER)           += mace.o
190 OBJS-$(CONFIG_MDEC_DECODER)            += mdec.o mpeg12.o mpeg12data.o \
191                                           mpegvideo.o error_resilience.o
192 OBJS-$(CONFIG_MIMIC_DECODER)           += mimic.o
193 OBJS-$(CONFIG_MJPEG_DECODER)           += mjpegdec.o mjpeg.o
194 OBJS-$(CONFIG_MJPEG_ENCODER)           += mjpegenc.o mjpeg.o           \
195                                           mpegvideo_enc.o motion_est.o \
196                                           ratecontrol.o mpeg12data.o   \
197                                           mpegvideo.o
198 OBJS-$(CONFIG_MJPEGB_DECODER)          += mjpegbdec.o mjpegdec.o mjpeg.o
199 OBJS-$(CONFIG_MLP_DECODER)             += mlpdec.o mlpdsp.o
200 OBJS-$(CONFIG_MMVIDEO_DECODER)         += mmvideo.o
201 OBJS-$(CONFIG_MOTIONPIXELS_DECODER)    += motionpixels.o
202 OBJS-$(CONFIG_MP1_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
203                                           mpegaudio.o mpegaudiodata.o
204 OBJS-$(CONFIG_MP1FLOAT_DECODER)        += mpegaudiodec_float.o mpegaudiodecheader.o \
205                                           mpegaudio.o mpegaudiodata.o
206 OBJS-$(CONFIG_MP2_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
207                                           mpegaudio.o mpegaudiodata.o
208 OBJS-$(CONFIG_MP2_ENCODER)             += mpegaudioenc.o mpegaudio.o \
209                                           mpegaudiodata.o
210 OBJS-$(CONFIG_MP2FLOAT_DECODER)        += mpegaudiodec_float.o mpegaudiodecheader.o \
211                                           mpegaudio.o mpegaudiodata.o
212 OBJS-$(CONFIG_MP3ADU_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o \
213                                           mpegaudio.o mpegaudiodata.o
214 OBJS-$(CONFIG_MP3ADUFLOAT_DECODER)     += mpegaudiodec_float.o mpegaudiodecheader.o \
215                                           mpegaudio.o mpegaudiodata.o
216 OBJS-$(CONFIG_MP3ON4_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o \
217                                           mpegaudio.o mpegaudiodata.o         \
218                                           mpeg4audio.o
219 OBJS-$(CONFIG_MP3ON4FLOAT_DECODER)     += mpegaudiodec_float.o mpegaudiodecheader.o \
220                                           mpegaudio.o mpegaudiodata.o         \
221                                           mpeg4audio.o
222 OBJS-$(CONFIG_MP3_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
223                                           mpegaudio.o mpegaudiodata.o
224 OBJS-$(CONFIG_MP3FLOAT_DECODER)        += mpegaudiodec_float.o mpegaudiodecheader.o \
225                                           mpegaudio.o mpegaudiodata.o
226 OBJS-$(CONFIG_MPC7_DECODER)            += mpc7.o mpc.o mpegaudiodec.o      \
227                                           mpegaudiodecheader.o mpegaudio.o \
228                                           mpegaudiodata.o
229 OBJS-$(CONFIG_MPC8_DECODER)            += mpc8.o mpc.o mpegaudiodec.o      \
230                                           mpegaudiodecheader.o mpegaudio.o \
231                                           mpegaudiodata.o
232 OBJS-$(CONFIG_MPEGVIDEO_DECODER)       += mpeg12.o mpeg12data.o \
233                                           mpegvideo.o error_resilience.o
234 OBJS-$(CONFIG_MPEG_XVMC_DECODER)       += mpegvideo_xvmc.o
235 OBJS-$(CONFIG_MPEG1VIDEO_DECODER)      += mpeg12.o mpeg12data.o \
236                                           mpegvideo.o error_resilience.o
237 OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)      += mpeg12enc.o mpegvideo_enc.o \
238                                           motion_est.o ratecontrol.o  \
239                                           mpeg12.o mpeg12data.o       \
240                                           mpegvideo.o error_resilience.o
241 OBJS-$(CONFIG_MPEG2_DXVA2_HWACCEL)     += dxva2_mpeg2.o
242 OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL)     += vaapi_mpeg2.o
243 OBJS-$(CONFIG_MPEG2VIDEO_DECODER)      += mpeg12.o mpeg12data.o \
244                                           mpegvideo.o error_resilience.o
245 OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)      += mpeg12enc.o mpegvideo_enc.o \
246                                           motion_est.o ratecontrol.o  \
247                                           mpeg12.o mpeg12data.o       \
248                                           mpegvideo.o error_resilience.o
249 OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL)     += vaapi_mpeg4.o
250 OBJS-$(CONFIG_MSMPEG4V1_DECODER)       += msmpeg4.o msmpeg4data.o
251 OBJS-$(CONFIG_MSMPEG4V1_ENCODER)       += msmpeg4.o msmpeg4data.o h263dec.o \
252                                           h263.o ituh263dec.o mpeg4videodec.o
253 OBJS-$(CONFIG_MSMPEG4V2_DECODER)       += msmpeg4.o msmpeg4data.o h263dec.o \
254                                           h263.o ituh263dec.o mpeg4videodec.o
255 OBJS-$(CONFIG_MSMPEG4V2_ENCODER)       += msmpeg4.o msmpeg4data.o h263dec.o \
256                                           h263.o ituh263dec.o mpeg4videodec.o
257 OBJS-$(CONFIG_MSMPEG4V3_DECODER)       += msmpeg4.o msmpeg4data.o h263dec.o \
258                                           h263.o ituh263dec.o mpeg4videodec.o
259 OBJS-$(CONFIG_MSMPEG4V3_ENCODER)       += msmpeg4.o msmpeg4data.o h263dec.o \
260                                           h263.o ituh263dec.o mpeg4videodec.o
261 OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o msrledec.o
262 OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
263 OBJS-$(CONFIG_MSZH_DECODER)            += lcldec.o
264 OBJS-$(CONFIG_NELLYMOSER_DECODER)      += nellymoserdec.o nellymoser.o
265 OBJS-$(CONFIG_NELLYMOSER_ENCODER)      += nellymoserenc.o nellymoser.o
266 OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
267 OBJS-$(CONFIG_PAM_DECODER)             += pnmdec.o pnm.o
268 OBJS-$(CONFIG_PAM_ENCODER)             += pamenc.o pnm.o
269 OBJS-$(CONFIG_PBM_DECODER)             += pnmdec.o pnm.o
270 OBJS-$(CONFIG_PBM_ENCODER)             += pnmenc.o pnm.o
271 OBJS-$(CONFIG_PCX_DECODER)             += pcx.o
272 OBJS-$(CONFIG_PCX_ENCODER)             += pcxenc.o
273 OBJS-$(CONFIG_PGM_DECODER)             += pnmdec.o pnm.o
274 OBJS-$(CONFIG_PGM_ENCODER)             += pnmenc.o pnm.o
275 OBJS-$(CONFIG_PGMYUV_DECODER)          += pnmdec.o pnm.o
276 OBJS-$(CONFIG_PGMYUV_ENCODER)          += pnmenc.o pnm.o
277 OBJS-$(CONFIG_PGSSUB_DECODER)          += pgssubdec.o
278 OBJS-$(CONFIG_PICTOR_DECODER)          += pictordec.o cga_data.o
279 OBJS-$(CONFIG_PNG_DECODER)             += png.o pngdec.o
280 OBJS-$(CONFIG_PNG_ENCODER)             += png.o pngenc.o
281 OBJS-$(CONFIG_PPM_DECODER)             += pnmdec.o pnm.o
282 OBJS-$(CONFIG_PPM_ENCODER)             += pnmenc.o pnm.o
283 OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
284 OBJS-$(CONFIG_QCELP_DECODER)           += qcelpdec.o celp_math.o         \
285                                           celp_filters.o acelp_vectors.o \
286                                           acelp_filters.o
287 OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o mpegaudiodec.o            \
288                                           mpegaudiodecheader.o mpegaudio.o \
289                                           mpegaudiodata.o
290 OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o
291 OBJS-$(CONFIG_QPEG_DECODER)            += qpeg.o
292 OBJS-$(CONFIG_QTRLE_DECODER)           += qtrle.o
293 OBJS-$(CONFIG_QTRLE_ENCODER)           += qtrleenc.o
294 OBJS-$(CONFIG_R10K_DECODER)            += r210dec.o
295 OBJS-$(CONFIG_R210_DECODER)            += r210dec.o
296 OBJS-$(CONFIG_RA_144_DECODER)          += ra144dec.o ra144.o celp_filters.o
297 OBJS-$(CONFIG_RA_144_ENCODER)          += ra144enc.o ra144.o celp_filters.o
298 OBJS-$(CONFIG_RA_288_DECODER)          += ra288.o celp_math.o celp_filters.o
299 OBJS-$(CONFIG_RAWVIDEO_DECODER)        += rawdec.o
300 OBJS-$(CONFIG_RAWVIDEO_ENCODER)        += rawenc.o
301 OBJS-$(CONFIG_RL2_DECODER)             += rl2.o
302 OBJS-$(CONFIG_ROQ_DECODER)             += roqvideodec.o roqvideo.o
303 OBJS-$(CONFIG_ROQ_ENCODER)             += roqvideoenc.o roqvideo.o elbg.o
304 OBJS-$(CONFIG_ROQ_DPCM_DECODER)        += dpcm.o
305 OBJS-$(CONFIG_ROQ_DPCM_ENCODER)        += roqaudioenc.o
306 OBJS-$(CONFIG_RPZA_DECODER)            += rpza.o
307 OBJS-$(CONFIG_RV10_DECODER)            += rv10.o
308 OBJS-$(CONFIG_RV10_ENCODER)            += rv10enc.o
309 OBJS-$(CONFIG_RV20_DECODER)            += rv10.o
310 OBJS-$(CONFIG_RV20_ENCODER)            += rv20enc.o
311 OBJS-$(CONFIG_RV30_DECODER)            += rv30.o rv34.o rv30dsp.o        \
312                                           mpegvideo.o error_resilience.o
313 OBJS-$(CONFIG_RV40_DECODER)            += rv40.o rv34.o rv40dsp.o        \
314                                           mpegvideo.o error_resilience.o
315 OBJS-$(CONFIG_SGI_DECODER)             += sgidec.o
316 OBJS-$(CONFIG_SGI_ENCODER)             += sgienc.o rle.o
317 OBJS-$(CONFIG_SHORTEN_DECODER)         += shorten.o
318 OBJS-$(CONFIG_SIPR_DECODER)            += sipr.o acelp_pitch_delay.o \
319                                           celp_math.o acelp_vectors.o \
320                                           acelp_filters.o celp_filters.o \
321                                           sipr16k.o
322 OBJS-$(CONFIG_SMACKAUD_DECODER)        += smacker.o
323 OBJS-$(CONFIG_SMACKER_DECODER)         += smacker.o
324 OBJS-$(CONFIG_SMC_DECODER)             += smc.o
325 OBJS-$(CONFIG_SNOW_DECODER)            += snow.o rangecoder.o
326 OBJS-$(CONFIG_SNOW_ENCODER)            += snow.o rangecoder.o motion_est.o \
327                                           ratecontrol.o h263.o             \
328                                           mpegvideo.o error_resilience.o   \
329                                           ituh263enc.o mpegvideo_enc.o     \
330                                           mpeg12data.o
331 OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
332 OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
333 OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o
334 OBJS-$(CONFIG_SONIC_LS_ENCODER)        += sonic.o
335 OBJS-$(CONFIG_SP5X_DECODER)            += sp5xdec.o mjpegdec.o mjpeg.o
336 OBJS-$(CONFIG_SUNRAST_DECODER)         += sunrast.o
337 OBJS-$(CONFIG_SVQ1_DECODER)            += svq1dec.o svq1.o h263.o \
338                                           mpegvideo.o error_resilience.o
339 OBJS-$(CONFIG_SVQ1_ENCODER)            += svq1enc.o svq1.o    \
340                                           motion_est.o h263.o \
341                                           mpegvideo.o error_resilience.o \
342                                           ituh263enc.o mpegvideo_enc.o   \
343                                           ratecontrol.o mpeg12data.o
344 OBJS-$(CONFIG_SVQ3_DECODER)            += h264.o svq3.o                       \
345                                           h264_loopfilter.o h264_direct.o     \
346                                           h264_sei.o h264_ps.o h264_refs.o    \
347                                           h264_cavlc.o h264_cabac.o cabac.o   \
348                                           mpegvideo.o error_resilience.o      \
349                                           svq1dec.o svq1.o h263.o
350 OBJS-$(CONFIG_TARGA_DECODER)           += targa.o
351 OBJS-$(CONFIG_TARGA_ENCODER)           += targaenc.o rle.o
352 OBJS-$(CONFIG_THEORA_DECODER)          += xiph.o
353 OBJS-$(CONFIG_THP_DECODER)             += mjpegdec.o mjpeg.o
354 OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
355 OBJS-$(CONFIG_TIFF_DECODER)            += tiff.o lzw.o faxcompr.o
356 OBJS-$(CONFIG_TIFF_ENCODER)            += tiffenc.o rle.o lzwenc.o
357 OBJS-$(CONFIG_TMV_DECODER)             += tmv.o cga_data.o
358 OBJS-$(CONFIG_TRUEMOTION1_DECODER)     += truemotion1.o
359 OBJS-$(CONFIG_TRUEMOTION2_DECODER)     += truemotion2.o
360 OBJS-$(CONFIG_TRUESPEECH_DECODER)      += truespeech.o
361 OBJS-$(CONFIG_TSCC_DECODER)            += tscc.o msrledec.o
362 OBJS-$(CONFIG_TTA_DECODER)             += tta.o
363 OBJS-$(CONFIG_TWINVQ_DECODER)          += twinvq.o celp_math.o
364 OBJS-$(CONFIG_TXD_DECODER)             += txd.o s3tc.o
365 OBJS-$(CONFIG_ULTI_DECODER)            += ulti.o
366 OBJS-$(CONFIG_V210_DECODER)            += v210dec.o
367 OBJS-$(CONFIG_V210_ENCODER)            += v210enc.o
368 OBJS-$(CONFIG_V210X_DECODER)           += v210x.o
369 OBJS-$(CONFIG_VB_DECODER)              += vb.o
370 OBJS-$(CONFIG_VC1_DECODER)             += vc1dec.o vc1.o vc1data.o vc1dsp.o \
371                                           msmpeg4.o msmpeg4data.o           \
372                                           intrax8.o intrax8dsp.o
373 OBJS-$(CONFIG_VC1_DXVA2_HWACCEL)       += dxva2_vc1.o
374 OBJS-$(CONFIG_VC1_VAAPI_HWACCEL)       += vaapi_vc1.o
375 OBJS-$(CONFIG_VCR1_DECODER)            += vcr1.o
376 OBJS-$(CONFIG_VCR1_ENCODER)            += vcr1.o
377 OBJS-$(CONFIG_VMDAUDIO_DECODER)        += vmdav.o
378 OBJS-$(CONFIG_VMDVIDEO_DECODER)        += vmdav.o
379 OBJS-$(CONFIG_VMNC_DECODER)            += vmnc.o
380 OBJS-$(CONFIG_VORBIS_DECODER)          += vorbis_dec.o vorbis.o \
381                                           vorbis_data.o xiph.o
382 OBJS-$(CONFIG_VORBIS_ENCODER)          += vorbis_enc.o vorbis.o \
383                                           vorbis_data.o
384 OBJS-$(CONFIG_VP3_DECODER)             += vp3.o vp3dsp.o
385 OBJS-$(CONFIG_VP5_DECODER)             += vp5.o vp56.o vp56data.o vp56dsp.o \
386                                           vp3dsp.o vp56rac.o
387 OBJS-$(CONFIG_VP6_DECODER)             += vp6.o vp56.o vp56data.o vp56dsp.o \
388                                           vp3dsp.o vp6dsp.o vp56rac.o
389 OBJS-$(CONFIG_VP8_DECODER)             += vp8.o vp8dsp.o vp56rac.o
390 OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
391 OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
392 OBJS-$(CONFIG_WMAPRO_DECODER)          += wmaprodec.o wma.o
393 OBJS-$(CONFIG_WMAV1_DECODER)           += wmadec.o wma.o aactab.o
394 OBJS-$(CONFIG_WMAV1_ENCODER)           += wmaenc.o wma.o aactab.o
395 OBJS-$(CONFIG_WMAV2_DECODER)           += wmadec.o wma.o aactab.o
396 OBJS-$(CONFIG_WMAV2_ENCODER)           += wmaenc.o wma.o aactab.o
397 OBJS-$(CONFIG_WMAVOICE_DECODER)        += wmavoice.o \
398                                           celp_math.o celp_filters.o \
399                                           acelp_vectors.o acelp_filters.o
400 OBJS-$(CONFIG_WMV1_DECODER)            += msmpeg4.o msmpeg4data.o
401 OBJS-$(CONFIG_WMV2_DECODER)            += wmv2dec.o wmv2.o        \
402                                           msmpeg4.o msmpeg4data.o \
403                                           intrax8.o intrax8dsp.o
404 OBJS-$(CONFIG_WMV2_ENCODER)            += wmv2enc.o wmv2.o \
405                                           msmpeg4.o msmpeg4data.o \
406                                           mpeg4videodec.o ituh263dec.o h263dec.o
407 OBJS-$(CONFIG_WNV1_DECODER)            += wnv1.o
408 OBJS-$(CONFIG_WS_SND1_DECODER)         += ws-snd1.o
409 OBJS-$(CONFIG_XAN_DPCM_DECODER)        += dpcm.o
410 OBJS-$(CONFIG_XAN_WC3_DECODER)         += xan.o
411 OBJS-$(CONFIG_XAN_WC4_DECODER)         += xan.o
412 OBJS-$(CONFIG_XL_DECODER)              += xl.o
413 OBJS-$(CONFIG_XSUB_DECODER)            += xsubdec.o
414 OBJS-$(CONFIG_XSUB_ENCODER)            += xsubenc.o
415 OBJS-$(CONFIG_YOP_DECODER)             += yop.o
416 OBJS-$(CONFIG_ZLIB_DECODER)            += lcldec.o
417 OBJS-$(CONFIG_ZLIB_ENCODER)            += lclenc.o
418 OBJS-$(CONFIG_ZMBV_DECODER)            += zmbv.o
419 OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
420
421 # (AD)PCM decoders/encoders
422 OBJS-$(CONFIG_PCM_ALAW_DECODER)           += pcm.o
423 OBJS-$(CONFIG_PCM_ALAW_ENCODER)           += pcm.o
424 OBJS-$(CONFIG_PCM_BLURAY_DECODER)         += pcm-mpeg.o
425 OBJS-$(CONFIG_PCM_DVD_DECODER)            += pcm.o
426 OBJS-$(CONFIG_PCM_DVD_ENCODER)            += pcm.o
427 OBJS-$(CONFIG_PCM_F32BE_DECODER)          += pcm.o
428 OBJS-$(CONFIG_PCM_F32BE_ENCODER)          += pcm.o
429 OBJS-$(CONFIG_PCM_F32LE_DECODER)          += pcm.o
430 OBJS-$(CONFIG_PCM_F32LE_ENCODER)          += pcm.o
431 OBJS-$(CONFIG_PCM_F64BE_DECODER)          += pcm.o
432 OBJS-$(CONFIG_PCM_F64BE_ENCODER)          += pcm.o
433 OBJS-$(CONFIG_PCM_F64LE_DECODER)          += pcm.o
434 OBJS-$(CONFIG_PCM_F64LE_ENCODER)          += pcm.o
435 OBJS-$(CONFIG_PCM_MULAW_DECODER)          += pcm.o
436 OBJS-$(CONFIG_PCM_MULAW_ENCODER)          += pcm.o
437 OBJS-$(CONFIG_PCM_S8_DECODER)             += pcm.o
438 OBJS-$(CONFIG_PCM_S8_ENCODER)             += pcm.o
439 OBJS-$(CONFIG_PCM_S16BE_DECODER)          += pcm.o
440 OBJS-$(CONFIG_PCM_S16BE_ENCODER)          += pcm.o
441 OBJS-$(CONFIG_PCM_S16LE_DECODER)          += pcm.o
442 OBJS-$(CONFIG_PCM_S16LE_ENCODER)          += pcm.o
443 OBJS-$(CONFIG_PCM_S16LE_PLANAR_DECODER)   += pcm.o
444 OBJS-$(CONFIG_PCM_S24BE_DECODER)          += pcm.o
445 OBJS-$(CONFIG_PCM_S24BE_ENCODER)          += pcm.o
446 OBJS-$(CONFIG_PCM_S24DAUD_DECODER)        += pcm.o
447 OBJS-$(CONFIG_PCM_S24DAUD_ENCODER)        += pcm.o
448 OBJS-$(CONFIG_PCM_S24LE_DECODER)          += pcm.o
449 OBJS-$(CONFIG_PCM_S24LE_ENCODER)          += pcm.o
450 OBJS-$(CONFIG_PCM_S32BE_DECODER)          += pcm.o
451 OBJS-$(CONFIG_PCM_S32BE_ENCODER)          += pcm.o
452 OBJS-$(CONFIG_PCM_S32LE_DECODER)          += pcm.o
453 OBJS-$(CONFIG_PCM_S32LE_ENCODER)          += pcm.o
454 OBJS-$(CONFIG_PCM_U8_DECODER)             += pcm.o
455 OBJS-$(CONFIG_PCM_U8_ENCODER)             += pcm.o
456 OBJS-$(CONFIG_PCM_U16BE_DECODER)          += pcm.o
457 OBJS-$(CONFIG_PCM_U16BE_ENCODER)          += pcm.o
458 OBJS-$(CONFIG_PCM_U16LE_DECODER)          += pcm.o
459 OBJS-$(CONFIG_PCM_U16LE_ENCODER)          += pcm.o
460 OBJS-$(CONFIG_PCM_U24BE_DECODER)          += pcm.o
461 OBJS-$(CONFIG_PCM_U24BE_ENCODER)          += pcm.o
462 OBJS-$(CONFIG_PCM_U24LE_DECODER)          += pcm.o
463 OBJS-$(CONFIG_PCM_U24LE_ENCODER)          += pcm.o
464 OBJS-$(CONFIG_PCM_U32BE_DECODER)          += pcm.o
465 OBJS-$(CONFIG_PCM_U32BE_ENCODER)          += pcm.o
466 OBJS-$(CONFIG_PCM_U32LE_DECODER)          += pcm.o
467 OBJS-$(CONFIG_PCM_U32LE_ENCODER)          += pcm.o
468 OBJS-$(CONFIG_PCM_ZORK_DECODER)           += pcm.o
469 OBJS-$(CONFIG_PCM_ZORK_ENCODER)           += pcm.o
470
471 OBJS-$(CONFIG_ADPCM_4XM_DECODER)          += adpcm.o
472 OBJS-$(CONFIG_ADPCM_ADX_DECODER)          += adxdec.o
473 OBJS-$(CONFIG_ADPCM_ADX_ENCODER)          += adxenc.o
474 OBJS-$(CONFIG_ADPCM_CT_DECODER)           += adpcm.o
475 OBJS-$(CONFIG_ADPCM_EA_DECODER)           += adpcm.o
476 OBJS-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER)  += adpcm.o
477 OBJS-$(CONFIG_ADPCM_EA_R1_DECODER)        += adpcm.o
478 OBJS-$(CONFIG_ADPCM_EA_R2_DECODER)        += adpcm.o
479 OBJS-$(CONFIG_ADPCM_EA_R3_DECODER)        += adpcm.o
480 OBJS-$(CONFIG_ADPCM_EA_XAS_DECODER)       += adpcm.o
481 OBJS-$(CONFIG_ADPCM_G722_DECODER)         += g722.o
482 OBJS-$(CONFIG_ADPCM_G722_ENCODER)         += g722.o
483 OBJS-$(CONFIG_ADPCM_G726_DECODER)         += g726.o
484 OBJS-$(CONFIG_ADPCM_G726_ENCODER)         += g726.o
485 OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER)      += adpcm.o
486 OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER)      += adpcm.o
487 OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER)      += adpcm.o
488 OBJS-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER)  += adpcm.o
489 OBJS-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER)  += adpcm.o
490 OBJS-$(CONFIG_ADPCM_IMA_ISS_DECODER)      += adpcm.o
491 OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER)       += adpcm.o
492 OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER)       += adpcm.o
493 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER)   += adpcm.o
494 OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER)      += adpcm.o
495 OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER)      += adpcm.o
496 OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER)       += adpcm.o
497 OBJS-$(CONFIG_ADPCM_MS_DECODER)           += adpcm.o
498 OBJS-$(CONFIG_ADPCM_MS_ENCODER)           += adpcm.o
499 OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER)      += adpcm.o
500 OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER)      += adpcm.o
501 OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER)      += adpcm.o
502 OBJS-$(CONFIG_ADPCM_SWF_DECODER)          += adpcm.o
503 OBJS-$(CONFIG_ADPCM_SWF_ENCODER)          += adpcm.o
504 OBJS-$(CONFIG_ADPCM_THP_DECODER)          += adpcm.o
505 OBJS-$(CONFIG_ADPCM_XA_DECODER)           += adpcm.o
506 OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)       += adpcm.o
507 OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)       += adpcm.o
508
509 # libavformat dependencies
510 OBJS-$(CONFIG_ADTS_MUXER)              += mpeg4audio.o
511 OBJS-$(CONFIG_CAF_DEMUXER)             += mpeg4audio.o mpegaudiodata.o
512 OBJS-$(CONFIG_DV_DEMUXER)              += dvdata.o
513 OBJS-$(CONFIG_DV_MUXER)                += dvdata.o
514 OBJS-$(CONFIG_FLAC_DEMUXER)            += flacdec.o flacdata.o flac.o
515 OBJS-$(CONFIG_FLAC_MUXER)              += flacdec.o flacdata.o flac.o
516 OBJS-$(CONFIG_FLV_DEMUXER)             += mpeg4audio.o
517 OBJS-$(CONFIG_GXF_DEMUXER)             += mpeg12data.o
518 OBJS-$(CONFIG_IFF_DEMUXER)             += iff.o
519 OBJS-$(CONFIG_MATROSKA_AUDIO_MUXER)    += xiph.o mpeg4audio.o \
520                                           flacdec.o flacdata.o flac.o
521 OBJS-$(CONFIG_MATROSKA_DEMUXER)        += mpeg4audio.o
522 OBJS-$(CONFIG_MATROSKA_MUXER)          += xiph.o mpeg4audio.o \
523                                           flacdec.o flacdata.o flac.o
524 OBJS-$(CONFIG_MOV_DEMUXER)             += mpeg4audio.o mpegaudiodata.o
525 OBJS-$(CONFIG_MPEGTS_MUXER)            += mpegvideo.o mpeg4audio.o
526 OBJS-$(CONFIG_NUT_MUXER)               += mpegaudiodata.o
527 OBJS-$(CONFIG_OGG_DEMUXER)             += flacdec.o flacdata.o flac.o \
528                                           dirac.o mpeg12data.o
529 OBJS-$(CONFIG_OGG_MUXER)               += xiph.o flacdec.o flacdata.o flac.o
530 OBJS-$(CONFIG_RTP_MUXER)               += mpegvideo.o xiph.o
531 OBJS-$(CONFIG_WEBM_MUXER)              += xiph.o mpeg4audio.o \
532                                           flacdec.o flacdata.o flac.o
533
534 # external codec libraries
535 OBJS-$(CONFIG_LIBDIRAC_DECODER)           += libdiracdec.o
536 OBJS-$(CONFIG_LIBDIRAC_ENCODER)           += libdiracenc.o libdirac_libschro.o
537 OBJS-$(CONFIG_LIBFAAC_ENCODER)            += libfaac.o
538 OBJS-$(CONFIG_LIBGSM_DECODER)             += libgsm.o
539 OBJS-$(CONFIG_LIBGSM_ENCODER)             += libgsm.o
540 OBJS-$(CONFIG_LIBGSM_MS_DECODER)          += libgsm.o
541 OBJS-$(CONFIG_LIBGSM_MS_ENCODER)          += libgsm.o
542 OBJS-$(CONFIG_LIBMP3LAME_ENCODER)         += libmp3lame.o
543 OBJS-$(CONFIG_LIBOPENCORE_AMRNB_DECODER)  += libopencore-amr.o
544 OBJS-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER)  += libopencore-amr.o
545 OBJS-$(CONFIG_LIBOPENCORE_AMRWB_DECODER)  += libopencore-amr.o
546 OBJS-$(CONFIG_LIBOPENJPEG_DECODER)        += libopenjpeg.o
547 OBJS-$(CONFIG_LIBSCHROEDINGER_DECODER)    += libschroedingerdec.o \
548                                              libschroedinger.o    \
549                                              libdirac_libschro.o
550 OBJS-$(CONFIG_LIBSCHROEDINGER_ENCODER)    += libschroedingerenc.o \
551                                              libschroedinger.o    \
552                                              libdirac_libschro.o
553 OBJS-$(CONFIG_LIBSPEEX_DECODER)           += libspeexdec.o
554 OBJS-$(CONFIG_LIBTHEORA_ENCODER)          += libtheoraenc.o
555 OBJS-$(CONFIG_LIBVORBIS_ENCODER)          += libvorbis.o vorbis_data.o
556 OBJS-$(CONFIG_LIBVPX_DECODER)             += libvpxdec.o
557 OBJS-$(CONFIG_LIBVPX_ENCODER)             += libvpxenc.o
558 OBJS-$(CONFIG_LIBX264_ENCODER)            += libx264.o
559 OBJS-$(CONFIG_LIBXAVS_ENCODER)            += libxavs.o
560 OBJS-$(CONFIG_LIBXVID)                    += libxvidff.o libxvid_rc.o
561
562 # parsers
563 OBJS-$(CONFIG_AAC_PARSER)              += aac_parser.o aac_ac3_parser.o \
564                                           aacadtsdec.o mpeg4audio.o
565 OBJS-$(CONFIG_AC3_PARSER)              += ac3_parser.o ac3tab.o \
566                                           aac_ac3_parser.o
567 OBJS-$(CONFIG_CAVSVIDEO_PARSER)        += cavs_parser.o
568 OBJS-$(CONFIG_DCA_PARSER)              += dca_parser.o
569 OBJS-$(CONFIG_DIRAC_PARSER)            += dirac_parser.o
570 OBJS-$(CONFIG_DNXHD_PARSER)            += dnxhd_parser.o
571 OBJS-$(CONFIG_DVBSUB_PARSER)           += dvbsub_parser.o
572 OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
573 OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
574 OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
575 OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o h264.o            \
576                                           cabac.o                         \
577                                           h264_refs.o h264_sei.o h264_direct.o \
578                                           h264_loopfilter.o h264_cabac.o \
579                                           h264_cavlc.o h264_ps.o \
580                                           mpegvideo.o error_resilience.o
581 OBJS-$(CONFIG_AAC_LATM_PARSER)         += latm_parser.o
582 OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg_parser.o
583 OBJS-$(CONFIG_MLP_PARSER)              += mlp_parser.o mlp.o
584 OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += mpeg4video_parser.o h263.o \
585                                           mpegvideo.o error_resilience.o \
586                                           mpeg4videodec.o mpeg4video.o \
587                                           ituh263dec.o h263dec.o
588 OBJS-$(CONFIG_MPEGAUDIO_PARSER)        += mpegaudio_parser.o \
589                                           mpegaudiodecheader.o mpegaudiodata.o
590 OBJS-$(CONFIG_MPEGVIDEO_PARSER)        += mpegvideo_parser.o    \
591                                           mpeg12.o mpeg12data.o \
592                                           mpegvideo.o error_resilience.o
593 OBJS-$(CONFIG_PNM_PARSER)              += pnm_parser.o pnm.o
594 OBJS-$(CONFIG_VC1_PARSER)              += vc1_parser.o vc1.o vc1data.o \
595                                           msmpeg4.o msmpeg4data.o mpeg4video.o \
596                                           h263.o mpegvideo.o error_resilience.o
597 OBJS-$(CONFIG_VP3_PARSER)              += vp3_parser.o
598 OBJS-$(CONFIG_VP8_PARSER)              += vp8_parser.o
599
600 # bitstream filters
601 OBJS-$(CONFIG_AAC_ADTSTOASC_BSF)          += aac_adtstoasc_bsf.o aacadtsdec.o \
602                                              mpeg4audio.o
603 OBJS-$(CONFIG_CHOMP_BSF)                  += chomp_bsf.o
604 OBJS-$(CONFIG_DUMP_EXTRADATA_BSF)         += dump_extradata_bsf.o
605 OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF)       += h264_mp4toannexb_bsf.o
606 OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF)        += imx_dump_header_bsf.o
607 OBJS-$(CONFIG_MJPEG2JPEG_BSF)             += mjpeg2jpeg_bsf.o
608 OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF)     += mjpega_dump_header_bsf.o
609 OBJS-$(CONFIG_MOV2TEXTSUB_BSF)            += movsub_bsf.o
610 OBJS-$(CONFIG_MP3_HEADER_COMPRESS_BSF)    += mp3_header_compress_bsf.o
611 OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF)  += mp3_header_decompress_bsf.o \
612                                              mpegaudiodata.o
613 OBJS-$(CONFIG_NOISE_BSF)                  += noise_bsf.o
614 OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF)       += remove_extradata_bsf.o
615 OBJS-$(CONFIG_TEXT2MOVSUB_BSF)            += movsub_bsf.o
616
617 # thread libraries
618 OBJS-$(HAVE_PTHREADS)                  += pthread.o
619 OBJS-$(HAVE_W32THREADS)                += w32thread.o
620
621 OBJS-$(CONFIG_MLIB)                    += mlib/dsputil_mlib.o           \
622
623 # inverse.o contains the ff_inverse table definition, which is used by
624 # the FASTDIV macro (from libavutil); since referencing the external
625 # table has a negative effect on performance, copy it in libavcodec as
626 # well.
627 OBJS-$(!CONFIG_SMALL)                  += inverse.o
628
629 -include $(SUBDIR)$(ARCH)/Makefile
630
631 SKIPHEADERS                             = %_tablegen.h
632 SKIPHEADERS-$(CONFIG_DXVA2)            += dxva2.h dxva2_internal.h
633 SKIPHEADERS-$(CONFIG_LIBDIRAC)         += libdirac.h
634 SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
635 SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
636 SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
637 SKIPHEADERS-$(CONFIG_XVMC)             += xvmc.h
638 SKIPHEADERS                            += mpegaudio3.h
639
640 EXAMPLES = api
641
642 TESTPROGS = cabac dct eval fft h264 iirfilter rangecoder snow
643 TESTPROGS-$(HAVE_MMX) += motion
644 TESTOBJS = dctref.o
645
646 HOSTPROGS = costablegen
647
648 DIRS = alpha arm bfin mlib ppc ps2 sh4 sparc x86
649
650 CLEANFILES = sin_tables.c cos_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
651
652 include $(SUBDIR)../subdir.mak
653
654 $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o
655
656 $(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
657         $(M)./$< > $@
658
659 $(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
660         $(M)./$< sin > $@
661
662 ifdef CONFIG_MPEGAUDIO_HP
663 $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23
664 $(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=23
665 else
666 $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15
667 $(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=15
668 endif
669
670 ifdef CONFIG_SMALL
671 $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=1
672 else
673 $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=0
674 endif
675
676 $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)%_tablegen.h $(SUBDIR)tableprint.c
677         $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $(filter %.c,$^) $(HOSTLIBS)
678
679 GEN_HEADERS = cbrt_tables.h aacps_tables.h aac_tables.h dv_tables.h     \
680               mdct_tables.h mpegaudio_tables.h motionpixels_tables.h    \
681               pcm_tables.h qdm2_tables.h
682 GEN_HEADERS := $(addprefix $(SUBDIR), $(GEN_HEADERS))
683
684 $(GEN_HEADERS): $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
685         $(M)./$< > $@
686
687 ifdef CONFIG_HARDCODED_TABLES
688 $(SUBDIR)aacdec.o: $(SUBDIR)cbrt_tables.h
689 $(SUBDIR)aacps.o: $(SUBDIR)aacps_tables.h
690 $(SUBDIR)aactab.o: $(SUBDIR)aac_tables.h
691 $(SUBDIR)dv.o: $(SUBDIR)dv_tables.h
692 $(SUBDIR)mdct.o: $(SUBDIR)mdct_tables.h
693 $(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h
694 $(SUBDIR)mpegaudiodec_float.o: $(SUBDIR)mpegaudio_tables.h
695 $(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h
696 $(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h
697 $(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h
698 endif