Makefile 62 KB
Newer Older
1 2
include $(SUBDIR)../config.mak

3 4
NAME = avcodec

5
HEADERS = avcodec.h                                                     \
6
          avdct.h                                                       \
7
          avfft.h                                                       \
8
          d3d11va.h                                                     \
9
          dirac.h                                                       \
10
          dv_profile.h                                                  \
11
          dxva2.h                                                       \
12
          jni.h                                                         \
13
          qsv.h                                                         \
14 15 16 17
          vaapi.h                                                       \
          vda.h                                                         \
          vdpau.h                                                       \
          version.h                                                     \
18
          videotoolbox.h                                                \
19
          vorbis_parser.h                                               \
20
          xvmc.h                                                        \
21

22 23
OBJS = allcodecs.o                                                      \
       audioconvert.o                                                   \
Michael Niedermayer's avatar
Michael Niedermayer committed
24
       avdct.o                                                          \
25
       avpacket.o                                                       \
26
       avpicture.o                                                      \
27 28
       bitstream.o                                                      \
       bitstream_filter.o                                               \
29 30
       bitstream_filters.o                                              \
       bsf.o                                                            \
31
       codec_desc.o                                                     \
32
       d3d11va.o                                                        \
33
       dirac.o                                                          \
34
       dv_profile.o                                                     \
35
       imgconvert.o                                                     \
36
       jni.o                                                            \
37
       mathtables.o                                                     \
38
       options.o                                                        \
39
       parser.o                                                         \
40
       profiles.o                                                       \
41
       qsv_api.o                                                        \
42
       raw.o                                                            \
43 44
       resample.o                                                       \
       resample2.o                                                      \
45
       utils.o                                                          \
46
       vorbis_parser.o                                                  \
47
       xiph.o                                                           \
48

49
# subsystems
50
OBJS-$(CONFIG_AANDCTTABLES)            += aandcttab.o
51
OBJS-$(CONFIG_AC3DSP)                  += ac3dsp.o
52
OBJS-$(CONFIG_AUDIO_FRAME_QUEUE)       += audio_frame_queue.o
53
OBJS-$(CONFIG_AUDIODSP)                += audiodsp.o
54
OBJS-$(CONFIG_BLOCKDSP)                += blockdsp.o
55
OBJS-$(CONFIG_BSWAPDSP)                += bswapdsp.o
56
OBJS-$(CONFIG_CABAC)                   += cabac.o
57
OBJS-$(CONFIG_CRYSTALHD)               += crystalhd.o
58
OBJS-$(CONFIG_DCT)                     += dct.o dct32_fixed.o dct32_float.o
59
OBJS-$(CONFIG_ERROR_RESILIENCE)        += error_resilience.o
60
OBJS-$(CONFIG_EXIF)                    += exif.o tiff_common.o
61 62 63
OBJS-$(CONFIG_FAANDCT)                 += faandct.o
OBJS-$(CONFIG_FAANIDCT)                += faanidct.o
OBJS-$(CONFIG_FDCTDSP)                 += fdctdsp.o jfdctfst.o jfdctint.o
Mans Rullgard's avatar
Mans Rullgard committed
64 65
FFT-OBJS-$(CONFIG_HARDCODED_TABLES)    += cos_tables.o cos_fixed_tables.o
OBJS-$(CONFIG_FFT)                     += avfft.o fft_fixed.o fft_float.o \
66
                                          fft_fixed_32.o fft_init_table.o \
Mans Rullgard's avatar
Mans Rullgard committed
67
                                          $(FFT-OBJS-yes)
68
OBJS-$(CONFIG_FLACDSP)                 += flacdsp.o
69
OBJS-$(CONFIG_FMTCONVERT)              += fmtconvert.o
70
OBJS-$(CONFIG_GOLOMB)                  += golomb.o
71
OBJS-$(CONFIG_H263DSP)                 += h263dsp.o
72
OBJS-$(CONFIG_H264CHROMA)              += h264chroma.o
73 74
OBJS-$(CONFIG_H264DSP)                 += h264dsp.o h264idct.o
OBJS-$(CONFIG_H264PRED)                += h264pred.o
75
OBJS-$(CONFIG_H264QPEL)                += h264qpel.o
76
OBJS-$(CONFIG_H264_VIDEOTOOLBOX_ENCODER) += videotoolboxenc.o
77
OBJS-$(CONFIG_HPELDSP)                 += hpeldsp.o
78
OBJS-$(CONFIG_HUFFMAN)                 += huffman.o
79
OBJS-$(CONFIG_HUFFYUVDSP)              += huffyuvdsp.o
80
OBJS-$(CONFIG_HUFFYUVENCDSP)           += huffyuvencdsp.o
81
OBJS-$(CONFIG_IDCTDSP)                 += idctdsp.o simple_idct.o jrevdct.o
82
OBJS-$(CONFIG_IIRFILTER)               += iirfilter.o
83
OBJS-$(CONFIG_IMDCT15)                 += imdct15.o
84
OBJS-$(CONFIG_INTRAX8)                 += intrax8.o intrax8dsp.o
85
OBJS-$(CONFIG_IVIDSP)                  += ivi_dsp.o
86
OBJS-$(CONFIG_JNI)                     += ffjni.o jni.o
87
OBJS-$(CONFIG_JPEGTABLES)              += jpegtables.o
88
OBJS-$(CONFIG_LIBXVID)                 += libxvid_rc.o
89
OBJS-$(CONFIG_LLAUDDSP)                += lossless_audiodsp.o
90
OBJS-$(CONFIG_LLVIDDSP)                += lossless_videodsp.o
91
OBJS-$(CONFIG_LPC)                     += lpc.o
92
OBJS-$(CONFIG_LSP)                     += lsp.o
93
OBJS-$(CONFIG_LZF)                     += lzf.o
94
OBJS-$(CONFIG_MDCT)                    += mdct_fixed.o mdct_float.o mdct_fixed_32.o
95
OBJS-$(CONFIG_ME_CMP)                  += me_cmp.o
96
OBJS-$(CONFIG_MEDIACODEC)              += mediacodecdec.o mediacodec_wrapper.o mediacodec_sw_buffer.o
97
OBJS-$(CONFIG_MPEG_ER)                 += mpeg_er.o
98 99
OBJS-$(CONFIG_MPEGAUDIO)               += mpegaudio.o mpegaudiodata.o   \
                                          mpegaudiodecheader.o
100
OBJS-$(CONFIG_MPEGAUDIODSP)            += mpegaudiodsp.o                \
101
                                          mpegaudiodsp_data.o           \
102 103
                                          mpegaudiodsp_fixed.o          \
                                          mpegaudiodsp_float.o
104
OBJS-$(CONFIG_MPEGVIDEO)               += mpegvideo.o mpegvideodsp.o rl.o \
105
                                          mpegvideo_motion.o mpegutils.o \
106
                                          mpegvideodata.o mpegpicture.o
107
OBJS-$(CONFIG_MPEGVIDEOENC)            += mpegvideo_enc.o mpeg12data.o  \
108 109
                                          motion_est.o ratecontrol.o    \
                                          mpegvideoencdsp.o
110
OBJS-$(CONFIG_MSS34DSP)                += mss34dsp.o
111
OBJS-$(CONFIG_PIXBLOCKDSP)             += pixblockdsp.o
112
OBJS-$(CONFIG_QPELDSP)                 += qpeldsp.o
113
OBJS-$(CONFIG_RANGECODER)              += rangecoder.o
114 115
RDFT-OBJS-$(CONFIG_HARDCODED_TABLES)   += sin_tables.o
OBJS-$(CONFIG_RDFT)                    += rdft.o $(RDFT-OBJS-yes)
116
OBJS-$(CONFIG_RV34DSP)                 += rv34dsp.o
117
OBJS-$(CONFIG_SHARED)                  += log2_tab.o reverse.o
118
OBJS-$(CONFIG_SINEWIN)                 += sinewin.o sinewin_fixed.o
119
OBJS-$(CONFIG_SNAPPY)                  += snappy.o
120
OBJS-$(CONFIG_STARTCODE)               += startcode.o
121 122
OBJS-$(CONFIG_TEXTUREDSP)              += texturedsp.o
OBJS-$(CONFIG_TEXTUREDSPENC)           += texturedspenc.o
123
OBJS-$(CONFIG_TPELDSP)                 += tpeldsp.o
124
OBJS-$(CONFIG_VAAPI_ENCODE)            += vaapi_encode.o
125
OBJS-$(CONFIG_VC1DSP)                  += vc1dsp.o
126
OBJS-$(CONFIG_VIDEODSP)                += videodsp.o
127
OBJS-$(CONFIG_VP3DSP)                  += vp3dsp.o
128
OBJS-$(CONFIG_VP56DSP)                 += vp56dsp.o
129
OBJS-$(CONFIG_VP8DSP)                  += vp8dsp.o
130
OBJS-$(CONFIG_WMA_FREQS)               += wma_freqs.o
131
OBJS-$(CONFIG_WMV2DSP)                 += wmv2dsp.o
132

133
# decoders/encoders
Carl Eugen Hoyos's avatar
Carl Eugen Hoyos committed
134
OBJS-$(CONFIG_ZERO12V_DECODER)         += 012v.o
135 136
OBJS-$(CONFIG_A64MULTI_ENCODER)        += a64multienc.o elbg.o
OBJS-$(CONFIG_A64MULTI5_ENCODER)       += a64multienc.o elbg.o
137
OBJS-$(CONFIG_AAC_DECODER)             += aacdec.o aactab.o aacsbr.o aacps_float.o \
138
                                          aacadtsdec.o mpeg4audio.o kbdwin.o \
139
                                          sbrdsp.o aacpsdsp_float.o cbrt_data.o
140
OBJS-$(CONFIG_AAC_FIXED_DECODER)       += aacdec_fixed.o aactab.o aacsbr_fixed.o aacps_fixed.o \
141
                                          aacadtsdec.o mpeg4audio.o kbdwin.o \
142
                                          sbrdsp_fixed.o aacpsdsp_fixed.o cbrt_data_fixed.o
143
OBJS-$(CONFIG_AAC_ENCODER)             += aacenc.o aaccoder.o aacenctab.o    \
144
                                          aacpsy.o aactab.o      \
145
                                          aacenc_is.o \
146
                                          aacenc_tns.o \
147
                                          aacenc_ltp.o \
148
                                          aacenc_pred.o \
149
                                          psymodel.o mpeg4audio.o kbdwin.o cbrt_data.o
150
OBJS-$(CONFIG_AASC_DECODER)            += aasc.o msrledec.o
151 152
OBJS-$(CONFIG_AC3_DECODER)             += ac3dec_float.o ac3dec_data.o ac3.o kbdwin.o
OBJS-$(CONFIG_AC3_FIXED_DECODER)       += ac3dec_fixed.o ac3dec_data.o ac3.o kbdwin.o
153 154 155
OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc_float.o ac3enc.o ac3tab.o \
                                          ac3.o kbdwin.o
OBJS-$(CONFIG_AC3_FIXED_ENCODER)       += ac3enc_fixed.o ac3enc.o ac3tab.o ac3.o
156
OBJS-$(CONFIG_AIC_DECODER)             += aic.o
157
OBJS-$(CONFIG_ALAC_DECODER)            += alac.o alac_data.o alacdsp.o
158
OBJS-$(CONFIG_ALAC_ENCODER)            += alacenc.o alac_data.o
159 160
OBJS-$(CONFIG_ALIAS_PIX_DECODER)       += aliaspixdec.o
OBJS-$(CONFIG_ALIAS_PIX_ENCODER)       += aliaspixenc.o
161
OBJS-$(CONFIG_ALS_DECODER)             += alsdec.o bgmc.o mpeg4audio.o
162 163
OBJS-$(CONFIG_AMRNB_DECODER)           += amrnbdec.o celp_filters.o   \
                                          celp_math.o acelp_filters.o \
