Makefile 40.3 KB
Newer Older
Måns Rullgård's avatar
Måns Rullgård committed
1
include $(SUBDIR)../config.mak
2

3 4 5
NAME = avcodec
FFLIBS = avutil

Laurent Aimar's avatar
Laurent Aimar committed
6
HEADERS = avcodec.h dxva2.h opt.h vaapi.h vdpau.h xvmc.h
7

8 9
OBJS = allcodecs.o                                                      \
       audioconvert.o                                                   \
10
       avpacket.o                                                       \
11 12 13 14 15 16 17 18
       bitstream.o                                                      \
       bitstream_filter.o                                               \
       dsputil.o                                                        \
       eval.o                                                           \
       faanidct.o                                                       \
       imgconvert.o                                                     \
       jrevdct.o                                                        \
       opt.o                                                            \
19
       options.o                                                        \
20 21 22 23 24 25
       parser.o                                                         \
       raw.o                                                            \
       resample.o                                                       \
       resample2.o                                                      \
       simple_idct.o                                                    \
       utils.o                                                          \
26

27
# parts needed for many different codecs
28
OBJS-$(CONFIG_AANDCT)                  += aandcttab.o
29
OBJS-$(CONFIG_ENCODERS)                += faandct.o jfdctfst.o jfdctint.o
30
OBJS-$(CONFIG_DCT)                     += dct.o
31
OBJS-$(CONFIG_DXVA2)                   += dxva2.o
32 33
FFT-OBJS-$(CONFIG_HARDCODED_TABLES)    += cos_tables.o
OBJS-$(CONFIG_FFT)                     += fft.o $(FFT-OBJS-yes)
34
OBJS-$(CONFIG_GOLOMB)                  += golomb.o
35
OBJS-$(CONFIG_LPC)                     += lpc.o
36
OBJS-$(CONFIG_MDCT)                    += mdct.o
37 38
RDFT-OBJS-$(CONFIG_HARDCODED_TABLES)   += sin_tables.o
OBJS-$(CONFIG_RDFT)                    += rdft.o $(RDFT-OBJS-yes)
39 40
OBJS-$(CONFIG_VAAPI)                   += vaapi.o
OBJS-$(CONFIG_VDPAU)                   += vdpau.o
41

42
# decoders/encoders/hardware accelerators
43
OBJS-$(CONFIG_AAC_DECODER)             += aac.o aactab.o
44 45 46 47
OBJS-$(CONFIG_AAC_ENCODER)             += aacenc.o aaccoder.o    \
                                          aacpsy.o aactab.o      \
                                          psymodel.o iirfilter.o \
                                          mpeg4audio.o
48
OBJS-$(CONFIG_AASC_DECODER)            += aasc.o msrledec.o
49
OBJS-$(CONFIG_AC3_DECODER)             += ac3dec.o ac3dec_data.o ac3.o
50
OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc.o ac3tab.o ac3.o
Måns Rullgård's avatar
Måns Rullgård committed
51
OBJS-$(CONFIG_ALAC_DECODER)            += alac.o
52
OBJS-$(CONFIG_ALAC_ENCODER)            += alacenc.o
53
OBJS-$(CONFIG_ALS_DECODER)             += alsdec.o bgmc.o mpeg4audio.o
Vladimir Voroshilov's avatar
Vladimir Voroshilov committed
54
OBJS-$(CONFIG_AMV_DECODER)             += sp5xdec.o mjpegdec.o mjpeg.o
Peter Ross's avatar
Peter Ross committed
55
OBJS-$(CONFIG_ANM_DECODER)             += anm.o
Kostya Shishkov's avatar
Kostya Shishkov committed
56
OBJS-$(CONFIG_APE_DECODER)             += apedec.o
57 58 59 60
OBJS-$(CONFIG_ASV1_DECODER)            += asv1.o mpeg12data.o
OBJS-$(CONFIG_ASV1_ENCODER)            += asv1.o mpeg12data.o
OBJS-$(CONFIG_ASV2_DECODER)            += asv1.o mpeg12data.o
OBJS-$(CONFIG_ASV2_ENCODER)            += asv1.o mpeg12data.o
61
OBJS-$(CONFIG_ATRAC1_DECODER)          += atrac1.o atrac.o
62
OBJS-$(CONFIG_ATRAC3_DECODER)          += atrac3.o atrac.o
63
OBJS-$(CONFIG_AURA_DECODER)            += cyuv.o
Kostya Shishkov's avatar
Kostya Shishkov committed
64
OBJS-$(CONFIG_AURA2_DECODER)           += aura.o
Måns Rullgård's avatar
Måns Rullgård committed
65
OBJS-$(CONFIG_AVS_DECODER)             += avs.o
66
OBJS-$(CONFIG_BETHSOFTVID_DECODER)     += bethsoftvideo.o
Sisir Koppaka's avatar
Sisir Koppaka committed
67
OBJS-$(CONFIG_BFI_DECODER)             += bfi.o
Peter Ross's avatar
Peter Ross committed
68 69
OBJS-$(CONFIG_BINKAUDIO_DCT_DECODER)   += binkaudio.o wma.o
OBJS-$(CONFIG_BINKAUDIO_RDFT_DECODER)  += binkaudio.o wma.o
70
OBJS-$(CONFIG_BMP_DECODER)             += bmp.o msrledec.o
71
OBJS-$(CONFIG_BMP_ENCODER)             += bmpenc.o
72
OBJS-$(CONFIG_C93_DECODER)             += c93.o
73 74
OBJS-$(CONFIG_CAVS_DECODER)            += cavs.o cavsdec.o cavsdsp.o \
                                          mpeg12data.o mpegvideo.o
Michael Tison's avatar
Michael Tison committed
75
OBJS-$(CONFIG_CDGRAPHICS_DECODER)      += cdgraphics.o
Måns Rullgård's avatar
Måns Rullgård committed
76 77 78
OBJS-$(CONFIG_CINEPAK_DECODER)         += cinepak.o
OBJS-$(CONFIG_CLJR_DECODER)            += cljr.o
OBJS-$(CONFIG_CLJR_ENCODER)            += cljr.o
79
OBJS-$(CONFIG_COOK_DECODER)            += cook.o
80
OBJS-$(CONFIG_CSCD_DECODER)            += cscd.o
Måns Rullgård's avatar
Måns Rullgård committed
81
OBJS-$(CONFIG_CYUV_DECODER)            += cyuv.o
82
OBJS-$(CONFIG_DCA_DECODER)             += dca.o synth_filter.o
83
OBJS-$(CONFIG_DNXHD_DECODER)           += dnxhddec.o dnxhddata.o
84 85 86 87
OBJS-$(CONFIG_DNXHD_ENCODER)           += dnxhdenc.o dnxhddata.o       \
                                          mpegvideo_enc.o motion_est.o \
                                          ratecontrol.o mpeg12data.o   \
                                          mpegvideo.o
