1562339ee30f6218b3c1f4fbdac90f317b8fbf42
[ffmpeg.git] / libavcodec / Makefile
1 NAME = avcodec
2
3 HEADERS = avcodec.h                                                     \
4           avfft.h                                                       \
5           dv_profile.h                                                  \
6           d3d11va.h                                                     \
7           dirac.h                                                       \
8           dxva2.h                                                       \
9           qsv.h                                                         \
10           vaapi.h                                                       \
11           vda.h                                                         \
12           vdpau.h                                                       \
13           version.h                                                     \
14           vorbis_parser.h                                               \
15           xvmc.h                                                        \
16
17 OBJS = allcodecs.o                                                      \
18        avpacket.o                                                       \
19        avpicture.o                                                      \
20        bitstream.o                                                      \
21        bitstream_filter.o                                               \
22        bitstream_filters.o                                              \
23        bsf.o                                                            \
24        codec_desc.o                                                     \
25        d3d11va.o                                                        \
26        dirac.o                                                          \
27        dv_profile.o                                                     \
28        imgconvert.o                                                     \
29        log2_tab.o                                                       \
30        mathtables.o                                                     \
31        options.o                                                        \
32        parser.o                                                         \
33        profiles.o                                                       \
34        qsv_api.o                                                        \
35        raw.o                                                            \
36        utils.o                                                          \
37        vorbis_parser.o                                                  \
38        xiph.o                                                           \
39
40 # subsystems
41 OBJS-$(CONFIG_AANDCTTABLES)            += aandcttab.o
42 OBJS-$(CONFIG_AC3DSP)                  += ac3dsp.o
43 OBJS-$(CONFIG_AUDIO_FRAME_QUEUE)       += audio_frame_queue.o
44 OBJS-$(CONFIG_AUDIODSP)                += audiodsp.o
45 OBJS-$(CONFIG_BLOCKDSP)                += blockdsp.o
46 OBJS-$(CONFIG_BSWAPDSP)                += bswapdsp.o
47 OBJS-$(CONFIG_CABAC)                   += cabac.o
48 OBJS-$(CONFIG_DCT)                     += dct.o dct32_fixed.o dct32_float.o
49 OBJS-$(CONFIG_ERROR_RESILIENCE)        += error_resilience.o
50 OBJS-$(CONFIG_FAANDCT)                 += faandct.o
51 OBJS-$(CONFIG_FAANIDCT)                += faanidct.o
52 OBJS-$(CONFIG_FDCTDSP)                 += fdctdsp.o jfdctfst.o jfdctint.o
53 FFT-OBJS-$(CONFIG_HARDCODED_TABLES)    += cos_tables.o cos_fixed_tables.o
54 OBJS-$(CONFIG_FFT)                     += avfft.o fft_fixed.o fft_float.o \
55                                           $(FFT-OBJS-yes)
56 OBJS-$(CONFIG_FLACDSP)                 += flacdsp.o
57 OBJS-$(CONFIG_FMTCONVERT)              += fmtconvert.o
58 OBJS-$(CONFIG_GOLOMB)                  += golomb.o
59 OBJS-$(CONFIG_H263DSP)                 += h263dsp.o
60 OBJS-$(CONFIG_H264CHROMA)              += h264chroma.o
61 OBJS-$(CONFIG_H264DSP)                 += h264dsp.o h264idct.o
62 OBJS-$(CONFIG_H264PRED)                += h264pred.o
63 OBJS-$(CONFIG_H264QPEL)                += h264qpel.o
64 OBJS-$(CONFIG_HPELDSP)                 += hpeldsp.o
65 OBJS-$(CONFIG_HUFFMAN)                 += huffman.o
66 OBJS-$(CONFIG_HUFFYUVDSP)              += huffyuvdsp.o
67 OBJS-$(CONFIG_HUFFYUVENCDSP)           += huffyuvencdsp.o
68 OBJS-$(CONFIG_IDCTDSP)                 += idctdsp.o simple_idct.o jrevdct.o
69 OBJS-$(CONFIG_IIRFILTER)               += iirfilter.o
70 OBJS-$(CONFIG_IMDCT15)                 += imdct15.o
71 OBJS-$(CONFIG_INTRAX8)                 += intrax8.o intrax8dsp.o
72 OBJS-$(CONFIG_IVIDSP)                  += ivi_dsp.o
73 OBJS-$(CONFIG_JPEGTABLES)              += jpegtables.o
74 OBJS-$(CONFIG_LIBXVID)                 += libxvid_rc.o
75 OBJS-$(CONFIG_LPC)                     += lpc.o
76 OBJS-$(CONFIG_LSP)                     += lsp.o
77 OBJS-$(CONFIG_LZF)                     += lzf.o
78 OBJS-$(CONFIG_MDCT)                    += mdct_fixed.o mdct_float.o
79 OBJS-$(CONFIG_ME_CMP)                  += me_cmp.o
80 OBJS-$(CONFIG_MPEG_ER)                 += mpeg_er.o
81 OBJS-$(CONFIG_MPEGAUDIO)               += mpegaudio.o mpegaudiodata.o   \
82                                           mpegaudiodecheader.o
83 OBJS-$(CONFIG_MPEGAUDIODSP)            += mpegaudiodsp.o                \
84                                           mpegaudiodsp_data.o           \
85                                           mpegaudiodsp_fixed.o          \
86                                           mpegaudiodsp_float.o
87 OBJS-$(CONFIG_MPEGVIDEO)               += mpegvideo.o mpegvideodsp.o rl.o \
88                                           mpegvideo_motion.o mpegutils.o \
89                                           mpegvideodata.o mpegpicture.o
90 OBJS-$(CONFIG_MPEGVIDEOENC)            += mpegvideo_enc.o mpeg12data.o  \
91                                           motion_est.o ratecontrol.o    \
92                                           mpegvideoencdsp.o
93 OBJS-$(CONFIG_MSS34DSP)                += mss34dsp.o
94 OBJS-$(CONFIG_PIXBLOCKDSP)             += pixblockdsp.o
95 OBJS-${CONFIG_NVENC}                   += nvenc.o
96 OBJS-$(CONFIG_QPELDSP)                 += qpeldsp.o
97 OBJS-$(CONFIG_QSV)                     += qsv.o
98 OBJS-$(CONFIG_QSVDEC)                  += qsvdec.o
99 OBJS-$(CONFIG_QSVENC)                  += qsvenc.o
100 OBJS-$(CONFIG_RANGECODER)              += rangecoder.o
101 RDFT-OBJS-$(CONFIG_HARDCODED_TABLES)   += sin_tables.o
102 OBJS-$(CONFIG_RDFT)                    += rdft.o $(RDFT-OBJS-yes)
103 OBJS-$(CONFIG_RV34DSP)                 += rv34dsp.o
104 OBJS-$(CONFIG_SINEWIN)                 += sinewin.o
105 OBJS-$(CONFIG_SNAPPY)                  += snappy.o
106 OBJS-$(CONFIG_STARTCODE)               += startcode.o
107 OBJS-$(CONFIG_TEXTUREDSP)              += texturedsp.o
108 OBJS-$(CONFIG_TEXTUREDSPENC)           += texturedspenc.o
109 OBJS-$(CONFIG_TPELDSP)                 += tpeldsp.o
110 OBJS-$(CONFIG_VAAPI_ENCODE)            += vaapi_encode.o
111 OBJS-$(CONFIG_VC1DSP)                  += vc1dsp.o
112 OBJS-$(CONFIG_VIDEODSP)                += videodsp.o
113 OBJS-$(CONFIG_VP3DSP)                  += vp3dsp.o
114 OBJS-$(CONFIG_VP56DSP)                 += vp56dsp.o
115 OBJS-$(CONFIG_VP8DSP)                  += vp8dsp.o
116 OBJS-$(CONFIG_WMA_FREQS)               += wma_freqs.o
117 OBJS-$(CONFIG_WMV2DSP)                 += wmv2dsp.o
118
119 # decoders/encoders
120 OBJS-$(CONFIG_A64MULTI_ENCODER)        += a64multienc.o elbg.o
121 OBJS-$(CONFIG_A64MULTI5_ENCODER)       += a64multienc.o elbg.o
122 OBJS-$(CONFIG_AAC_DECODER)             += aacdec.o aactab.o aacsbr.o aacps.o \
123                                           aacadtsdec.o mpeg4audio.o kbdwin.o \
124                                           sbrdsp.o aacpsdsp.o
125 OBJS-$(CONFIG_AAC_ENCODER)             += aacenc.o aaccoder.o    \
126                                           aacpsy.o aactab.o      \
127                                           psymodel.o mpeg4audio.o kbdwin.o
128 OBJS-$(CONFIG_AASC_DECODER)            += aasc.o msrledec.o
129 OBJS-$(CONFIG_AC3_DECODER)             += ac3dec.o ac3dec_data.o ac3.o kbdwin.o
130 OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc_float.o ac3enc.o ac3tab.o \
131                                           ac3.o kbdwin.o
132 OBJS-$(CONFIG_AC3_FIXED_ENCODER)       += ac3enc_fixed.o ac3enc.o ac3tab.o ac3.o
133 OBJS-$(CONFIG_AIC_DECODER)             += aic.o
134 OBJS-$(CONFIG_ALAC_DECODER)            += alac.o alac_data.o
135 OBJS-$(CONFIG_ALAC_ENCODER)            += alacenc.o alac_data.o
136 OBJS-$(CONFIG_ALIAS_PIX_DECODER)       += aliaspixdec.o
137 OBJS-$(CONFIG_ALIAS_PIX_ENCODER)       += aliaspixenc.o
138 OBJS-$(CONFIG_ALS_DECODER)             += alsdec.o bgmc.o mpeg4audio.o
139 OBJS-$(CONFIG_AMRNB_DECODER)           += amrnbdec.o celp_filters.o   \
140                                           celp_math.o acelp_filters.o \
141                                           acelp_vectors.o             \
142                                           acelp_pitch_delay.o
143 OBJS-$(CONFIG_AMRWB_DECODER)           += amrwbdec.o celp_filters.o   \
144                                           celp_math.o acelp_filters.o \
145                                           acelp_vectors.o             \
146                                           acelp_pitch_delay.o
147 OBJS-$(CONFIG_ANM_DECODER)             += anm.o
148 OBJS-$(CONFIG_ANSI_DECODER)            += ansi.o cga_data.o
149 OBJS-$(CONFIG_APE_DECODER)             += apedec.o
150 OBJS-$(CONFIG_ASS_DECODER)             += assdec.o ass.o
151 OBJS-$(CONFIG_ASS_ENCODER)             += assenc.o ass.o
152 OBJS-$(CONFIG_ASV1_DECODER)            += asvdec.o asv.o mpeg12data.o
153 OBJS-$(CONFIG_ASV1_ENCODER)            += asvenc.o asv.o mpeg12data.o
154 OBJS-$(CONFIG_ASV2_DECODER)            += asvdec.o asv.o mpeg12data.o
155 OBJS-$(CONFIG_ASV2_ENCODER)            += asvenc.o asv.o mpeg12data.o
156 OBJS-$(CONFIG_ATRAC1_DECODER)          += atrac1.o atrac.o
157 OBJS-$(CONFIG_ATRAC3_DECODER)          += atrac3.o atrac.o
158 OBJS-$(CONFIG_ATRAC3P_DECODER)         += atrac3plusdec.o atrac3plus.o \
159                                           atrac3plusdsp.o atrac.o
160 OBJS-$(CONFIG_AURA_DECODER)            += cyuv.o
161 OBJS-$(CONFIG_AURA2_DECODER)           += aura.o
162 OBJS-$(CONFIG_AVS_DECODER)             += avs.o
163 OBJS-$(CONFIG_BETHSOFTVID_DECODER)     += bethsoftvideo.o
164 OBJS-$(CONFIG_BFI_DECODER)             += bfi.o
165 OBJS-$(CONFIG_BINK_DECODER)            += bink.o binkdsp.o
166 OBJS-$(CONFIG_BINKAUDIO_DCT_DECODER)   += binkaudio.o
167 OBJS-$(CONFIG_BINKAUDIO_RDFT_DECODER)  += binkaudio.o
168 OBJS-$(CONFIG_BMP_DECODER)             += bmp.o msrledec.o
169 OBJS-$(CONFIG_BMP_ENCODER)             += bmpenc.o
170 OBJS-$(CONFIG_BMV_AUDIO_DECODER)       += bmvaudio.o
171 OBJS-$(CONFIG_BMV_VIDEO_DECODER)       += bmvvideo.o
172 OBJS-$(CONFIG_BRENDER_PIX_DECODER)     += brenderpix.o
173 OBJS-$(CONFIG_C93_DECODER)             += c93.o
174 OBJS-$(CONFIG_CAVS_DECODER)            += cavs.o cavsdec.o cavsdsp.o \
175                                           cavsdata.o mpeg12data.o
176 OBJS-$(CONFIG_CDGRAPHICS_DECODER)      += cdgraphics.o
177 OBJS-$(CONFIG_CDXL_DECODER)            += cdxl.o
178 OBJS-$(CONFIG_CINEPAK_DECODER)         += cinepak.o
179 OBJS-$(CONFIG_CLJR_DECODER)            += cljrdec.o
180 OBJS-$(CONFIG_CLJR_ENCODER)            += cljrenc.o
181 OBJS-$(CONFIG_CLLC_DECODER)            += cllc.o canopus.o
182 OBJS-$(CONFIG_COOK_DECODER)            += cook.o
183 OBJS-$(CONFIG_COMFORTNOISE_DECODER)    += cngdec.o celp_filters.o
184 OBJS-$(CONFIG_COMFORTNOISE_ENCODER)    += cngenc.o
185 OBJS-$(CONFIG_CSCD_DECODER)            += cscd.o
186 OBJS-$(CONFIG_CYUV_DECODER)            += cyuv.o
187 OBJS-$(CONFIG_DCA_DECODER)             += dcadec.o dca.o dcadsp.o      \
188                                           dcadata.o dca_exss.o         \
189                                           dca_xll.o synth_filter.o
190 OBJS-$(CONFIG_DDS_DECODER)             += dds.o
191 OBJS-$(CONFIG_DFA_DECODER)             += dfa.o
192 OBJS-$(CONFIG_DNXHD_DECODER)           += dnxhddec.o dnxhddata.o
193 OBJS-$(CONFIG_DNXHD_ENCODER)           += dnxhdenc.o dnxhddata.o
194 OBJS-$(CONFIG_DPX_DECODER)             += dpx.o
195 OBJS-$(CONFIG_DPX_ENCODER)             += dpxenc.o
196 OBJS-$(CONFIG_DSICINAUDIO_DECODER)     += dsicinaudio.o
197 OBJS-$(CONFIG_DSICINVIDEO_DECODER)     += dsicinvideo.o
198 OBJS-$(CONFIG_DSS_SP_DECODER)          += dss_sp.o
199 OBJS-$(CONFIG_DVBSUB_DECODER)          += dvbsubdec.o
200 OBJS-$(CONFIG_DVBSUB_ENCODER)          += dvbsub.o
201 OBJS-$(CONFIG_DVDSUB_DECODER)          += dvdsubdec.o
202 OBJS-$(CONFIG_DVDSUB_ENCODER)          += dvdsubenc.o
203 OBJS-$(CONFIG_DVVIDEO_DECODER)         += dvdec.o dv.o dvdata.o
204 OBJS-$(CONFIG_DVVIDEO_ENCODER)         += dvenc.o dv.o dvdata.o
205 OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
206 OBJS-$(CONFIG_DXTORY_DECODER)          += dxtory.o
207 OBJS-$(CONFIG_DXV_DECODER)             += dxv.o
208 OBJS-$(CONFIG_EAC3_DECODER)            += eac3dec.o eac3_data.o
209 OBJS-$(CONFIG_EAC3_ENCODER)            += eac3enc.o eac3_data.o
210 OBJS-$(CONFIG_EACMV_DECODER)           += eacmv.o
211 OBJS-$(CONFIG_EAMAD_DECODER)           += eamad.o eaidct.o mpeg12.o \
212                                           mpeg12data.o
213 OBJS-$(CONFIG_EATGQ_DECODER)           += eatgq.o eaidct.o
214 OBJS-$(CONFIG_EATGV_DECODER)           += eatgv.o
215 OBJS-$(CONFIG_EATQI_DECODER)           += eatqi.o eaidct.o mpeg12.o mpeg12data.o mpegvideodata.o rl.o
216 OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
217 OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)    += 8svx.o
218 OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)    += 8svx.o
219 OBJS-$(CONFIG_ESCAPE124_DECODER)       += escape124.o
220 OBJS-$(CONFIG_ESCAPE130_DECODER)       += escape130.o
221 OBJS-$(CONFIG_EXR_DECODER)             += exr.o
222 OBJS-$(CONFIG_FFV1_DECODER)            += ffv1dec.o ffv1.o
223 OBJS-$(CONFIG_FFV1_ENCODER)            += ffv1enc.o ffv1.o
224 OBJS-$(CONFIG_FIC_DECODER)             += fic.o
225 OBJS-$(CONFIG_FLAC_DECODER)            += flacdec.o flacdata.o flac.o
226 OBJS-$(CONFIG_FLAC_ENCODER)            += flacenc.o flacdata.o flac.o
227 OBJS-$(CONFIG_FLASHSV_DECODER)         += flashsv.o
228 OBJS-$(CONFIG_FLASHSV_ENCODER)         += flashsvenc.o
229 OBJS-$(CONFIG_FLASHSV2_DECODER)        += flashsv.o
230 OBJS-$(CONFIG_FLIC_DECODER)            += flicvideo.o
231 OBJS-$(CONFIG_FOURXM_DECODER)          += 4xm.o
232 OBJS-$(CONFIG_FRAPS_DECODER)           += fraps.o
233 OBJS-$(CONFIG_FRWU_DECODER)            += frwu.o
234 OBJS-$(CONFIG_G2M_DECODER)             += g2meet.o elsdec.o
235 OBJS-$(CONFIG_G723_1_DECODER)          += g723_1dec.o g723_1.o \
236                                           acelp_vectors.o celp_filters.o \
237                                           celp_math.o
238 OBJS-$(CONFIG_G723_1_ENCODER)          += g723_1enc.o g723_1.o \
239                                           acelp_vectors.o celp_filters.o \
240                                           celp_math.o
241 OBJS-$(CONFIG_GIF_DECODER)             += gifdec.o lzw.o
242 OBJS-$(CONFIG_GIF_ENCODER)             += gif.o lzwenc.o
243 OBJS-$(CONFIG_GSM_DECODER)             += gsmdec.o gsmdec_data.o msgsmdec.o
244 OBJS-$(CONFIG_GSM_MS_DECODER)          += gsmdec.o gsmdec_data.o msgsmdec.o
245 OBJS-$(CONFIG_H261_DECODER)            += h261dec.o h261data.o h261.o
246 OBJS-$(CONFIG_H261_ENCODER)            += h261enc.o h261data.o h261.o
247 OBJS-$(CONFIG_H263_DECODER)            += h263dec.o h263.o ituh263dec.o        \
248                                           mpeg4video.o mpeg4videodec.o flvdec.o\
249                                           intelh263dec.o h263data.o
250 OBJS-$(CONFIG_H263_ENCODER)            += mpeg4videoenc.o mpeg4video.o  \
251                                           h263.o ituh263enc.o flvenc.o h263data.o
252 OBJS-$(CONFIG_H264_DECODER)            += h264.o h264_cabac.o h264_cavlc.o \
253                                           h264_direct.o h264_loopfilter.o  \
254                                           h264_mb.o h264_picture.o h264_ps.o \
255                                           h264_refs.o h264_sei.o \
256                                           h264_slice.o h264data.o h264_parse.o \
257                                           h2645_parse.o
258 OBJS-$(CONFIG_H264_MMAL_DECODER)       += mmaldec.o
259 OBJS-$(CONFIG_H264_NVENC_ENCODER)      += nvenc_h264.o
260 OBJS-$(CONFIG_H264_QSV_DECODER)        += qsvdec_h2645.o
261 OBJS-$(CONFIG_H264_QSV_ENCODER)        += qsvenc_h264.o
262 OBJS-$(CONFIG_H264_VAAPI_ENCODER)      += vaapi_encode_h264.o vaapi_encode_h26x.o
263 OBJS-$(CONFIG_HAP_DECODER)             += hapdec.o hap.o
264 OBJS-$(CONFIG_HAP_ENCODER)             += hapenc.o hap.o
265 OBJS-$(CONFIG_HEVC_DECODER)            += hevc.o hevc_mvs.o hevc_ps.o hevc_sei.o \
266                                           hevc_cabac.o hevc_refs.o hevcpred.o    \
267                                           hevcdsp.o hevc_filter.o h2645_parse.o hevc_data.o
268 OBJS-$(CONFIG_HEVC_NVENC_ENCODER)      += nvenc_hevc.o
269 OBJS-$(CONFIG_HEVC_QSV_DECODER)        += qsvdec_h2645.o
270 OBJS-$(CONFIG_HEVC_QSV_ENCODER)        += qsvenc_hevc.o hevc_ps_enc.o h2645_parse.o
271 OBJS-$(CONFIG_HNM4_VIDEO_DECODER)      += hnm4video.o
272 OBJS-$(CONFIG_HQ_HQA_DECODER)          += hq_hqa.o hq_hqadata.o hq_hqadsp.o \
273                                           canopus.o
274 OBJS-$(CONFIG_HQX_DECODER)             += hqx.o hqxvlc.o hqxdsp.o canopus.o
275 OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o huffyuvdec.o
276 OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o huffyuvenc.o
277 OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o
278 OBJS-$(CONFIG_IFF_BYTERUN1_DECODER)    += iff.o
279 OBJS-$(CONFIG_IFF_ILBM_DECODER)        += iff.o
280 OBJS-$(CONFIG_IMC_DECODER)             += imc.o
281 OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
282 OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
283 OBJS-$(CONFIG_INDEO4_DECODER)          += indeo4.o ivi.o
284 OBJS-$(CONFIG_INDEO5_DECODER)          += indeo5.o ivi.o
285 OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
286 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
287 OBJS-$(CONFIG_JPEG2000_DECODER)        += jpeg2000dec.o jpeg2000.o jpeg2000dsp.o \
288                                           jpeg2000dwt.o mqcdec.o mqc.o
289 OBJS-$(CONFIG_JPEGLS_DECODER)          += jpeglsdec.o jpegls.o
290 OBJS-$(CONFIG_JPEGLS_ENCODER)          += jpeglsenc.o jpegls.o
291 OBJS-$(CONFIG_JV_DECODER)              += jvdec.o
292 OBJS-$(CONFIG_KGV1_DECODER)            += kgv1dec.o
293 OBJS-$(CONFIG_KMVC_DECODER)            += kmvc.o
294 OBJS-$(CONFIG_LAGARITH_DECODER)        += lagarith.o lagarithrac.o
295 OBJS-$(CONFIG_LJPEG_ENCODER)           += ljpegenc.o mjpegenc_common.o
296 OBJS-$(CONFIG_LOCO_DECODER)            += loco.o
297 OBJS-$(CONFIG_MACE3_DECODER)           += mace.o
298 OBJS-$(CONFIG_MACE6_DECODER)           += mace.o
299 OBJS-$(CONFIG_MDEC_DECODER)            += mdec.o mpeg12.o mpeg12data.o
300 OBJS-$(CONFIG_METASOUND_DECODER)       += metasound.o metasound_data.o \
301                                           twinvq.o
302 OBJS-$(CONFIG_MIMIC_DECODER)           += mimic.o
303 OBJS-$(CONFIG_MJPEG_DECODER)           += mjpegdec.o
304 OBJS-$(CONFIG_MJPEG_ENCODER)           += mjpegenc.o mjpegenc_common.o
305 OBJS-$(CONFIG_MJPEGB_DECODER)          += mjpegbdec.o
306 OBJS-$(CONFIG_MLP_DECODER)             += mlpdec.o mlpdsp.o
307 OBJS-$(CONFIG_MMVIDEO_DECODER)         += mmvideo.o
308 OBJS-$(CONFIG_MOTIONPIXELS_DECODER)    += motionpixels.o
309 OBJS-$(CONFIG_MP1_DECODER)             += mpegaudiodec_fixed.o
310 OBJS-$(CONFIG_MP1FLOAT_DECODER)        += mpegaudiodec_float.o
311 OBJS-$(CONFIG_MP2_DECODER)             += mpegaudiodec_fixed.o
312 OBJS-$(CONFIG_MP2_ENCODER)             += mpegaudioenc.o mpegaudio.o \
313                                           mpegaudiodata.o mpegaudiodsp_data.o
314 OBJS-$(CONFIG_MP2FLOAT_DECODER)        += mpegaudiodec_float.o
315 OBJS-$(CONFIG_MP3_DECODER)             += mpegaudiodec_fixed.o
316 OBJS-$(CONFIG_MP3ADU_DECODER)          += mpegaudiodec_fixed.o
317 OBJS-$(CONFIG_MP3ADUFLOAT_DECODER)     += mpegaudiodec_float.o
318 OBJS-$(CONFIG_MP3FLOAT_DECODER)        += mpegaudiodec_float.o
319 OBJS-$(CONFIG_MP3ON4_DECODER)          += mpegaudiodec_fixed.o mpeg4audio.o
320 OBJS-$(CONFIG_MP3ON4FLOAT_DECODER)     += mpegaudiodec_float.o mpeg4audio.o
321 OBJS-$(CONFIG_MPC7_DECODER)            += mpc7.o mpc.o
322 OBJS-$(CONFIG_MPC8_DECODER)            += mpc8.o mpc.o
323 OBJS-$(CONFIG_MPEG_XVMC_DECODER)       += mpegvideo_xvmc.o
324 OBJS-$(CONFIG_MPEG1VIDEO_DECODER)      += mpeg12dec.o mpeg12.o mpeg12data.o
325 OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)      += mpeg12enc.o mpeg12.o
326 OBJS-$(CONFIG_MPEG2VIDEO_DECODER)      += mpeg12dec.o mpeg12.o mpeg12data.o
327 OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)      += mpeg12enc.o mpeg12.o
328 OBJS-$(CONFIG_MPEG2_QSV_DECODER)       += qsvdec_mpeg2.o
329 OBJS-$(CONFIG_MPEG2_QSV_ENCODER)       += qsvenc_mpeg2.o
330 OBJS-$(CONFIG_MPEG4_DECODER)           += xvididct.o
331 OBJS-$(CONFIG_MSMPEG4V1_DECODER)       += msmpeg4dec.o msmpeg4.o msmpeg4data.o
332 OBJS-$(CONFIG_MSMPEG4V2_DECODER)       += msmpeg4dec.o msmpeg4.o msmpeg4data.o
333 OBJS-$(CONFIG_MSMPEG4V2_ENCODER)       += msmpeg4enc.o msmpeg4.o msmpeg4data.o
334 OBJS-$(CONFIG_MSMPEG4V3_DECODER)       += msmpeg4dec.o msmpeg4.o msmpeg4data.o
335 OBJS-$(CONFIG_MSMPEG4V3_ENCODER)       += msmpeg4enc.o msmpeg4.o msmpeg4data.o
336 OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o msrledec.o
337 OBJS-$(CONFIG_MSA1_DECODER)            += mss3.o
338 OBJS-$(CONFIG_MSS1_DECODER)            += mss1.o mss12.o
339 OBJS-$(CONFIG_MSS2_DECODER)            += mss2.o mss12.o mss2dsp.o wmv2data.o
340 OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
341 OBJS-$(CONFIG_MSZH_DECODER)            += lcldec.o
342 OBJS-$(CONFIG_MTS2_DECODER)            += mss4.o
343 OBJS-$(CONFIG_MVC1_DECODER)            += mvcdec.o
344 OBJS-$(CONFIG_MVC2_DECODER)            += mvcdec.o
345 OBJS-$(CONFIG_MXPEG_DECODER)           += mxpegdec.o
346 OBJS-$(CONFIG_NELLYMOSER_DECODER)      += nellymoserdec.o nellymoser.o
347 OBJS-$(CONFIG_NELLYMOSER_ENCODER)      += nellymoserenc.o nellymoser.o
348 OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
349 OBJS-$(CONFIG_ON2AVC_DECODER)          += on2avc.o on2avcdata.o
350 OBJS-$(CONFIG_OPUS_DECODER)            += opusdec.o opus.o opus_celt.o \
351                                           opus_silk.o vorbis_data.o
352 OBJS-$(CONFIG_PAF_AUDIO_DECODER)       += pafaudio.o
353 OBJS-$(CONFIG_PAF_VIDEO_DECODER)       += pafvideo.o
354 OBJS-$(CONFIG_PAM_DECODER)             += pnmdec.o pnm.o
355 OBJS-$(CONFIG_PAM_ENCODER)             += pamenc.o
356 OBJS-$(CONFIG_PBM_DECODER)             += pnmdec.o pnm.o
357 OBJS-$(CONFIG_PBM_ENCODER)             += pnmenc.o
358 OBJS-$(CONFIG_PCX_DECODER)             += pcx.o
359 OBJS-$(CONFIG_PCX_ENCODER)             += pcxenc.o
360 OBJS-$(CONFIG_PGM_DECODER)             += pnmdec.o pnm.o
361 OBJS-$(CONFIG_PGM_ENCODER)             += pnmenc.o
362 OBJS-$(CONFIG_PGMYUV_DECODER)          += pnmdec.o pnm.o
363 OBJS-$(CONFIG_PGMYUV_ENCODER)          += pnmenc.o
364 OBJS-$(CONFIG_PGSSUB_DECODER)          += pgssubdec.o
365 OBJS-$(CONFIG_PICTOR_DECODER)          += pictordec.o cga_data.o
366 OBJS-$(CONFIG_PNG_DECODER)             += png.o pngdec.o pngdsp.o
367 OBJS-$(CONFIG_PNG_ENCODER)             += png.o pngenc.o
368 OBJS-$(CONFIG_PPM_DECODER)             += pnmdec.o pnm.o
369 OBJS-$(CONFIG_PPM_ENCODER)             += pnmenc.o
370 OBJS-$(CONFIG_PRORES_DECODER)          += proresdec.o proresdata.o proresdsp.o
371 OBJS-$(CONFIG_PRORES_ENCODER)          += proresenc.o proresdata.o
372 OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
373 OBJS-$(CONFIG_QCELP_DECODER)           += qcelpdec.o                     \
374                                           celp_filters.o acelp_vectors.o \
375                                           acelp_filters.o
376 OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o
377 OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o
378 OBJS-$(CONFIG_QPEG_DECODER)            += qpeg.o
379 OBJS-$(CONFIG_QTRLE_DECODER)           += qtrle.o
380 OBJS-$(CONFIG_QTRLE_ENCODER)           += qtrleenc.o
381 OBJS-$(CONFIG_R10K_DECODER)            += r210dec.o
382 OBJS-$(CONFIG_R210_DECODER)            += r210dec.o
383 OBJS-$(CONFIG_RA_144_DECODER)          += ra144dec.o ra144.o celp_filters.o
384 OBJS-$(CONFIG_RA_144_ENCODER)          += ra144enc.o ra144.o celp_filters.o
385 OBJS-$(CONFIG_RA_288_DECODER)          += ra288.o celp_filters.o
386 OBJS-$(CONFIG_RALF_DECODER)            += ralf.o
387 OBJS-$(CONFIG_RAWVIDEO_DECODER)        += rawdec.o
388 OBJS-$(CONFIG_RAWVIDEO_ENCODER)        += rawenc.o
389 OBJS-$(CONFIG_RL2_DECODER)             += rl2.o
390 OBJS-$(CONFIG_ROQ_DECODER)             += roqvideodec.o roqvideo.o
391 OBJS-$(CONFIG_ROQ_ENCODER)             += roqvideoenc.o roqvideo.o elbg.o
392 OBJS-$(CONFIG_ROQ_DPCM_DECODER)        += dpcm.o
393 OBJS-$(CONFIG_ROQ_DPCM_ENCODER)        += roqaudioenc.o
394 OBJS-$(CONFIG_RPZA_DECODER)            += rpza.o
395 OBJS-$(CONFIG_RSCC_DECODER)            += rscc.o
396 OBJS-$(CONFIG_RV10_DECODER)            += rv10.o
397 OBJS-$(CONFIG_RV10_ENCODER)            += rv10enc.o
398 OBJS-$(CONFIG_RV20_DECODER)            += rv10.o
399 OBJS-$(CONFIG_RV20_ENCODER)            += rv20enc.o
400 OBJS-$(CONFIG_RV30_DECODER)            += rv30.o rv34.o rv30dsp.o
401 OBJS-$(CONFIG_RV40_DECODER)            += rv40.o rv34.o rv40dsp.o
402 OBJS-$(CONFIG_S302M_DECODER)           += s302m.o
403 OBJS-$(CONFIG_SANM_DECODER)            += sanm.o
404 OBJS-$(CONFIG_SCREENPRESSO_DECODER)    += screenpresso.o
405 OBJS-$(CONFIG_SGI_DECODER)             += sgidec.o
406 OBJS-$(CONFIG_SGI_ENCODER)             += sgienc.o rle.o
407 OBJS-$(CONFIG_SGIRLE_DECODER)          += sgirledec.o
408 OBJS-$(CONFIG_SHORTEN_DECODER)         += shorten.o
409 OBJS-$(CONFIG_SIPR_DECODER)            += sipr.o acelp_pitch_delay.o \
410                                           celp_math.o acelp_vectors.o \
411                                           acelp_filters.o celp_filters.o \
412                                           sipr16k.o
413 OBJS-$(CONFIG_SMACKAUD_DECODER)        += smacker.o
414 OBJS-$(CONFIG_SMACKER_DECODER)         += smacker.o
415 OBJS-$(CONFIG_SMC_DECODER)             += smc.o
416 OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
417 OBJS-$(CONFIG_SP5X_DECODER)            += sp5xdec.o
418 OBJS-$(CONFIG_SRT_DECODER)             += srtdec.o ass.o
419 OBJS-$(CONFIG_SUNRAST_DECODER)         += sunrast.o
420 OBJS-$(CONFIG_SUNRAST_ENCODER)         += sunrastenc.o
421 OBJS-$(CONFIG_SVQ1_DECODER)            += svq1dec.o svq1.o svq13.o h263data.o
422 OBJS-$(CONFIG_SVQ1_ENCODER)            += svq1enc.o svq1.o  h263data.o  \
423                                           h263.o ituh263enc.o
424 OBJS-$(CONFIG_SVQ3_DECODER)            += svq3.o svq13.o mpegutils.o h264_parse.o h264data.o
425 OBJS-$(CONFIG_TAK_DECODER)             += takdec.o tak.o
426 OBJS-$(CONFIG_TARGA_DECODER)           += targa.o
427 OBJS-$(CONFIG_TARGA_ENCODER)           += targaenc.o rle.o
428 OBJS-$(CONFIG_TDSC_DECODER)            += tdsc.o
429 OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
430 OBJS-$(CONFIG_TIFF_DECODER)            += tiff.o lzw.o faxcompr.o
431 OBJS-$(CONFIG_TIFF_ENCODER)            += tiffenc.o rle.o lzwenc.o
432 OBJS-$(CONFIG_TMV_DECODER)             += tmv.o cga_data.o
433 OBJS-$(CONFIG_TRUEMOTION1_DECODER)     += truemotion1.o
434 OBJS-$(CONFIG_TRUEMOTION2_DECODER)     += truemotion2.o
435 OBJS-$(CONFIG_TRUESPEECH_DECODER)      += truespeech.o
436 OBJS-$(CONFIG_TSCC_DECODER)            += tscc.o msrledec.o
437 OBJS-$(CONFIG_TSCC2_DECODER)           += tscc2.o
438 OBJS-$(CONFIG_TTA_DECODER)             += tta.o
439 OBJS-$(CONFIG_TWINVQ_DECODER)          += twinvqdec.o twinvq.o
440 OBJS-$(CONFIG_TXD_DECODER)             += txd.o
441 OBJS-$(CONFIG_ULTI_DECODER)            += ulti.o
442 OBJS-$(CONFIG_UTVIDEO_DECODER)         += utvideodec.o utvideo.o
443 OBJS-$(CONFIG_UTVIDEO_ENCODER)         += utvideoenc.o utvideo.o
444 OBJS-$(CONFIG_V210_DECODER)            += v210dec.o
445 OBJS-$(CONFIG_V210_ENCODER)            += v210enc.o
446 OBJS-$(CONFIG_V410_DECODER)            += v410dec.o
447 OBJS-$(CONFIG_V410_ENCODER)            += v410enc.o
448 OBJS-$(CONFIG_V210X_DECODER)           += v210x.o
449 OBJS-$(CONFIG_VB_DECODER)              += vb.o
450 OBJS-$(CONFIG_VBLE_DECODER)            += vble.o
451 OBJS-$(CONFIG_VC1_DECODER)             += vc1dec.o vc1_block.o vc1_loopfilter.o \
452                                           vc1_mc.o vc1_pred.o vc1.o vc1data.o \
453                                           msmpeg4dec.o msmpeg4.o msmpeg4data.o \
454                                           wmv2data.o
455 OBJS-$(CONFIG_VCR1_DECODER)            += vcr1.o
456 OBJS-$(CONFIG_VMDAUDIO_DECODER)        += vmdaudio.o
457 OBJS-$(CONFIG_VMDVIDEO_DECODER)        += vmdvideo.o
458 OBJS-$(CONFIG_VMNC_DECODER)            += vmnc.o
459 OBJS-$(CONFIG_VORBIS_DECODER)          += vorbisdec.o vorbisdsp.o vorbis.o \
460                                           vorbis_data.o
461 OBJS-$(CONFIG_VORBIS_ENCODER)          += vorbisenc.o vorbis.o \
462                                           vorbis_data.o
463 OBJS-$(CONFIG_VP3_DECODER)             += vp3.o
464 OBJS-$(CONFIG_VP5_DECODER)             += vp5.o vp56.o vp56data.o vp56rac.o
465 OBJS-$(CONFIG_VP6_DECODER)             += vp6.o vp56.o vp56data.o \
466                                           vp6dsp.o vp56rac.o
467 OBJS-$(CONFIG_VP7_DECODER)             += vp8.o vp56rac.o
468 OBJS-$(CONFIG_VP8_DECODER)             += vp8.o vp56rac.o
469 OBJS-$(CONFIG_VP9_DECODER)             += vp9.o vp9data.o vp9dsp.o \
470                                           vp9block.o vp9prob.o vp9mvs.o vp56rac.o
471 OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
472 OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
473 OBJS-$(CONFIG_WEBP_DECODER)            += webp.o
474 OBJS-$(CONFIG_WMALOSSLESS_DECODER)     += wmalosslessdec.o wma_common.o
475 OBJS-$(CONFIG_WMAPRO_DECODER)          += wmaprodec.o wma.o wma_common.o
476 OBJS-$(CONFIG_WMAV1_DECODER)           += wmadec.o wma.o wma_common.o aactab.o
477 OBJS-$(CONFIG_WMAV1_ENCODER)           += wmaenc.o wma.o wma_common.o aactab.o
478 OBJS-$(CONFIG_WMAV2_DECODER)           += wmadec.o wma.o wma_common.o aactab.o
479 OBJS-$(CONFIG_WMAV2_ENCODER)           += wmaenc.o wma.o wma_common.o aactab.o
480 OBJS-$(CONFIG_WMAVOICE_DECODER)        += wmavoice.o \
481                                           celp_filters.o \
482                                           acelp_vectors.o acelp_filters.o
483 OBJS-$(CONFIG_WMV1_DECODER)            += msmpeg4dec.o msmpeg4.o msmpeg4data.o
484 OBJS-$(CONFIG_WMV2_DECODER)            += wmv2dec.o wmv2.o wmv2data.o \
485                                           msmpeg4dec.o msmpeg4.o msmpeg4data.o
486 OBJS-$(CONFIG_WMV2_ENCODER)            += wmv2enc.o wmv2.o wmv2data.o \
487                                           msmpeg4.o msmpeg4enc.o msmpeg4data.o
488 OBJS-$(CONFIG_WNV1_DECODER)            += wnv1.o
489 OBJS-$(CONFIG_WS_SND1_DECODER)         += ws-snd1.o
490 OBJS-$(CONFIG_WRAPPED_AVFRAME_ENCODER) += wrapped_avframe.o
491 OBJS-$(CONFIG_XAN_DPCM_DECODER)        += dpcm.o
492 OBJS-$(CONFIG_XAN_WC3_DECODER)         += xan.o
493 OBJS-$(CONFIG_XAN_WC4_DECODER)         += xxan.o
494 OBJS-$(CONFIG_XBM_DECODER)             += xbmdec.o
495 OBJS-$(CONFIG_XBM_ENCODER)             += xbmenc.o
496 OBJS-$(CONFIG_XL_DECODER)              += xl.o
497 OBJS-$(CONFIG_XSUB_DECODER)            += xsubdec.o
498 OBJS-$(CONFIG_XSUB_ENCODER)            += xsubenc.o
499 OBJS-$(CONFIG_XWD_DECODER)             += xwddec.o
500 OBJS-$(CONFIG_XWD_ENCODER)             += xwdenc.o
501 OBJS-$(CONFIG_YOP_DECODER)             += yop.o
502 OBJS-$(CONFIG_ZEROCODEC_DECODER)       += zerocodec.o
503 OBJS-$(CONFIG_ZLIB_DECODER)            += lcldec.o
504 OBJS-$(CONFIG_ZLIB_ENCODER)            += lclenc.o
505 OBJS-$(CONFIG_ZMBV_DECODER)            += zmbv.o
506 OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
507
508 # (AD)PCM decoders/encoders
509 OBJS-$(CONFIG_PCM_ALAW_DECODER)           += pcm.o
510 OBJS-$(CONFIG_PCM_ALAW_ENCODER)           += pcm.o
511 OBJS-$(CONFIG_PCM_BLURAY_DECODER)         += pcm-bluray.o
512 OBJS-$(CONFIG_PCM_DVD_DECODER)            += pcm-dvd.o
513 OBJS-$(CONFIG_PCM_F32BE_DECODER)          += pcm.o
514 OBJS-$(CONFIG_PCM_F32BE_ENCODER)          += pcm.o
515 OBJS-$(CONFIG_PCM_F32LE_DECODER)          += pcm.o
516 OBJS-$(CONFIG_PCM_F32LE_ENCODER)          += pcm.o
517 OBJS-$(CONFIG_PCM_F64BE_DECODER)          += pcm.o
518 OBJS-$(CONFIG_PCM_F64BE_ENCODER)          += pcm.o
519 OBJS-$(CONFIG_PCM_F64LE_DECODER)          += pcm.o
520 OBJS-$(CONFIG_PCM_F64LE_ENCODER)          += pcm.o
521 OBJS-$(CONFIG_PCM_LXF_DECODER)            += pcm.o
522 OBJS-$(CONFIG_PCM_MULAW_DECODER)          += pcm.o
523 OBJS-$(CONFIG_PCM_MULAW_ENCODER)          += pcm.o
524 OBJS-$(CONFIG_PCM_S8_DECODER)             += pcm.o
525 OBJS-$(CONFIG_PCM_S8_ENCODER)             += pcm.o
526 OBJS-$(CONFIG_PCM_S8_PLANAR_DECODER)      += 8svx.o
527 OBJS-$(CONFIG_PCM_S16BE_DECODER)          += pcm.o
528 OBJS-$(CONFIG_PCM_S16BE_ENCODER)          += pcm.o
529 OBJS-$(CONFIG_PCM_S16BE_PLANAR_DECODER)   += pcm.o
530 OBJS-$(CONFIG_PCM_S16LE_DECODER)          += pcm.o
531 OBJS-$(CONFIG_PCM_S16LE_ENCODER)          += pcm.o
532 OBJS-$(CONFIG_PCM_S16LE_PLANAR_DECODER)   += pcm.o
533 OBJS-$(CONFIG_PCM_S24BE_DECODER)          += pcm.o
534 OBJS-$(CONFIG_PCM_S24BE_ENCODER)          += pcm.o
535 OBJS-$(CONFIG_PCM_S24DAUD_DECODER)        += pcm.o
536 OBJS-$(CONFIG_PCM_S24DAUD_ENCODER)        += pcm.o
537 OBJS-$(CONFIG_PCM_S24LE_DECODER)          += pcm.o
538 OBJS-$(CONFIG_PCM_S24LE_ENCODER)          += pcm.o
539 OBJS-$(CONFIG_PCM_S24LE_PLANAR_DECODER)   += pcm.o
540 OBJS-$(CONFIG_PCM_S32BE_DECODER)          += pcm.o
541 OBJS-$(CONFIG_PCM_S32BE_ENCODER)          += pcm.o
542 OBJS-$(CONFIG_PCM_S32LE_DECODER)          += pcm.o
543 OBJS-$(CONFIG_PCM_S32LE_ENCODER)          += pcm.o
544 OBJS-$(CONFIG_PCM_S32LE_PLANAR_DECODER)   += pcm.o
545 OBJS-$(CONFIG_PCM_U8_DECODER)             += pcm.o
546 OBJS-$(CONFIG_PCM_U8_ENCODER)             += pcm.o
547 OBJS-$(CONFIG_PCM_U16BE_DECODER)          += pcm.o
548 OBJS-$(CONFIG_PCM_U16BE_ENCODER)          += pcm.o
549 OBJS-$(CONFIG_PCM_U16LE_DECODER)          += pcm.o
550 OBJS-$(CONFIG_PCM_U16LE_ENCODER)          += pcm.o
551 OBJS-$(CONFIG_PCM_U24BE_DECODER)          += pcm.o
552 OBJS-$(CONFIG_PCM_U24BE_ENCODER)          += pcm.o
553 OBJS-$(CONFIG_PCM_U24LE_DECODER)          += pcm.o
554 OBJS-$(CONFIG_PCM_U24LE_ENCODER)          += pcm.o
555 OBJS-$(CONFIG_PCM_U32BE_DECODER)          += pcm.o
556 OBJS-$(CONFIG_PCM_U32BE_ENCODER)          += pcm.o
557 OBJS-$(CONFIG_PCM_U32LE_DECODER)          += pcm.o
558 OBJS-$(CONFIG_PCM_U32LE_ENCODER)          += pcm.o
559 OBJS-$(CONFIG_PCM_ZORK_DECODER)           += pcm.o
560
561 OBJS-$(CONFIG_ADPCM_4XM_DECODER)          += adpcm.o adpcm_data.o
562 OBJS-$(CONFIG_ADPCM_ADX_DECODER)          += adxdec.o adx.o
563 OBJS-$(CONFIG_ADPCM_ADX_ENCODER)          += adxenc.o adx.o
564 OBJS-$(CONFIG_ADPCM_CT_DECODER)           += adpcm.o adpcm_data.o
565 OBJS-$(CONFIG_ADPCM_EA_DECODER)           += adpcm.o adpcm_data.o
566 OBJS-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER)  += adpcm.o adpcm_data.o
567 OBJS-$(CONFIG_ADPCM_EA_R1_DECODER)        += adpcm.o adpcm_data.o
568 OBJS-$(CONFIG_ADPCM_EA_R2_DECODER)        += adpcm.o adpcm_data.o
569 OBJS-$(CONFIG_ADPCM_EA_R3_DECODER)        += adpcm.o adpcm_data.o
570 OBJS-$(CONFIG_ADPCM_EA_XAS_DECODER)       += adpcm.o adpcm_data.o
571 OBJS-$(CONFIG_ADPCM_G722_DECODER)         += g722.o g722dsp.o g722dec.o
572 OBJS-$(CONFIG_ADPCM_G722_ENCODER)         += g722.o g722dsp.o g722enc.o
573 OBJS-$(CONFIG_ADPCM_G726_DECODER)         += g726.o
574 OBJS-$(CONFIG_ADPCM_G726_ENCODER)         += g726.o
575 OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER)      += adpcm.o adpcm_data.o
576 OBJS-$(CONFIG_ADPCM_IMA_APC_DECODER)      += adpcm.o adpcm_data.o
577 OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER)      += adpcm.o adpcm_data.o
578 OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER)      += adpcm.o adpcm_data.o
579 OBJS-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER)  += adpcm.o adpcm_data.o
580 OBJS-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER)  += adpcm.o adpcm_data.o
581 OBJS-$(CONFIG_ADPCM_IMA_ISS_DECODER)      += adpcm.o adpcm_data.o
582 OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER)       += adpcm.o adpcm_data.o
583 OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER)       += adpcmenc.o adpcm_data.o
584 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER)   += adpcm.o adpcm_data.o
585 OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER)      += adpcm.o adpcm_data.o
586 OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER)      += adpcmenc.o adpcm_data.o
587 OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER)       += adpcm.o adpcm_data.o
588 OBJS-$(CONFIG_ADPCM_MS_DECODER)           += adpcm.o adpcm_data.o
589 OBJS-$(CONFIG_ADPCM_MS_ENCODER)           += adpcmenc.o adpcm_data.o
590 OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER)      += adpcm.o adpcm_data.o
591 OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER)      += adpcm.o adpcm_data.o
592 OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER)      += adpcm.o adpcm_data.o
593 OBJS-$(CONFIG_ADPCM_SWF_DECODER)          += adpcm.o adpcm_data.o
594 OBJS-$(CONFIG_ADPCM_SWF_ENCODER)          += adpcmenc.o adpcm_data.o
595 OBJS-$(CONFIG_ADPCM_THP_DECODER)          += adpcm.o adpcm_data.o
596 OBJS-$(CONFIG_ADPCM_VIMA_DECODER)         += vima.o adpcm_data.o
597 OBJS-$(CONFIG_ADPCM_XA_DECODER)           += adpcm.o adpcm_data.o
598 OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)       += adpcm.o adpcm_data.o
599 OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)       += adpcmenc.o adpcm_data.o
600
601 # hardware accelerators
602 OBJS-$(CONFIG_D3D11VA)                    += dxva2.o
603 OBJS-$(CONFIG_DXVA2)                      += dxva2.o
604 OBJS-$(CONFIG_VAAPI)                      += vaapi.o
605 OBJS-$(CONFIG_VDA)                        += vda.o
606 OBJS-$(CONFIG_VDPAU)                      += vdpau.o
607
608 OBJS-$(CONFIG_H263_VAAPI_HWACCEL)         += vaapi_mpeg4.o
609 OBJS-$(CONFIG_H264_D3D11VA_HWACCEL)       += dxva2_h264.o
610 OBJS-$(CONFIG_H264_DXVA2_HWACCEL)         += dxva2_h264.o
611 OBJS-$(CONFIG_H264_VAAPI_HWACCEL)         += vaapi_h264.o
612 OBJS-$(CONFIG_H264_VDA_HWACCEL)           += vda_h264.o
613 OBJS-$(CONFIG_H264_VDPAU_HWACCEL)         += vdpau_h264.o
614 OBJS-$(CONFIG_HEVC_D3D11VA_HWACCEL)       += dxva2_hevc.o
615 OBJS-$(CONFIG_HEVC_DXVA2_HWACCEL)         += dxva2_hevc.o
616 OBJS-$(CONFIG_HEVC_VDPAU_HWACCEL)         += vdpau_hevc.o
617 OBJS-$(CONFIG_MPEG1_VDPAU_HWACCEL)        += vdpau_mpeg12.o
618 OBJS-$(CONFIG_MPEG2_D3D11VA_HWACCEL)      += dxva2_mpeg2.o
619 OBJS-$(CONFIG_MPEG2_DXVA2_HWACCEL)        += dxva2_mpeg2.o
620 OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL)        += vaapi_mpeg2.o
621 OBJS-$(CONFIG_MPEG2_VDPAU_HWACCEL)        += vdpau_mpeg12.o
622 OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL)        += vaapi_mpeg4.o
623 OBJS-$(CONFIG_MPEG4_VDPAU_HWACCEL)        += vdpau_mpeg4.o
624 OBJS-$(CONFIG_VC1_D3D11VA_HWACCEL)        += dxva2_vc1.o
625 OBJS-$(CONFIG_VC1_DXVA2_HWACCEL)          += dxva2_vc1.o
626 OBJS-$(CONFIG_VC1_VAAPI_HWACCEL)          += vaapi_vc1.o
627 OBJS-$(CONFIG_VC1_VDPAU_HWACCEL)          += vdpau_vc1.o
628
629 # libavformat dependencies
630 OBJS-$(CONFIG_ISO_MEDIA)               += mpeg4audio.o mpegaudiodata.o
631
632 OBJS-$(CONFIG_ADTS_MUXER)              += mpeg4audio.o
633 OBJS-$(CONFIG_CAF_DEMUXER)             += ac3tab.o
634 OBJS-$(CONFIG_FLAC_MUXER)              += flac.o flacdata.o
635 OBJS-$(CONFIG_FLV_DEMUXER)             += mpeg4audio.o
636 OBJS-$(CONFIG_GXF_DEMUXER)             += mpeg12data.o
637 OBJS-$(CONFIG_IFF_DEMUXER)             += iff.o
638 OBJS-$(CONFIG_LATM_MUXER)              += mpeg4audio.o
639 OBJS-$(CONFIG_MATROSKA_AUDIO_MUXER)    += mpeg4audio.o                  \
640                                           flac.o flacdata.o
641 OBJS-$(CONFIG_MATROSKA_MUXER)          += flac.o flacdata.o
642 OBJS-$(CONFIG_MP2_MUXER)               += mpegaudiodata.o mpegaudiodecheader.o
643 OBJS-$(CONFIG_MP3_MUXER)               += mpegaudiodata.o mpegaudiodecheader.o
644 OBJS-$(CONFIG_MOV_DEMUXER)             += ac3tab.o
645 OBJS-$(CONFIG_MPEGTS_MUXER)            += mpeg4audio.o
646 OBJS-$(CONFIG_NUT_MUXER)               += mpegaudiodata.o
647 OBJS-$(CONFIG_OGG_DEMUXER)             += mpeg12data.o \
648                                           dirac.o
649 OBJS-$(CONFIG_OGG_MUXER)               += flac.o flacdata.o
650 OBJS-$(CONFIG_RTP_MUXER)               += mpeg4audio.o
651 OBJS-$(CONFIG_SPDIF_DEMUXER)           += aacadtsdec.o mpeg4audio.o
652 OBJS-$(CONFIG_SPDIF_MUXER)             += dca.o
653 OBJS-$(CONFIG_TAK_DEMUXER)             += tak.o
654 OBJS-$(CONFIG_WEBM_MUXER)              += mpeg4audio.o mpegaudiodata.o  \
655                                           flac.o flacdata.o
656
657 # external codec libraries
658 OBJS-$(CONFIG_LIBDCADEC_DECODER)          += libdcadec.o dca.o
659 OBJS-$(CONFIG_LIBFAAC_ENCODER)            += libfaac.o
660 OBJS-$(CONFIG_LIBFDK_AAC_DECODER)         += libfdk-aacdec.o
661 OBJS-$(CONFIG_LIBFDK_AAC_ENCODER)         += libfdk-aacenc.o
662 OBJS-$(CONFIG_LIBGSM_DECODER)             += libgsmdec.o
663 OBJS-$(CONFIG_LIBGSM_ENCODER)             += libgsmenc.o
664 OBJS-$(CONFIG_LIBGSM_MS_DECODER)          += libgsmdec.o
665 OBJS-$(CONFIG_LIBGSM_MS_ENCODER)          += libgsmenc.o
666 OBJS-$(CONFIG_LIBILBC_DECODER)            += libilbc.o
667 OBJS-$(CONFIG_LIBILBC_ENCODER)            += libilbc.o
668 OBJS-$(CONFIG_LIBKVAZAAR_ENCODER)         += libkvazaar.o
669 OBJS-$(CONFIG_LIBMP3LAME_ENCODER)         += libmp3lame.o mpegaudiodecheader.o
670 OBJS-$(CONFIG_LIBOPENCORE_AMRNB_DECODER)  += libopencore-amr.o
671 OBJS-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER)  += libopencore-amr.o
672 OBJS-$(CONFIG_LIBOPENCORE_AMRWB_DECODER)  += libopencore-amr.o
673 OBJS-$(CONFIG_LIBOPENH264_ENCODER)        += libopenh264enc.o
674 OBJS-$(CONFIG_LIBOPENJPEG_DECODER)        += libopenjpegdec.o
675 OBJS-$(CONFIG_LIBOPENJPEG_ENCODER)        += libopenjpegenc.o
676 OBJS-$(CONFIG_LIBOPUS_DECODER)            += libopusdec.o libopus.o     \
677                                              vorbis_data.o
678 OBJS-$(CONFIG_LIBOPUS_ENCODER)            += libopusenc.o libopus.o     \
679                                              vorbis_data.o
680 OBJS-$(CONFIG_LIBSCHROEDINGER_DECODER)    += libschroedingerdec.o \
681                                              libschroedinger.o
682 OBJS-$(CONFIG_LIBSCHROEDINGER_ENCODER)    += libschroedingerenc.o \
683                                              libschroedinger.o
684 OBJS-$(CONFIG_LIBSPEEX_DECODER)           += libspeexdec.o
685 OBJS-$(CONFIG_LIBSPEEX_ENCODER)           += libspeexenc.o
686 OBJS-$(CONFIG_LIBTHEORA_ENCODER)          += libtheoraenc.o
687 OBJS-$(CONFIG_LIBTWOLAME_ENCODER)         += libtwolame.o
688 OBJS-$(CONFIG_LIBVO_AACENC_ENCODER)       += libvo-aacenc.o mpeg4audio.o
689 OBJS-$(CONFIG_LIBVO_AMRWBENC_ENCODER)     += libvo-amrwbenc.o
690 OBJS-$(CONFIG_LIBVORBIS_ENCODER)          += libvorbis.o \
691                                              vorbis_data.o
692 OBJS-$(CONFIG_LIBVPX_VP8_DECODER)         += libvpxdec.o libvpx.o
693 OBJS-$(CONFIG_LIBVPX_VP8_ENCODER)         += libvpxenc.o libvpx.o
694 OBJS-$(CONFIG_LIBVPX_VP9_DECODER)         += libvpxdec.o libvpx.o
695 OBJS-$(CONFIG_LIBVPX_VP9_ENCODER)         += libvpxenc.o libvpx.o
696 OBJS-$(CONFIG_LIBWAVPACK_ENCODER)         += libwavpackenc.o
697 OBJS-$(CONFIG_LIBWEBP_ENCODER)            += libwebpenc.o
698 OBJS-$(CONFIG_LIBX262_ENCODER)            += libx264.o
699 OBJS-$(CONFIG_LIBX264_ENCODER)            += libx264.o
700 OBJS-$(CONFIG_LIBX265_ENCODER)            += libx265.o
701 OBJS-$(CONFIG_LIBXAVS_ENCODER)            += libxavs.o
702 OBJS-$(CONFIG_LIBXVID_ENCODER)            += libxvid.o
703
704 # parsers
705 OBJS-$(CONFIG_AAC_PARSER)              += aac_parser.o aac_ac3_parser.o \
706                                           aacadtsdec.o mpeg4audio.o
707 OBJS-$(CONFIG_AAC_LATM_PARSER)         += latm_parser.o
708 OBJS-$(CONFIG_AC3_PARSER)              += ac3_parser.o ac3tab.o \
709                                           aac_ac3_parser.o
710 OBJS-$(CONFIG_ADX_PARSER)              += adx_parser.o adx.o
711 OBJS-$(CONFIG_BMP_PARSER)              += bmp_parser.o
712 OBJS-$(CONFIG_CAVSVIDEO_PARSER)        += cavs_parser.o
713 OBJS-$(CONFIG_COOK_PARSER)             += cook_parser.o
714 OBJS-$(CONFIG_DCA_PARSER)              += dca_parser.o dca.o
715 OBJS-$(CONFIG_DIRAC_PARSER)            += dirac_parser.o
716 OBJS-$(CONFIG_DNXHD_PARSER)            += dnxhd_parser.o
717 OBJS-$(CONFIG_DPX_PARSER)              += dpx_parser.o
718 OBJS-$(CONFIG_DVBSUB_PARSER)           += dvbsub_parser.o
719 OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
720 OBJS-$(CONFIG_FLAC_PARSER)             += flac_parser.o flacdata.o flac.o
721 OBJS-$(CONFIG_GSM_PARSER)              += gsm_parser.o
722 OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
723 OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
724 OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o h264_parse.o
725 OBJS-$(CONFIG_HEVC_PARSER)             += hevc_parser.o h2645_parse.o hevc_ps.o hevc_data.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                                           mpeg4videodec.o mpeg4video.o \
730                                           ituh263dec.o h263dec.o h263data.o
731 OBJS-$(CONFIG_MPEGAUDIO_PARSER)        += mpegaudio_parser.o \
732                                           mpegaudiodecheader.o mpegaudiodata.o
733 OBJS-$(CONFIG_MPEGVIDEO_PARSER)        += mpegvideo_parser.o    \
734                                           mpeg12.o mpeg12data.o
735 OBJS-$(CONFIG_OPUS_PARSER)             += opus_parser.o opus.o vorbis_data.o
736 OBJS-$(CONFIG_PNG_PARSER)              += png_parser.o
737 OBJS-$(CONFIG_PNM_PARSER)              += pnm_parser.o pnm.o
738 OBJS-$(CONFIG_RV30_PARSER)             += rv34_parser.o
739 OBJS-$(CONFIG_RV40_PARSER)             += rv34_parser.o
740 OBJS-$(CONFIG_TAK_PARSER)              += tak_parser.o tak.o
741 OBJS-$(CONFIG_VC1_PARSER)              += vc1_parser.o vc1.o vc1data.o  \
742                                           simple_idct.o wmv2data.o
743 OBJS-$(CONFIG_VP3_PARSER)              += vp3_parser.o
744 OBJS-$(CONFIG_VP8_PARSER)              += vp8_parser.o
745
746 # bitstream filters
747 OBJS-$(CONFIG_AAC_ADTSTOASC_BSF)          += aac_adtstoasc_bsf.o aacadtsdec.o \
748                                              mpeg4audio.o
749 OBJS-$(CONFIG_CHOMP_BSF)                  += chomp_bsf.o
750 OBJS-$(CONFIG_DUMP_EXTRADATA_BSF)         += dump_extradata_bsf.o
751 OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF)       += h264_mp4toannexb_bsf.o
752 OBJS-$(CONFIG_HEVC_MP4TOANNEXB_BSF)       += hevc_mp4toannexb_bsf.o
753 OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF)        += imx_dump_header_bsf.o
754 OBJS-$(CONFIG_MJPEG2JPEG_BSF)             += mjpeg2jpeg_bsf.o
755 OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF)     += mjpega_dump_header_bsf.o
756 OBJS-$(CONFIG_MOV2TEXTSUB_BSF)            += movsub_bsf.o
757 OBJS-$(CONFIG_NOISE_BSF)                  += noise_bsf.o
758 OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF)       += remove_extradata_bsf.o
759 OBJS-$(CONFIG_TEXT2MOVSUB_BSF)            += movsub_bsf.o
760
761 # thread libraries
762 OBJS-$(HAVE_LIBC_MSVCRT)               += file_open.o
763 OBJS-$(HAVE_THREADS)                   += pthread.o pthread_slice.o pthread_frame.o
764
765 SKIPHEADERS                            += %_tablegen.h                  \
766                                           %_tables.h                    \
767                                           aac_tablegen_decl.h           \
768                                           fft-internal.h                \
769                                           tableprint.h                  \
770                                           $(ARCH)/vp56_arith.h          \
771
772 SKIPHEADERS-$(CONFIG_D3D11VA)          += d3d11va.h dxva2_internal.h
773 SKIPHEADERS-$(CONFIG_DXVA2)            += dxva2.h dxva2_internal.h
774 SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
775 SKIPHEADERS-$(CONFIG_LIBVPX)           += libvpx.h
776 SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h
777 SKIPHEADERS-$(CONFIG_NVENC)            += nvenc.h
778 SKIPHEADERS-$(CONFIG_QSV)              += qsv.h qsv_internal.h
779 SKIPHEADERS-$(CONFIG_QSVDEC)           += qsvdec.h
780 SKIPHEADERS-$(CONFIG_QSVENC)           += qsvenc.h
781 SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
782 SKIPHEADERS-$(CONFIG_VDA)              += vda.h vda_internal.h
783 SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h vdpau_internal.h
784
785 TESTPROGS-$(CONFIG_FFT)                   += fft fft-fixed
786 TESTPROGS-$(CONFIG_IDCTDSP)               += dct
787 TESTPROGS-$(CONFIG_IIRFILTER)             += iirfilter
788 TESTPROGS-$(CONFIG_GOLOMB)                += golomb
789 TESTPROGS-$(CONFIG_RANGECODER)            += rangecoder
790
791 TESTOBJS = dctref.o
792
793 HOSTPROGS = aac_tablegen                                                \
794             aacps_tablegen                                              \
795             cbrt_tablegen                                               \
796             cos_tablegen                                                \
797             dv_tablegen                                                 \
798             motionpixels_tablegen                                       \
799             mpegaudio_tablegen                                          \
800             pcm_tablegen                                                \
801             qdm2_tablegen                                               \
802             sinewin_tablegen                                            \
803
804 CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
805
806 $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)aandcttab.o
807 $(SUBDIR)dv_tablegen$(HOSTEXESUF): $(SUBDIR)dvdata_host.o
808
809 TRIG_TABLES  = cos cos_fixed sin
810 TRIG_TABLES := $(TRIG_TABLES:%=$(SUBDIR)%_tables.c)
811
812 $(TRIG_TABLES): $(SUBDIR)%_tables.c: $(SUBDIR)cos_tablegen$(HOSTEXESUF)
813         $(M)./$< $* > $@
814
815 ifdef CONFIG_SMALL
816 $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=1
817 else
818 $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=0
819 endif
820
821 GEN_HEADERS = cbrt_tables.h aacps_tables.h aac_tables.h dv_tables.h     \
822               sinewin_tables.h mpegaudio_tables.h motionpixels_tables.h \
823               pcm_tables.h qdm2_tables.h
824 GEN_HEADERS := $(addprefix $(SUBDIR), $(GEN_HEADERS))
825
826 $(GEN_HEADERS): $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
827         $(M)./$< > $@
828
829 ifdef CONFIG_HARDCODED_TABLES
830 $(SUBDIR)aacdec.o: $(SUBDIR)cbrt_tables.h
831 $(SUBDIR)aacps.o: $(SUBDIR)aacps_tables.h
832 $(SUBDIR)aactab.o: $(SUBDIR)aac_tables.h
833 $(SUBDIR)dvenc.o: $(SUBDIR)dv_tables.h
834 $(SUBDIR)sinewin.o: $(SUBDIR)sinewin_tables.h
835 $(SUBDIR)mpegaudiodec_fixed.o: $(SUBDIR)mpegaudio_tables.h
836 $(SUBDIR)mpegaudiodec_float.o: $(SUBDIR)mpegaudio_tables.h
837 $(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h
838 $(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h
839 $(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h
840 endif