164
                                          acelp_vectors.o             \
165
                                          acelp_pitch_delay.o
166 167 168
OBJS-$(CONFIG_AMRWB_DECODER)           += amrwbdec.o celp_filters.o   \
                                          celp_math.o acelp_filters.o \
                                          acelp_vectors.o             \
169
                                          acelp_pitch_delay.o
170
OBJS-$(CONFIG_AMV_ENCODER)             += mjpegenc.o mjpegenc_common.o \
171 172 173
                                          mpegvideo_enc.o motion_est.o \
                                          ratecontrol.o mpeg12data.o   \
                                          mpegvideo.o
174
OBJS-$(CONFIG_ANM_DECODER)             += anm.o
Peter Ross's avatar
Peter Ross committed
175
OBJS-$(CONFIG_ANSI_DECODER)            += ansi.o cga_data.o
Kostya Shishkov's avatar
Kostya Shishkov committed
176
OBJS-$(CONFIG_APE_DECODER)             += apedec.o
177
OBJS-$(CONFIG_APNG_DECODER)            += png.o pngdec.o pngdsp.o
178
OBJS-$(CONFIG_APNG_ENCODER)            += png.o pngenc.o
Clément Bœsch's avatar
Clément Bœsch committed
179
OBJS-$(CONFIG_SSA_DECODER)             += assdec.o ass.o
180
OBJS-$(CONFIG_SSA_ENCODER)             += assenc.o ass.o
Clément Bœsch's avatar
Clément Bœsch committed
181
OBJS-$(CONFIG_ASS_DECODER)             += assdec.o ass.o
182
OBJS-$(CONFIG_ASS_ENCODER)             += assenc.o ass.o
183 184 185 186
OBJS-$(CONFIG_ASV1_DECODER)            += asvdec.o asv.o mpeg12data.o
OBJS-$(CONFIG_ASV1_ENCODER)            += asvenc.o asv.o mpeg12data.o
OBJS-$(CONFIG_ASV2_DECODER)            += asvdec.o asv.o mpeg12data.o
OBJS-$(CONFIG_ASV2_ENCODER)            += asvenc.o asv.o mpeg12data.o
187
OBJS-$(CONFIG_ATRAC1_DECODER)          += atrac1.o atrac.o
188
OBJS-$(CONFIG_ATRAC3_DECODER)          += atrac3.o atrac.o
Maxim Poliakovski's avatar
Maxim Poliakovski committed
189 190
OBJS-$(CONFIG_ATRAC3P_DECODER)         += atrac3plusdec.o atrac3plus.o \
                                          atrac3plusdsp.o atrac.o
191
OBJS-$(CONFIG_AURA_DECODER)            += cyuv.o
192
OBJS-$(CONFIG_AURA2_DECODER)           += aura.o
193
OBJS-$(CONFIG_AVRN_DECODER)            += avrndec.o mjpegdec.o
194
OBJS-$(CONFIG_AVRP_DECODER)            += r210dec.o
195
OBJS-$(CONFIG_AVRP_ENCODER)            += r210enc.o
Måns Rullgård's avatar
Måns Rullgård committed
196
OBJS-$(CONFIG_AVS_DECODER)             += avs.o
197
OBJS-$(CONFIG_AVUI_DECODER)            += avuidec.o
198
OBJS-$(CONFIG_AVUI_ENCODER)            += avuienc.o
199 200
OBJS-$(CONFIG_AYUV_DECODER)            += v408dec.o
OBJS-$(CONFIG_AYUV_ENCODER)            += v408enc.o
201
OBJS-$(CONFIG_BETHSOFTVID_DECODER)     += bethsoftvideo.o
Sisir Koppaka's avatar
Sisir Koppaka committed
202
OBJS-$(CONFIG_BFI_DECODER)             += bfi.o
203
OBJS-$(CONFIG_BINK_DECODER)            += bink.o binkdsp.o
204 205
OBJS-$(CONFIG_BINKAUDIO_DCT_DECODER)   += binkaudio.o
OBJS-$(CONFIG_BINKAUDIO_RDFT_DECODER)  += binkaudio.o
Peter Ross's avatar
Peter Ross committed
206
OBJS-$(CONFIG_BINTEXT_DECODER)         += bintext.o cga_data.o
207
OBJS-$(CONFIG_BMP_DECODER)             += bmp.o msrledec.o
208
OBJS-$(CONFIG_BMP_ENCODER)             += bmpenc.o
209 210
OBJS-$(CONFIG_BMV_AUDIO_DECODER)       += bmvaudio.o
OBJS-$(CONFIG_BMV_VIDEO_DECODER)       += bmvvideo.o
Aleksi Nurmi's avatar
Aleksi Nurmi committed
211
OBJS-$(CONFIG_BRENDER_PIX_DECODER)     += brenderpix.o
212
OBJS-$(CONFIG_C93_DECODER)             += c93.o
213
OBJS-$(CONFIG_CAVS_DECODER)            += cavs.o cavsdec.o cavsdsp.o \
214
                                          cavsdata.o mpeg12data.o
215
OBJS-$(CONFIG_CCAPTION_DECODER)        += ccaption_dec.o
Michael Tison's avatar
Michael Tison committed
216
OBJS-$(CONFIG_CDGRAPHICS_DECODER)      += cdgraphics.o
Paul B Mahol's avatar
Paul B Mahol committed
217
OBJS-$(CONFIG_CDXL_DECODER)            += cdxl.o
218
OBJS-$(CONFIG_CFHD_DECODER)            += cfhd.o cfhddata.o
Måns Rullgård's avatar
Måns Rullgård committed
219
OBJS-$(CONFIG_CINEPAK_DECODER)         += cinepak.o
220
OBJS-$(CONFIG_CINEPAK_ENCODER)         += cinepakenc.o elbg.o
221 222
OBJS-$(CONFIG_CLJR_DECODER)            += cljrdec.o
OBJS-$(CONFIG_CLJR_ENCODER)            += cljrenc.o
223
OBJS-$(CONFIG_CLLC_DECODER)            += cllc.o canopus.o
224 225
OBJS-$(CONFIG_COMFORTNOISE_DECODER)    += cngdec.o celp_filters.o
OBJS-$(CONFIG_COMFORTNOISE_ENCODER)    += cngenc.o
226
OBJS-$(CONFIG_COOK_DECODER)            += cook.o
Stephan Hilb's avatar
Stephan Hilb committed
227
OBJS-$(CONFIG_CPIA_DECODER)            += cpia.o
228
OBJS-$(CONFIG_CSCD_DECODER)            += cscd.o
Måns Rullgård's avatar
Måns Rullgård committed
229
OBJS-$(CONFIG_CYUV_DECODER)            += cyuv.o
230
OBJS-$(CONFIG_DCA_DECODER)             += dcadec.o dca.o dcadata.o dcahuff.o \
231
                                          dca_core.o dca_exss.o dca_xll.o dca_lbr.o \
232
                                          dcadsp.o dcadct.o synth_filter.o
233
OBJS-$(CONFIG_DCA_ENCODER)             += dcaenc.o dca.o dcadata.o
234
OBJS-$(CONFIG_DDS_DECODER)             += dds.o
235
OBJS-$(CONFIG_DIRAC_DECODER)           += diracdec.o dirac.o diracdsp.o diractab.o \
236
                                          dirac_arith.o mpeg12data.o dirac_dwt.o
237
OBJS-$(CONFIG_DFA_DECODER)             += dfa.o
238
OBJS-$(CONFIG_DNXHD_DECODER)           += dnxhddec.o dnxhddata.o
239
OBJS-$(CONFIG_DNXHD_ENCODER)           += dnxhdenc.o dnxhddata.o
240
OBJS-$(CONFIG_DPX_DECODER)             += dpx.o
Peter Ross's avatar
Peter Ross committed
241
OBJS-$(CONFIG_DPX_ENCODER)             += dpxenc.o
242 243 244 245
OBJS-$(CONFIG_DSD_LSBF_DECODER)        += dsddec.o dsd.o
OBJS-$(CONFIG_DSD_MSBF_DECODER)        += dsddec.o dsd.o
OBJS-$(CONFIG_DSD_LSBF_PLANAR_DECODER) += dsddec.o dsd.o
OBJS-$(CONFIG_DSD_MSBF_PLANAR_DECODER) += dsddec.o dsd.o
246 247
OBJS-$(CONFIG_DSICINAUDIO_DECODER)     += dsicinaudio.o
OBJS-$(CONFIG_DSICINVIDEO_DECODER)     += dsicinvideo.o
248
OBJS-$(CONFIG_DSS_SP_DECODER)          += dss_sp.o
249
OBJS-$(CONFIG_DST_DECODER)             += dstdec.o dsd.o
Måns Rullgård's avatar
Måns Rullgård committed
250 251
OBJS-$(CONFIG_DVBSUB_DECODER)          += dvbsubdec.o
OBJS-$(CONFIG_DVBSUB_ENCODER)          += dvbsub.o
252
OBJS-$(CONFIG_DVDSUB_DECODER)          += dvdsubdec.o
Måns Rullgård's avatar
Måns Rullgård committed
253
OBJS-$(CONFIG_DVDSUB_ENCODER)          += dvdsubenc.o
254
OBJS-$(CONFIG_DVAUDIO_DECODER)         += dvaudiodec.o
255 256
OBJS-$(CONFIG_DVVIDEO_DECODER)         += dvdec.o dv.o dvdata.o
OBJS-$(CONFIG_DVVIDEO_ENCODER)         += dvenc.o dv.o dvdata.o
257
OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
258
OBJS-$(CONFIG_DXTORY_DECODER)          += dxtory.o
Vittorio Giovara's avatar
Vittorio Giovara committed
259
OBJS-$(CONFIG_DXV_DECODER)             += dxv.o
260
OBJS-$(CONFIG_EAC3_DECODER)            += eac3_data.o
261
OBJS-$(CONFIG_EAC3_ENCODER)            += eac3enc.o eac3_data.o
Peter Ross's avatar
Peter Ross committed
262
OBJS-$(CONFIG_EACMV_DECODER)           += eacmv.o
263
OBJS-$(CONFIG_EAMAD_DECODER)           += eamad.o eaidct.o mpeg12.o \
264
                                          mpeg12data.o
265
OBJS-$(CONFIG_EATGQ_DECODER)           += eatgq.o eaidct.o
Peter Ross's avatar
Peter Ross committed
266
OBJS-$(CONFIG_EATGV_DECODER)           += eatgv.o
267
OBJS-$(CONFIG_EATQI_DECODER)           += eatqi.o eaidct.o mpeg12.o mpeg12data.o mpegvideodata.o rl.o
Måns Rullgård's avatar
Måns Rullgård committed
268
OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
Jai Menon's avatar
Jai Menon committed
269 270
OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)    += 8svx.o
OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)    += 8svx.o
Eli Friedman's avatar
Eli Friedman committed
271
OBJS-$(CONFIG_ESCAPE124_DECODER)       += escape124.o
Eli Friedman's avatar
Eli Friedman committed
272
OBJS-$(CONFIG_ESCAPE130_DECODER)       += escape130.o
Paul B Mahol's avatar
Paul B Mahol committed
273
OBJS-$(CONFIG_EVRC_DECODER)            += evrcdec.o acelp_vectors.o lsp.o
274
OBJS-$(CONFIG_EXR_DECODER)             += exr.o
275 276
OBJS-$(CONFIG_FFV1_DECODER)            += ffv1dec.o ffv1.o
OBJS-$(CONFIG_FFV1_ENCODER)            += ffv1enc.o ffv1.o
277
OBJS-$(CONFIG_FFWAVESYNTH_DECODER)     += ffwavesynth.o
278
OBJS-$(CONFIG_FIC_DECODER)             += fic.o
279
OBJS-$(CONFIG_FLAC_DECODER)            += flacdec.o flacdata.o flac.o
280
OBJS-$(CONFIG_FLAC_ENCODER)            += flacenc.o flacdata.o flac.o vorbis_data.o
281 282
OBJS-$(CONFIG_FLASHSV_DECODER)         += flashsv.o
OBJS-$(CONFIG_FLASHSV_ENCODER)         += flashsvenc.o
283
OBJS-$(CONFIG_FLASHSV2_ENCODER)        += flashsv2enc.o
284
OBJS-$(CONFIG_FLASHSV2_DECODER)        += flashsv.o
Måns Rullgård's avatar
Måns Rullgård committed
285 286
OBJS-$(CONFIG_FLIC_DECODER)            += flicvideo.o
OBJS-$(CONFIG_FOURXM_DECODER)          += 4xm.o
287
OBJS-$(CONFIG_FRAPS_DECODER)           += fraps.o
288
OBJS-$(CONFIG_FRWU_DECODER)            += frwu.o
Kostya Shishkov's avatar
Kostya Shishkov committed
289
OBJS-$(CONFIG_G2M_DECODER)             += g2meet.o elsdec.o
290
OBJS-$(CONFIG_G723_1_DECODER)          += g723_1dec.o g723_1.o \
291
                                          acelp_vectors.o celp_filters.o celp_math.o