88
OBJS-$(CONFIG_DPX_DECODER)             += dpx.o
89
OBJS-$(CONFIG_DSICINAUDIO_DECODER)     += dsicinav.o
90
OBJS-$(CONFIG_DSICINVIDEO_DECODER)     += dsicinav.o
Måns Rullgård's avatar
Måns Rullgård committed
91 92
OBJS-$(CONFIG_DVBSUB_DECODER)          += dvbsubdec.o
OBJS-$(CONFIG_DVBSUB_ENCODER)          += dvbsub.o
93
OBJS-$(CONFIG_DVDSUB_DECODER)          += dvdsubdec.o
Måns Rullgård's avatar
Måns Rullgård committed
94
OBJS-$(CONFIG_DVDSUB_ENCODER)          += dvdsubenc.o
95 96
OBJS-$(CONFIG_DVVIDEO_DECODER)         += dv.o dvdata.o
OBJS-$(CONFIG_DVVIDEO_ENCODER)         += dv.o dvdata.o
Kostya Shishkov's avatar
Kostya Shishkov committed
97
OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
98
OBJS-$(CONFIG_EAC3_DECODER)            += eac3dec.o eac3dec_data.o
Peter Ross's avatar
Peter Ross committed
99
OBJS-$(CONFIG_EACMV_DECODER)           += eacmv.o
100 101 102
OBJS-$(CONFIG_EAMAD_DECODER)           += eamad.o eaidct.o mpeg12.o \
                                          mpeg12data.o mpegvideo.o  \
                                          error_resilience.o
103
OBJS-$(CONFIG_EATGQ_DECODER)           += eatgq.o eaidct.o
Peter Ross's avatar
Peter Ross committed
104
OBJS-$(CONFIG_EATGV_DECODER)           += eatgv.o
105 106 107
OBJS-$(CONFIG_EATQI_DECODER)           += eatqi.o eaidct.o mpeg12.o \
                                          mpeg12data.o mpegvideo.o  \
                                          error_resilience.o
Måns Rullgård's avatar
Måns Rullgård committed
108
OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
Jai Menon's avatar
Jai Menon committed
109 110
OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER)    += 8svx.o
OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER)    += 8svx.o
Eli Friedman's avatar
Eli Friedman committed
111
OBJS-$(CONFIG_ESCAPE124_DECODER)       += escape124.o
112
OBJS-$(CONFIG_FFV1_DECODER)            += ffv1.o rangecoder.o
113
OBJS-$(CONFIG_FFV1_ENCODER)            += ffv1.o rangecoder.o
114 115
OBJS-$(CONFIG_FFVHUFF_DECODER)         += huffyuv.o
OBJS-$(CONFIG_FFVHUFF_ENCODER)         += huffyuv.o
116
OBJS-$(CONFIG_FLAC_DECODER)            += flacdec.o flacdata.o flac.o
117
OBJS-$(CONFIG_FLAC_ENCODER)            += flacenc.o flacdata.o flac.o
118 119
OBJS-$(CONFIG_FLASHSV_DECODER)         += flashsv.o
OBJS-$(CONFIG_FLASHSV_ENCODER)         += flashsvenc.o
Måns Rullgård's avatar
Måns Rullgård committed
120 121
OBJS-$(CONFIG_FLIC_DECODER)            += flicvideo.o
OBJS-$(CONFIG_FOURXM_DECODER)          += 4xm.o
122
OBJS-$(CONFIG_FRAPS_DECODER)           += fraps.o huffman.o
123
OBJS-$(CONFIG_FRWU_DECODER)            += frwu.o
124
OBJS-$(CONFIG_GIF_DECODER)             += gifdec.o lzw.o
125
OBJS-$(CONFIG_GIF_ENCODER)             += gif.o
126 127 128 129 130 131
OBJS-$(CONFIG_H261_DECODER)            += h261dec.o h261.o \
                                          mpegvideo.o error_resilience.o
OBJS-$(CONFIG_H261_ENCODER)            += h261enc.o h261.o             \
                                          mpegvideo_enc.o motion_est.o \
                                          ratecontrol.o mpeg12data.o   \
                                          mpegvideo.o
132
OBJS-$(CONFIG_H263_DECODER)            += h263dec.o h263.o ituh263dec.o mpeg4video.o mpeg4videodec.o flvdec.o intelh263dec.o \
133
                                          mpegvideo.o error_resilience.o
134
OBJS-$(CONFIG_H263_VAAPI_HWACCEL)      += vaapi_mpeg4.o
135
OBJS-$(CONFIG_H263_ENCODER)            += mpegvideo_enc.o mpeg4video.o mpeg4videoenc.o motion_est.o      \
136
                                          ratecontrol.o h263.o ituh263enc.o flvenc.o mpeg12data.o \
137
                                          mpegvideo.o error_resilience.o
138
OBJS-$(CONFIG_H264_DECODER)            += h264.o h264idct.o h264pred.o h264_loopfilter.o h264_direct.o cabac.o \
139
                                          h264_sei.o h264_ps.o h264_refs.o h264_cavlc.o h264_cabac.o\
140
                                          mpegvideo.o error_resilience.o
Laurent Aimar's avatar
Laurent Aimar committed
141
OBJS-$(CONFIG_H264_DXVA2_HWACCEL)      += dxva2_h264.o
142
OBJS-$(CONFIG_H264_ENCODER)            += h264enc.o h264dspenc.o
143
OBJS-$(CONFIG_H264_VAAPI_HWACCEL)      += vaapi_h264.o
Måns Rullgård's avatar
Måns Rullgård committed
144 145 146
OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o
OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o
OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o
Peter Ross's avatar
Peter Ross committed
147 148
OBJS-$(CONFIG_IFF_BYTERUN1_DECODER)    += iff.o
OBJS-$(CONFIG_IFF_ILBM_DECODER)        += iff.o
149
OBJS-$(CONFIG_IMC_DECODER)             += imc.o
Måns Rullgård's avatar
Måns Rullgård committed
150 151
OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
Kostya Shishkov's avatar
Kostya Shishkov committed
152
OBJS-$(CONFIG_INDEO5_DECODER)          += indeo5.o ivi_common.o ivi_dsp.o
153
OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
154
OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
155 156
OBJS-$(CONFIG_JPEGLS_DECODER)          += jpeglsdec.o jpegls.o \
                                          mjpegdec.o mjpeg.o
