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