Mohamed Naufal's avatar
Mohamed Naufal committed
292
OBJS-$(CONFIG_G723_1_ENCODER)          += g723_1enc.o g723_1.o \
293
                                          acelp_vectors.o celp_filters.o celp_math.o
Vladimir Voroshilov's avatar
Vladimir Voroshilov committed
294
OBJS-$(CONFIG_G729_DECODER)            += g729dec.o lsp.o celp_math.o acelp_filters.o acelp_pitch_delay.o acelp_vectors.o g729postfilter.o
295
OBJS-$(CONFIG_GIF_DECODER)             += gifdec.o lzw.o
296
OBJS-$(CONFIG_GIF_ENCODER)             += gif.o lzwenc.o
297 298
OBJS-$(CONFIG_GSM_DECODER)             += gsmdec.o gsmdec_data.o msgsmdec.o
OBJS-$(CONFIG_GSM_MS_DECODER)          += gsmdec.o gsmdec_data.o msgsmdec.o
299 300
OBJS-$(CONFIG_H261_DECODER)            += h261dec.o h261data.o h261.o
OBJS-$(CONFIG_H261_ENCODER)            += h261enc.o h261data.o h261.o
301 302
OBJS-$(CONFIG_H263_DECODER)            += h263dec.o h263.o ituh263dec.o        \
                                          mpeg4video.o mpeg4videodec.o flvdec.o\
303
                                          intelh263dec.o h263data.o
304
OBJS-$(CONFIG_H263_ENCODER)            += mpeg4videoenc.o mpeg4video.o  \
305
                                          h263.o ituh263enc.o flvenc.o h263data.o
Luca Barbato's avatar
Luca Barbato committed
306 307
OBJS-$(CONFIG_H264_DECODER)            += h264.o h264_cabac.o h264_cavlc.o \
                                          h264_direct.o h264_loopfilter.o  \
308
                                          h264_mb.o h264_picture.o h264_ps.o \
309
                                          h264_refs.o h264_sei.o \
310 311
                                          h264_slice.o h264data.o h264_parse.o \
                                          h2645_parse.o
312
OBJS-$(CONFIG_H264_MEDIACODEC_DECODER) += mediacodecdec_h264.o
313 314
OBJS-$(CONFIG_HAP_DECODER)             += hapdec.o hap.o
OBJS-$(CONFIG_HAP_ENCODER)             += hapenc.o hap.o
315 316
OBJS-$(CONFIG_HEVC_DECODER)            += hevc.o hevc_mvs.o hevc_ps.o hevc_sei.o \
                                          hevc_cabac.o hevc_refs.o hevcpred.o    \
317
                                          hevcdsp.o hevc_filter.o h2645_parse.o hevc_data.o
318
OBJS-$(CONFIG_HNM4_VIDEO_DECODER)      += hnm4video.o
319 320
OBJS-$(CONFIG_HQ_HQA_DECODER)          += hq_hqa.o hq_hqadata.o hq_hqadsp.o \
                                          canopus.o
321
OBJS-$(CONFIG_HQX_DECODER)             += hqx.o hqxvlc.o hqxdsp.o canopus.o
322 323
OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o huffyuvdec.o
OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o huffyuvenc.o
Måns Rullgård's avatar
Måns Rullgård committed
324
OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o
Peter Ross's avatar
Peter Ross committed
325
OBJS-$(CONFIG_IDF_DECODER)             += bintext.o cga_data.o
Peter Ross's avatar
Peter Ross committed
326
OBJS-$(CONFIG_IFF_ILBM_DECODER)        += iff.o
327
OBJS-$(CONFIG_IMC_DECODER)             += imc.o
Måns Rullgård's avatar
Måns Rullgård committed
328 329
OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
330 331
OBJS-$(CONFIG_INDEO4_DECODER)          += indeo4.o ivi.o
OBJS-$(CONFIG_INDEO5_DECODER)          += indeo5.o ivi.o
332
OBJS-$(CONFIG_INTERPLAY_ACM_DECODER)   += interplayacm.o
333
OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
334
OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
335
OBJS-$(CONFIG_JACOSUB_DECODER)         += jacosubdec.o ass.o
336
OBJS-$(CONFIG_JPEG2000_ENCODER)        += j2kenc.o mqcenc.o mqc.o jpeg2000.o \
337 338
                                          jpeg2000dwt.o
OBJS-$(CONFIG_JPEG2000_DECODER)        += jpeg2000dec.o jpeg2000.o jpeg2000dsp.o \
339
                                          jpeg2000dwt.o mqcdec.o mqc.o
340
OBJS-$(CONFIG_JPEGLS_DECODER)          += jpeglsdec.o jpegls.o
341
OBJS-$(CONFIG_JPEGLS_ENCODER)          += jpeglsenc.o jpegls.o
342
OBJS-$(CONFIG_JV_DECODER)              += jvdec.o
343
OBJS-$(CONFIG_KGV1_DECODER)            += kgv1dec.o
Måns Rullgård's avatar
Måns Rullgård committed
344
OBJS-$(CONFIG_KMVC_DECODER)            += kmvc.o
345
OBJS-$(CONFIG_LAGARITH_DECODER)        += lagarith.o lagarithrac.o
346
OBJS-$(CONFIG_LJPEG_ENCODER)           += ljpegenc.o mjpegenc_common.o
347
OBJS-$(CONFIG_LOCO_DECODER)            += loco.o
348
OBJS-$(CONFIG_M101_DECODER)            += m101.o
Måns Rullgård's avatar
Måns Rullgård committed
349 350
OBJS-$(CONFIG_MACE3_DECODER)           += mace.o
OBJS-$(CONFIG_MACE6_DECODER)           += mace.o
351
OBJS-$(CONFIG_MAGICYUV_DECODER)        += magicyuv.o
352
OBJS-$(CONFIG_MDEC_DECODER)            += mdec.o mpeg12.o mpeg12data.o
353 354
OBJS-$(CONFIG_METASOUND_DECODER)       += metasound.o metasound_data.o \
                                          twinvq.o
355
OBJS-$(CONFIG_MICRODVD_DECODER)        += microdvddec.o ass.o
Ramiro Polla's avatar
Ramiro Polla committed
356
OBJS-$(CONFIG_MIMIC_DECODER)           += mimic.o
357 358
OBJS-$(CONFIG_MJPEG_DECODER)           += mjpegdec.o
OBJS-$(CONFIG_MJPEG_ENCODER)           += mjpegenc.o mjpegenc_common.o
359
OBJS-$(CONFIG_MJPEGB_DECODER)          += mjpegbdec.o
360
OBJS-$(CONFIG_MJPEG_VAAPI_ENCODER)     += vaapi_encode_mjpeg.o
361
OBJS-$(CONFIG_MLP_DECODER)             += mlpdec.o mlpdsp.o
362
OBJS-$(CONFIG_MMVIDEO_DECODER)         += mmvideo.o
363
OBJS-$(CONFIG_MOTIONPIXELS_DECODER)    += motionpixels.o
364
OBJS-$(CONFIG_MOVTEXT_DECODER)         += movtextdec.o ass.o
365
OBJS-$(CONFIG_MOVTEXT_ENCODER)         += movtextenc.o ass_split.o
366
OBJS-$(CONFIG_MP1_DECODER)             += mpegaudiodec_fixed.o
367
OBJS-$(CONFIG_MP1FLOAT_DECODER)        += mpegaudiodec_float.o
368
OBJS-$(CONFIG_MP2_DECODER)             += mpegaudiodec_fixed.o
369 370 371
OBJS-$(CONFIG_MP2_ENCODER)             += mpegaudioenc_float.o mpegaudio.o \
                                          mpegaudiodata.o mpegaudiodsp_data.o
OBJS-$(CONFIG_MP2FIXED_ENCODER)        += mpegaudioenc_fixed.o mpegaudio.o \
372
                                          mpegaudiodata.o mpegaudiodsp_data.o
373
OBJS-$(CONFIG_MP2FLOAT_DECODER)        += mpegaudiodec_float.o
374 375
OBJS-$(CONFIG_MP3_DECODER)             += mpegaudiodec_fixed.o
OBJS-$(CONFIG_MP3ADU_DECODER)          += mpegaudiodec_fixed.o
376 377
OBJS-$(CONFIG_MP3ADUFLOAT_DECODER)     += mpegaudiodec_float.o
OBJS-$(CONFIG_MP3FLOAT_DECODER)        += mpegaudiodec_float.o
378
OBJS-$(CONFIG_MP3ON4_DECODER)          += mpegaudiodec_fixed.o mpeg4audio.o
379
OBJS-$(CONFIG_MP3ON4FLOAT_DECODER)     += mpegaudiodec_float.o mpeg4audio.o
380 381
OBJS-$(CONFIG_MPC7_DECODER)            += mpc7.o mpc.o
OBJS-$(CONFIG_MPC8_DECODER)            += mpc8.o mpc.o
382
OBJS-$(CONFIG_MPEGVIDEO_DECODER)       += mpeg12dec.o mpeg12.o mpeg12data.o
383
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)      += mpeg12dec.o mpeg12.o mpeg12data.o
384
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)      += mpeg12enc.o mpeg12.o
385 386
OBJS-$(CONFIG_MPEG2VIDEO_DECODER)      += mpeg12dec.o mpeg12.o mpeg12data.o
OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)      += mpeg12enc.o mpeg12.o
387
OBJS-$(CONFIG_MPEG4_DECODER)           += xvididct.o
388
OBJS-$(CONFIG_MPL2_DECODER)            += mpl2dec.o ass.o
389
OBJS-$(CONFIG_MSA1_DECODER)            += mss3.o
390
OBJS-$(CONFIG_MSMPEG4V1_DECODER)       += msmpeg4dec.o msmpeg4.o msmpeg4data.o
391 392 393 394
OBJS-$(CONFIG_MSMPEG4V2_DECODER)       += msmpeg4dec.o msmpeg4.o msmpeg4data.o
OBJS-$(CONFIG_MSMPEG4V2_ENCODER)       += msmpeg4enc.o msmpeg4.o msmpeg4data.o
OBJS-$(CONFIG_MSMPEG4V3_DECODER)       += msmpeg4dec.o msmpeg4.o msmpeg4data.o
OBJS-$(CONFIG_MSMPEG4V3_ENCODER)       += msmpeg4enc.o msmpeg4.o msmpeg4data.o
395
OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o msrledec.o
396
OBJS-$(CONFIG_MSS1_DECODER)            += mss1.o mss12.o
397
OBJS-$(CONFIG_MSS2_DECODER)            += mss2.o mss12.o mss2dsp.o wmv2data.o
Måns Rullgård's avatar
Måns Rullgård committed
398
OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
Kostya Shishkov's avatar
Kostya Shishkov committed
399
OBJS-$(CONFIG_MSVIDEO1_ENCODER)        += msvideo1enc.o elbg.o
400
OBJS-$(CONFIG_MSZH_DECODER)            += lcldec.o
401
OBJS-$(CONFIG_MTS2_DECODER)            += mss4.o
402 403
OBJS-$(CONFIG_MVC1_DECODER)            += mvcdec.o
OBJS-$(CONFIG_MVC2_DECODER)            += mvcdec.o
404
OBJS-$(CONFIG_MXPEG_DECODER)           += mxpegdec.o
405
OBJS-$(CONFIG_NELLYMOSER_DECODER)      += nellymoserdec.o nellymoser.o
406
OBJS-$(CONFIG_NELLYMOSER_ENCODER)      += nellymoserenc.o nellymoser.o
407
OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
Kostya Shishkov's avatar
Kostya Shishkov committed
408
OBJS-$(CONFIG_ON2AVC_DECODER)          += on2avc.o on2avcdata.o
409
OBJS-$(CONFIG_OPUS_DECODER)            += opusdec.o opus.o opus_celt.o \
410
                                          opus_silk.o vorbis_data.o