157
OBJS-$(CONFIG_JPEGLS_ENCODER)          += jpeglsenc.o jpegls.o
Måns Rullgård's avatar
Måns Rullgård committed
158
OBJS-$(CONFIG_KMVC_DECODER)            += kmvc.o
159 160 161 162
OBJS-$(CONFIG_LJPEG_ENCODER)           += ljpegenc.o mjpegenc.o mjpeg.o \
                                          mpegvideo_enc.o motion_est.o  \
                                          ratecontrol.o mpeg12data.o    \
                                          mpegvideo.o
163
OBJS-$(CONFIG_LOCO_DECODER)            += loco.o
Måns Rullgård's avatar
Måns Rullgård committed
164 165
OBJS-$(CONFIG_MACE3_DECODER)           += mace.o
OBJS-$(CONFIG_MACE6_DECODER)           += mace.o
166 167
OBJS-$(CONFIG_MDEC_DECODER)            += mdec.o mpeg12.o mpeg12data.o \
                                          mpegvideo.o error_resilience.o
Ramiro Polla's avatar
Ramiro Polla committed
168
OBJS-$(CONFIG_MIMIC_DECODER)           += mimic.o
169
OBJS-$(CONFIG_MJPEG_DECODER)           += mjpegdec.o mjpeg.o
170 171 172 173
OBJS-$(CONFIG_MJPEG_ENCODER)           += mjpegenc.o mjpeg.o           \
                                          mpegvideo_enc.o motion_est.o \
                                          ratecontrol.o mpeg12data.o   \
                                          mpegvideo.o
