Merge remote-tracking branch 'qatar/master'
[ffmpeg.git] / libavcodec / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avcodec
4 FFLIBS = avutil
5
6 HEADERS = avcodec.h                                                     \
7           avfft.h                                                       \
8           dxva2.h                                                       \
9           vaapi.h                                                       \
10           vda.h                                                         \
11           vdpau.h                                                       \
12           version.h                                                     \
13           xvmc.h                                                        \
14
15 OBJS = allcodecs.o                                                      \
16        audioconvert.o                                                   \
17        avpacket.o                                                       \
18        bitstream.o                                                      \
19        bitstream_filter.o                                               \
20        dsputil.o                                                        \
21        faanidct.o                                                       \
22        fmtconvert.o                                                     \
23        imgconvert.o                                                     \
24        jrevdct.o                                                        \
25        options.o                                                        \
26        parser.o                                                         \
27        raw.o                                                            \
28        rawdec.o                                                         \
29        resample.o                                                       \
30        resample2.o                                                      \
31        simple_idct.o                                                    \
32        utils.o                                                          \
33
34 # parts needed for many different codecs
35 OBJS-$(CONFIG_AANDCT)                  += aandcttab.o
36 OBJS-$(CONFIG_AC3DSP)                  += ac3dsp.o
37 OBJS-$(CONFIG_CRYSTALHD)               += crystalhd.o
38 OBJS-$(CONFIG_ENCODERS)                += faandct.o jfdctfst.o jfdctint.o
39 OBJS-$(CONFIG_DCT)                     += dct.o dct32_fixed.o dct32_float.o
40 OBJS-$(CONFIG_DWT)                     += dwt.o snow.o
41 OBJS-$(CONFIG_DXVA2)                   += dxva2.o
42 FFT-OBJS-$(CONFIG_HARDCODED_TABLES)    += cos_tables.o cos_fixed_tables.o
43 OBJS-$(CONFIG_FFT)                     += avfft.o fft_fixed.o fft_float.o \
44                                           $(FFT-OBJS-yes)
45 OBJS-$(CONFIG_GOLOMB)                  += golomb.o
46 OBJS-$(CONFIG_H264DSP)                 += h264dsp.o h264idct.o
47 OBJS-$(CONFIG_H264PRED)                += h264pred.o
48 OBJS-$(CONFIG_HUFFMAN)                 += huffman.o
49 OBJS-$(CONFIG_LIBXVID)                 += libxvid_rc.o
50 OBJS-$(CONFIG_LPC)                     += lpc.o
51 OBJS-$(CONFIG_LSP)                     += lsp.o
52 OBJS-$(CONFIG_MDCT)                    += mdct_fixed.o mdct_float.o
53 OBJS-$(CONFIG_MPEGAUDIODSP)            += mpegaudiodsp.o                \
54                                           mpegaudiodsp_fixed.o          \
55                                           mpegaudiodsp_float.o
56 RDFT-OBJS-$(CONFIG_HARDCODED_TABLES)   += sin_tables.o
57 OBJS-$(CONFIG_RDFT)                    += rdft.o $(RDFT-OBJS-yes)
58 OBJS-$(CONFIG_SINEWIN)                 += sinewin.o
59 OBJS-$(CONFIG_VAAPI)                   += vaapi.o
60 OBJS-$(CONFIG_VDA)                     += vda.o
61 OBJS-$(CONFIG_VDPAU)                   += vdpau.o
62
63 # decoders/encoders/hardware accelerators
64 OBJS-$(CONFIG_A64MULTI_ENCODER)        += a64multienc.o elbg.o
65 OBJS-$(CONFIG_A64MULTI5_ENCODER)       += a64multienc.o elbg.o
66 OBJS-$(CONFIG_AAC_DECODER)             += aacdec.o aactab.o aacsbr.o aacps.o \
67                                           aacadtsdec.o mpeg4audio.o kbdwin.o \
68                                           sbrdsp.o aacpsdsp.o
69 OBJS-$(CONFIG_AAC_ENCODER)             += aacenc.o aaccoder.o    \
70                                           aacpsy.o aactab.o      \
71                                           psymodel.o iirfilter.o \
72                                           mpeg4audio.o kbdwin.o  \
73                                           audio_frame_queue.o
74 OBJS-$(CONFIG_AASC_DECODER)            += aasc.o msrledec.o
75 OBJS-$(CONFIG_AC3_DECODER)             += ac3dec.o ac3dec_data.o ac3.o kbdwin.o
76 OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc_float.o ac3enc.o ac3tab.o \
77                                           ac3.o kbdwin.o
78 OBJS-$(CONFIG_AC3_FIXED_ENCODER)       += ac3enc_fixed.o ac3enc.o ac3tab.o ac3.o
79 OBJS-$(CONFIG_ALAC_DECODER)            += alac.o
80 OBJS-$(CONFIG_ALAC_ENCODER)            += alacenc.o
81 OBJS-$(CONFIG_ALS_DECODER)             += alsdec.o bgmc.o mpeg4audio.o
82 OBJS-$(CONFIG_AMRNB_DECODER)           += amrnbdec.o celp_filters.o   \
83                                           celp_math.o acelp_filters.o \
84                                           acelp_vectors.o             \
85                                           acelp_pitch_delay.o
86 OBJS-$(CONFIG_AMRWB_DECODER)           += amrwbdec.o celp_filters.o   \
87                                           celp_math.o acelp_filters.o \
88                                           acelp_vectors.o             \
89                                           acelp_pitch_delay.o lsp.o
90 OBJS-$(CONFIG_AMV_DECODER)             += sp5xdec.o mjpegdec.o mjpeg.o
91 OBJS-$(CONFIG_AMV_ENCODER)             += mjpegenc.o mjpeg.o           \
92                                           mpegvideo_enc.o motion_est.o \
93                                           ratecontrol.o mpeg12data.o   \
94                                           mpegvideo.o
95 OBJS-$(CONFIG_ANM_DECODER)             += anm.o
96 OBJS-$(CONFIG_ANSI_DECODER)            += ansi.o cga_data.o
97 OBJS-$(CONFIG_APE_DECODER)             += apedec.o
98 OBJS-$(CONFIG_ASS_DECODER)             += assdec.o ass.o ass_split.o
99 OBJS-$(CONFIG_ASS_ENCODER)             += assenc.o ass.o
100 OBJS-$(CONFIG_ASV1_DECODER)            += asv1.o mpeg12data.o
101 OBJS-$(CONFIG_ASV1_ENCODER)            += asv1.o mpeg12data.o
102 OBJS-$(CONFIG_ASV2_DECODER)            += asv1.o mpeg12data.o
103 OBJS-$(CONFIG_ASV2_ENCODER)            += asv1.o mpeg12data.o
104 OBJS-$(CONFIG_ATRAC1_DECODER)          += atrac1.o atrac.o
105 OBJS-$(CONFIG_ATRAC3_DECODER)          += atrac3.o atrac.o
106 OBJS-$(CONFIG_AURA_DECODER)            += cyuv.o
107 OBJS-$(CONFIG_AURA2_DECODER)           += aura.o
108 OBJS-$(CONFIG_AVRP_DECODER)            += r210dec.o
109 OBJS-$(CONFIG_AVRP_ENCODER)            += r210enc.o
110 OBJS-$(CONFIG_AVS_DECODER)             += avs.o
111 OBJS-$(CONFIG_AVUI_DECODER)            += avuidec.o
112 OBJS-$(CONFIG_AVUI_ENCODER)            += avuienc.o
113 OBJS-$(CONFIG_AYUV_DECODER)            += v408dec.o
114 OBJS-$(CONFIG_AYUV_ENCODER)            += v408enc.o
115 OBJS-$(CONFIG_BETHSOFTVID_DECODER)     += bethsoftvideo.o
116 OBJS-$(CONFIG_BFI_DECODER)             += bfi.o
117 OBJS-$(CONFIG_BINK_DECODER)            += bink.o binkdsp.o
118 OBJS-$(CONFIG_BINKAUDIO_DCT_DECODER)   += binkaudio.o wma.o wma_common.o
119 OBJS-$(CONFIG_BINKAUDIO_RDFT_DECODER)  += binkaudio.o wma.o wma_common.o
120 OBJS-$(CONFIG_BINTEXT_DECODER)         += bintext.o cga_data.o
121 OBJS-$(CONFIG_BMP_DECODER)             += bmp.o msrledec.o
122 OBJS-$(CONFIG_BMP_ENCODER)             += bmpenc.o
123 OBJS-$(CONFIG_BMV_VIDEO_DECODER)       += bmv.o
124 OBJS-$(CONFIG_BMV_AUDIO_DECODER)       += bmv.o
125 OBJS-$(CONFIG_C93_DECODER)             += c93.o
126 OBJS-$(CONFIG_CAVS_DECODER)            += cavs.o cavsdec.o cavsdsp.o \
127                                           mpeg12data.o mpegvideo.o
128 OBJS-$(CONFIG_CDGRAPHICS_DECODER)      += cdgraphics.o
129 OBJS-$(CONFIG_CDXL_DECODER)            += cdxl.o
130 OBJS-$(CONFIG_CINEPAK_DECODER)         += cinepak.o
131 OBJS-$(CONFIG_CLJR_DECODER)            += cljr.o
132 OBJS-$(CONFIG_CLJR_ENCODER)            += cljr.o
133 OBJS-$(CONFIG_COOK_DECODER)            += cook.o
134 OBJS-$(CONFIG_CSCD_DECODER)            += cscd.o
135 OBJS-$(CONFIG_CYUV_DECODER)            += cyuv.o
136 OBJS-$(CONFIG_DCA_DECODER)             += dca.o synth_filter.o dcadsp.o \
137                                           dca_parser.o
138 OBJS-$(CONFIG_DCA_ENCODER)             += dcaenc.o
139 OBJS-$(CONFIG_DIRAC_DECODER)           += diracdec.o dirac.o diracdsp.o \
140                                           dirac_arith.o mpeg12data.o dwt.o
141 OBJS-$(CONFIG_DFA_DECODER)             += dfa.o
142 OBJS-$(CONFIG_DNXHD_DECODER)           += dnxhddec.o dnxhddata.o
143 OBJS-$(CONFIG_DNXHD_ENCODER)           += dnxhdenc.o dnxhddata.o       \
144                                           mpegvideo_enc.o motion_est.o \
145                                           ratecontrol.o mpeg12data.o   \
146                                           mpegvideo.o
147 OBJS-$(CONFIG_DPX_DECODER)             += dpx.o
148 OBJS-$(CONFIG_DPX_ENCODER)             += dpxenc.o
149 OBJS-$(CONFIG_DSICINAUDIO_DECODER)     += dsicinav.o
150 OBJS-$(CONFIG_DSICINVIDEO_DECODER)     += dsicinav.o
151 OBJS-$(CONFIG_DVBSUB_DECODER)          += dvbsubdec.o
152 OBJS-$(CONFIG_DVBSUB_ENCODER)          += dvbsub.o
153 OBJS-$(CONFIG_DVDSUB_DECODER)          += dvdsubdec.o
154 OBJS-$(CONFIG_DVDSUB_ENCODER)          += dvdsubenc.o
155 OBJS-$(CONFIG_DVVIDEO_DECODER)         += dvdec.o dv.o dvdata.o dv_profile.o
156 OBJS-$(CONFIG_DVVIDEO_ENCODER)         += dv.o dvdata.o dv_profile.o
157 OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
158 OBJS-$(CONFIG_DXTORY_DECODER)          += dxtory.o
159 OBJS-$(CONFIG_EAC3_DECODER)            += eac3dec.o eac3_data.o
160 OBJS-$(CONFIG_EAC3_ENCODER)            += eac3enc.o ac3enc.o ac3enc_float.o \
161                                           ac3tab.o ac3.o kbdwin.o eac3_data.o
162 OBJS-$(CONFIG_EACMV_DECODER)           += eacmv.o
163 OBJS-$(CONFIG_EAMAD_DECODER)           += eamad.o eaidct.o mpeg12.o \
164                                           mpeg12data.o mpegvideo.o  \
165                                           error_resilience.o
166 OBJS-$(CONFIG_EATGQ_DECODER)           += eatgq.o eaidct.o
167 OBJS-$(CONFIG_EATGV_DECODER)           += eatgv.o
168 OBJS-$(CONFIG_EATQI_DECODER)           += eatqi.o eaidct.o mpeg12.o \
169                                           mpeg12data.o mpegvideo.o  \
170                                           error_resilience.o
171 OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
172 OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)    += 8svx.o
173 OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)    += 8svx.o
174 OBJS-$(CONFIG_ESCAPE124_DECODER)       += escape124.o
175 OBJS-$(CONFIG_ESCAPE130_DECODER)       += escape130.o
176 OBJS-$(CONFIG_EXR_DECODER)             += exr.o
177 OBJS-$(CONFIG_FFV1_DECODER)            += ffv1.o rangecoder.o
178 OBJS-$(CONFIG_FFV1_ENCODER)            += ffv1.o rangecoder.o
179 OBJS-$(CONFIG_FFVHUFF_DECODER)         += huffyuv.o
180 OBJS-$(CONFIG_FFVHUFF_ENCODER)         += huffyuv.o
181 OBJS-$(CONFIG_FFWAVESYNTH_DECODER)     += ffwavesynth.o
182 OBJS-$(CONFIG_FLAC_DECODER)            += flacdec.o flacdata.o flac.o
183 OBJS-$(CONFIG_FLAC_ENCODER)            += flacenc.o flacdata.o flac.o vorbis_data.o
184 OBJS-$(CONFIG_FLASHSV_DECODER)         += flashsv.o
185 OBJS-$(CONFIG_FLASHSV_ENCODER)         += flashsvenc.o
186 OBJS-$(CONFIG_FLASHSV2_ENCODER)        += flashsv2enc.o
187 OBJS-$(CONFIG_FLASHSV2_DECODER)        += flashsv.o
188 OBJS-$(CONFIG_FLIC_DECODER)            += flicvideo.o
189 OBJS-$(CONFIG_FOURXM_DECODER)          += 4xm.o
190 OBJS-$(CONFIG_FRAPS_DECODER)           += fraps.o
191 OBJS-$(CONFIG_FRWU_DECODER)            += frwu.o
192 OBJS-$(CONFIG_G723_1_DECODER)          += g723_1.o acelp_vectors.o \
193                                           celp_filters.o celp_math.o
194 OBJS-$(CONFIG_G723_1_ENCODER)          += g723_1.o acelp_vectors.o celp_math.o
195 OBJS-$(CONFIG_G729_DECODER)            += g729dec.o lsp.o celp_math.o acelp_filters.o acelp_pitch_delay.o acelp_vectors.o g729postfilter.o
196 OBJS-$(CONFIG_GIF_DECODER)             += gifdec.o lzw.o
197 OBJS-$(CONFIG_GIF_ENCODER)             += gif.o lzwenc.o
198 OBJS-$(CONFIG_GSM_DECODER)             += gsmdec.o gsmdec_data.o msgsmdec.o
199 OBJS-$(CONFIG_GSM_MS_DECODER)          += gsmdec.o gsmdec_data.o msgsmdec.o
200 OBJS-$(CONFIG_H261_DECODER)            += h261dec.o h261.o h261data.o  \
201                                           mpegvideo.o error_resilience.o
202 OBJS-$(CONFIG_H261_ENCODER)            += h261enc.o h261.o h261data.o  \
203                                           mpegvideo_enc.o motion_est.o \
204                                           ratecontrol.o mpeg12data.o   \
205                                           mpegvideo.o
206 OBJS-$(CONFIG_H263_DECODER)            += h263dec.o h263.o ituh263dec.o        \
207                                           mpeg4video.o mpeg4videodec.o flvdec.o\
208                                           intelh263dec.o mpegvideo.o           \
209                                           error_resilience.o
210 OBJS-$(CONFIG_H263_VAAPI_HWACCEL)      += vaapi_mpeg4.o
211 OBJS-$(CONFIG_H263_ENCODER)            += mpegvideo_enc.o mpeg4video.o      \
212                                           mpeg4videoenc.o motion_est.o      \
213                                           ratecontrol.o h263.o ituh263enc.o \
214                                           flvenc.o mpeg12data.o             \
215                                           mpegvideo.o error_resilience.o
216 OBJS-$(CONFIG_H264_DECODER)            += h264.o                               \
217                                           h264_loopfilter.o h264_direct.o      \
218                                           cabac.o h264_sei.o h264_ps.o         \
219                                           h264_refs.o h264_cavlc.o h264_cabac.o\
220                                           mpegvideo.o error_resilience.o
221 OBJS-$(CONFIG_H264_DXVA2_HWACCEL)      += dxva2_h264.o
222 OBJS-$(CONFIG_H264_VAAPI_HWACCEL)      += vaapi_h264.o
223 OBJS-$(CONFIG_H264_VDA_HWACCEL)        += vda_h264.o
224 OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o
225 OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o
226 OBJS-$(CONFIG_IAC_DECODER)             += imc.o
227 OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o
228 OBJS-$(CONFIG_IDF_DECODER)             += bintext.o cga_data.o
229 OBJS-$(CONFIG_IFF_BYTERUN1_DECODER)    += iff.o
230 OBJS-$(CONFIG_IFF_ILBM_DECODER)        += iff.o
231 OBJS-$(CONFIG_IMC_DECODER)             += imc.o
232 OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
233 OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
234 OBJS-$(CONFIG_INDEO4_DECODER)          += indeo4.o ivi_common.o ivi_dsp.o
235 OBJS-$(CONFIG_INDEO5_DECODER)          += indeo5.o ivi_common.o ivi_dsp.o
236 OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
237 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
238 OBJS-$(CONFIG_JACOSUB_DECODER)         += jacosubdec.o ass.o
239 OBJS-$(CONFIG_JPEG2000_DECODER)        += j2kdec.o mqcdec.o mqc.o j2k.o j2k_dwt.o
240 OBJS-$(CONFIG_JPEG2000_ENCODER)        += j2kenc.o mqcenc.o mqc.o j2k.o j2k_dwt.o
241 OBJS-$(CONFIG_JPEGLS_DECODER)          += jpeglsdec.o jpegls.o \
242                                           mjpegdec.o mjpeg.o
243 OBJS-$(CONFIG_JPEGLS_ENCODER)          += jpeglsenc.o jpegls.o
244 OBJS-$(CONFIG_JV_DECODER)              += jvdec.o
245 OBJS-$(CONFIG_KGV1_DECODER)            += kgv1dec.o
246 OBJS-$(CONFIG_KMVC_DECODER)            += kmvc.o
247 OBJS-$(CONFIG_LAGARITH_DECODER)        += lagarith.o lagarithrac.o
248 OBJS-$(CONFIG_LJPEG_ENCODER)           += ljpegenc.o mjpegenc.o mjpeg.o \
249                                           mpegvideo_enc.o motion_est.o  \
250                                           ratecontrol.o mpeg12data.o    \
251                                           mpegvideo.o
252 OBJS-$(CONFIG_LOCO_DECODER)            += loco.o
253 OBJS-$(CONFIG_MACE3_DECODER)           += mace.o
254 OBJS-$(CONFIG_MACE6_DECODER)           += mace.o
255 OBJS-$(CONFIG_MDEC_DECODER)            += mdec.o mpeg12.o mpeg12data.o \
256                                           mpegvideo.o error_resilience.o
257 OBJS-$(CONFIG_MICRODVD_DECODER)        += microdvddec.o ass.o
258 OBJS-$(CONFIG_MIMIC_DECODER)           += mimic.o
259 OBJS-$(CONFIG_MJPEG_DECODER)           += mjpegdec.o mjpeg.o
260 OBJS-$(CONFIG_MJPEG_ENCODER)           += mjpegenc.o mjpeg.o           \
261                                           mpegvideo_enc.o motion_est.o \
262                                           ratecontrol.o mpeg12data.o   \
263                                           mpegvideo.o
264 OBJS-$(CONFIG_MJPEGB_DECODER)          += mjpegbdec.o mjpegdec.o mjpeg.o
265 OBJS-$(CONFIG_MLP_DECODER)             += mlpdec.o mlpdsp.o
266 OBJS-$(CONFIG_MMVIDEO_DECODER)         += mmvideo.o
267 OBJS-$(CONFIG_MOTIONPIXELS_DECODER)    += motionpixels.o
268 OBJS-$(CONFIG_MP1_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
269                                           mpegaudio.o mpegaudiodata.o
270 OBJS-$(CONFIG_MP1FLOAT_DECODER)        += mpegaudiodec_float.o mpegaudiodecheader.o \
271                                           mpegaudio.o mpegaudiodata.o
272 OBJS-$(CONFIG_MP2_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
273                                           mpegaudio.o mpegaudiodata.o
274 OBJS-$(CONFIG_MP2_ENCODER)             += mpegaudioenc.o mpegaudio.o \
275                                           mpegaudiodata.o
276 OBJS-$(CONFIG_MP2FLOAT_DECODER)        += mpegaudiodec_float.o mpegaudiodecheader.o \
277                                           mpegaudio.o mpegaudiodata.o
278 OBJS-$(CONFIG_MP3ADU_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o \
279                                           mpegaudio.o mpegaudiodata.o
280 OBJS-$(CONFIG_MP3ADUFLOAT_DECODER)     += mpegaudiodec_float.o mpegaudiodecheader.o \
281                                           mpegaudio.o mpegaudiodata.o
282 OBJS-$(CONFIG_MP3ON4_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o \
283                                           mpegaudio.o mpegaudiodata.o         \
284                                           mpeg4audio.o
285 OBJS-$(CONFIG_MP3ON4FLOAT_DECODER)     += mpegaudiodec_float.o mpegaudiodecheader.o \
286                                           mpegaudio.o mpegaudiodata.o         \
287                                           mpeg4audio.o
288 OBJS-$(CONFIG_MP3_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
289                                           mpegaudio.o mpegaudiodata.o
290 OBJS-$(CONFIG_MP3FLOAT_DECODER)        += mpegaudiodec_float.o mpegaudiodecheader.o \
291                                           mpegaudio.o mpegaudiodata.o
292 OBJS-$(CONFIG_MPC7_DECODER)            += mpc7.o mpc.o mpegaudiodec.o      \
293                                           mpegaudiodecheader.o mpegaudio.o \
294                                           mpegaudiodata.o
295 OBJS-$(CONFIG_MPC8_DECODER)            += mpc8.o mpc.o mpegaudiodec.o      \
296                                           mpegaudiodecheader.o mpegaudio.o \
297                                           mpegaudiodata.o
298 OBJS-$(CONFIG_MPEGVIDEO_DECODER)       += mpeg12.o mpeg12data.o \
299                                           mpegvideo.o error_resilience.o
300 OBJS-$(CONFIG_MPEG_XVMC_DECODER)       += mpegvideo_xvmc.o
301 OBJS-$(CONFIG_MPEG1VIDEO_DECODER)      += mpeg12.o mpeg12data.o \
302                                           mpegvideo.o error_resilience.o
303 OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)      += mpeg12enc.o mpegvideo_enc.o \
304                                           timecode.o                  \
305                                           motion_est.o ratecontrol.o  \
306                                           mpeg12.o mpeg12data.o       \
307                                           mpegvideo.o error_resilience.o
308 OBJS-$(CONFIG_MPEG2_DXVA2_HWACCEL)     += dxva2_mpeg2.o
309 OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL)     += vaapi_mpeg2.o
310 OBJS-$(CONFIG_MPEG2VIDEO_DECODER)      += mpeg12.o mpeg12data.o \
311                                           mpegvideo.o error_resilience.o
312 OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)      += mpeg12enc.o mpegvideo_enc.o \
313                                           timecode.o                  \
314                                           motion_est.o ratecontrol.o  \
315                                           mpeg12.o mpeg12data.o       \
316                                           mpegvideo.o error_resilience.o
317 OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL)     += vaapi_mpeg4.o
318 OBJS-$(CONFIG_MSMPEG4V1_DECODER)       += msmpeg4.o msmpeg4data.o
319 OBJS-$(CONFIG_MSMPEG4V2_DECODER)       += msmpeg4.o msmpeg4data.o h263dec.o \
320                                           h263.o ituh263dec.o mpeg4videodec.o
321 OBJS-$(CONFIG_MSMPEG4V2_ENCODER)       += msmpeg4.o msmpeg4enc.o msmpeg4data.o \
322                                           h263dec.o h263.o ituh263dec.o        \
323                                           mpeg4videodec.o
324 OBJS-$(CONFIG_MSMPEG4V3_DECODER)       += msmpeg4.o msmpeg4data.o h263dec.o \
325                                           h263.o ituh263dec.o mpeg4videodec.o
326 OBJS-$(CONFIG_MSMPEG4V3_ENCODER)       += msmpeg4.o msmpeg4enc.o msmpeg4data.o \
327                                           h263dec.o h263.o ituh263dec.o        \
328                                           mpeg4videodec.o
329 OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o msrledec.o
330 OBJS-$(CONFIG_MSA1_DECODER)            += mss3.o
331 OBJS-$(CONFIG_MSS1_DECODER)            += mss1.o
332 OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
333 OBJS-$(CONFIG_MSVIDEO1_ENCODER)        += msvideo1enc.o elbg.o
334 OBJS-$(CONFIG_MSZH_DECODER)            += lcldec.o
335 OBJS-$(CONFIG_MXPEG_DECODER)           += mxpegdec.o mjpegdec.o mjpeg.o
336 OBJS-$(CONFIG_NELLYMOSER_DECODER)      += nellymoserdec.o nellymoser.o
337 OBJS-$(CONFIG_NELLYMOSER_ENCODER)      += nellymoserenc.o nellymoser.o \
338                                           audio_frame_queue.o
339 OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
340 OBJS-$(CONFIG_PAM_DECODER)             += pnmdec.o pnm.o
341 OBJS-$(CONFIG_PAM_ENCODER)             += pamenc.o pnm.o
342 OBJS-$(CONFIG_PBM_DECODER)             += pnmdec.o pnm.o
343 OBJS-$(CONFIG_PBM_ENCODER)             += pnmenc.o pnm.o
344 OBJS-$(CONFIG_PCX_DECODER)             += pcx.o
345 OBJS-$(CONFIG_PCX_ENCODER)             += pcxenc.o
346 OBJS-$(CONFIG_PGM_DECODER)             += pnmdec.o pnm.o
347 OBJS-$(CONFIG_PGM_ENCODER)             += pnmenc.o pnm.o
348 OBJS-$(CONFIG_PGMYUV_DECODER)          += pnmdec.o pnm.o
349 OBJS-$(CONFIG_PGMYUV_ENCODER)          += pnmenc.o pnm.o
350 OBJS-$(CONFIG_PGSSUB_DECODER)          += pgssubdec.o
351 OBJS-$(CONFIG_PICTOR_DECODER)          += pictordec.o cga_data.o
352 OBJS-$(CONFIG_PNG_DECODER)             += png.o pngdec.o pngdsp.o
353 OBJS-$(CONFIG_PNG_ENCODER)             += png.o pngenc.o
354 OBJS-$(CONFIG_PPM_DECODER)             += pnmdec.o pnm.o
355 OBJS-$(CONFIG_PPM_ENCODER)             += pnmenc.o pnm.o
356 OBJS-$(CONFIG_PRORES_DECODER)          += proresdec2.o proresdsp.o
357 OBJS-$(CONFIG_PRORES_LGPL_DECODER)     += proresdec_lgpl.o proresdsp.o proresdata.o
358 OBJS-$(CONFIG_PRORES_ENCODER)          += proresenc_anatoliy.o
359 OBJS-$(CONFIG_PRORES_ANATOLIY_ENCODER) += proresenc_anatoliy.o
360 OBJS-$(CONFIG_PRORES_KOSTYA_ENCODER)   += proresenc_kostya.o proresdata.o proresdsp.o
361 OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
362 OBJS-$(CONFIG_QCELP_DECODER)           += qcelpdec.o celp_math.o         \
363                                           celp_filters.o acelp_vectors.o \
364                                           acelp_filters.o
365 OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o mpegaudiodec.o            \
366                                           mpegaudiodecheader.o mpegaudio.o \
367                                           mpegaudiodata.o
368 OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o
369 OBJS-$(CONFIG_QPEG_DECODER)            += qpeg.o
370 OBJS-$(CONFIG_QTRLE_DECODER)           += qtrle.o
371 OBJS-$(CONFIG_QTRLE_ENCODER)           += qtrleenc.o
372 OBJS-$(CONFIG_R10K_DECODER)            += r210dec.o
373 OBJS-$(CONFIG_R10K_ENCODER)            += r210enc.o
374 OBJS-$(CONFIG_R210_DECODER)            += r210dec.o
375 OBJS-$(CONFIG_R210_ENCODER)            += r210enc.o
376 OBJS-$(CONFIG_RA_144_DECODER)          += ra144dec.o ra144.o celp_filters.o
377 OBJS-$(CONFIG_RA_144_ENCODER)          += ra144enc.o ra144.o celp_filters.o \
378                                           audio_frame_queue.o
379 OBJS-$(CONFIG_RA_288_DECODER)          += ra288.o celp_math.o celp_filters.o
380 OBJS-$(CONFIG_RALF_DECODER)            += ralf.o
381 OBJS-$(CONFIG_RAWVIDEO_DECODER)        += rawdec.o
382 OBJS-$(CONFIG_RAWVIDEO_ENCODER)        += rawenc.o
383 OBJS-$(CONFIG_REALTEXT_DECODER)        += realtextdec.o ass.o
384 OBJS-$(CONFIG_RL2_DECODER)             += rl2.o
385 OBJS-$(CONFIG_ROQ_DECODER)             += roqvideodec.o roqvideo.o
386 OBJS-$(CONFIG_ROQ_ENCODER)             += roqvideoenc.o roqvideo.o elbg.o
387 OBJS-$(CONFIG_ROQ_DPCM_DECODER)        += dpcm.o
388 OBJS-$(CONFIG_ROQ_DPCM_ENCODER)        += roqaudioenc.o
389 OBJS-$(CONFIG_RPZA_DECODER)            += rpza.o
390 OBJS-$(CONFIG_RV10_DECODER)            += rv10.o
391 OBJS-$(CONFIG_RV10_ENCODER)            += rv10enc.o
392 OBJS-$(CONFIG_RV20_DECODER)            += rv10.o
393 OBJS-$(CONFIG_RV20_ENCODER)            += rv20enc.o
394 OBJS-$(CONFIG_RV30_DECODER)            += rv30.o rv34.o rv30dsp.o rv34dsp.o \
395                                           mpegvideo.o error_resilience.o
396 OBJS-$(CONFIG_RV40_DECODER)            += rv40.o rv34.o rv34dsp.o rv40dsp.o \
397                                           mpegvideo.o error_resilience.o
398 OBJS-$(CONFIG_SAMI_DECODER)            += samidec.o ass.o
399 OBJS-$(CONFIG_S302M_DECODER)           += s302m.o
400 OBJS-$(CONFIG_SANM_DECODER)            += sanm.o
401 OBJS-$(CONFIG_SGI_DECODER)             += sgidec.o
402 OBJS-$(CONFIG_SGI_ENCODER)             += sgienc.o rle.o
403 OBJS-$(CONFIG_SHORTEN_DECODER)         += shorten.o
404 OBJS-$(CONFIG_SIPR_DECODER)            += sipr.o acelp_pitch_delay.o \
405                                           celp_math.o acelp_vectors.o \
406                                           acelp_filters.o celp_filters.o \
407                                           sipr16k.o
408 OBJS-$(CONFIG_SMACKAUD_DECODER)        += smacker.o
409 OBJS-$(CONFIG_SMACKER_DECODER)         += smacker.o
410 OBJS-$(CONFIG_SMC_DECODER)             += smc.o
411 OBJS-$(CONFIG_SNOW_DECODER)            += snowdec.o snow.o rangecoder.o
412 OBJS-$(CONFIG_SNOW_ENCODER)            += snowenc.o snow.o rangecoder.o    \
413                                           motion_est.o ratecontrol.o       \
414                                           h263.o mpegvideo.o               \
415                                           error_resilience.o ituh263enc.o  \
416                                           mpegvideo_enc.o mpeg12data.o
417 OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
418 OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
419 OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o
420 OBJS-$(CONFIG_SONIC_LS_ENCODER)        += sonic.o
421 OBJS-$(CONFIG_SP5X_DECODER)            += sp5xdec.o mjpegdec.o mjpeg.o
422 OBJS-$(CONFIG_SRT_DECODER)             += srtdec.o ass.o
423 OBJS-$(CONFIG_SRT_ENCODER)             += srtenc.o ass_split.o
424 OBJS-$(CONFIG_SUNRAST_DECODER)         += sunrast.o
425 OBJS-$(CONFIG_SUNRAST_ENCODER)         += sunrastenc.o
426 OBJS-$(CONFIG_SVQ1_DECODER)            += svq1dec.o svq1.o h263.o \
427                                           mpegvideo.o error_resilience.o
428 OBJS-$(CONFIG_SVQ1_ENCODER)            += svq1enc.o svq1.o    \
429                                           motion_est.o h263.o \
430                                           mpegvideo.o error_resilience.o \
431                                           ituh263enc.o mpegvideo_enc.o   \
432                                           ratecontrol.o mpeg12data.o
433 OBJS-$(CONFIG_SVQ3_DECODER)            += h264.o svq3.o                       \
434                                           h264_loopfilter.o h264_direct.o     \
435                                           h264_sei.o h264_ps.o h264_refs.o    \
436                                           h264_cavlc.o h264_cabac.o cabac.o   \
437                                           mpegvideo.o error_resilience.o      \
438                                           svq1dec.o svq1.o h263.o
439 OBJS-$(CONFIG_TARGA_DECODER)           += targa.o
440 OBJS-$(CONFIG_TARGA_ENCODER)           += targaenc.o rle.o
441 OBJS-$(CONFIG_THEORA_DECODER)          += xiph.o
442 OBJS-$(CONFIG_THP_DECODER)             += mjpegdec.o mjpeg.o
443 OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
444 OBJS-$(CONFIG_TIFF_DECODER)            += tiff.o lzw.o faxcompr.o
445 OBJS-$(CONFIG_TIFF_ENCODER)            += tiffenc.o rle.o lzwenc.o
446 OBJS-$(CONFIG_TMV_DECODER)             += tmv.o cga_data.o
447 OBJS-$(CONFIG_TRUEHD_DECODER)          += mlpdec.o mlpdsp.o
448 OBJS-$(CONFIG_TRUEMOTION1_DECODER)     += truemotion1.o
449 OBJS-$(CONFIG_TRUEMOTION2_DECODER)     += truemotion2.o
450 OBJS-$(CONFIG_TRUESPEECH_DECODER)      += truespeech.o
451 OBJS-$(CONFIG_TSCC_DECODER)            += tscc.o msrledec.o
452 OBJS-$(CONFIG_TTA_DECODER)             += tta.o
453 OBJS-$(CONFIG_TWINVQ_DECODER)          += twinvq.o celp_math.o
454 OBJS-$(CONFIG_TXD_DECODER)             += txd.o s3tc.o
455 OBJS-$(CONFIG_ULTI_DECODER)            += ulti.o
456 OBJS-$(CONFIG_UTVIDEO_DECODER)         += utvideo.o
457 OBJS-$(CONFIG_V210_DECODER)            += v210dec.o
458 OBJS-$(CONFIG_V210_ENCODER)            += v210enc.o
459 OBJS-$(CONFIG_V308_DECODER)            += v308dec.o
460 OBJS-$(CONFIG_V308_ENCODER)            += v308enc.o
461 OBJS-$(CONFIG_V408_DECODER)            += v408dec.o
462 OBJS-$(CONFIG_V408_ENCODER)            += v408enc.o
463 OBJS-$(CONFIG_V410_DECODER)            += v410dec.o
464 OBJS-$(CONFIG_V410_ENCODER)            += v410enc.o
465 OBJS-$(CONFIG_V210X_DECODER)           += v210x.o
466 OBJS-$(CONFIG_VB_DECODER)              += vb.o
467 OBJS-$(CONFIG_VBLE_DECODER)            += vble.o
468 OBJS-$(CONFIG_VC1_DECODER)             += vc1dec.o vc1.o vc1data.o vc1dsp.o \
469                                           msmpeg4.o msmpeg4data.o           \
470                                           intrax8.o intrax8dsp.o
471 OBJS-$(CONFIG_VC1_DXVA2_HWACCEL)       += dxva2_vc1.o
472 OBJS-$(CONFIG_VC1_VAAPI_HWACCEL)       += vaapi_vc1.o
473 OBJS-$(CONFIG_VCR1_DECODER)            += vcr1.o
474 OBJS-$(CONFIG_VCR1_ENCODER)            += vcr1.o
475 OBJS-$(CONFIG_VMDAUDIO_DECODER)        += vmdav.o
476 OBJS-$(CONFIG_VMDVIDEO_DECODER)        += vmdav.o
477 OBJS-$(CONFIG_VMNC_DECODER)            += vmnc.o
478 OBJS-$(CONFIG_VORBIS_DECODER)          += vorbisdec.o vorbis.o \
479                                           vorbis_data.o xiph.o
480 OBJS-$(CONFIG_VORBIS_ENCODER)          += vorbisenc.o vorbis.o \
481                                           vorbis_data.o
482 OBJS-$(CONFIG_VP3_DECODER)             += vp3.o vp3dsp.o
483 OBJS-$(CONFIG_VP5_DECODER)             += vp5.o vp56.o vp56data.o vp56dsp.o \
484                                           vp3dsp.o vp56rac.o
485 OBJS-$(CONFIG_VP6_DECODER)             += vp6.o vp56.o vp56data.o vp56dsp.o \
486                                           vp3dsp.o vp6dsp.o vp56rac.o
487 OBJS-$(CONFIG_VP8_DECODER)             += vp8.o vp8dsp.o vp56rac.o
488 OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
489 OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
490 OBJS-$(CONFIG_WMALOSSLESS_DECODER)     += wmalosslessdec.o wma_common.o
491 OBJS-$(CONFIG_WMAPRO_DECODER)          += wmaprodec.o wma.o wma_common.o
492 OBJS-$(CONFIG_WMAV1_DECODER)           += wmadec.o wma.o wma_common.o aactab.o
493 OBJS-$(CONFIG_WMAV1_ENCODER)           += wmaenc.o wma.o wma_common.o aactab.o
494 OBJS-$(CONFIG_WMAV2_DECODER)           += wmadec.o wma.o wma_common.o aactab.o
495 OBJS-$(CONFIG_WMAV2_ENCODER)           += wmaenc.o wma.o wma_common.o aactab.o
496 OBJS-$(CONFIG_WMAVOICE_DECODER)        += wmavoice.o \
497                                           celp_math.o celp_filters.o \
498                                           acelp_vectors.o acelp_filters.o
499 OBJS-$(CONFIG_WMV1_DECODER)            += msmpeg4.o msmpeg4data.o
500 OBJS-$(CONFIG_WMV2_DECODER)            += wmv2dec.o wmv2.o        \
501                                           msmpeg4.o msmpeg4data.o \
502                                           intrax8.o intrax8dsp.o
503 OBJS-$(CONFIG_WMV2_ENCODER)            += wmv2enc.o wmv2.o \
504                                           msmpeg4.o msmpeg4enc.o msmpeg4data.o \
505                                           mpeg4videodec.o ituh263dec.o h263dec.o
506 OBJS-$(CONFIG_WNV1_DECODER)            += wnv1.o
507 OBJS-$(CONFIG_WS_SND1_DECODER)         += ws-snd1.o
508 OBJS-$(CONFIG_XAN_DPCM_DECODER)        += dpcm.o
509 OBJS-$(CONFIG_XAN_WC3_DECODER)         += xan.o
510 OBJS-$(CONFIG_XAN_WC4_DECODER)         += xxan.o
511 OBJS-$(CONFIG_XBIN_DECODER)            += bintext.o cga_data.o
512 OBJS-$(CONFIG_XBM_DECODER)             += xbmdec.o
513 OBJS-$(CONFIG_XBM_ENCODER)             += xbmenc.o
514 OBJS-$(CONFIG_XL_DECODER)              += xl.o
515 OBJS-$(CONFIG_XSUB_DECODER)            += xsubdec.o
516 OBJS-$(CONFIG_XSUB_ENCODER)            += xsubenc.o
517 OBJS-$(CONFIG_XWD_DECODER)             += xwddec.o
518 OBJS-$(CONFIG_XWD_ENCODER)             += xwdenc.o
519 OBJS-$(CONFIG_Y41P_DECODER)            += y41pdec.o
520 OBJS-$(CONFIG_Y41P_ENCODER)            += y41penc.o
521 OBJS-$(CONFIG_YOP_DECODER)             += yop.o
522 OBJS-$(CONFIG_YUV4_DECODER)            += yuv4dec.o
523 OBJS-$(CONFIG_YUV4_ENCODER)            += yuv4enc.o
524 OBJS-$(CONFIG_ZEROCODEC_DECODER)       += zerocodec.o
525 OBJS-$(CONFIG_ZLIB_DECODER)            += lcldec.o
526 OBJS-$(CONFIG_ZLIB_ENCODER)            += lclenc.o
527 OBJS-$(CONFIG_ZMBV_DECODER)            += zmbv.o
528 OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
529
530 # (AD)PCM decoders/encoders
531 OBJS-$(CONFIG_PCM_ALAW_DECODER)           += pcm.o
532 OBJS-$(CONFIG_PCM_ALAW_ENCODER)           += pcm.o
533 OBJS-$(CONFIG_PCM_BLURAY_DECODER)         += pcm-mpeg.o
534 OBJS-$(CONFIG_PCM_DVD_DECODER)            += pcm.o
535 OBJS-$(CONFIG_PCM_DVD_ENCODER)            += pcm.o
536 OBJS-$(CONFIG_PCM_F32BE_DECODER)          += pcm.o
537 OBJS-$(CONFIG_PCM_F32BE_ENCODER)          += pcm.o
538 OBJS-$(CONFIG_PCM_F32LE_DECODER)          += pcm.o
539 OBJS-$(CONFIG_PCM_F32LE_ENCODER)          += pcm.o
540 OBJS-$(CONFIG_PCM_F64BE_DECODER)          += pcm.o
541 OBJS-$(CONFIG_PCM_F64BE_ENCODER)          += pcm.o
542 OBJS-$(CONFIG_PCM_F64LE_DECODER)          += pcm.o
543 OBJS-$(CONFIG_PCM_F64LE_ENCODER)          += pcm.o
544 OBJS-$(CONFIG_PCM_LXF_DECODER)            += pcm.o
545 OBJS-$(CONFIG_PCM_MULAW_DECODER)          += pcm.o
546 OBJS-$(CONFIG_PCM_MULAW_ENCODER)          += pcm.o
547 OBJS-$(CONFIG_PCM_S8_DECODER)             += pcm.o
548 OBJS-$(CONFIG_PCM_S8_ENCODER)             += pcm.o
549 OBJS-$(CONFIG_PCM_S8_PLANAR_DECODER)      += 8svx.o
550 OBJS-$(CONFIG_PCM_S16BE_DECODER)          += pcm.o
551 OBJS-$(CONFIG_PCM_S16BE_ENCODER)          += pcm.o
552 OBJS-$(CONFIG_PCM_S16LE_DECODER)          += pcm.o
553 OBJS-$(CONFIG_PCM_S16LE_ENCODER)          += pcm.o
554 OBJS-$(CONFIG_PCM_S16LE_PLANAR_DECODER)   += pcm.o
555 OBJS-$(CONFIG_PCM_S24BE_DECODER)          += pcm.o
556 OBJS-$(CONFIG_PCM_S24BE_ENCODER)          += pcm.o
557 OBJS-$(CONFIG_PCM_S24DAUD_DECODER)        += pcm.o
558 OBJS-$(CONFIG_PCM_S24DAUD_ENCODER)        += pcm.o
559 OBJS-$(CONFIG_PCM_S24LE_DECODER)          += pcm.o
560 OBJS-$(CONFIG_PCM_S24LE_ENCODER)          += pcm.o
561 OBJS-$(CONFIG_PCM_S32BE_DECODER)          += pcm.o
562 OBJS-$(CONFIG_PCM_S32BE_ENCODER)          += pcm.o
563 OBJS-$(CONFIG_PCM_S32LE_DECODER)          += pcm.o
564 OBJS-$(CONFIG_PCM_S32LE_ENCODER)          += pcm.o
565 OBJS-$(CONFIG_PCM_U8_DECODER)             += pcm.o
566 OBJS-$(CONFIG_PCM_U8_ENCODER)             += pcm.o
567 OBJS-$(CONFIG_PCM_U16BE_DECODER)          += pcm.o
568 OBJS-$(CONFIG_PCM_U16BE_ENCODER)          += pcm.o
569 OBJS-$(CONFIG_PCM_U16LE_DECODER)          += pcm.o
570 OBJS-$(CONFIG_PCM_U16LE_ENCODER)          += pcm.o
571 OBJS-$(CONFIG_PCM_U24BE_DECODER)          += pcm.o
572 OBJS-$(CONFIG_PCM_U24BE_ENCODER)          += pcm.o
573 OBJS-$(CONFIG_PCM_U24LE_DECODER)          += pcm.o
574 OBJS-$(CONFIG_PCM_U24LE_ENCODER)          += pcm.o
575 OBJS-$(CONFIG_PCM_U32BE_DECODER)          += pcm.o
576 OBJS-$(CONFIG_PCM_U32BE_ENCODER)          += pcm.o
577 OBJS-$(CONFIG_PCM_U32LE_DECODER)          += pcm.o
578 OBJS-$(CONFIG_PCM_U32LE_ENCODER)          += pcm.o
579 OBJS-$(CONFIG_PCM_ZORK_DECODER)           += pcm.o
580
581 OBJS-$(CONFIG_ADPCM_4XM_DECODER)          += adpcm.o adpcm_data.o
582 OBJS-$(CONFIG_ADPCM_ADX_DECODER)          += adxdec.o adx.o
583 OBJS-$(CONFIG_ADPCM_ADX_ENCODER)          += adxenc.o adx.o
584 OBJS-$(CONFIG_ADPCM_CT_DECODER)           += adpcm.o adpcm_data.o
585 OBJS-$(CONFIG_ADPCM_EA_DECODER)           += adpcm.o adpcm_data.o
586 OBJS-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER)  += adpcm.o adpcm_data.o
587 OBJS-$(CONFIG_ADPCM_EA_R1_DECODER)        += adpcm.o adpcm_data.o
588 OBJS-$(CONFIG_ADPCM_EA_R2_DECODER)        += adpcm.o adpcm_data.o
589 OBJS-$(CONFIG_ADPCM_EA_R3_DECODER)        += adpcm.o adpcm_data.o
590 OBJS-$(CONFIG_ADPCM_EA_XAS_DECODER)       += adpcm.o adpcm_data.o
591 OBJS-$(CONFIG_ADPCM_G722_DECODER)         += g722.o g722dec.o
592 OBJS-$(CONFIG_ADPCM_G722_ENCODER)         += g722.o g722enc.o
593 OBJS-$(CONFIG_ADPCM_G726_DECODER)         += g726.o
594 OBJS-$(CONFIG_ADPCM_G726_ENCODER)         += g726.o
595 OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER)      += adpcm.o adpcm_data.o
596 OBJS-$(CONFIG_ADPCM_IMA_APC_DECODER)      += adpcm.o adpcm_data.o
597 OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER)      += adpcm.o adpcm_data.o
598 OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER)      += adpcm.o adpcm_data.o
599 OBJS-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER)  += adpcm.o adpcm_data.o
600 OBJS-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER)  += adpcm.o adpcm_data.o
601 OBJS-$(CONFIG_ADPCM_IMA_ISS_DECODER)      += adpcm.o adpcm_data.o
602 OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER)       += adpcm.o adpcm_data.o
603 OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER)       += adpcmenc.o adpcm_data.o
604 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER)   += adpcm.o adpcm_data.o
605 OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER)      += adpcm.o adpcm_data.o
606 OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER)      += adpcmenc.o adpcm_data.o
607 OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER)       += adpcm.o adpcm_data.o
608 OBJS-$(CONFIG_ADPCM_MS_DECODER)           += adpcm.o adpcm_data.o
609 OBJS-$(CONFIG_ADPCM_MS_ENCODER)           += adpcmenc.o adpcm_data.o
610 OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER)      += adpcm.o adpcm_data.o
611 OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER)      += adpcm.o adpcm_data.o
612 OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER)      += adpcm.o adpcm_data.o
613 OBJS-$(CONFIG_ADPCM_SWF_DECODER)          += adpcm.o adpcm_data.o
614 OBJS-$(CONFIG_ADPCM_SWF_ENCODER)          += adpcmenc.o adpcm_data.o
615 OBJS-$(CONFIG_ADPCM_THP_DECODER)          += adpcm.o adpcm_data.o
616 OBJS-$(CONFIG_ADPCM_XA_DECODER)           += adpcm.o adpcm_data.o
617 OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)       += adpcm.o adpcm_data.o
618 OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)       += adpcmenc.o adpcm_data.o
619 OBJS-$(CONFIG_VIMA_DECODER)               += vima.o adpcm_data.o
620
621 # libavformat dependencies
622 OBJS-$(CONFIG_ADTS_MUXER)              += mpeg4audio.o
623 OBJS-$(CONFIG_ADX_DEMUXER)             += adx.o
624 OBJS-$(CONFIG_CAF_DEMUXER)             += mpeg4audio.o mpegaudiodata.o
625 OBJS-$(CONFIG_DV_DEMUXER)              += dv_profile.o
626 OBJS-$(CONFIG_DV_MUXER)                += dv_profile.o timecode.o
627 OBJS-$(CONFIG_FLAC_DEMUXER)            += flacdec.o flacdata.o flac.o vorbis_data.o \
628                                           vorbis_parser.o xiph.o
629 OBJS-$(CONFIG_FLAC_MUXER)              += flacdec.o flacdata.o flac.o vorbis_data.o
630 OBJS-$(CONFIG_FLV_DEMUXER)             += mpeg4audio.o
631 OBJS-$(CONFIG_GXF_DEMUXER)             += mpeg12data.o
632 OBJS-$(CONFIG_IFF_DEMUXER)             += iff.o
633 OBJS-$(CONFIG_LATM_MUXER)              += mpeg4audio.o
634 OBJS-$(CONFIG_MATROSKA_AUDIO_MUXER)    += xiph.o mpeg4audio.o vorbis_data.o \
635                                           flacdec.o flacdata.o flac.o
636 OBJS-$(CONFIG_MATROSKA_DEMUXER)        += mpeg4audio.o mpegaudiodata.o
637 OBJS-$(CONFIG_MATROSKA_MUXER)          += xiph.o mpeg4audio.o \
638                                           flacdec.o flacdata.o flac.o \
639                                           mpegaudiodata.o vorbis_data.o
640 OBJS-$(CONFIG_MP2_MUXER)               += mpegaudiodata.o mpegaudiodecheader.o
641 OBJS-$(CONFIG_MP3_MUXER)               += mpegaudiodata.o mpegaudiodecheader.o
642 OBJS-$(CONFIG_MOV_DEMUXER)             += mpeg4audio.o mpegaudiodata.o ac3tab.o timecode.o
643 OBJS-$(CONFIG_MOV_MUXER)               += mpeg4audio.o mpegaudiodata.o
644 OBJS-$(CONFIG_MPEGTS_MUXER)            += mpegvideo.o mpeg4audio.o
645 OBJS-$(CONFIG_MPEGTS_DEMUXER)          += mpeg4audio.o mpegaudiodata.o
646 OBJS-$(CONFIG_MXF_MUXER)               += timecode.o
647 OBJS-$(CONFIG_NUT_MUXER)               += mpegaudiodata.o
648 OBJS-$(CONFIG_OGG_DEMUXER)             += flacdec.o flacdata.o flac.o \
649                                           dirac.o mpeg12data.o vorbis_parser.o \
650                                           xiph.o vorbis_data.o
651 OBJS-$(CONFIG_OGG_MUXER)               += xiph.o flacdec.o flacdata.o flac.o \
652                                           vorbis_data.o
653 OBJS-$(CONFIG_RTP_MUXER)               += mpeg4audio.o mpegvideo.o xiph.o
654 OBJS-$(CONFIG_SPDIF_DEMUXER)           += aacadtsdec.o mpeg4audio.o
655 OBJS-$(CONFIG_WEBM_MUXER)              += xiph.o mpeg4audio.o \
656                                           flacdec.o flacdata.o flac.o \
657                                           mpegaudiodata.o vorbis_data.o
658 OBJS-$(CONFIG_WTV_DEMUXER)             += mpeg4audio.o mpegaudiodata.o
659
660 # external codec libraries
661 OBJS-$(CONFIG_LIBAACPLUS_ENCODER)         += libaacplus.o
662 OBJS-$(CONFIG_LIBCELT_DECODER)            += libcelt_dec.o
663 OBJS-$(CONFIG_LIBFAAC_ENCODER)            += libfaac.o audio_frame_queue.o
664 OBJS-$(CONFIG_LIBGSM_DECODER)             += libgsm.o
665 OBJS-$(CONFIG_LIBGSM_ENCODER)             += libgsm.o
666 OBJS-$(CONFIG_LIBGSM_MS_DECODER)          += libgsm.o
667 OBJS-$(CONFIG_LIBGSM_MS_ENCODER)          += libgsm.o
668 OBJS-$(CONFIG_LIBILBC_DECODER)            += libilbc.o
669 OBJS-$(CONFIG_LIBILBC_ENCODER)            += libilbc.o
670 OBJS-$(CONFIG_LIBMP3LAME_ENCODER)         += libmp3lame.o mpegaudiodecheader.o \
671                                              audio_frame_queue.o
672 OBJS-$(CONFIG_LIBOPENCORE_AMRNB_DECODER)  += libopencore-amr.o \
673                                              audio_frame_queue.o
674 OBJS-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER)  += libopencore-amr.o \
675                                              audio_frame_queue.o
676 OBJS-$(CONFIG_LIBOPENCORE_AMRWB_DECODER)  += libopencore-amr.o
677 OBJS-$(CONFIG_LIBOPENJPEG_DECODER)        += libopenjpegdec.o
678 OBJS-$(CONFIG_LIBOPENJPEG_ENCODER)        += libopenjpegenc.o
679 OBJS-$(CONFIG_LIBSCHROEDINGER_DECODER)    += libschroedingerdec.o \
680                                              libschroedinger.o
681 OBJS-$(CONFIG_LIBSCHROEDINGER_ENCODER)    += libschroedingerenc.o \
682                                              libschroedinger.o
683 OBJS-$(CONFIG_LIBSPEEX_DECODER)           += libspeexdec.o
684 OBJS-$(CONFIG_LIBSPEEX_ENCODER)           += libspeexenc.o audio_frame_queue.o
685 OBJS-$(CONFIG_LIBSTAGEFRIGHT_H264_DECODER)+= libstagefright.o
686 OBJS-$(CONFIG_LIBTHEORA_ENCODER)          += libtheoraenc.o
687 OBJS-$(CONFIG_LIBUTVIDEO_DECODER)         += libutvideodec.o
688 OBJS-$(CONFIG_LIBUTVIDEO_ENCODER)         += libutvideoenc.o
689 OBJS-$(CONFIG_LIBVO_AACENC_ENCODER)       += libvo-aacenc.o mpeg4audio.o \
690                                              audio_frame_queue.o
691 OBJS-$(CONFIG_LIBVO_AMRWBENC_ENCODER)     += libvo-amrwbenc.o
692 OBJS-$(CONFIG_LIBVORBIS_DECODER)          += libvorbisdec.o
693 OBJS-$(CONFIG_LIBVORBIS_ENCODER)          += libvorbisenc.o audio_frame_queue.o \
694                                              vorbis_data.o vorbis_parser.o xiph.o
695 OBJS-$(CONFIG_LIBVPX_DECODER)             += libvpxdec.o
696 OBJS-$(CONFIG_LIBVPX_ENCODER)             += libvpxenc.o
697 OBJS-$(CONFIG_LIBX264_ENCODER)            += libx264.o
698 OBJS-$(CONFIG_LIBXAVS_ENCODER)            += libxavs.o
699 OBJS-$(CONFIG_LIBXVID_ENCODER)            += libxvid.o
700
701 # parsers
702 OBJS-$(CONFIG_AAC_PARSER)              += aac_parser.o aac_ac3_parser.o \
703                                           aacadtsdec.o mpeg4audio.o
704 OBJS-$(CONFIG_AC3_PARSER)              += ac3_parser.o ac3tab.o \
705                                           aac_ac3_parser.o
706 OBJS-$(CONFIG_ADX_PARSER)              += adx_parser.o adx.o
707 OBJS-$(CONFIG_CAVSVIDEO_PARSER)        += cavs_parser.o
708 OBJS-$(CONFIG_COOK_PARSER)             += cook_parser.o
709 OBJS-$(CONFIG_DCA_PARSER)              += dca_parser.o
710 OBJS-$(CONFIG_DIRAC_PARSER)            += dirac_parser.o
711 OBJS-$(CONFIG_DNXHD_PARSER)            += dnxhd_parser.o
712 OBJS-$(CONFIG_DVBSUB_PARSER)           += dvbsub_parser.o
713 OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
714 OBJS-$(CONFIG_FLAC_PARSER)             += flac_parser.o flacdata.o flac.o \
715                                           vorbis_data.o
716 OBJS-$(CONFIG_GSM_PARSER)              += gsm_parser.o
717 OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
718 OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
719 OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o h264.o            \
720                                           cabac.o                         \
721                                           h264_refs.o h264_sei.o h264_direct.o \
722                                           h264_loopfilter.o h264_cabac.o \
723                                           h264_cavlc.o h264_ps.o \
724                                           mpegvideo.o error_resilience.o
725 OBJS-$(CONFIG_AAC_LATM_PARSER)         += latm_parser.o
726 OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg_parser.o
727 OBJS-$(CONFIG_MLP_PARSER)              += mlp_parser.o mlp.o
728 OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += mpeg4video_parser.o h263.o \
729                                           mpegvideo.o error_resilience.o \
730                                           mpeg4videodec.o mpeg4video.o \
731                                           ituh263dec.o h263dec.o
732 OBJS-$(CONFIG_PNG_PARSER)              += png_parser.o
733 OBJS-$(CONFIG_MPEGAUDIO_PARSER)        += mpegaudio_parser.o \
734                                           mpegaudiodecheader.o mpegaudiodata.o
735 OBJS-$(CONFIG_MPEGVIDEO_PARSER)        += mpegvideo_parser.o    \
736                                           mpeg12.o mpeg12data.o \
737                                           mpegvideo.o error_resilience.o
738 OBJS-$(CONFIG_PNM_PARSER)              += pnm_parser.o pnm.o
739 OBJS-$(CONFIG_RV30_PARSER)             += rv34_parser.o
740 OBJS-$(CONFIG_RV40_PARSER)             += rv34_parser.o
741 OBJS-$(CONFIG_VC1_PARSER)              += vc1_parser.o vc1.o vc1data.o \
742                                           msmpeg4.o msmpeg4data.o mpeg4video.o \
743                                           h263.o mpegvideo.o error_resilience.o
744 OBJS-$(CONFIG_VORBIS_PARSER)           += vorbis_parser.o xiph.o
745 OBJS-$(CONFIG_VP3_PARSER)              += vp3_parser.o
746 OBJS-$(CONFIG_VP8_PARSER)              += vp8_parser.o
747
748 # bitstream filters
749 OBJS-$(CONFIG_AAC_ADTSTOASC_BSF)          += aac_adtstoasc_bsf.o aacadtsdec.o \
750                                              mpeg4audio.o
751 OBJS-$(CONFIG_CHOMP_BSF)                  += chomp_bsf.o
752 OBJS-$(CONFIG_DUMP_EXTRADATA_BSF)         += dump_extradata_bsf.o
753 OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF)       += h264_mp4toannexb_bsf.o
754 OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF)        += imx_dump_header_bsf.o
755 OBJS-$(CONFIG_MJPEG2JPEG_BSF)             += mjpeg2jpeg_bsf.o mjpeg.o
756 OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF)     += mjpega_dump_header_bsf.o
757 OBJS-$(CONFIG_MOV2TEXTSUB_BSF)            += movsub_bsf.o
758 OBJS-$(CONFIG_MP3_HEADER_COMPRESS_BSF)    += mp3_header_compress_bsf.o
759 OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF)  += mp3_header_decompress_bsf.o \
760                                              mpegaudiodata.o
761 OBJS-$(CONFIG_NOISE_BSF)                  += noise_bsf.o
762 OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF)       += remove_extradata_bsf.o
763 OBJS-$(CONFIG_TEXT2MOVSUB_BSF)            += movsub_bsf.o
764
765 # thread libraries
766 OBJS-$(HAVE_PTHREADS)                  += pthread.o frame_thread_encoder.o
767 OBJS-$(HAVE_W32THREADS)                += pthread.o frame_thread_encoder.o
768 OBJS-$(HAVE_OS2THREADS)                += pthread.o frame_thread_encoder.o
769
770 # inverse.o contains the ff_inverse table definition, which is used by
771 # the FASTDIV macro (from libavutil); since referencing the external
772 # table has a negative effect on performance, copy it in libavcodec as
773 # well.
774 OBJS-$(!CONFIG_SMALL)                  += inverse.o
775
776 SKIPHEADERS                            += %_tablegen.h                  \
777                                           %_tables.h                    \
778                                           aac_tablegen_decl.h           \
779                                           codec_names.h                 \
780                                           fft-internal.h                \
781                                           tableprint.h                  \
782                                           $(ARCH)/vp56_arith.h          \
783
784 SKIPHEADERS-$(CONFIG_DXVA2)            += dxva2.h dxva2_internal.h
785 SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
786 SKIPHEADERS-$(CONFIG_LIBUTVIDEO)       += libutvideo.h
787 SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h
788 SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
789 SKIPHEADERS-$(CONFIG_VDA)              += vda.h vda_internal.h
790 SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
791 SKIPHEADERS-$(HAVE_OS2THREADS)         += os2threads.h
792 SKIPHEADERS-$(HAVE_W32THREADS)         += w32pthreads.h
793
794 TESTPROGS = cabac                                                       \
795             dct                                                         \
796             fft                                                         \
797             fft-fixed                                                   \
798             golomb                                                      \
799             iirfilter                                                   \
800             rangecoder                                                  \
801             raw                                                         \
802             snowenc                                                     \
803
804 TESTPROGS-$(HAVE_MMX) += motion
805 TESTOBJS = dctref.o
806
807 HOSTPROGS = aac_tablegen                                                \
808             aacps_tablegen                                              \
809             cbrt_tablegen                                               \
810             cos_tablegen                                                \
811             dv_tablegen                                                 \
812             motionpixels_tablegen                                       \
813             mpegaudio_tablegen                                          \
814             pcm_tablegen                                                \
815             qdm2_tablegen                                               \
816             sinewin_tablegen                                            \
817
818 CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
819
820 $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o
821
822 TRIG_TABLES  = cos cos_fixed sin
823 TRIG_TABLES := $(TRIG_TABLES:%=$(SUBDIR)%_tables.c)
824
825 $(TRIG_TABLES): $(SUBDIR)%_tables.c: $(SUBDIR)cos_tablegen$(HOSTEXESUF)
826         $(M)./$< $* > $@
827
828 ifdef CONFIG_SMALL
829 $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=1
830 else
831 $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=0
832 endif
833
834 GEN_HEADERS = cbrt_tables.h aacps_tables.h aac_tables.h dv_tables.h     \
835               sinewin_tables.h mpegaudio_tables.h motionpixels_tables.h \
836               pcm_tables.h qdm2_tables.h
837 GEN_HEADERS := $(addprefix $(SUBDIR), $(GEN_HEADERS))
838
839 $(GEN_HEADERS): $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
840         $(M)./$< > $@
841
842 ifdef CONFIG_HARDCODED_TABLES
843 $(SUBDIR)aacdec.o: $(SUBDIR)cbrt_tables.h
844 $(SUBDIR)aacps.o: $(SUBDIR)aacps_tables.h
845 $(SUBDIR)aactab.o: $(SUBDIR)aac_tables.h
846 $(SUBDIR)dv.o: $(SUBDIR)dv_tables.h
847 $(SUBDIR)sinewin.o: $(SUBDIR)sinewin_tables.h
848 $(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h
849 $(SUBDIR)mpegaudiodec_float.o: $(SUBDIR)mpegaudio_tables.h
850 $(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h
851 $(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h
852 $(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h
853 endif
854
855 CODEC_NAMES_SH := $(SRC_PATH)/$(SUBDIR)codec_names.sh
856 AVCODEC_H      := $(SRC_PATH)/$(SUBDIR)avcodec.h
857 $(SUBDIR)codec_names.h: $(CODEC_NAMES_SH) config.h $(AVCODEC_H)
858         $(CC) $(CPPFLAGS) $(CFLAGS) -E $(AVCODEC_H) | \
859         $(CODEC_NAMES_SH) config.h $@
860 $(SUBDIR)utils.o: $(SUBDIR)codec_names.h