411 412
OBJS-$(CONFIG_PAF_AUDIO_DECODER)       += pafaudio.o
OBJS-$(CONFIG_PAF_VIDEO_DECODER)       += pafvideo.o
413
OBJS-$(CONFIG_PAM_DECODER)             += pnmdec.o pnm.o
414
OBJS-$(CONFIG_PAM_ENCODER)             += pamenc.o
415
OBJS-$(CONFIG_PBM_DECODER)             += pnmdec.o pnm.o
416
OBJS-$(CONFIG_PBM_ENCODER)             += pnmenc.o
417
OBJS-$(CONFIG_PCX_DECODER)             += pcx.o
418
OBJS-$(CONFIG_PCX_ENCODER)             += pcxenc.o
419
OBJS-$(CONFIG_PGM_DECODER)             += pnmdec.o pnm.o
420
OBJS-$(CONFIG_PGM_ENCODER)             += pnmenc.o
421
OBJS-$(CONFIG_PGMYUV_DECODER)          += pnmdec.o pnm.o
422
OBJS-$(CONFIG_PGMYUV_ENCODER)          += pnmenc.o
423
OBJS-$(CONFIG_PGSSUB_DECODER)          += pgssubdec.o
Peter Ross's avatar
Peter Ross committed
424
OBJS-$(CONFIG_PICTOR_DECODER)          += pictordec.o cga_data.o
425
OBJS-$(CONFIG_PJS_DECODER)             += textdec.o ass.o
426
OBJS-$(CONFIG_PNG_DECODER)             += png.o pngdec.o pngdsp.o
427
OBJS-$(CONFIG_PNG_ENCODER)             += png.o pngenc.o
428
OBJS-$(CONFIG_PPM_DECODER)             += pnmdec.o pnm.o
429
OBJS-$(CONFIG_PPM_ENCODER)             += pnmenc.o
430
OBJS-$(CONFIG_PRORES_DECODER)          += proresdec2.o proresdsp.o proresdata.o
431
OBJS-$(CONFIG_PRORES_LGPL_DECODER)     += proresdec_lgpl.o proresdsp.o proresdata.o
432
OBJS-$(CONFIG_PRORES_ENCODER)          += proresenc_anatoliy.o
433
OBJS-$(CONFIG_PRORES_AW_ENCODER)       += proresenc_anatoliy.o
434
OBJS-$(CONFIG_PRORES_KS_ENCODER)       += proresenc_kostya.o proresdata.o
435
OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
436
OBJS-$(CONFIG_QCELP_DECODER)           += qcelpdec.o                     \
437 438
                                          celp_filters.o acelp_vectors.o \
                                          acelp_filters.o
439
OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o
Måns Rullgård's avatar
Måns Rullgård committed
440 441 442
OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o
OBJS-$(CONFIG_QPEG_DECODER)            += qpeg.o
OBJS-$(CONFIG_QTRLE_DECODER)           += qtrle.o
Alexis Ballier's avatar
Alexis Ballier committed
443
OBJS-$(CONFIG_QTRLE_ENCODER)           += qtrleenc.o
Zhou Zongyi's avatar
Zhou Zongyi committed
444
OBJS-$(CONFIG_R10K_DECODER)            += r210dec.o
445
OBJS-$(CONFIG_R10K_ENCODER)            += r210enc.o
446
OBJS-$(CONFIG_R210_DECODER)            += r210dec.o
447
OBJS-$(CONFIG_R210_ENCODER)            += r210enc.o
448
OBJS-$(CONFIG_RA_144_DECODER)          += ra144dec.o ra144.o celp_filters.o
449
OBJS-$(CONFIG_RA_144_ENCODER)          += ra144enc.o ra144.o celp_filters.o
450
OBJS-$(CONFIG_RA_288_DECODER)          += ra288.o celp_filters.o
451
OBJS-$(CONFIG_RALF_DECODER)            += ralf.o
452 453
OBJS-$(CONFIG_RAWVIDEO_DECODER)        += rawdec.o
OBJS-$(CONFIG_RAWVIDEO_ENCODER)        += rawenc.o
454
OBJS-$(CONFIG_REALTEXT_DECODER)        += realtextdec.o ass.o
Sascha Sommer's avatar
Sascha Sommer committed
455
OBJS-$(CONFIG_RL2_DECODER)             += rl2.o
456
OBJS-$(CONFIG_ROQ_DECODER)             += roqvideodec.o roqvideo.o
Vitor Sessak's avatar
Vitor Sessak committed
457
OBJS-$(CONFIG_ROQ_ENCODER)             += roqvideoenc.o roqvideo.o elbg.o
458
OBJS-$(CONFIG_ROQ_DPCM_DECODER)        += dpcm.o
Vitor Sessak's avatar
Vitor Sessak committed
459
OBJS-$(CONFIG_ROQ_DPCM_ENCODER)        += roqaudioenc.o
Måns Rullgård's avatar
Måns Rullgård committed
460
OBJS-$(CONFIG_RPZA_DECODER)            += rpza.o
461
OBJS-$(CONFIG_RSCC_DECODER)            += rscc.o
462
OBJS-$(CONFIG_RV10_DECODER)            += rv10.o
463
OBJS-$(CONFIG_RV10_ENCODER)            += rv10enc.o
464
OBJS-$(CONFIG_RV20_DECODER)            += rv10.o
465
OBJS-$(CONFIG_RV20_ENCODER)            += rv20enc.o
466 467
OBJS-$(CONFIG_RV30_DECODER)            += rv30.o rv34.o rv30dsp.o
OBJS-$(CONFIG_RV40_DECODER)            += rv40.o rv34.o rv40dsp.o
468
OBJS-$(CONFIG_SAMI_DECODER)            += samidec.o ass.o htmlsubtitles.o
469
OBJS-$(CONFIG_S302M_DECODER)           += s302m.o
Darryl Wallace's avatar
Darryl Wallace committed
470
OBJS-$(CONFIG_S302M_ENCODER)           += s302menc.o
471
OBJS-$(CONFIG_SANM_DECODER)            += sanm.o
472
OBJS-$(CONFIG_SCREENPRESSO_DECODER)    += screenpresso.o
473
OBJS-$(CONFIG_SDX2_DPCM_DECODER)       += dpcm.o
474 475
OBJS-$(CONFIG_SGI_DECODER)             += sgidec.o
OBJS-$(CONFIG_SGI_ENCODER)             += sgienc.o rle.o
Peter Ross's avatar
Peter Ross committed
476
OBJS-$(CONFIG_SGIRLE_DECODER)          += sgirledec.o
477
OBJS-$(CONFIG_SHEERVIDEO_DECODER)      += sheervideo.o
478
OBJS-$(CONFIG_SHORTEN_DECODER)         += shorten.o
479 480
OBJS-$(CONFIG_SIPR_DECODER)            += sipr.o acelp_pitch_delay.o \
                                          celp_math.o acelp_vectors.o \
481
                                          acelp_filters.o celp_filters.o \
Vitor Sessak's avatar
Vitor Sessak committed
482
                                          sipr16k.o
Måns Rullgård's avatar
Måns Rullgård committed
483
OBJS-$(CONFIG_SMACKAUD_DECODER)        += smacker.o
484
OBJS-$(CONFIG_SMACKER_DECODER)         += smacker.o
Måns Rullgård's avatar
Måns Rullgård committed
485
OBJS-$(CONFIG_SMC_DECODER)             += smc.o
Ash Hughes's avatar
Ash Hughes committed
486
OBJS-$(CONFIG_SMVJPEG_DECODER)         += smvjpegdec.o
487 488
OBJS-$(CONFIG_SNOW_DECODER)            += snowdec.o snow.o snow_dwt.o
OBJS-$(CONFIG_SNOW_ENCODER)            += snowenc.o snow.o snow_dwt.o             \
489
                                          h263.o ituh263enc.o
490
OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
491 492 493
OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o
OBJS-$(CONFIG_SONIC_LS_ENCODER)        += sonic.o
494
OBJS-$(CONFIG_SP5X_DECODER)            += sp5xdec.o
495
OBJS-$(CONFIG_SRT_DECODER)             += srtdec.o ass.o htmlsubtitles.o
Aurelien Jacobs's avatar
Aurelien Jacobs committed
496
OBJS-$(CONFIG_SRT_ENCODER)             += srtenc.o ass_split.o
497
OBJS-$(CONFIG_STL_DECODER)             += textdec.o ass.o
498
OBJS-$(CONFIG_SUBRIP_DECODER)          += srtdec.o ass.o htmlsubtitles.o
499
OBJS-$(CONFIG_SUBRIP_ENCODER)          += srtenc.o ass_split.o
500
OBJS-$(CONFIG_SUBVIEWER1_DECODER)      += textdec.o ass.o
501
OBJS-$(CONFIG_SUBVIEWER_DECODER)       += subviewerdec.o ass.o
Ivo van Poorten's avatar
Ivo van Poorten committed
502
OBJS-$(CONFIG_SUNRAST_DECODER)         += sunrast.o
503
OBJS-$(CONFIG_SUNRAST_ENCODER)         += sunrastenc.o
504 505
OBJS-$(CONFIG_SVQ1_DECODER)            += svq1dec.o svq1.o svq13.o h263data.o
OBJS-$(CONFIG_SVQ1_ENCODER)            += svq1enc.o svq1.o  h263data.o  \
506
                                          h263.o ituh263enc.o