174
OBJS-$(CONFIG_MJPEGB_DECODER)          += mjpegbdec.o mjpegdec.o mjpeg.o
175
OBJS-$(CONFIG_MLP_DECODER)             += mlpdec.o mlpdsp.o
176
OBJS-$(CONFIG_MMVIDEO_DECODER)         += mmvideo.o
Gregory Montoir's avatar
Gregory Montoir committed
177
OBJS-$(CONFIG_MOTIONPIXELS_DECODER)    += motionpixels.o
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
OBJS-$(CONFIG_MP1_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
                                          mpegaudio.o mpegaudiodata.o
OBJS-$(CONFIG_MP2_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
                                          mpegaudio.o mpegaudiodata.o
OBJS-$(CONFIG_MP2_ENCODER)             += mpegaudioenc.o mpegaudio.o \
                                          mpegaudiodata.o
OBJS-$(CONFIG_MP3ADU_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o \
                                          mpegaudio.o mpegaudiodata.o
OBJS-$(CONFIG_MP3ON4_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o \
                                          mpegaudio.o mpegaudiodata.o mpeg4audio.o
OBJS-$(CONFIG_MP3_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o \
                                          mpegaudio.o mpegaudiodata.o
OBJS-$(CONFIG_MPC7_DECODER)            += mpc7.o mpc.o mpegaudiodec.o      \
                                          mpegaudiodecheader.o mpegaudio.o \
                                          mpegaudiodata.o
OBJS-$(CONFIG_MPC8_DECODER)            += mpc8.o mpc.o mpegaudiodec.o      \
                                          mpegaudiodecheader.o mpegaudio.o \
                                          mpegaudiodata.o
OBJS-$(CONFIG_MPEGVIDEO_DECODER)       += mpeg12.o mpeg12data.o \
                                          mpegvideo.o error_resilience.o
198
OBJS-$(CONFIG_MPEG_XVMC_DECODER)       += mpegvideo_xvmc.o
199 200 201 202 203 204
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)      += mpeg12.o mpeg12data.o \
                                          mpegvideo.o error_resilience.o
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER)      += mpeg12enc.o mpegvideo_enc.o \
                                          motion_est.o ratecontrol.o  \
                                          mpeg12.o mpeg12data.o       \
                                          mpegvideo.o error_resilience.o
205
OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL)     += vaapi_mpeg2.o
206 207 208 209 210 211
OBJS-$(CONFIG_MPEG2VIDEO_DECODER)      += mpeg12.o mpeg12data.o \
                                          mpegvideo.o error_resilience.o
OBJS-$(CONFIG_MPEG2VIDEO_ENCODER)      += mpeg12enc.o mpegvideo_enc.o \
                                          motion_est.o ratecontrol.o  \
                                          mpeg12.o mpeg12data.o       \
                                          mpegvideo.o error_resilience.o
212
OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL)     += vaapi_mpeg4.o
213
OBJS-$(CONFIG_MSMPEG4V1_DECODER)       += msmpeg4.o msmpeg4data.o
214 215 216 217 218
OBJS-$(CONFIG_MSMPEG4V1_ENCODER)       += msmpeg4.o msmpeg4data.o h263dec.o h263.o ituh263dec.o mpeg4videodec.o
OBJS-$(CONFIG_MSMPEG4V2_DECODER)       += msmpeg4.o msmpeg4data.o h263dec.o h263.o ituh263dec.o mpeg4videodec.o
OBJS-$(CONFIG_MSMPEG4V2_ENCODER)       += msmpeg4.o msmpeg4data.o h263dec.o h263.o ituh263dec.o mpeg4videodec.o
OBJS-$(CONFIG_MSMPEG4V3_DECODER)       += msmpeg4.o msmpeg4data.o h263dec.o h263.o ituh263dec.o mpeg4videodec.o
OBJS-$(CONFIG_MSMPEG4V3_ENCODER)       += msmpeg4.o msmpeg4data.o h263dec.o h263.o ituh263dec.o mpeg4videodec.o
219
OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o msrledec.o
Måns Rullgård's avatar
Måns Rullgård committed
220
OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
221
OBJS-$(CONFIG_MSZH_DECODER)            += lcldec.o
222 223
OBJS-$(CONFIG_NELLYMOSER_DECODER)      += nellymoserdec.o nellymoser.o
OBJS-$(CONFIG_NELLYMOSER_ENCODER)      += nellymoserenc.o nellymoser.o
224
OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
225
OBJS-$(CONFIG_PAM_DECODER)             += pnmdec.o pnm.o
226
OBJS-$(CONFIG_PAM_ENCODER)             += pamenc.o pnm.o
227
OBJS-$(CONFIG_PBM_DECODER)             += pnmdec.o pnm.o
228
OBJS-$(CONFIG_PBM_ENCODER)             += pnmenc.o pnm.o
229
OBJS-$(CONFIG_PCX_DECODER)             += pcx.o
230
OBJS-$(CONFIG_PCX_ENCODER)             += pcxenc.o
231
OBJS-$(CONFIG_PGM_DECODER)             += pnmdec.o pnm.o
232
OBJS-$(CONFIG_PGM_ENCODER)             += pnmenc.o pnm.o
233
OBJS-$(CONFIG_PGMYUV_DECODER)          += pnmdec.o pnm.o
234
OBJS-$(CONFIG_PGMYUV_ENCODER)          += pnmenc.o pnm.o
Stephen Backway's avatar
Stephen Backway committed
235
OBJS-$(CONFIG_PGSSUB_DECODER)          += pgssubdec.o
236 237
OBJS-$(CONFIG_PNG_DECODER)             += png.o pngdec.o
OBJS-$(CONFIG_PNG_ENCODER)             += png.o pngenc.o
238
OBJS-$(CONFIG_PPM_DECODER)             += pnmdec.o pnm.o
239
OBJS-$(CONFIG_PPM_ENCODER)             += pnmenc.o pnm.o
Ivo van Poorten's avatar
Ivo van Poorten committed
240
OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
241 242 243 244 245
OBJS-$(CONFIG_QCELP_DECODER)           += qcelpdec.o lsp.o celp_math.o \
                                          celp_filters.o acelp_vectors.o
OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o mpegaudiodec.o            \
                                          mpegaudiodecheader.o mpegaudio.o \
                                          mpegaudiodata.o
Måns Rullgård's avatar
Måns Rullgård committed
246 247 248
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
249
OBJS-$(CONFIG_QTRLE_ENCODER)           += qtrleenc.o
250
OBJS-$(CONFIG_R210_DECODER)            += r210dec.o
251
OBJS-$(CONFIG_RA_144_DECODER)          += ra144.o celp_filters.o
252
OBJS-$(CONFIG_RA_288_DECODER)          += ra288.o celp_math.o celp_filters.o
253 254
OBJS-$(CONFIG_RAWVIDEO_DECODER)        += rawdec.o
OBJS-$(CONFIG_RAWVIDEO_ENCODER)        += rawenc.o
Sascha Sommer's avatar
Sascha Sommer committed
255
OBJS-$(CONFIG_RL2_DECODER)             += rl2.o
256
OBJS-$(CONFIG_ROQ_DECODER)             += roqvideodec.o roqvideo.o
Vitor Sessak's avatar
Vitor Sessak committed
257
OBJS-$(CONFIG_ROQ_ENCODER)             += roqvideoenc.o roqvideo.o elbg.o
258
OBJS-$(CONFIG_ROQ_DPCM_DECODER)        += dpcm.o
Vitor Sessak's avatar
Vitor Sessak committed
259
OBJS-$(CONFIG_ROQ_DPCM_ENCODER)        += roqaudioenc.o
Måns Rullgård's avatar
Måns Rullgård committed
260
OBJS-$(CONFIG_RPZA_DECODER)            += rpza.o
261
OBJS-$(CONFIG_RV10_DECODER)            += rv10.o
262
OBJS-$(CONFIG_RV10_ENCODER)            += rv10enc.o
263
OBJS-$(CONFIG_RV20_DECODER)            += rv10.o
264
OBJS-$(CONFIG_RV20_ENCODER)            += rv20enc.o
265 266 267 268
OBJS-$(CONFIG_RV30_DECODER)            += rv30.o rv34.o h264pred.o rv30dsp.o \
                                          mpegvideo.o error_resilience.o
OBJS-$(CONFIG_RV40_DECODER)            += rv40.o rv34.o h264pred.o rv40dsp.o \
                                          mpegvideo.o error_resilience.o
269 270
OBJS-$(CONFIG_SGI_DECODER)             += sgidec.o
OBJS-$(CONFIG_SGI_ENCODER)             += sgienc.o rle.o
271
OBJS-$(CONFIG_SHORTEN_DECODER)         += shorten.o
272 273
OBJS-$(CONFIG_SIPR_DECODER)            += sipr.o acelp_pitch_delay.o \
                                          celp_math.o acelp_vectors.o \
Vitor Sessak's avatar
Vitor Sessak committed
274 275
                                          acelp_filters.o celp_filters.o lsp.o \
                                          sipr16k.o
Måns Rullgård's avatar
Måns Rullgård committed
276
OBJS-$(CONFIG_SMACKAUD_DECODER)        += smacker.o
277
OBJS-$(CONFIG_SMACKER_DECODER)         += smacker.o
Måns Rullgård's avatar
Måns Rullgård committed
278
OBJS-$(CONFIG_SMC_DECODER)             += smc.o
279
OBJS-$(CONFIG_SNOW_DECODER)            += snow.o rangecoder.o
280 281
OBJS-$(CONFIG_SNOW_ENCODER)            += snow.o rangecoder.o motion_est.o \
                                          ratecontrol.o h263.o             \
282 283
                                          mpegvideo.o error_resilience.o   \
                                          ituh263enc.o mpegvideo_enc.o
284
OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
285 286 287
OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o
OBJS-$(CONFIG_SONIC_LS_ENCODER)        += sonic.o
288
OBJS-$(CONFIG_SP5X_DECODER)            += sp5xdec.o mjpegdec.o mjpeg.o
Ivo van Poorten's avatar
Ivo van Poorten committed
289
OBJS-$(CONFIG_SUNRAST_DECODER)         += sunrast.o
290 291 292 293 294
OBJS-$(CONFIG_SVQ1_DECODER)            += svq1dec.o svq1.o h263.o \
                                          mpegvideo.o error_resilience.o
OBJS-$(CONFIG_SVQ1_ENCODER)            += svq1enc.o svq1.o    \
                                          motion_est.o h263.o \
                                          mpegvideo.o error_resilience.o
295
OBJS-$(CONFIG_SVQ3_DECODER)            += h264.o svq3.o h264idct.o h264pred.o h264_loopfilter.o h264_direct.o  \
296
                                          h264_sei.o h264_ps.o h264_refs.o h264_cavlc.o h264_cabac.o \
297
                                          cabac.o          \
298 299
                                          mpegvideo.o error_resilience.o \
                                          svq1dec.o svq1.o h263.o
Kostya Shishkov's avatar
Kostya Shishkov committed
300
OBJS-$(CONFIG_TARGA_DECODER)           += targa.o
301
OBJS-$(CONFIG_TARGA_ENCODER)           += targaenc.o rle.o
302
OBJS-$(CONFIG_THEORA_DECODER)          += xiph.o
303
OBJS-$(CONFIG_THP_DECODER)             += mjpegdec.o mjpeg.o
304
OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
Michael Niedermayer's avatar
Michael Niedermayer committed
305
OBJS-$(CONFIG_TIFF_DECODER)            += tiff.o lzw.o faxcompr.o
306
OBJS-$(CONFIG_TIFF_ENCODER)            += tiffenc.o rle.o lzwenc.o
307
OBJS-$(CONFIG_TMV_DECODER)             += tmv.o cga_data.o
Måns Rullgård's avatar
Måns Rullgård committed
308 309 310
OBJS-$(CONFIG_TRUEMOTION1_DECODER)     += truemotion1.o
OBJS-$(CONFIG_TRUEMOTION2_DECODER)     += truemotion2.o
OBJS-$(CONFIG_TRUESPEECH_DECODER)      += truespeech.o
311
OBJS-$(CONFIG_TSCC_DECODER)            += tscc.o msrledec.o
312
OBJS-$(CONFIG_TTA_DECODER)             += tta.o
313
OBJS-$(CONFIG_TWINVQ_DECODER)          += twinvq.o lsp.o
Ivo van Poorten's avatar
Ivo van Poorten committed
314
OBJS-$(CONFIG_TXD_DECODER)             += txd.o s3tc.o
Måns Rullgård's avatar
Måns Rullgård committed
315
OBJS-$(CONFIG_ULTI_DECODER)            += ulti.o
316 317
OBJS-$(CONFIG_V210_DECODER)            += v210dec.o
OBJS-$(CONFIG_V210_ENCODER)            += v210enc.o
318
OBJS-$(CONFIG_V210X_DECODER)           += v210x.o
319
OBJS-$(CONFIG_VB_DECODER)              += vb.o
320 321
OBJS-$(CONFIG_VC1_DECODER)             += vc1dec.o vc1.o vc1data.o vc1dsp.o \
                                          msmpeg4.o msmpeg4data.o           \
322
                                          intrax8.o intrax8dsp.o
Laurent Aimar's avatar
Laurent Aimar committed
323
OBJS-$(CONFIG_VC1_DXVA2_HWACCEL)       += dxva2_vc1.o
324
OBJS-$(CONFIG_VC1_VAAPI_HWACCEL)       += vaapi_vc1.o
Måns Rullgård's avatar
Måns Rullgård committed
325 326 327
OBJS-$(CONFIG_VCR1_DECODER)            += vcr1.o
OBJS-$(CONFIG_VCR1_ENCODER)            += vcr1.o
OBJS-$(CONFIG_VMDAUDIO_DECODER)        += vmdav.o
328
OBJS-$(CONFIG_VMDVIDEO_DECODER)        += vmdav.o
329
OBJS-$(CONFIG_VMNC_DECODER)            += vmnc.o
330 331 332 333
OBJS-$(CONFIG_VORBIS_DECODER)          += vorbis_dec.o vorbis.o \
                                          vorbis_data.o xiph.o
OBJS-$(CONFIG_VORBIS_ENCODER)          += vorbis_enc.o vorbis.o \
                                          vorbis_data.o
334
OBJS-$(CONFIG_VP3_DECODER)             += vp3.o vp3dsp.o
335 336 337 338
OBJS-$(CONFIG_VP5_DECODER)             += vp5.o vp56.o vp56data.o \
                                          vp3dsp.o
OBJS-$(CONFIG_VP6_DECODER)             += vp6.o vp56.o vp56data.o \
                                          vp3dsp.o vp6dsp.o huffman.o
Måns Rullgård's avatar
Måns Rullgård committed
339
OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
340
OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
341
OBJS-$(CONFIG_WMAPRO_DECODER)          += wmaprodec.o wma.o
342 343 344 345
OBJS-$(CONFIG_WMAV1_DECODER)           += wmadec.o wma.o aactab.o
OBJS-$(CONFIG_WMAV1_ENCODER)           += wmaenc.o wma.o aactab.o
OBJS-$(CONFIG_WMAV2_DECODER)           += wmadec.o wma.o aactab.o
OBJS-$(CONFIG_WMAV2_ENCODER)           += wmaenc.o wma.o aactab.o
Ronald S. Bultje's avatar
Ronald S. Bultje committed
346 347
OBJS-$(CONFIG_WMAVOICE_DECODER)        += wmavoice.o \
                                          celp_math.o celp_filters.o \
348 349
                                          acelp_vectors.o acelp_filters.o \
                                          lsp.o
350
OBJS-$(CONFIG_WMV1_DECODER)            += msmpeg4.o msmpeg4data.o
351 352
OBJS-$(CONFIG_WMV2_DECODER)            += wmv2dec.o wmv2.o        \
                                          msmpeg4.o msmpeg4data.o \
353
                                          intrax8.o intrax8dsp.o
354 355
OBJS-$(CONFIG_WMV2_ENCODER)            += wmv2enc.o wmv2.o \
                                          msmpeg4.o msmpeg4data.o
Måns Rullgård's avatar
Måns Rullgård committed
356 357
OBJS-$(CONFIG_WNV1_DECODER)            += wnv1.o
OBJS-$(CONFIG_WS_SND1_DECODER)         += ws-snd1.o
358
OBJS-$(CONFIG_XAN_DPCM_DECODER)        += dpcm.o
Måns Rullgård's avatar
Måns Rullgård committed
359 360 361
OBJS-$(CONFIG_XAN_WC3_DECODER)         += xan.o
OBJS-$(CONFIG_XAN_WC4_DECODER)         += xan.o
OBJS-$(CONFIG_XL_DECODER)              += xl.o
362
OBJS-$(CONFIG_XSUB_DECODER)            += xsubdec.o
363
OBJS-$(CONFIG_XSUB_ENCODER)            += xsubenc.o
364 365
OBJS-$(CONFIG_ZLIB_DECODER)            += lcldec.o
OBJS-$(CONFIG_ZLIB_ENCODER)            += lclenc.o
Måns Rullgård's avatar
Måns Rullgård committed
366
OBJS-$(CONFIG_ZMBV_DECODER)            += zmbv.o
Kostya Shishkov's avatar
Kostya Shishkov committed
367
OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
Måns Rullgård's avatar
Måns Rullgård committed
368

369
# (AD)PCM decoders/encoders
Diego Biurrun's avatar
Diego Biurrun committed
370 371
OBJS-$(CONFIG_PCM_ALAW_DECODER)           += pcm.o
OBJS-$(CONFIG_PCM_ALAW_ENCODER)           += pcm.o
372
OBJS-$(CONFIG_PCM_BLURAY_DECODER)         += pcm-mpeg.o
Diego Biurrun's avatar
Diego Biurrun committed
373 374
OBJS-$(CONFIG_PCM_DVD_DECODER)            += pcm.o
OBJS-$(CONFIG_PCM_DVD_ENCODER)            += pcm.o
Aurelien Jacobs's avatar
Aurelien Jacobs committed
375 376 377 378 379 380 381 382
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
Diego Biurrun's avatar
Diego Biurrun committed
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
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
OBJS-$(CONFIG_PCM_S16BE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S16BE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_S16LE_DECODER)          += pcm.o
OBJS-$(CONFIG_PCM_S16LE_ENCODER)          += pcm.o
OBJS-$(CONFIG_PCM_S16LE_PLANAR_DECODER)   += pcm.o
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
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
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
OBJS-$(CONFIG_PCM_ZORK_ENCODER)           += pcm.o
418

Diego Biurrun's avatar
Diego Biurrun committed
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
OBJS-$(CONFIG_ADPCM_4XM_DECODER)          += adpcm.o
OBJS-$(CONFIG_ADPCM_ADX_DECODER)          += adxdec.o
OBJS-$(CONFIG_ADPCM_ADX_ENCODER)          += adxenc.o
OBJS-$(CONFIG_ADPCM_CT_DECODER)           += adpcm.o
OBJS-$(CONFIG_ADPCM_EA_DECODER)           += adpcm.o
OBJS-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER)  += adpcm.o
OBJS-$(CONFIG_ADPCM_EA_R1_DECODER)        += adpcm.o
OBJS-$(CONFIG_ADPCM_EA_R2_DECODER)        += adpcm.o
OBJS-$(CONFIG_ADPCM_EA_R3_DECODER)        += adpcm.o
OBJS-$(CONFIG_ADPCM_EA_XAS_DECODER)       += adpcm.o
OBJS-$(CONFIG_ADPCM_G726_DECODER)         += g726.o
OBJS-$(CONFIG_ADPCM_G726_ENCODER)         += g726.o
OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER)  += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER)  += adpcm.o
Aurelien Jacobs's avatar
Aurelien Jacobs committed
436
OBJS-$(CONFIG_ADPCM_IMA_ISS_DECODER)      += adpcm.o
Diego Biurrun's avatar
Diego Biurrun committed
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER)       += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER)       += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER)   += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER)       += adpcm.o
OBJS-$(CONFIG_ADPCM_MS_DECODER)           += adpcm.o
OBJS-$(CONFIG_ADPCM_MS_ENCODER)           += adpcm.o
OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER)      += adpcm.o
OBJS-$(CONFIG_ADPCM_SWF_DECODER)          += adpcm.o
OBJS-$(CONFIG_ADPCM_SWF_ENCODER)          += adpcm.o
OBJS-$(CONFIG_ADPCM_THP_DECODER)          += adpcm.o
OBJS-$(CONFIG_ADPCM_XA_DECODER)           += adpcm.o
OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)       += adpcm.o
OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)       += adpcm.o
454

