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