507
OBJS-$(CONFIG_SVQ3_DECODER)            += svq3.o svq13.o mpegutils.o h264_parse.o h264data.o
508
OBJS-$(CONFIG_TEXT_DECODER)            += textdec.o ass.o
509
OBJS-$(CONFIG_TEXT_ENCODER)            += srtenc.o ass_split.o
510
OBJS-$(CONFIG_TAK_DECODER)             += takdec.o tak.o takdsp.o
Kostya Shishkov's avatar
Kostya Shishkov committed
511
OBJS-$(CONFIG_TARGA_DECODER)           += targa.o
512
OBJS-$(CONFIG_TARGA_ENCODER)           += targaenc.o rle.o
513
OBJS-$(CONFIG_TARGA_Y216_DECODER)      += targa_y216dec.o
Vittorio Giovara's avatar
Vittorio Giovara committed
514
OBJS-$(CONFIG_TDSC_DECODER)            += tdsc.o
515
OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
516
OBJS-$(CONFIG_TIFF_DECODER)            += tiff.o lzw.o faxcompr.o tiff_data.o tiff_common.o
517
OBJS-$(CONFIG_TIFF_ENCODER)            += tiffenc.o rle.o lzwenc.o tiff_data.o
518
OBJS-$(CONFIG_TMV_DECODER)             += tmv.o cga_data.o
Paul B Mahol's avatar
Paul B Mahol committed
519
OBJS-$(CONFIG_TRUEHD_DECODER)          += mlpdec.o mlpdsp.o
Måns Rullgård's avatar
Måns Rullgård committed
520 521
OBJS-$(CONFIG_TRUEMOTION1_DECODER)     += truemotion1.o
OBJS-$(CONFIG_TRUEMOTION2_DECODER)     += truemotion2.o
522
OBJS-$(CONFIG_TRUEMOTION2RT_DECODER)   += truemotion2rt.o
Måns Rullgård's avatar
Måns Rullgård committed
523
OBJS-$(CONFIG_TRUESPEECH_DECODER)      += truespeech.o
524
OBJS-$(CONFIG_TSCC_DECODER)            += tscc.o msrledec.o
525
OBJS-$(CONFIG_TSCC2_DECODER)           += tscc2.o
526
OBJS-$(CONFIG_TTA_DECODER)             += tta.o ttadata.o ttadsp.o
Paul B Mahol's avatar
Paul B Mahol committed
527
OBJS-$(CONFIG_TTA_ENCODER)             += ttaenc.o ttadata.o
528
OBJS-$(CONFIG_TWINVQ_DECODER)          += twinvqdec.o twinvq.o
529
OBJS-$(CONFIG_TXD_DECODER)             += txd.o
Måns Rullgård's avatar
Måns Rullgård committed
530
OBJS-$(CONFIG_ULTI_DECODER)            += ulti.o
531 532
OBJS-$(CONFIG_UTVIDEO_DECODER)         += utvideodec.o utvideo.o
OBJS-$(CONFIG_UTVIDEO_ENCODER)         += utvideoenc.o utvideo.o
533 534
OBJS-$(CONFIG_V210_DECODER)            += v210dec.o
OBJS-$(CONFIG_V210_ENCODER)            += v210enc.o
535
OBJS-$(CONFIG_V210X_DECODER)           += v210x.o
536 537
OBJS-$(CONFIG_V308_DECODER)            += v308dec.o
OBJS-$(CONFIG_V308_ENCODER)            += v308enc.o
538 539
OBJS-$(CONFIG_V408_DECODER)            += v408dec.o
OBJS-$(CONFIG_V408_ENCODER)            += v408enc.o
540 541
OBJS-$(CONFIG_V410_DECODER)            += v410dec.o
OBJS-$(CONFIG_V410_ENCODER)            += v410enc.o
542
OBJS-$(CONFIG_VB_DECODER)              += vb.o
Derek Buitenhuis's avatar
Derek Buitenhuis committed
543
OBJS-$(CONFIG_VBLE_DECODER)            += vble.o
544 545
OBJS-$(CONFIG_VC1_DECODER)             += vc1dec.o vc1_block.o vc1_loopfilter.o \
                                          vc1_mc.o vc1_pred.o vc1.o vc1data.o \
546
                                          msmpeg4dec.o msmpeg4.o msmpeg4data.o \
547
                                          wmv2dsp.o wmv2data.o
548
OBJS-$(CONFIG_VC1_MMAL_DECODER)        += mmaldec.o
549
OBJS-$(CONFIG_VC1_QSV_DECODER)         += qsvdec_vc1.o
550
OBJS-$(CONFIG_VC2_ENCODER)             += vc2enc.o vc2enc_dwt.o diractab.o
Måns Rullgård's avatar
Måns Rullgård committed
551
OBJS-$(CONFIG_VCR1_DECODER)            += vcr1.o
552 553
OBJS-$(CONFIG_VMDAUDIO_DECODER)        += vmdaudio.o
OBJS-$(CONFIG_VMDVIDEO_DECODER)        += vmdvideo.o
554
OBJS-$(CONFIG_VMNC_DECODER)            += vmnc.o
555
OBJS-$(CONFIG_VORBIS_DECODER)          += vorbisdec.o vorbisdsp.o vorbis.o \
556
                                          vorbis_data.o
557
OBJS-$(CONFIG_VORBIS_ENCODER)          += vorbisenc.o vorbis.o \
558
                                          vorbis_data.o
559
OBJS-$(CONFIG_VP3_DECODER)             += vp3.o
560 561
OBJS-$(CONFIG_VP5_DECODER)             += vp5.o vp56.o vp56data.o vp56rac.o
OBJS-$(CONFIG_VP6_DECODER)             += vp6.o vp56.o vp56data.o \
562
                                          vp6dsp.o vp56rac.o
563 564
OBJS-$(CONFIG_VP7_DECODER)             += vp8.o vp56rac.o
OBJS-$(CONFIG_VP8_DECODER)             += vp8.o vp56rac.o
565 566
OBJS-$(CONFIG_VP9_DECODER)             += vp9.o vp9dsp.o vp56rac.o vp9dsp_8bpp.o \
                                          vp9dsp_10bpp.o vp9dsp_12bpp.o
567
OBJS-$(CONFIG_VPLAYER_DECODER)         += textdec.o ass.o
Måns Rullgård's avatar
Måns Rullgård committed
568
OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
569
OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
Paul B Mahol's avatar
Paul B Mahol committed
570
OBJS-$(CONFIG_WAVPACK_ENCODER)         += wavpackenc.o
571
OBJS-$(CONFIG_WEBP_DECODER)            += webp.o
572
OBJS-$(CONFIG_WEBVTT_DECODER)          += webvttdec.o ass.o
573
OBJS-$(CONFIG_WEBVTT_ENCODER)          += webvttenc.o ass_split.o
574 575 576 577 578 579
OBJS-$(CONFIG_WMALOSSLESS_DECODER)     += wmalosslessdec.o wma_common.o
OBJS-$(CONFIG_WMAPRO_DECODER)          += wmaprodec.o wma.o wma_common.o
OBJS-$(CONFIG_WMAV1_DECODER)           += wmadec.o wma.o wma_common.o aactab.o
OBJS-$(CONFIG_WMAV1_ENCODER)           += wmaenc.o wma.o wma_common.o aactab.o
OBJS-$(CONFIG_WMAV2_DECODER)           += wmadec.o wma.o wma_common.o aactab.o
OBJS-$(CONFIG_WMAV2_ENCODER)           += wmaenc.o wma.o wma_common.o aactab.o
Ronald S. Bultje's avatar
Ronald S. Bultje committed
580
OBJS-$(CONFIG_WMAVOICE_DECODER)        += wmavoice.o \
581
                                          celp_filters.o \
582
                                          acelp_vectors.o acelp_filters.o
583
OBJS-$(CONFIG_WMV1_DECODER)            += msmpeg4dec.o msmpeg4.o msmpeg4data.o
584
OBJS-$(CONFIG_WMV1_ENCODER)            += msmpeg4enc.o
585
OBJS-$(CONFIG_WMV2_DECODER)            += wmv2dec.o wmv2.o wmv2data.o \
586
                                          msmpeg4dec.o msmpeg4.o msmpeg4data.o
587
OBJS-$(CONFIG_WMV2_ENCODER)            += wmv2enc.o wmv2.o wmv2data.o \
588
                                          msmpeg4.o msmpeg4enc.o msmpeg4data.o
Måns Rullgård's avatar
Måns Rullgård committed
589
OBJS-$(CONFIG_WNV1_DECODER)            += wnv1.o
590
OBJS-$(CONFIG_WRAPPED_AVFRAME_ENCODER) += wrapped_avframe.o
591
OBJS-$(CONFIG_WS_SND1_DECODER)         += ws-snd1.o
592
OBJS-$(CONFIG_XAN_DPCM_DECODER)        += dpcm.o
Måns Rullgård's avatar
Måns Rullgård committed
593
OBJS-$(CONFIG_XAN_WC3_DECODER)         += xan.o
Kostya Shishkov's avatar
Kostya Shishkov committed
594
OBJS-$(CONFIG_XAN_WC4_DECODER)         += xxan.o
Peter Ross's avatar
Peter Ross committed
595
OBJS-$(CONFIG_XBIN_DECODER)            += bintext.o cga_data.o
Paul B Mahol's avatar
Paul B Mahol committed
596
OBJS-$(CONFIG_XBM_DECODER)             += xbmdec.o
Paul B Mahol's avatar
Paul B Mahol committed
597
OBJS-$(CONFIG_XBM_ENCODER)             += xbmenc.o
598 599
OBJS-$(CONFIG_XFACE_DECODER)           += xfacedec.o xface.o
OBJS-$(CONFIG_XFACE_ENCODER)           += xfaceenc.o xface.o
Måns Rullgård's avatar
Måns Rullgård committed
600
OBJS-$(CONFIG_XL_DECODER)              += xl.o
601 602
OBJS-$(CONFIG_XMA1_DECODER)            += wmaprodec.o wma.o wma_common.o
OBJS-$(CONFIG_XMA2_DECODER)            += wmaprodec.o wma.o wma_common.o
603
OBJS-$(CONFIG_XSUB_DECODER)            += xsubdec.o
604
OBJS-$(CONFIG_XSUB_ENCODER)            += xsubenc.o
Paul B Mahol's avatar
Paul B Mahol committed
605 606
OBJS-$(CONFIG_XWD_DECODER)             += xwddec.o
OBJS-$(CONFIG_XWD_ENCODER)             += xwdenc.o
Paul B Mahol's avatar
Paul B Mahol committed
607 608
OBJS-$(CONFIG_Y41P_DECODER)            += y41pdec.o
OBJS-$(CONFIG_Y41P_ENCODER)            += y41penc.o
609
OBJS-$(CONFIG_YOP_DECODER)             += yop.o
610 611
OBJS-$(CONFIG_YUV4_DECODER)            += yuv4dec.o
OBJS-$(CONFIG_YUV4_ENCODER)            += yuv4enc.o
Derek Buitenhuis's avatar
Derek Buitenhuis committed
612
OBJS-$(CONFIG_ZEROCODEC_DECODER)       += zerocodec.o
613 614
OBJS-$(CONFIG_ZLIB_DECODER)            += lcldec.o
OBJS-$(CONFIG_ZLIB_ENCODER)            += lclenc.o
Måns Rullgård's avatar
Måns Rullgård committed
615
OBJS-$(CONFIG_ZMBV_DECODER)            += zmbv.o
616
OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
Måns Rullgård's avatar
Måns Rullgård committed
617