Baptiste Coudurier's avatar
Baptiste Coudurier committed
455
# libavformat dependencies
456
OBJS-$(CONFIG_ADTS_MUXER)              += mpeg4audio.o
457
OBJS-$(CONFIG_CAF_DEMUXER)             += mpeg4audio.o mpegaudiodata.o
458 459
OBJS-$(CONFIG_DV_DEMUXER)              += dvdata.o
OBJS-$(CONFIG_DV_MUXER)                += dvdata.o
460 461
OBJS-$(CONFIG_FLAC_DEMUXER)            += flacdec.o flacdata.o flac.o
OBJS-$(CONFIG_FLAC_MUXER)              += flacdec.o flacdata.o flac.o
462
OBJS-$(CONFIG_FLV_DEMUXER)             += mpeg4audio.o
463
OBJS-$(CONFIG_GXF_DEMUXER)             += mpeg12data.o
464 465
OBJS-$(CONFIG_MATROSKA_AUDIO_MUXER)    += xiph.o mpeg4audio.o \
                                          flacdec.o flacdata.o flac.o
466
OBJS-$(CONFIG_MATROSKA_DEMUXER)        += mpeg4audio.o
467 468
OBJS-$(CONFIG_MATROSKA_MUXER)          += xiph.o mpeg4audio.o \
                                          flacdec.o flacdata.o flac.o
Baptiste Coudurier's avatar
Baptiste Coudurier committed
469
OBJS-$(CONFIG_MOV_DEMUXER)             += mpeg4audio.o mpegaudiodata.o
Aurelien Jacobs's avatar
Aurelien Jacobs committed
470
OBJS-$(CONFIG_MPEGTS_MUXER)            += mpegvideo.o
471
OBJS-$(CONFIG_NUT_MUXER)               += mpegaudiodata.o
David Conrad's avatar
David Conrad committed
472 473
OBJS-$(CONFIG_OGG_DEMUXER)             += flacdec.o flacdata.o flac.o \
                                          dirac.o mpeg12data.o
474
OBJS-$(CONFIG_OGG_MUXER)               += xiph.o flacdec.o flacdata.o flac.o
475
OBJS-$(CONFIG_RTP_MUXER)               += mpegvideo.o
Baptiste Coudurier's avatar
Baptiste Coudurier committed
476

477
# external codec libraries
478 479
OBJS-$(CONFIG_LIBDIRAC_DECODER)           += libdiracdec.o
OBJS-$(CONFIG_LIBDIRAC_ENCODER)           += libdiracenc.o libdirac_libschro.o
480 481 482 483 484 485 486 487 488 489 490
OBJS-$(CONFIG_LIBFAAC_ENCODER)            += libfaac.o
OBJS-$(CONFIG_LIBFAAD_DECODER)            += libfaad.o
OBJS-$(CONFIG_LIBGSM_DECODER)             += libgsm.o
OBJS-$(CONFIG_LIBGSM_ENCODER)             += libgsm.o
OBJS-$(CONFIG_LIBGSM_MS_DECODER)          += libgsm.o
OBJS-$(CONFIG_LIBGSM_MS_ENCODER)          += libgsm.o
OBJS-$(CONFIG_LIBMP3LAME_ENCODER)         += libmp3lame.o
OBJS-$(CONFIG_LIBOPENCORE_AMRNB_DECODER)  += libopencore-amr.o
OBJS-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER)  += libopencore-amr.o
OBJS-$(CONFIG_LIBOPENCORE_AMRWB_ENCODER)  += libopencore-amr.o
OBJS-$(CONFIG_LIBOPENJPEG_DECODER)        += libopenjpeg.o
491 492 493 494 495 496
OBJS-$(CONFIG_LIBSCHROEDINGER_DECODER)    += libschroedingerdec.o \
                                             libschroedinger.o    \
                                             libdirac_libschro.o
OBJS-$(CONFIG_LIBSCHROEDINGER_ENCODER)    += libschroedingerenc.o \
                                             libschroedinger.o    \
                                             libdirac_libschro.o
497 498 499 500 501
OBJS-$(CONFIG_LIBSPEEX_DECODER)           += libspeexdec.o
OBJS-$(CONFIG_LIBTHEORA_ENCODER)          += libtheoraenc.o
OBJS-$(CONFIG_LIBVORBIS_ENCODER)          += libvorbis.o
OBJS-$(CONFIG_LIBX264_ENCODER)            += libx264.o
OBJS-$(CONFIG_LIBXVID_ENCODER)            += libxvidff.o libxvid_rc.o
502