618
# (AD)PCM decoders/encoders
Diego Biurrun's avatar
Diego Biurrun committed
619 620
OBJS-$(CONFIG_PCM_ALAW_DECODER)           += pcm.o
OBJS-$(CONFIG_PCM_ALAW_ENCODER)           += pcm.o
621
OBJS-$(CONFIG_PCM_BLURAY_DECODER)         += pcm-bluray.o
622
OBJS-$(CONFIG_PCM_DVD_DECODER)            += pcm-dvd.o
623 624 625 626 627 628 629 630
OBJS-$(CONFIG_PCM_F32BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_F32BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_F32LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_F32LE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_F64BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_F64BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_F64LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_F64LE_ENCODER)          += pcm.o
631
OBJS-$(CONFIG_PCM_LXF_DECODER)            += pcm.o
Diego Biurrun's avatar
Diego Biurrun committed
632 633 634 635
OBJS-$(CONFIG_PCM_MULAW_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_MULAW_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_S8_DECODER)             += pcm.o
OBJS-$(CONFIG_PCM_S8_ENCODER)             += pcm.o
636
OBJS-$(CONFIG_PCM_S8_PLANAR_DECODER)      += pcm.o
637
OBJS-$(CONFIG_PCM_S8_PLANAR_ENCODER)      += pcm.o
Diego Biurrun's avatar
Diego Biurrun committed
638 639
OBJS-$(CONFIG_PCM_S16BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S16BE_ENCODER)          += pcm.o
640
OBJS-$(CONFIG_PCM_S16BE_PLANAR_DECODER)   += pcm.o
641
OBJS-$(CONFIG_PCM_S16BE_PLANAR_ENCODER)   += pcm.o
Diego Biurrun's avatar
Diego Biurrun committed
642 643 644
OBJS-$(CONFIG_PCM_S16LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S16LE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_S16LE_PLANAR_DECODER)   += pcm.o
645
OBJS-$(CONFIG_PCM_S16LE_PLANAR_ENCODER)   += pcm.o
Diego Biurrun's avatar
Diego Biurrun committed
646 647 648 649 650 651
OBJS-$(CONFIG_PCM_S24BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S24BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_S24DAUD_DECODER)        += pcm.o
OBJS-$(CONFIG_PCM_S24DAUD_ENCODER)        += pcm.o
OBJS-$(CONFIG_PCM_S24LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S24LE_ENCODER)          += pcm.o
652
OBJS-$(CONFIG_PCM_S24LE_PLANAR_DECODER)   += pcm.o
653
OBJS-$(CONFIG_PCM_S24LE_PLANAR_ENCODER)   += pcm.o
Diego Biurrun's avatar
Diego Biurrun committed
654 655 656 657
OBJS-$(CONFIG_PCM_S32BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S32BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_S32LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S32LE_ENCODER)          += pcm.o
658
OBJS-$(CONFIG_PCM_S32LE_PLANAR_DECODER)   += pcm.o
659
OBJS-$(CONFIG_PCM_S32LE_PLANAR_ENCODER)   += pcm.o
Diego Biurrun's avatar
Diego Biurrun committed
660 661 662 663 664 665 666 667 668 669 670 671 672 673 674
OBJS-$(CONFIG_PCM_U8_DECODER)             += pcm.o
OBJS-$(CONFIG_PCM_U8_ENCODER)             += pcm.o
OBJS-$(CONFIG_PCM_U16BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_U16BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_U16LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_U16LE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_U24BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_U24BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_U24LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_U24LE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_U32BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_U32BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_U32LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_U32LE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_ZORK_DECODER)           += pcm.o
675

676
OBJS-$(CONFIG_ADPCM_4XM_DECODER)          += adpcm.o adpcm_data.o
677
OBJS-$(CONFIG_ADPCM_ADX_DECODER)          += adxdec.o adx.o
678
OBJS-$(CONFIG_ADPCM_ADX_ENCODER)          += adxenc.o adx.o
Paul B Mahol's avatar
Paul B Mahol committed
679
OBJS-$(CONFIG_ADPCM_AFC_DECODER)          += adpcm.o adpcm_data.o
680
OBJS-$(CONFIG_ADPCM_AICA_DECODER)         += adpcm.o adpcm_data.o
681
OBJS-$(CONFIG_ADPCM_CT_DECODER)           += adpcm.o adpcm_data.o
James Almer's avatar
James Almer committed
682
OBJS-$(CONFIG_ADPCM_DTK_DECODER)          += adpcm.o adpcm_data.o
683 684 685 686 687 688
OBJS-$(CONFIG_ADPCM_EA_DECODER)           += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER)  += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_EA_R1_DECODER)        += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_EA_R2_DECODER)        += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_EA_R3_DECODER)        += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_EA_XAS_DECODER)       += adpcm.o adpcm_data.o
689 690
OBJS-$(CONFIG_ADPCM_G722_DECODER)         += g722.o g722dsp.o g722dec.o
OBJS-$(CONFIG_ADPCM_G722_ENCODER)         += g722.o g722dsp.o g722enc.o
Diego Biurrun's avatar
Diego Biurrun committed
691 692
OBJS-$(CONFIG_ADPCM_G726_DECODER)         += g726.o
OBJS-$(CONFIG_ADPCM_G726_ENCODER)         += g726.o
693
OBJS-$(CONFIG_ADPCM_G726LE_DECODER)       += g726.o
694
OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER)      += adpcm.o adpcm_data.o
695
OBJS-$(CONFIG_ADPCM_IMA_APC_DECODER)      += adpcm.o adpcm_data.o
696
OBJS-$(CONFIG_ADPCM_IMA_DAT4_DECODER)     += adpcm.o adpcm_data.o
697 698 699 700 701
OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER)      += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER)      += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER)  += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER)  += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_ISS_DECODER)      += adpcm.o adpcm_data.o
702
OBJS-$(CONFIG_ADPCM_IMA_OKI_DECODER)      += adpcm.o adpcm_data.o
703 704
OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER)       += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER)       += adpcmenc.o adpcm_data.o
James Almer's avatar
James Almer committed
705
OBJS-$(CONFIG_ADPCM_IMA_RAD_DECODER)      += adpcm.o adpcm_data.o
706 707 708 709 710 711
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER)   += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER)      += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER)      += adpcmenc.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER)       += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_MS_DECODER)           += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_MS_ENCODER)           += adpcmenc.o adpcm_data.o
712
OBJS-$(CONFIG_ADPCM_MTAF_DECODER)         += adpcm.o adpcm_data.o
713
OBJS-$(CONFIG_ADPCM_PSX_DECODER)          += adpcm.o adpcm_data.o
714 715 716
OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER)      += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER)      += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER)      += adpcm.o adpcm_data.o
717 718
OBJS-$(CONFIG_ADPCM_SWF_DECODER)          += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_SWF_ENCODER)          += adpcmenc.o adpcm_data.o
719
OBJS-$(CONFIG_ADPCM_THP_DECODER)          += adpcm.o adpcm_data.o
720
OBJS-$(CONFIG_ADPCM_VIMA_DECODER)         += vima.o adpcm_data.o
721
OBJS-$(CONFIG_ADPCM_XA_DECODER)           += adpcm.o adpcm_data.o
722 723
OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)       += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)       += adpcmenc.o adpcm_data.o
724

725
# hardware accelerators
726
OBJS-$(CONFIG_D3D11VA)                    += dxva2.o
727 728
OBJS-$(CONFIG_DXVA2)                      += dxva2.o
OBJS-$(CONFIG_VAAPI)                      += vaapi.o
729 730
OBJS-$(CONFIG_VDA)                        += vda.o videotoolbox.o
OBJS-$(CONFIG_VIDEOTOOLBOX)               += videotoolbox.o
731 732
OBJS-$(CONFIG_VDPAU)                      += vdpau.o

733
OBJS-$(CONFIG_H263_VAAPI_HWACCEL)         += vaapi_mpeg4.o
734
OBJS-$(CONFIG_H263_VIDEOTOOLBOX_HWACCEL)  += videotoolbox.o
735
OBJS-$(CONFIG_H264_D3D11VA_HWACCEL)       += dxva2_h264.o
736 737 738 739
OBJS-$(CONFIG_H264_DXVA2_HWACCEL)         += dxva2_h264.o
OBJS-$(CONFIG_H264_VAAPI_HWACCEL)         += vaapi_h264.o
OBJS-$(CONFIG_H264_VDA_HWACCEL)           += vda_h264.o
OBJS-$(CONFIG_H264_VDPAU_HWACCEL)         += vdpau_h264.o
740
OBJS-$(CONFIG_H264_VIDEOTOOLBOX_HWACCEL)  += videotoolbox.o
741
OBJS-$(CONFIG_HEVC_D3D11VA_HWACCEL)       += dxva2_hevc.o
742
OBJS-$(CONFIG_HEVC_DXVA2_HWACCEL)         += dxva2_hevc.o
743
OBJS-$(CONFIG_HEVC_VAAPI_HWACCEL)         += vaapi_hevc.o
744
OBJS-$(CONFIG_HEVC_VDPAU_HWACCEL)         += vdpau_hevc.o
745
OBJS-$(CONFIG_MPEG1_VDPAU_HWACCEL)        += vdpau_mpeg12.o
746
OBJS-$(CONFIG_MPEG1_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
747
OBJS-$(CONFIG_MPEG1_XVMC_HWACCEL)         += mpegvideo_xvmc.o
748
OBJS-$(CONFIG_MPEG2_D3D11VA_HWACCEL)      += dxva2_mpeg2.o
749 750 751
OBJS-$(CONFIG_MPEG2_DXVA2_HWACCEL)        += dxva2_mpeg2.o
OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL)        += vaapi_mpeg2.o
OBJS-$(CONFIG_MPEG2_VDPAU_HWACCEL)        += vdpau_mpeg12.o
752
OBJS-$(CONFIG_MPEG2_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
753
OBJS-$(CONFIG_MPEG2_XVMC_HWACCEL)         += mpegvideo_xvmc.o
754 755
OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL)        += vaapi_mpeg4.o
OBJS-$(CONFIG_MPEG4_VDPAU_HWACCEL)        += vdpau_mpeg4.o
756
OBJS-$(CONFIG_MPEG4_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
757
OBJS-$(CONFIG_VC1_D3D11VA_HWACCEL)        += dxva2_vc1.o
758 759 760
OBJS-$(CONFIG_VC1_DXVA2_HWACCEL)          += dxva2_vc1.o
OBJS-$(CONFIG_VC1_VAAPI_HWACCEL)          += vaapi_vc1.o
OBJS-$(CONFIG_VC1_VDPAU_HWACCEL)          += vdpau_vc1.o
761 762
OBJS-$(CONFIG_VP9_D3D11VA_HWACCEL)        += dxva2_vp9.o
OBJS-$(CONFIG_VP9_DXVA2_HWACCEL)          += dxva2_vp9.o
763
OBJS-$(CONFIG_VP9_VAAPI_HWACCEL)          += vaapi_vp9.o
764

765 766 767 768 769 770
# hardware-accelerated decoding/encoding
OBJS-$(CONFIG_NVENC)                      += nvenc.o
OBJS-$(CONFIG_QSV)                        += qsv.o
OBJS-$(CONFIG_QSVDEC)                     += qsvdec.o
OBJS-$(CONFIG_QSVENC)                     += qsvenc.o

771
OBJS-$(CONFIG_H264_CUVID_DECODER)         += cuvid.o
772
OBJS-$(CONFIG_H264_MMAL_DECODER)          += mmaldec.o
773
OBJS-$(CONFIG_H264_VDA_DECODER)           += vda_h264_dec.o
774
OBJS-$(CONFIG_H264_OMX_ENCODER)           += omx.o
775 776 777
OBJS-$(CONFIG_H264_QSV_DECODER)           += qsvdec_h2645.o
OBJS-$(CONFIG_H264_QSV_ENCODER)           += qsvenc_h264.o
OBJS-$(CONFIG_H264_VAAPI_ENCODER)         += vaapi_encode_h264.o vaapi_encode_h26x.o
778
OBJS-$(CONFIG_HEVC_CUVID_DECODER)         += cuvid.o
779 780 781
OBJS-$(CONFIG_HEVC_QSV_DECODER)           += qsvdec_h2645.o
OBJS-$(CONFIG_HEVC_QSV_ENCODER)           += qsvenc_hevc.o hevc_ps_enc.o h2645_parse.o
OBJS-$(CONFIG_HEVC_VAAPI_ENCODER)         += vaapi_encode_h265.o vaapi_encode_h26x.o
782
OBJS-$(CONFIG_MPEG2_MMAL_DECODER)         += mmaldec.o
783 784
OBJS-$(CONFIG_MPEG2_QSV_DECODER)          += qsvdec_mpeg2.o
OBJS-$(CONFIG_MPEG2_QSV_ENCODER)          += qsvenc_mpeg2.o
785
OBJS-$(CONFIG_MPEG4_OMX_ENCODER)          += omx.o
786 787 788
OBJS-$(CONFIG_NVENC_ENCODER)              += nvenc_h264.o
OBJS-$(CONFIG_NVENC_H264_ENCODER)         += nvenc_h264.o
OBJS-$(CONFIG_NVENC_HEVC_ENCODER)         += nvenc_hevc.o
789 790 791
OBJS-$(CONFIG_VC1_CUVID_DECODER)          += cuvid.o
OBJS-$(CONFIG_VP8_CUVID_DECODER)          += cuvid.o
OBJS-$(CONFIG_VP9_CUVID_DECODER)          += cuvid.o
792

Baptiste Coudurier's avatar
Baptiste Coudurier committed
793
# libavformat dependencies
794 795
OBJS-$(CONFIG_ISO_MEDIA)               += mpeg4audio.o mpegaudiodata.o

796
OBJS-$(CONFIG_ADTS_MUXER)              += mpeg4audio.o
797
OBJS-$(CONFIG_CAF_DEMUXER)             += ac3tab.o
798
OBJS-$(CONFIG_DNXHD_DEMUXER)           += dnxhddata.o
799
OBJS-$(CONFIG_FLAC_DEMUXER)            += flac.o flacdata.o vorbis_data.o
800
OBJS-$(CONFIG_FLAC_MUXER)              += flac.o flacdata.o vorbis_data.o
801
OBJS-$(CONFIG_FLV_DEMUXER)             += mpeg4audio.o
802
OBJS-$(CONFIG_GXF_DEMUXER)             += mpeg12data.o
803
OBJS-$(CONFIG_IFF_DEMUXER)             += iff.o
Kieran Kunhya's avatar
Kieran Kunhya committed
804
OBJS-$(CONFIG_LATM_MUXER)              += mpeg4audio.o
805
OBJS-$(CONFIG_MATROSKA_AUDIO_MUXER)    += mpeg4audio.o vorbis_data.o    \
806
                                          flac.o flacdata.o
807
OBJS-$(CONFIG_MATROSKA_MUXER)          += flac.o flacdata.o vorbis_data.o
808
OBJS-$(CONFIG_MOV_DEMUXER)             += ac3tab.o
809
OBJS-$(CONFIG_MP2_MUXER)               += mpegaudiodata.o mpegaudiodecheader.o
810
OBJS-$(CONFIG_MP3_MUXER)               += mpegaudiodata.o mpegaudiodecheader.o
811
OBJS-$(CONFIG_MPEGTS_MUXER)            += mpeg4audio.o
812
OBJS-$(CONFIG_MXF_MUXER)               += dnxhddata.o
813
OBJS-$(CONFIG_NUT_MUXER)               += mpegaudiodata.o
814
OBJS-$(CONFIG_NUT_DEMUXER)             += mpegaudiodata.o mpeg4audio.o
815
OBJS-$(CONFIG_OGA_MUXER)               += flac.o flacdata.o
816
OBJS-$(CONFIG_OGG_DEMUXER)             += mpeg12data.o \
817
                                          dirac.o vorbis_data.o
818
OBJS-$(CONFIG_OGG_MUXER)               += flac.o flacdata.o \
819
                                          vorbis_data.o
820
OBJS-$(CONFIG_RTP_MUXER)               += mpeg4audio.o
821
OBJS-$(CONFIG_SPDIF_DEMUXER)           += aacadtsdec.o mpeg4audio.o
822
OBJS-$(CONFIG_SPDIF_MUXER)             += dca.o
823
OBJS-$(CONFIG_TAK_DEMUXER)             += tak.o
824
OBJS-$(CONFIG_WEBM_MUXER)              += mpeg4audio.o mpegaudiodata.o  \
825
                                          flac.o flacdata.o \
826
                                          vorbis_data.o
Baptiste Coudurier's avatar
Baptiste Coudurier committed
827

828 829 830
# libavfilter dependencies
OBJS-$(CONFIG_ELBG_FILTER)             += elbg.o

831
# external codec libraries
832 833 834 835 836
OBJS-$(CONFIG_AAC_AT_DECODER)             += audiotoolboxdec.o
OBJS-$(CONFIG_AC3_AT_DECODER)             += audiotoolboxdec.o
OBJS-$(CONFIG_ADPCM_IMA_QT_AT_DECODER)    += audiotoolboxdec.o
OBJS-$(CONFIG_ALAC_AT_DECODER)            += audiotoolboxdec.o
OBJS-$(CONFIG_AMR_NB_AT_DECODER)          += audiotoolboxdec.o
837
OBJS-$(CONFIG_EAC3_AT_DECODER)            += audiotoolboxdec.o
838 839
OBJS-$(CONFIG_GSM_MS_AT_DECODER)          += audiotoolboxdec.o
OBJS-$(CONFIG_ILBC_AT_DECODER)            += audiotoolboxdec.o
840 841 842
OBJS-$(CONFIG_MP1_AT_DECODER)             += audiotoolboxdec.o mpegaudiodecheader.o
OBJS-$(CONFIG_MP2_AT_DECODER)             += audiotoolboxdec.o mpegaudiodecheader.o
OBJS-$(CONFIG_MP3_AT_DECODER)             += audiotoolboxdec.o mpegaudiodecheader.o
843 844 845 846
OBJS-$(CONFIG_PCM_MULAW_AT_DECODER)       += audiotoolboxdec.o
OBJS-$(CONFIG_PCM_ALAW_AT_DECODER)        += audiotoolboxdec.o
OBJS-$(CONFIG_QDMC_AT_DECODER)            += audiotoolboxdec.o
OBJS-$(CONFIG_QDM2_AT_DECODER)            += audiotoolboxdec.o
847 848 849 850 851
OBJS-$(CONFIG_AAC_AT_ENCODER)             += audiotoolboxenc.o
OBJS-$(CONFIG_ALAC_AT_ENCODER)            += audiotoolboxenc.o
OBJS-$(CONFIG_ILBC_AT_ENCODER)            += audiotoolboxenc.o
OBJS-$(CONFIG_PCM_ALAW_AT_ENCODER)        += audiotoolboxenc.o
OBJS-$(CONFIG_PCM_MULAW_AT_ENCODER)       += audiotoolboxenc.o
852
OBJS-$(CONFIG_LIBCELT_DECODER)            += libcelt_dec.o
853
OBJS-$(CONFIG_LIBFAAC_ENCODER)            += libfaac.o
854
OBJS-$(CONFIG_LIBFDK_AAC_DECODER)         += libfdk-aacdec.o
855
OBJS-$(CONFIG_LIBFDK_AAC_ENCODER)         += libfdk-aacenc.o
856 857 858 859
OBJS-$(CONFIG_LIBGSM_DECODER)             += libgsmdec.o
OBJS-$(CONFIG_LIBGSM_ENCODER)             += libgsmenc.o
OBJS-$(CONFIG_LIBGSM_MS_DECODER)          += libgsmdec.o
OBJS-$(CONFIG_LIBGSM_MS_ENCODER)          += libgsmenc.o
860 861
OBJS-$(CONFIG_LIBILBC_DECODER)            += libilbc.o
OBJS-$(CONFIG_LIBILBC_ENCODER)            += libilbc.o
862
OBJS-$(CONFIG_LIBKVAZAAR_ENCODER)         += libkvazaar.o
863
OBJS-$(CONFIG_LIBMP3LAME_ENCODER)         += libmp3lame.o mpegaudiodecheader.o
864
OBJS-$(CONFIG_LIBOPENCORE_AMRNB_DECODER)  += libopencore-amr.o
865
OBJS-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER)  += libopencore-amr.o
866
OBJS-$(CONFIG_LIBOPENCORE_AMRWB_DECODER)  += libopencore-amr.o
867
OBJS-$(CONFIG_LIBOPENH264_ENCODER)        += libopenh264enc.o
868
OBJS-$(CONFIG_LIBOPENJPEG_DECODER)        += libopenjpegdec.o
869
OBJS-$(CONFIG_LIBOPENJPEG_ENCODER)        += libopenjpegenc.o
870 871 872
OBJS-$(CONFIG_LIBOPUS_DECODER)            += libopusdec.o libopus.o     \
                                             vorbis_data.o
OBJS-$(CONFIG_LIBOPUS_ENCODER)            += libopusenc.o libopus.o     \
873
                                             vorbis_data.o
874
OBJS-$(CONFIG_LIBSCHROEDINGER_DECODER)    += libschroedingerdec.o \
875
                                             libschroedinger.o
876
OBJS-$(CONFIG_LIBSCHROEDINGER_ENCODER)    += libschroedingerenc.o \
877
                                             libschroedinger.o
878
OBJS-$(CONFIG_LIBSHINE_ENCODER)           += libshine.o
879
OBJS-$(CONFIG_LIBSPEEX_DECODER)           += libspeexdec.o
880
OBJS-$(CONFIG_LIBSPEEX_ENCODER)           += libspeexenc.o
881
OBJS-$(CONFIG_LIBTHEORA_ENCODER)          += libtheoraenc.o
882
OBJS-$(CONFIG_LIBTWOLAME_ENCODER)         += libtwolame.o
883 884
OBJS-$(CONFIG_LIBUTVIDEO_DECODER)         += libutvideodec.o
OBJS-$(CONFIG_LIBUTVIDEO_ENCODER)         += libutvideoenc.o
885
OBJS-$(CONFIG_LIBVO_AMRWBENC_ENCODER)     += libvo-amrwbenc.o
886
OBJS-$(CONFIG_LIBVORBIS_DECODER)          += libvorbisdec.o
887
OBJS-$(CONFIG_LIBVORBIS_ENCODER)          += libvorbisenc.o \
888
                                             vorbis_data.o
889 890
OBJS-$(CONFIG_LIBVPX_VP8_DECODER)         += libvpxdec.o
OBJS-$(CONFIG_LIBVPX_VP8_ENCODER)         += libvpxenc.o
891 892
OBJS-$(CONFIG_LIBVPX_VP9_DECODER)         += libvpxdec.o libvpx.o
OBJS-$(CONFIG_LIBVPX_VP9_ENCODER)         += libvpxenc.o libvpx.o
893
OBJS-$(CONFIG_LIBWAVPACK_ENCODER)         += libwavpackenc.o
894
OBJS-$(CONFIG_LIBWEBP_ENCODER)            += libwebpenc_common.o libwebpenc.o
895
OBJS-$(CONFIG_LIBWEBP_ANIM_ENCODER)       += libwebpenc_common.o libwebpenc_animencoder.o
896
OBJS-$(CONFIG_LIBX262_ENCODER)            += libx264.o
897
OBJS-$(CONFIG_LIBX264_ENCODER)            += libx264.o
Derek Buitenhuis's avatar
Derek Buitenhuis committed
898
OBJS-$(CONFIG_LIBX265_ENCODER)            += libx265.o
899
OBJS-$(CONFIG_LIBXAVS_ENCODER)            += libxavs.o
900
OBJS-$(CONFIG_LIBXVID_ENCODER)            += libxvid.o
901
OBJS-$(CONFIG_LIBZVBI_TELETEXT_DECODER)   += libzvbi-teletextdec.o
902

903
# parsers
904
OBJS-$(CONFIG_AAC_LATM_PARSER)         += latm_parser.o
905
OBJS-$(CONFIG_AAC_PARSER)              += aac_parser.o aac_ac3_parser.o \
906
                                          aacadtsdec.o mpeg4audio.o
907 908
OBJS-$(CONFIG_AC3_PARSER)              += ac3_parser.o ac3tab.o \
                                          aac_ac3_parser.o