503
# parsers
504 505 506 507
OBJS-$(CONFIG_AAC_PARSER)              += aac_parser.o aac_ac3_parser.o \
                                          mpeg4audio.o
OBJS-$(CONFIG_AC3_PARSER)              += ac3_parser.o ac3tab.o \
                                          aac_ac3_parser.o
508
OBJS-$(CONFIG_CAVSVIDEO_PARSER)        += cavs_parser.o
509
OBJS-$(CONFIG_DCA_PARSER)              += dca_parser.o
510
OBJS-$(CONFIG_DIRAC_PARSER)            += dirac_parser.o
Baptiste Coudurier's avatar
Baptiste Coudurier committed
511
OBJS-$(CONFIG_DNXHD_PARSER)            += dnxhd_parser.o
512
OBJS-$(CONFIG_DVBSUB_PARSER)           += dvbsub_parser.o
513
OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
514
OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
515
OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
516 517 518
OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o h264.o h264idct.o \
                                          h264pred.o cabac.o              \
                                          mpegvideo.o error_resilience.o
519
OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg_parser.o
520
OBJS-$(CONFIG_MLP_PARSER)              += mlp_parser.o mlp.o
521 522 523 524 525 526 527
OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += mpeg4video_parser.o h263.o \
                                          mpegvideo.o error_resilience.o
OBJS-$(CONFIG_MPEGAUDIO_PARSER)        += mpegaudio_parser.o \
                                          mpegaudiodecheader.o mpegaudiodata.o
OBJS-$(CONFIG_MPEGVIDEO_PARSER)        += mpegvideo_parser.o    \
                                          mpeg12.o mpeg12data.o \
                                          mpegvideo.o error_resilience.o
528
OBJS-$(CONFIG_PNM_PARSER)              += pnm_parser.o pnm.o
529
OBJS-$(CONFIG_VC1_PARSER)              += vc1_parser.o vc1.o vc1data.o \
530
                                          msmpeg4.o msmpeg4data.o h263.o \
531
                                          mpegvideo.o error_resilience.o
532
OBJS-$(CONFIG_VP3_PARSER)              += vp3_parser.o
533

534
# bitstream filters
535
OBJS-$(CONFIG_AAC_ADTSTOASC_BSF)          += aac_adtstoasc_bsf.o
Diego Biurrun's avatar
Diego Biurrun committed
536 537 538 539 540 541
OBJS-$(CONFIG_DUMP_EXTRADATA_BSF)         += dump_extradata_bsf.o
OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF)       += h264_mp4toannexb_bsf.o
OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF)        += imx_dump_header_bsf.o
OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF)     += mjpega_dump_header_bsf.o
OBJS-$(CONFIG_MOV2TEXTSUB_BSF)            += movsub_bsf.o
OBJS-$(CONFIG_MP3_HEADER_COMPRESS_BSF)    += mp3_header_compress_bsf.o
542 543
OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF)  += mp3_header_decompress_bsf.o \
                                             mpegaudiodata.o
Diego Biurrun's avatar
Diego Biurrun committed
544 545 546
OBJS-$(CONFIG_NOISE_BSF)                  += noise_bsf.o
OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF)       += remove_extradata_bsf.o
OBJS-$(CONFIG_TEXT2MOVSUB_BSF)            += movsub_bsf.o
547

548
# thread libraries
549 550
OBJS-$(HAVE_BEOSTHREADS)               += beosthread.o
OBJS-$(HAVE_OS2THREADS)                += os2thread.o
Måns Rullgård's avatar
Måns Rullgård committed
551 552 553
OBJS-$(HAVE_PTHREADS)                  += pthread.o
OBJS-$(HAVE_W32THREADS)                += w32thread.o

Diego Biurrun's avatar
Diego Biurrun committed
554
# processor-specific code
555 556 557 558 559
X86-OBJS-$(CONFIG_MLP_DECODER)         += x86/mlpdsp.o
X86-OBJS-$(CONFIG_TRUEHD_DECODER)      += x86/mlpdsp.o

OBJS-$(ARCH_X86)                       += $(X86-OBJS-yes)

560 561 562
YASM-OBJS-FFT-$(HAVE_AMD3DNOW)         += x86/fft_3dn.o
YASM-OBJS-FFT-$(HAVE_AMD3DNOWEXT)      += x86/fft_3dn2.o
YASM-OBJS-FFT-$(HAVE_SSE)              += x86/fft_sse.o
563 564
YASM-OBJS-$(CONFIG_FFT)                += x86/fft_mmx.o                 \
                                          $(YASM-OBJS-FFT-yes)
565 566 567
YASM-OBJS-$(CONFIG_GPL)                += x86/h264_deblock_sse2.o       \
                                          x86/h264_idct_sse2.o          \

568 569 570
MMX-OBJS-$(CONFIG_CAVS_DECODER)        += x86/cavsdsp_mmx.o
MMX-OBJS-$(CONFIG_ENCODERS)            += x86/dsputilenc_mmx.o
MMX-OBJS-$(CONFIG_GPL)                 += x86/idct_mmx.o
571
MMX-OBJS-$(CONFIG_LPC)                 += x86/lpc_mmx.o
572 573
MMX-OBJS-$(CONFIG_SNOW_DECODER)        += x86/snowdsp_mmx.o
MMX-OBJS-$(CONFIG_VC1_DECODER)         += x86/vc1dsp_mmx.o
574 575 576 577 578 579 580 581
MMX-OBJS-$(CONFIG_VP3_DECODER)         += x86/vp3dsp_mmx.o              \
                                          x86/vp3dsp_sse2.o
MMX-OBJS-$(CONFIG_VP5_DECODER)         += x86/vp3dsp_mmx.o              \
                                          x86/vp3dsp_sse2.o
MMX-OBJS-$(CONFIG_VP6_DECODER)         += x86/vp3dsp_mmx.o              \
                                          x86/vp3dsp_sse2.o             \
                                          x86/vp6dsp_mmx.o              \
                                          x86/vp6dsp_sse2.o
582
MMX-OBJS-$(HAVE_YASM)                  += x86/dsputil_yasm.o            \
583
                                          $(YASM-OBJS-yes)
584 585 586 587 588

OBJS-$(HAVE_MMX)                       += x86/cpuid.o                   \
                                          x86/dnxhd_mmx.o               \
                                          x86/dsputil_mmx.o             \
                                          x86/fdct_mmx.o                \
589
                                          x86/fft.o                     \