Justin Ruggles's avatar
Justin Ruggles committed
909
OBJS-$(CONFIG_ADX_PARSER)              += adx_parser.o adx.o
Paul B Mahol's avatar
Paul B Mahol committed
910
OBJS-$(CONFIG_BMP_PARSER)              += bmp_parser.o
911
OBJS-$(CONFIG_CAVSVIDEO_PARSER)        += cavs_parser.o
912
OBJS-$(CONFIG_COOK_PARSER)             += cook_parser.o
913
OBJS-$(CONFIG_DCA_PARSER)              += dca_parser.o dca_exss.o dca.o
914
OBJS-$(CONFIG_DIRAC_PARSER)            += dirac_parser.o
Baptiste Coudurier's avatar
Baptiste Coudurier committed
915
OBJS-$(CONFIG_DNXHD_PARSER)            += dnxhd_parser.o
Paul B Mahol's avatar
Paul B Mahol committed
916
OBJS-$(CONFIG_DPX_PARSER)              += dpx_parser.o
917
OBJS-$(CONFIG_DVAUDIO_PARSER)          += dvaudio_parser.o
918
OBJS-$(CONFIG_DVBSUB_PARSER)           += dvbsub_parser.o
919
OBJS-$(CONFIG_DVD_NAV_PARSER)          += dvd_nav_parser.o
920
OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
921 922
OBJS-$(CONFIG_FLAC_PARSER)             += flac_parser.o flacdata.o flac.o \
                                          vorbis_data.o
923
OBJS-$(CONFIG_G729_PARSER)             += g729_parser.o
Justin Ruggles's avatar
Justin Ruggles committed
924
OBJS-$(CONFIG_GSM_PARSER)              += gsm_parser.o
925
OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
926
OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
927
OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o h264_parse.o h2645_parse.o
928
OBJS-$(CONFIG_HEVC_PARSER)             += hevc_parser.o h2645_parse.o hevc_ps.o hevc_data.o
929
OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg_parser.o
930
OBJS-$(CONFIG_MLP_PARSER)              += mlp_parser.o mlp.o
931
OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += mpeg4video_parser.o h263.o \
932
                                          mpeg4videodec.o mpeg4video.o \
933
                                          ituh263dec.o h263dec.o h263data.o
Peter Holik's avatar
Peter Holik committed
934
OBJS-$(CONFIG_PNG_PARSER)              += png_parser.o
935 936 937
OBJS-$(CONFIG_MPEGAUDIO_PARSER)        += mpegaudio_parser.o \
                                          mpegaudiodecheader.o mpegaudiodata.o
OBJS-$(CONFIG_MPEGVIDEO_PARSER)        += mpegvideo_parser.o    \
938
                                          mpeg12.o mpeg12data.o
939
OBJS-$(CONFIG_OPUS_PARSER)             += opus_parser.o opus.o vorbis_data.o
940
OBJS-$(CONFIG_PNG_PARSER)              += png_parser.o
941
OBJS-$(CONFIG_PNM_PARSER)              += pnm_parser.o pnm.o
942 943
OBJS-$(CONFIG_RV30_PARSER)             += rv34_parser.o
OBJS-$(CONFIG_RV40_PARSER)             += rv34_parser.o
944
OBJS-$(CONFIG_TAK_PARSER)              += tak_parser.o tak.o
945 946
OBJS-$(CONFIG_VC1_PARSER)              += vc1_parser.o vc1.o vc1data.o  \
                                          simple_idct.o wmv2data.o
947
OBJS-$(CONFIG_VP3_PARSER)              += vp3_parser.o
David Conrad's avatar
David Conrad committed
948
OBJS-$(CONFIG_VP8_PARSER)              += vp8_parser.o
949
OBJS-$(CONFIG_VP9_PARSER)              += vp9_parser.o
950

951
# bitstream filters
952 953
OBJS-$(CONFIG_AAC_ADTSTOASC_BSF)          += aac_adtstoasc_bsf.o aacadtsdec.o \
                                             mpeg4audio.o
954
OBJS-$(CONFIG_CHOMP_BSF)                  += chomp_bsf.o
Diego Biurrun's avatar
Diego Biurrun committed
955
OBJS-$(CONFIG_DUMP_EXTRADATA_BSF)         += dump_extradata_bsf.o
956
OBJS-$(CONFIG_DCA_CORE_BSF)               += dca_core_bsf.o
Diego Biurrun's avatar
Diego Biurrun committed
957
OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF)       += h264_mp4toannexb_bsf.o
958
OBJS-$(CONFIG_HEVC_MP4TOANNEXB_BSF)       += hevc_mp4toannexb_bsf.o
Diego Biurrun's avatar
Diego Biurrun committed
959
OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF)        += imx_dump_header_bsf.o
960
OBJS-$(CONFIG_MJPEG2JPEG_BSF)             += mjpeg2jpeg_bsf.o
Diego Biurrun's avatar
Diego Biurrun committed
961
OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF)     += mjpega_dump_header_bsf.o
962
OBJS-$(CONFIG_MPEG4_UNPACK_BFRAMES_BSF)   += mpeg4_unpack_bframes_bsf.o
Diego Biurrun's avatar
Diego Biurrun committed
963
OBJS-$(CONFIG_MOV2TEXTSUB_BSF)            += movsub_bsf.o
964 965
OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF)  += mp3_header_decompress_bsf.o \
                                             mpegaudiodata.o
Diego Biurrun's avatar
Diego Biurrun committed
966 967 968
OBJS-$(CONFIG_NOISE_BSF)                  += noise_bsf.o
OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF)       += remove_extradata_bsf.o
OBJS-$(CONFIG_TEXT2MOVSUB_BSF)            += movsub_bsf.o
969
OBJS-$(CONFIG_VP9_SUPERFRAME_BSF)         += vp9_superframe_bsf.o
970

971
# thread libraries
972
OBJS-$(HAVE_LIBC_MSVCRT)               += file_open.o
973
OBJS-$(HAVE_THREADS)                   += pthread.o pthread_slice.o pthread_frame.o
974 975

OBJS-$(CONFIG_FRAME_THREAD_ENCODER)    += frame_thread_encoder.o
Måns Rullgård's avatar
Måns Rullgård committed
976

977 978 979
# Windows resource file
SLIBOBJS-$(HAVE_GNU_WINDRES)           += avcodecres.o

980 981 982 983
SKIPHEADERS                            += %_tablegen.h                  \
                                          %_tables.h                    \
                                          fft-internal.h                \
                                          tableprint.h                  \
984
                                          tableprint_vlc.h              \
985 986
                                          aaccoder_twoloop.h            \
                                          aaccoder_trellis.h            \
987 988
                                          aacenc_quantization.h         \
                                          aacenc_quantization_misc.h    \
989 990
                                          $(ARCH)/vp56_arith.h          \

991
SKIPHEADERS-$(CONFIG_D3D11VA)          += d3d11va.h dxva2_internal.h
992
SKIPHEADERS-$(CONFIG_DXVA2)            += dxva2.h dxva2_internal.h
993
SKIPHEADERS-$(CONFIG_JNI)              += ffjni.h
994
SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
995
SKIPHEADERS-$(CONFIG_LIBUTVIDEO)       += libutvideo.h
996
SKIPHEADERS-$(CONFIG_LIBVPX)           += libvpx.h
997
SKIPHEADERS-$(CONFIG_LIBWEBP_ENCODER)  += libwebpenc_common.h
998
SKIPHEADERS-$(CONFIG_MEDIACODEC)       += mediacodecdec.h mediacodec_wrapper.h mediacodec_sw_buffer.h
999
SKIPHEADERS-$(CONFIG_NVENC)            += nvenc.h
1000 1001 1002
SKIPHEADERS-$(CONFIG_QSV)              += qsv.h qsv_internal.h
SKIPHEADERS-$(CONFIG_QSVDEC)           += qsvdec.h
SKIPHEADERS-$(CONFIG_QSVENC)           += qsvenc.h
1003
SKIPHEADERS-$(CONFIG_XVMC)             += xvmc.h
1004
SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_encode.h vaapi_internal.h
1005
SKIPHEADERS-$(CONFIG_VDA)              += vda.h vda_vt_internal.h
1006
SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h vdpau_internal.h
1007
SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX)     += videotoolbox.h vda_vt_internal.h
1008

1009
TESTPROGS = imgconvert                                                  \
1010
            jpeg2000dwt                                                 \
1011
            mathops                                                    \
1012
            options                                                     \
1013
            utils                                                       \
1014

1015
TESTPROGS-$(CONFIG_CABAC)                 += cabac
1016
TESTPROGS-$(CONFIG_DCT)                   += avfft
1017
TESTPROGS-$(CONFIG_FFT)                   += fft fft-fixed fft-fixed32
1018
TESTPROGS-$(CONFIG_GOLOMB)                += golomb
1019
TESTPROGS-$(CONFIG_IDCTDSP)               += dct
1020
TESTPROGS-$(CONFIG_IIRFILTER)             += iirfilter
1021
TESTPROGS-$(HAVE_MMX)                     += motion
1022
TESTPROGS-$(CONFIG_RANGECODER)            += rangecoder
1023
TESTPROGS-$(CONFIG_SNOW_ENCODER)          += snowenc
1024

1025
TESTOBJS = dctref.o
1026

1027 1028
TOOLS = fourcc2pixfmt

1029
HOSTPROGS = aacps_tablegen                                              \
1030
            aacps_fixed_tablegen                                        \
1031
            cbrt_tablegen                                               \
1032
            cbrt_fixed_tablegen                                         \
1033 1034 1035 1036 1037 1038 1039
            cos_tablegen                                                \
            dv_tablegen                                                 \
            motionpixels_tablegen                                       \
            mpegaudio_tablegen                                          \
            pcm_tablegen                                                \
            qdm2_tablegen                                               \
            sinewin_tablegen                                            \
1040
            sinewin_fixed_tablegen                                      \
1041

1042
CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
1043

1044
$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)aandcttab.o
1045
$(SUBDIR)dv_tablegen$(HOSTEXESUF): $(SUBDIR)dvdata_host.o
1046

1047 1048
TRIG_TABLES  = cos cos_fixed sin
TRIG_TABLES := $(TRIG_TABLES:%=$(SUBDIR)%_tables.c)
Mans Rullgard's avatar
Mans Rullgard committed
1049

1050
$(TRIG_TABLES): $(SUBDIR)%_tables.c: $(SUBDIR)cos_tablegen$(HOSTEXESUF)
1051
	$(M)./$< $* > $@
1052

1053 1054 1055 1056 1057 1058
ifdef CONFIG_SMALL
$(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=1
else
$(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=0
endif

1059
GEN_HEADERS = cbrt_tables.h cbrt_fixed_tables.h aacps_tables.h aacps_fixed_tables.h \
1060
              dv_tables.h     \
1061
              sinewin_tables.h sinewin_fixed_tables.h mpegaudio_tables.h motionpixels_tables.h \
1062 1063 1064 1065
              pcm_tables.h qdm2_tables.h
GEN_HEADERS := $(addprefix $(SUBDIR), $(GEN_HEADERS))

$(GEN_HEADERS): $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
1066
	$(M)./$< > $@
1067 1068

ifdef CONFIG_HARDCODED_TABLES
1069 1070
$(SUBDIR)cbrt_data.o: $(SUBDIR)cbrt_tables.h
$(SUBDIR)cbrt_data_fixed.o: $(SUBDIR)cbrt_fixed_tables.h
1071 1072
$(SUBDIR)aacps_float.o: $(SUBDIR)aacps_tables.h
$(SUBDIR)aacps_fixed.o: $(SUBDIR)aacps_fixed_tables.h
1073
$(SUBDIR)aactab_fixed.o: $(SUBDIR)aac_fixed_tables.h
1074
$(SUBDIR)dvenc.o: $(SUBDIR)dv_tables.h
1075
$(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h
1076
$(SUBDIR)mpegaudiodec_fixed.o: $(SUBDIR)mpegaudio_tables.h
1077
$(SUBDIR)mpegaudiodec_float.o: $(SUBDIR)mpegaudio_tables.h
1078
$(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h
1079
$(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h
1080
$(SUBDIR)sinewin.o: $(SUBDIR)sinewin_tables.h
1081
$(SUBDIR)sinewin_fixed.o: $(SUBDIR)sinewin_fixed_tables.h
1082
endif