590 591 592 593 594
                                          x86/idct_mmx_xvid.o           \
                                          x86/idct_sse2_xvid.o          \
                                          x86/motion_est_mmx.o          \
                                          x86/mpegvideo_mmx.o           \
                                          x86/simple_idct_mmx.o         \
595

596
OBJS-$(ARCH_ALPHA)                     += alpha/dsputil_alpha.o         \
597
                                          alpha/dsputil_alpha_asm.o     \
598
                                          alpha/motion_est_alpha.o      \
599
                                          alpha/motion_est_mvi_asm.o    \
600 601 602
                                          alpha/mpegvideo_alpha.o       \
                                          alpha/simple_idct_alpha.o     \

603 604
OBJS-$(ARCH_ARM)                       += arm/dsputil_init_arm.o        \
                                          arm/dsputil_arm.o             \
605
                                          arm/fft_init_arm.o            \
606
                                          arm/h264pred_init_arm.o       \
607 608 609
                                          arm/jrevdct_arm.o             \
                                          arm/mpegvideo_arm.o           \
                                          arm/simple_idct_arm.o         \
610

611 612
OBJS-$(HAVE_ARMV5TE)                   += arm/dsputil_init_armv5te.o    \
                                          arm/mpegvideo_armv5te.o       \
613 614
                                          arm/mpegvideo_armv5te_s.o     \
                                          arm/simple_idct_armv5te.o     \
615

616
OBJS-$(HAVE_ARMV6)                     += arm/dsputil_init_armv6.o      \
617
                                          arm/dsputil_armv6.o           \
618
                                          arm/simple_idct_armv6.o       \
619

620
OBJS-$(HAVE_ARMVFP)                    += arm/dsputil_vfp.o             \
621
                                          arm/dsputil_init_vfp.o        \
622

623 624
OBJS-$(HAVE_IWMMXT)                    += arm/dsputil_iwmmxt.o          \
                                          arm/mpegvideo_iwmmxt.o        \
625

626 627 628 629
NEON-OBJS-$(CONFIG_FFT)                += arm/fft_neon.o                \

NEON-OBJS-$(CONFIG_MDCT)               += arm/mdct_neon.o               \

630 631
NEON-OBJS-$(CONFIG_H264_DECODER)       += arm/h264dsp_neon.o            \
                                          arm/h264idct_neon.o           \
632
                                          arm/h264pred_neon.o           \
633

David Conrad's avatar
David Conrad committed
634 635
NEON-OBJS-$(CONFIG_VP3_DECODER)        += arm/vp3dsp_neon.o

636 637
OBJS-$(HAVE_NEON)                      += arm/dsputil_init_neon.o       \
                                          arm/dsputil_neon.o            \
638
                                          arm/simple_idct_neon.o        \
Ramiro Polla's avatar
Ramiro Polla committed
639
                                          $(NEON-OBJS-yes)
640

641 642 643
OBJS-$(ARCH_BFIN)                      += bfin/dsputil_bfin.o           \
                                          bfin/fdct_bfin.o              \
                                          bfin/idct_bfin.o              \
644 645 646
                                          bfin/mpegvideo_bfin.o         \
                                          bfin/pixels_bfin.o            \
                                          bfin/vp3_bfin.o               \
647
                                          bfin/vp3_idct_bfin.o          \
648

649
OBJS-$(ARCH_PPC)                       += ppc/dsputil_ppc.o             \
650

651 652
ALTIVEC-OBJS-$(CONFIG_H264_DECODER)    += ppc/h264_altivec.o
ALTIVEC-OBJS-$(CONFIG_VC1_DECODER)     += ppc/vc1dsp_altivec.o
David Conrad's avatar
David Conrad committed
653 654 655
ALTIVEC-OBJS-$(CONFIG_VP3_DECODER)     += ppc/vp3dsp_altivec.o
ALTIVEC-OBJS-$(CONFIG_VP5_DECODER)     += ppc/vp3dsp_altivec.o
ALTIVEC-OBJS-$(CONFIG_VP6_DECODER)     += ppc/vp3dsp_altivec.o
656 657 658

OBJS-$(HAVE_ALTIVEC)                   += ppc/check_altivec.o           \
                                          ppc/dsputil_altivec.o         \
659 660 661 662 663 664 665
                                          ppc/fdct_altivec.o            \
                                          ppc/fft_altivec.o             \
                                          ppc/float_altivec.o           \
                                          ppc/gmc_altivec.o             \
                                          ppc/idct_altivec.o            \
                                          ppc/int_altivec.o             \
                                          ppc/mpegvideo_altivec.o       \
666
                                          $(ALTIVEC-OBJS-yes)
667

668
OBJS-$(ARCH_SH4)                       += sh4/dsputil_align.o           \
669
                                          sh4/dsputil_sh4.o             \
670
                                          sh4/idct_sh4.o                \
671 672 673 674 675 676 677 678 679 680

OBJS-$(CONFIG_MLIB)                    += mlib/dsputil_mlib.o           \

OBJS-$(HAVE_MMI)                       += ps2/dsputil_mmi.o             \
                                          ps2/idct_mmi.o                \
                                          ps2/mpegvideo_mmi.o           \

OBJS-$(HAVE_VIS)                       += sparc/dsputil_vis.o           \
                                          sparc/simple_idct_vis.o       \

681
SKIPHEADERS-$(CONFIG_DXVA2)            += dxva2_internal.h
682 683 684 685 686
SKIPHEADERS-$(CONFIG_LIBDIRAC)         += libdirac.h
SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
SKIPHEADERS-$(CONFIG_XVMC)             += xvmc.h
687

688
EXAMPLES = api
689

690
TESTPROGS = cabac dct eval fft h264 iirfilter rangecoder snow
691 692
TESTPROGS-$(ARCH_X86) += x86/cpuid
TESTPROGS-$(HAVE_MMX) += motion
693

694 695
HOSTPROGS = costablegen

696
DIRS = alpha arm bfin mlib ppc ps2 sh4 sparc x86
697

698
CLEANFILES = sin_tables.c cos_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
699

Måns Rullgård's avatar
Måns Rullgård committed
700 701
include $(SUBDIR)../subdir.mak

702
$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o
703 704 705

$(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
	./$< > $@
706 707 708

$(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
	./$< sin > $@
709

Måns Rullgård's avatar
Måns Rullgård committed
710
ifdef CONFIG_MPEGAUDIO_HP
711
$(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23
712
$(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=23
713 714
else
$(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15
715
$(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=15
716
endif
Måns Rullgård's avatar
Måns Rullgård committed
717

718 719 720 721 722
$(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c
	$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS)

$(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
	./$< > $@
723 724

ifdef CONFIG_HARDCODED_TABLES
725
$(SUBDIR)mdct.o: $(SUBDIR)mdct_tables.h
726
$(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h
727
$(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h
728
endif