Remove commented-out av_log calls.
[libav.git] / libavcodec / Makefile
CommitLineData
4cc281d9
FB
1#
2# libavcodec Makefile
6d6d7970 3# (c) 2000-2005 Fabrice Bellard
4cc281d9 4#
980fc7b8
FB
5include ../config.mak
6
1e97ce4a
DB
7CFLAGS += -I$(SRC_PATH)/libswscale -I$(SRC_PATH)/libavcodec
8
9OBJS = allcodecs.o \
10 audioconvert.o \
11 bitstream.o \
12 bitstream_filter.o \
13 dsputil.o \
14 error_resilience.o \
15 eval.o \
1e97ce4a
DB
16 imgconvert.o \
17 jrevdct.o \
1b04f3e0
DB
18 mpeg12.o \
19 mpeg12data.o \
1e97ce4a
DB
20 mpegvideo.o \
21 opt.o \
22 parser.o \
23 raw.o \
24 resample.o \
25 resample2.o \
26 simple_idct.o \
27 utils.o \
748c2fca 28
240c1657 29
bb42f829 30HEADERS = avcodec.h opt.h
8b2121e3 31
57b98634
AJ
32OBJS-$(CONFIG_ENCODERS) += faandct.o jfdctfst.o jfdctint.o
33
bac3be38 34OBJS-$(CONFIG_AASC_DECODER) += aasc.o
6ea67bbb 35OBJS-$(CONFIG_AC3_DECODER) += ac3dec.o ac3tab.o ac3.o mdct.o fft.o
7adb10be 36OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o ac3tab.o ac3.o
bac3be38 37OBJS-$(CONFIG_ALAC_DECODER) += alac.o
8787d837 38OBJS-$(CONFIG_AMV_DECODER) += sp5xdec.o mjpegdec.o mjpeg.o
bf4a1f17 39OBJS-$(CONFIG_APE_DECODER) += apedec.o
bac3be38
MR
40OBJS-$(CONFIG_ASV1_DECODER) += asv1.o
41OBJS-$(CONFIG_ASV1_ENCODER) += asv1.o
42OBJS-$(CONFIG_ASV2_DECODER) += asv1.o
43OBJS-$(CONFIG_ASV2_ENCODER) += asv1.o
78a010fb 44OBJS-$(CONFIG_ATRAC3_DECODER) += atrac3.o mdct.o fft.o
bac3be38 45OBJS-$(CONFIG_AVS_DECODER) += avs.o
1e6c6759 46OBJS-$(CONFIG_BETHSOFTVID_DECODER) += bethsoftvideo.o
a29ff6b7 47OBJS-$(CONFIG_BMP_DECODER) += bmp.o
52548eee 48OBJS-$(CONFIG_BMP_ENCODER) += bmpenc.o
9a0ddd09 49OBJS-$(CONFIG_C93_DECODER) += c93.o
844d9012 50OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdec.o cavsdsp.o golomb.o
bac3be38 51OBJS-$(CONFIG_CINEPAK_DECODER) += cinepak.o
bac3be38
MR
52OBJS-$(CONFIG_CLJR_DECODER) += cljr.o
53OBJS-$(CONFIG_CLJR_ENCODER) += cljr.o
78a010fb 54OBJS-$(CONFIG_COOK_DECODER) += cook.o mdct.o fft.o
4302963d 55OBJS-$(CONFIG_CSCD_DECODER) += cscd.o
bac3be38 56OBJS-$(CONFIG_CYUV_DECODER) += cyuv.o
01ca9ac3 57OBJS-$(CONFIG_DCA_DECODER) += dca.o
d3dc629c 58OBJS-$(CONFIG_DNXHD_DECODER) += dnxhddec.o dnxhddata.o
bcf8eb11 59OBJS-$(CONFIG_DNXHD_ENCODER) += dnxhdenc.o dnxhddata.o mpegvideo_enc.o motion_est.o ratecontrol.o
72450e50 60OBJS-$(CONFIG_DSICINAUDIO_DECODER) += dsicinav.o
379374ea 61OBJS-$(CONFIG_DSICINVIDEO_DECODER) += dsicinav.o
bac3be38
MR
62OBJS-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.o
63OBJS-$(CONFIG_DVBSUB_ENCODER) += dvbsub.o
ebd6a694 64OBJS-$(CONFIG_DVDSUB_DECODER) += dvdsubdec.o
bac3be38
MR
65OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o
66OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o
67OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o
33a0dd37 68OBJS-$(CONFIG_DXA_DECODER) += dxa.o
bac3be38 69OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o
0d336e44
AJ
70OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o rangecoder.o golomb.o
71OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o rangecoder.o
a29ff6b7
MR
72OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o
73OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o
6f9a35bb
PI
74OBJS-$(CONFIG_FLAC_DECODER) += flac.o golomb.o
75OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o golomb.o
90d912af
MR
76OBJS-$(CONFIG_FLASHSV_DECODER) += flashsv.o
77OBJS-$(CONFIG_FLASHSV_ENCODER) += flashsvenc.o
bac3be38 78OBJS-$(CONFIG_FLIC_DECODER) += flicvideo.o
df8e3460 79OBJS-$(CONFIG_FLV_DECODER) += h263dec.o h263.o
a9fb241c 80OBJS-$(CONFIG_FLV_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
bac3be38 81OBJS-$(CONFIG_FOURXM_DECODER) += 4xm.o
437c2079 82OBJS-$(CONFIG_FRAPS_DECODER) += fraps.o huffman.o
ffc5430b 83OBJS-$(CONFIG_GIF_DECODER) += gifdec.o lzw.o
93481fe5 84OBJS-$(CONFIG_GIF_ENCODER) += gif.o
d632239c 85OBJS-$(CONFIG_H261_DECODER) += h261dec.o h261.o
a9fb241c 86OBJS-$(CONFIG_H261_ENCODER) += h261enc.o h261.o mpegvideo_enc.o motion_est.o ratecontrol.o
df8e3460
AJ
87OBJS-$(CONFIG_H263_DECODER) += h263dec.o h263.o
88OBJS-$(CONFIG_H263I_DECODER) += h263dec.o h263.o
a9fb241c
AJ
89OBJS-$(CONFIG_H263_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
90OBJS-$(CONFIG_H263P_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
c92a30bb 91OBJS-$(CONFIG_H264_DECODER) += h264.o h264idct.o h264pred.o cabac.o golomb.o
bd38efff 92OBJS-$(CONFIG_H264_ENCODER) += h264enc.o h264dspenc.o
bac3be38
MR
93OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o
94OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o
bac3be38 95OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o
78a010fb 96OBJS-$(CONFIG_IMC_DECODER) += imc.o mdct.o fft.o
bac3be38
MR
97OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o
98OBJS-$(CONFIG_INDEO3_DECODER) += indeo3.o
f7e79298 99OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.o
379374ea 100OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
6f9a35bb
PI
101OBJS-$(CONFIG_JPEGLS_DECODER) += jpeglsdec.o jpegls.o mjpegdec.o mjpeg.o golomb.o
102OBJS-$(CONFIG_JPEGLS_ENCODER) += jpeglsenc.o jpegls.o golomb.o
bac3be38 103OBJS-$(CONFIG_KMVC_DECODER) += kmvc.o
a9fb241c 104OBJS-$(CONFIG_LJPEG_ENCODER) += ljpegenc.o mjpegenc.o mjpeg.o mpegvideo_enc.o motion_est.o ratecontrol.o
6f9a35bb 105OBJS-$(CONFIG_LOCO_DECODER) += loco.o golomb.o
bac3be38
MR
106OBJS-$(CONFIG_MACE3_DECODER) += mace.o
107OBJS-$(CONFIG_MACE6_DECODER) += mace.o
5acd8d9e 108OBJS-$(CONFIG_MJPEG_DECODER) += mjpegdec.o mjpeg.o
a9fb241c 109OBJS-$(CONFIG_MJPEG_ENCODER) += mjpegenc.o mjpeg.o mpegvideo_enc.o motion_est.o ratecontrol.o
0a59a18b 110OBJS-$(CONFIG_MJPEGB_DECODER) += mjpegbdec.o mjpegdec.o mjpeg.o
a29ff6b7 111OBJS-$(CONFIG_MMVIDEO_DECODER) += mmvideo.o
9f77cab2 112OBJS-$(CONFIG_MP2_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
08aa2c9b 113OBJS-$(CONFIG_MP2_ENCODER) += mpegaudioenc.o mpegaudio.o mpegaudiodata.o
9f77cab2
AJ
114OBJS-$(CONFIG_MP3_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
115OBJS-$(CONFIG_MP3ADU_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
116OBJS-$(CONFIG_MP3ON4_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
24e649af 117OBJS-$(CONFIG_MPC7_DECODER) += mpc7.o mpc.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
12877faf 118OBJS-$(CONFIG_MPC8_DECODER) += mpc8.o mpc.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
a9fb241c
AJ
119OBJS-$(CONFIG_MPEG1VIDEO_ENCODER) += mpeg12enc.o mpeg12data.o mpegvideo_enc.o motion_est.o ratecontrol.o
120OBJS-$(CONFIG_MPEG2VIDEO_ENCODER) += mpeg12enc.o mpeg12data.o mpegvideo_enc.o motion_est.o ratecontrol.o
df8e3460 121OBJS-$(CONFIG_MPEG4_DECODER) += h263dec.o h263.o
a9fb241c 122OBJS-$(CONFIG_MPEG4_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
df8e3460 123OBJS-$(CONFIG_MSMPEG4V1_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o h263.o
a9fb241c 124OBJS-$(CONFIG_MSMPEG4V1_ENCODER) += msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
df8e3460 125OBJS-$(CONFIG_MSMPEG4V2_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o h263.o
a9fb241c 126OBJS-$(CONFIG_MSMPEG4V2_ENCODER) += msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
df8e3460 127OBJS-$(CONFIG_MSMPEG4V3_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o h263.o
a9fb241c 128OBJS-$(CONFIG_MSMPEG4V3_ENCODER) += msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
bac3be38
MR
129OBJS-$(CONFIG_MSRLE_DECODER) += msrle.o
130OBJS-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.o
00eb27f1 131OBJS-$(CONFIG_MSZH_DECODER) += lcldec.o
8dcbcef6 132OBJS-$(CONFIG_NELLYMOSER_DECODER) += nellymoserdec.o mdct.o fft.o
4302963d 133OBJS-$(CONFIG_NUV_DECODER) += nuv.o rtjpeg.o
9ac2e797
AJ
134OBJS-$(CONFIG_PAM_ENCODER) += pnmenc.o pnm.o
135OBJS-$(CONFIG_PBM_ENCODER) += pnmenc.o pnm.o
b4abe1d1 136OBJS-$(CONFIG_PCX_DECODER) += pcx.o
9ac2e797
AJ
137OBJS-$(CONFIG_PGM_ENCODER) += pnmenc.o pnm.o
138OBJS-$(CONFIG_PGMYUV_ENCODER) += pnmenc.o pnm.o
b958a7f1
MR
139OBJS-$(CONFIG_PNG_DECODER) += png.o pngdec.o
140OBJS-$(CONFIG_PNG_ENCODER) += png.o pngenc.o
9ac2e797 141OBJS-$(CONFIG_PPM_ENCODER) += pnmenc.o pnm.o
b46d68c6 142OBJS-$(CONFIG_PTX_DECODER) += ptx.o
9f77cab2 143OBJS-$(CONFIG_QDM2_DECODER) += qdm2.o mdct.o fft.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
bac3be38
MR
144OBJS-$(CONFIG_QDRAW_DECODER) += qdrw.o
145OBJS-$(CONFIG_QPEG_DECODER) += qpeg.o
146OBJS-$(CONFIG_QTRLE_DECODER) += qtrle.o
d3b7406c 147OBJS-$(CONFIG_QTRLE_ENCODER) += qtrleenc.o
bac3be38
MR
148OBJS-$(CONFIG_RA_144_DECODER) += ra144.o
149OBJS-$(CONFIG_RA_288_DECODER) += ra288.o
3a763f0f
AJ
150OBJS-$(CONFIG_RAWVIDEO_DECODER) += rawdec.o
151OBJS-$(CONFIG_RAWVIDEO_ENCODER) += rawenc.o
55c970e3 152OBJS-$(CONFIG_ROQ_DECODER) += roqvideodec.o roqvideo.o
03e3e765 153OBJS-$(CONFIG_ROQ_ENCODER) += roqvideoenc.o roqvideo.o elbg.o
f7e79298 154OBJS-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.o
f025588b 155OBJS-$(CONFIG_ROQ_DPCM_ENCODER) += roqaudioenc.o
bac3be38 156OBJS-$(CONFIG_RPZA_DECODER) += rpza.o
df8e3460 157OBJS-$(CONFIG_RV10_DECODER) += rv10.o h263.o
a9fb241c 158OBJS-$(CONFIG_RV10_ENCODER) += rv10.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
df8e3460 159OBJS-$(CONFIG_RV20_DECODER) += rv10.o h263.o
a9fb241c 160OBJS-$(CONFIG_RV20_ENCODER) += rv10.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
2d99eed1
XS
161OBJS-$(CONFIG_SGI_DECODER) += sgidec.o
162OBJS-$(CONFIG_SGI_ENCODER) += sgienc.o rle.o
6f9a35bb 163OBJS-$(CONFIG_SHORTEN_DECODER) += shorten.o golomb.o
bac3be38 164OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o
a29ff6b7 165OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o
bac3be38 166OBJS-$(CONFIG_SMC_DECODER) += smc.o
0d336e44 167OBJS-$(CONFIG_SNOW_DECODER) += snow.o rangecoder.o
a9fb241c 168OBJS-$(CONFIG_SNOW_ENCODER) += snow.o rangecoder.o motion_est.o ratecontrol.o h263.o
f7e79298 169OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o
6f9a35bb
PI
170OBJS-$(CONFIG_SONIC_DECODER) += sonic.o golomb.o
171OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o golomb.o
172OBJS-$(CONFIG_SONIC_LS_ENCODER) += sonic.o golomb.o
40cce9ff 173OBJS-$(CONFIG_SP5X_DECODER) += sp5xdec.o mjpegdec.o mjpeg.o
3c808d8c 174OBJS-$(CONFIG_SUNRAST_DECODER) += sunrast.o
df8e3460 175OBJS-$(CONFIG_SVQ1_DECODER) += svq1dec.o svq1.o h263.o
bdf5df08 176OBJS-$(CONFIG_SVQ1_ENCODER) += svq1enc.o svq1.o motion_est.o h263.o
c92a30bb 177OBJS-$(CONFIG_SVQ3_DECODER) += h264.o h264idct.o h264pred.o cabac.o golomb.o
3689cf16 178OBJS-$(CONFIG_TARGA_DECODER) += targa.o
1ca286e1 179OBJS-$(CONFIG_TARGA_ENCODER) += targaenc.o rle.o
9b5dc867 180OBJS-$(CONFIG_THEORA_DECODER) += vp3.o xiph.o vp3dsp.o
5acd8d9e 181OBJS-$(CONFIG_THP_DECODER) += mjpegdec.o mjpeg.o
9a64e044 182OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
ffc5430b 183OBJS-$(CONFIG_TIFF_DECODER) += tiff.o lzw.o
efd2afc2 184OBJS-$(CONFIG_TIFF_ENCODER) += tiffenc.o rle.o lzwenc.o
bac3be38
MR
185OBJS-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.o
186OBJS-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.o
187OBJS-$(CONFIG_TRUESPEECH_DECODER) += truespeech.o
bac3be38 188OBJS-$(CONFIG_TSCC_DECODER) += tscc.o
a29ff6b7 189OBJS-$(CONFIG_TTA_DECODER) += tta.o
1ca779e7 190OBJS-$(CONFIG_TXD_DECODER) += txd.o s3tc.o
bac3be38 191OBJS-$(CONFIG_ULTI_DECODER) += ulti.o
66f7679c 192OBJS-$(CONFIG_VB_DECODER) += vb.o
9abc7e0f 193OBJS-$(CONFIG_VC1_DECODER) += vc1.o vc1data.o vc1dsp.o msmpeg4data.o intrax8.o intrax8dsp.o
bac3be38
MR
194OBJS-$(CONFIG_VCR1_DECODER) += vcr1.o
195OBJS-$(CONFIG_VCR1_ENCODER) += vcr1.o
bac3be38 196OBJS-$(CONFIG_VMDAUDIO_DECODER) += vmdav.o
a29ff6b7 197OBJS-$(CONFIG_VMDVIDEO_DECODER) += vmdav.o
eb57c889 198OBJS-$(CONFIG_VMNC_DECODER) += vmnc.o
78a010fb
BL
199OBJS-$(CONFIG_VORBIS_DECODER) += vorbis_dec.o vorbis.o vorbis_data.o xiph.o mdct.o fft.o
200OBJS-$(CONFIG_VORBIS_ENCODER) += vorbis_enc.o vorbis.o vorbis_data.o mdct.o fft.o
9b5dc867
PI
201OBJS-$(CONFIG_VP3_DECODER) += vp3.o vp3dsp.o
202OBJS-$(CONFIG_VP5_DECODER) += vp5.o vp56.o vp56data.o vp3dsp.o
f28b1048
AJ
203OBJS-$(CONFIG_VP6_DECODER) += vp6.o vp56.o vp56data.o vp3dsp.o huffman.o
204OBJS-$(CONFIG_VP6A_DECODER) += vp6.o vp56.o vp56data.o vp3dsp.o huffman.o
205OBJS-$(CONFIG_VP6F_DECODER) += vp6.o vp56.o vp56data.o vp3dsp.o huffman.o
bac3be38 206OBJS-$(CONFIG_VQA_DECODER) += vqavideo.o
730581f3 207OBJS-$(CONFIG_WAVPACK_DECODER) += wavpack.o
78a010fb 208OBJS-$(CONFIG_WMAV1_DECODER) += wmadec.o wma.o mdct.o fft.o
78a010fb 209OBJS-$(CONFIG_WMAV1_ENCODER) += wmaenc.o wma.o mdct.o fft.o
379374ea 210OBJS-$(CONFIG_WMAV2_DECODER) += wmadec.o wma.o mdct.o fft.o
78a010fb 211OBJS-$(CONFIG_WMAV2_ENCODER) += wmaenc.o wma.o mdct.o fft.o
df8e3460 212OBJS-$(CONFIG_WMV1_DECODER) += h263dec.o h263.o
a9fb241c 213OBJS-$(CONFIG_WMV1_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
4d4f59d7
AJ
214OBJS-$(CONFIG_WMV2_DECODER) += wmv2dec.o wmv2.o msmpeg4.o msmpeg4data.o h263dec.o h263.o intrax8.o intrax8dsp.o
215OBJS-$(CONFIG_WMV2_ENCODER) += wmv2enc.o wmv2.o msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o
986a865f 216OBJS-$(CONFIG_WMV3_DECODER) += vc1.o vc1data.o vc1dsp.o
bac3be38
MR
217OBJS-$(CONFIG_WNV1_DECODER) += wnv1.o
218OBJS-$(CONFIG_WS_SND1_DECODER) += ws-snd1.o
f7e79298 219OBJS-$(CONFIG_XAN_DPCM_DECODER) += dpcm.o
bac3be38
MR
220OBJS-$(CONFIG_XAN_WC3_DECODER) += xan.o
221OBJS-$(CONFIG_XAN_WC4_DECODER) += xan.o
222OBJS-$(CONFIG_XL_DECODER) += xl.o
7e2643ae 223OBJS-$(CONFIG_XSUB_DECODER) += xsubdec.o
00eb27f1
MR
224OBJS-$(CONFIG_ZLIB_DECODER) += lcldec.o
225OBJS-$(CONFIG_ZLIB_ENCODER) += lclenc.o
bac3be38 226OBJS-$(CONFIG_ZMBV_DECODER) += zmbv.o
3dd52c5a 227OBJS-$(CONFIG_ZMBV_ENCODER) += zmbvenc.o
bac3be38 228
327dcfd3
MR
229OBJS-$(CONFIG_PCM_S32BE_DECODER) += pcm.o
230OBJS-$(CONFIG_PCM_S32BE_ENCODER) += pcm.o
379374ea
DB
231OBJS-$(CONFIG_PCM_S32LE_DECODER) += pcm.o
232OBJS-$(CONFIG_PCM_S32LE_ENCODER) += pcm.o
327dcfd3
MR
233OBJS-$(CONFIG_PCM_U32BE_DECODER) += pcm.o
234OBJS-$(CONFIG_PCM_U32BE_ENCODER) += pcm.o
379374ea
DB
235OBJS-$(CONFIG_PCM_U32LE_DECODER) += pcm.o
236OBJS-$(CONFIG_PCM_U32LE_ENCODER) += pcm.o
327dcfd3
MR
237OBJS-$(CONFIG_PCM_S24BE_DECODER) += pcm.o
238OBJS-$(CONFIG_PCM_S24BE_ENCODER) += pcm.o
379374ea
DB
239OBJS-$(CONFIG_PCM_S24LE_DECODER) += pcm.o
240OBJS-$(CONFIG_PCM_S24LE_ENCODER) += pcm.o
327dcfd3
MR
241OBJS-$(CONFIG_PCM_U24BE_DECODER) += pcm.o
242OBJS-$(CONFIG_PCM_U24BE_ENCODER) += pcm.o
379374ea
DB
243OBJS-$(CONFIG_PCM_U24LE_DECODER) += pcm.o
244OBJS-$(CONFIG_PCM_U24LE_ENCODER) += pcm.o
327dcfd3
MR
245OBJS-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.o
246OBJS-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.o
247OBJS-$(CONFIG_PCM_S16LE_DECODER) += pcm.o
248OBJS-$(CONFIG_PCM_S16LE_ENCODER) += pcm.o
725d86bf 249OBJS-$(CONFIG_PCM_S16LE_PLANAR_DECODER)+= pcm.o
327dcfd3
MR
250OBJS-$(CONFIG_PCM_S16BE_DECODER) += pcm.o
251OBJS-$(CONFIG_PCM_S16BE_ENCODER) += pcm.o
252OBJS-$(CONFIG_PCM_U16LE_DECODER) += pcm.o
253OBJS-$(CONFIG_PCM_U16LE_ENCODER) += pcm.o
254OBJS-$(CONFIG_PCM_U16BE_DECODER) += pcm.o
255OBJS-$(CONFIG_PCM_U16BE_ENCODER) += pcm.o
256OBJS-$(CONFIG_PCM_S8_DECODER) += pcm.o
257OBJS-$(CONFIG_PCM_S8_ENCODER) += pcm.o
258OBJS-$(CONFIG_PCM_U8_DECODER) += pcm.o
259OBJS-$(CONFIG_PCM_U8_ENCODER) += pcm.o
260OBJS-$(CONFIG_PCM_ALAW_DECODER) += pcm.o
261OBJS-$(CONFIG_PCM_ALAW_ENCODER) += pcm.o
262OBJS-$(CONFIG_PCM_MULAW_DECODER) += pcm.o
263OBJS-$(CONFIG_PCM_MULAW_ENCODER) += pcm.o
22cf0018
AJ
264OBJS-$(CONFIG_PCM_ZORK_DECODER) += pcm.o
265OBJS-$(CONFIG_PCM_ZORK_ENCODER) += pcm.o
327dcfd3
MR
266
267OBJS-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.o
76c443c6 268OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adxdec.o
c31dea61 269OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adxenc.o
327dcfd3 270OBJS-$(CONFIG_ADPCM_CT_DECODER) += adpcm.o
327dcfd3 271OBJS-$(CONFIG_ADPCM_EA_DECODER) += adpcm.o
e7583962
PR
272OBJS-$(CONFIG_ADPCM_EA_R1_DECODER) += adpcm.o
273OBJS-$(CONFIG_ADPCM_EA_R2_DECODER) += adpcm.o
274OBJS-$(CONFIG_ADPCM_EA_R3_DECODER) += adpcm.o
271b4095 275OBJS-$(CONFIG_ADPCM_EA_XAS_DECODER) += adpcm.o
327dcfd3
MR
276OBJS-$(CONFIG_ADPCM_G726_DECODER) += g726.o
277OBJS-$(CONFIG_ADPCM_G726_ENCODER) += g726.o
3a7f5d07 278OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER) += adpcm.o
327dcfd3 279OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.o
327dcfd3 280OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.o
fac84d3c 281OBJS-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER) += adpcm.o
7bb65d89 282OBJS-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER) += adpcm.o
327dcfd3 283OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.o
9b1a3ea0 284OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.o
327dcfd3
MR
285OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.o
286OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcm.o
287OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.o
327dcfd3
MR
288OBJS-$(CONFIG_ADPCM_MS_DECODER) += adpcm.o
289OBJS-$(CONFIG_ADPCM_MS_ENCODER) += adpcm.o
290OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.o
327dcfd3 291OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.o
327dcfd3 292OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.o
327dcfd3
MR
293OBJS-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.o
294OBJS-$(CONFIG_ADPCM_SWF_ENCODER) += adpcm.o
d1e0d21f 295OBJS-$(CONFIG_ADPCM_THP_DECODER) += adpcm.o
327dcfd3 296OBJS-$(CONFIG_ADPCM_XA_DECODER) += adpcm.o
327dcfd3
MR
297OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.o
298OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.o
299
5118cae6 300# libavformat dependencies
1ace4419 301OBJS-$(CONFIG_MATROSKA_MUXER) += xiph.o
5118cae6
BC
302OBJS-$(CONFIG_OGG_MUXER) += xiph.o
303
20c9dfe3 304# external codec libraries
6f1af735 305OBJS-$(CONFIG_LIBA52) += liba52.o
64e13d69
DB
306OBJS-$(CONFIG_LIBAMR_NB) += libamr.o
307OBJS-$(CONFIG_LIBAMR_WB) += libamr.o
6f1af735
DB
308OBJS-$(CONFIG_LIBFAAC) += libfaac.o
309OBJS-$(CONFIG_LIBFAAD) += libfaad.o
20c9dfe3 310OBJS-$(CONFIG_LIBGSM) += libgsm.o
6f1af735 311OBJS-$(CONFIG_LIBMP3LAME) += libmp3lame.o
150d2772 312OBJS-$(CONFIG_LIBTHEORA) += libtheoraenc.o
6f1af735 313OBJS-$(CONFIG_LIBVORBIS) += libvorbis.o
9097a8e4
DB
314OBJS-$(CONFIG_LIBX264) += libx264.o
315OBJS-$(CONFIG_LIBXVID) += libxvidff.o libxvid_rc.o
23c99253 316
bac3be38 317
99ff31dc
AJ
318OBJS-$(CONFIG_AAC_PARSER) += aac_parser.o aac_ac3_parser.o
319OBJS-$(CONFIG_AC3_PARSER) += ac3_parser.o ac3tab.o aac_ac3_parser.o
c5a60225 320OBJS-$(CONFIG_CAVSVIDEO_PARSER) += cavs_parser.o
98c98e04 321OBJS-$(CONFIG_DCA_PARSER) += dca_parser.o
027f43f0 322OBJS-$(CONFIG_DVBSUB_PARSER) += dvbsub_parser.o
44c56000 323OBJS-$(CONFIG_DVDSUB_PARSER) += dvdsub_parser.o
3883a99b 324OBJS-$(CONFIG_H261_PARSER) += h261_parser.o
c33d9814 325OBJS-$(CONFIG_H263_PARSER) += h263_parser.o
26b4fe82 326OBJS-$(CONFIG_H264_PARSER) += h264_parser.o
b16560a3 327OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.o
6b493b2f 328OBJS-$(CONFIG_MLP_PARSER) += mlp_parser.o
df8e3460 329OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.o h263.o
2a68cd08 330OBJS-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.o mpegaudiodecheader.o mpegaudiodata.o
7f50d4ac 331OBJS-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.o
9ac2e797 332OBJS-$(CONFIG_PNM_PARSER) += pnm_parser.o pnm.o
5982ae94 333OBJS-$(CONFIG_VC1_PARSER) += vc1_parser.o
af9e7d18 334
8bf63e1c 335OBJS-$(CONFIG_DUMP_EXTRADATA_BSF) += dump_extradata_bsf.o
bdfae2a5 336OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF) += h264_mp4toannexb_bsf.o
1e97ce4a
DB
337OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF) += imx_dump_header_bsf.o
338OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF) += mjpega_dump_header_bsf.o
234c6ed7 339OBJS-$(CONFIG_MOV2TEXTSUB_BSF) += movsub_bsf.o
a975d9e2 340OBJS-$(CONFIG_MP3_HEADER_COMPRESS_BSF) += mp3_header_compress_bsf.o
b57eed12 341OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF) += mp3_header_decompress_bsf.o mpegaudiodata.o
1e97ce4a
DB
342OBJS-$(CONFIG_NOISE_BSF) += noise_bsf.o
343OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF) += remove_extradata_bsf.o
234c6ed7 344OBJS-$(CONFIG_TEXT2MOVSUB_BSF) += movsub_bsf.o
cd61e407 345
1e97ce4a
DB
346OBJS-$(HAVE_BEOSTHREADS) += beosthread.o
347OBJS-$(HAVE_OS2THREADS) += os2thread.o
bac3be38
MR
348OBJS-$(HAVE_PTHREADS) += pthread.o
349OBJS-$(HAVE_W32THREADS) += w32thread.o
bac3be38
MR
350
351OBJS-$(HAVE_XVMC_ACCEL) += xvmcvideo.o
bb4c2140 352
790c9ca7
LA
353ifneq ($(CONFIG_SWSCALER),yes)
354OBJS += imgresample.o
355endif
356
1026a8d4 357# processor-specific code
3f5b56e5 358ifeq ($(HAVE_MMX),yes)
7fd265a7
DB
359OBJS += i386/fdct_mmx.o \
360 i386/cputest.o \
361 i386/dsputil_mmx.o \
362 i386/mpegvideo_mmx.o \
363 i386/motion_est_mmx.o \
364 i386/simple_idct_mmx.o \
0eb59ddb 365 i386/idct_mmx_xvid.o \
7fd265a7 366 i386/fft_sse.o \
7fd265a7
DB
367 i386/fft_3dn.o \
368 i386/fft_3dn2.o \
7fd265a7 369
3dc09ed1 370OBJS-$(CONFIG_GPL) += i386/idct_mmx.o
770202c3 371
3dc09ed1 372OBJS-$(CONFIG_CAVS_DECODER) += i386/cavsdsp_mmx.o
407c50a0 373OBJS-$(CONFIG_FLAC_ENCODER) += i386/flacdsp_mmx.o
770202c3 374OBJS-$(CONFIG_SNOW_DECODER) += i386/snowdsp_mmx.o
5b67ce2a 375OBJS-$(CONFIG_VC1_DECODER) += i386/vc1dsp_mmx.o
9b5dc867
PI
376OBJS-$(CONFIG_VP3_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
377OBJS-$(CONFIG_VP5_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
378OBJS-$(CONFIG_VP6_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
0cd05c08 379OBJS-$(CONFIG_VP6A_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
00b5ec15 380OBJS-$(CONFIG_VP6F_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
5b67ce2a 381OBJS-$(CONFIG_WMV3_DECODER) += i386/vc1dsp_mmx.o
de6d9b64
FB
382endif
383
18ca9a4a 384ASM_OBJS-$(ARCH_ARMV4L) += armv4l/jrevdct_arm.o \
bac3be38 385 armv4l/simple_idct_arm.o \
5064755e
DB
386 armv4l/dsputil_arm_s.o \
387
18ca9a4a 388OBJS-$(ARCH_ARMV4L) += armv4l/dsputil_arm.o \
5064755e
DB
389 armv4l/mpegvideo_arm.o \
390
3f5b56e5 391OBJS-$(HAVE_IWMMXT) += armv4l/dsputil_iwmmxt.o \
5064755e
DB
392 armv4l/mpegvideo_iwmmxt.o \
393
3f5b56e5 394ASM_OBJS-$(HAVE_ARMV5TE) += armv4l/simple_idct_armv5te.o \
7a886063 395 armv4l/mpegvideo_armv5te.o \
bac3be38 396
3f5b56e5 397ASM_OBJS-$(HAVE_ARMV6) += armv4l/simple_idct_armv6.o \
7d42886b 398
b146873c 399OBJS-$(HAVE_VIS) += sparc/dsputil_vis.o \
d9420d4d 400 sparc/simple_idct_vis.o \
5064755e 401
5064755e 402OBJS-$(HAVE_MLIB) += mlib/dsputil_mlib.o \
6ad1fa5a 403
18ca9a4a 404OBJS-$(ARCH_ALPHA) += alpha/dsputil_alpha.o \
1e97ce4a 405 alpha/motion_est_alpha.o \
bac3be38
MR
406 alpha/mpegvideo_alpha.o \
407 alpha/simple_idct_alpha.o \
5064755e 408
18ca9a4a 409ASM_OBJS-$(ARCH_ALPHA) += alpha/dsputil_alpha_asm.o \
5064755e
DB
410 alpha/motion_est_mvi_asm.o \
411
18ca9a4a 412OBJS-$(ARCH_POWERPC) += ppc/dsputil_ppc.o \
bac3be38 413
3f5b56e5 414OBJS-$(HAVE_MMI) += ps2/dsputil_mmi.o \
bac3be38 415 ps2/idct_mmi.o \
5064755e
DB
416 ps2/mpegvideo_mmi.o \
417
18ca9a4a 418OBJS-$(ARCH_SH4) += sh4/idct_sh4.o \
5064755e 419 sh4/dsputil_align.o \
1e97ce4a 420 sh4/dsputil_sh4.o \
5064755e 421
89523bee 422ALTIVEC-OBJS-yes += ppc/dsputil_altivec.o \
bac3be38 423 ppc/fdct_altivec.o \
1e97ce4a 424 ppc/fft_altivec.o \
5064755e 425 ppc/float_altivec.o \
1e97ce4a
DB
426 ppc/gmc_altivec.o \
427 ppc/idct_altivec.o \
1f1aadc3 428 ppc/int_altivec.o \
1e97ce4a 429 ppc/mpegvideo_altivec.o \
5064755e 430
89523bee
LB
431ALTIVEC-OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o
432ALTIVEC-OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o
433ALTIVEC-OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o
434ALTIVEC-OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o
435
436# -maltivec is needed in order to build AltiVec code.
437$(ALTIVEC-OBJS-yes): CFLAGS += -maltivec -mabi=altivec
438
439# check_altivec must be built without -maltivec
440OBJS-$(HAVE_ALTIVEC) += $(ALTIVEC-OBJS-yes) \
441 ppc/check_altivec.o
8cff89be 442
18ca9a4a 443OBJS-$(ARCH_BFIN) += bfin/dsputil_bfin.o \
1a822d30 444 bfin/mpegvideo_bfin.o \
b9dc3279 445 bfin/vp3_bfin.o \
bac3be38 446
18ca9a4a 447ASM_OBJS-$(ARCH_BFIN) += bfin/pixels_bfin.o \
67fd620c 448 bfin/fdct_bfin.o \
1e97ce4a 449 bfin/idct_bfin.o \
b9dc3279 450 bfin/vp3_idct_bfin.o \
67fd620c 451
14f29f79
DB
452EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
453
4bdd05e7 454NAME=avcodec
f3b60109
DB
455LIBVERSION=$(LAVCVERSION)
456LIBMAJOR=$(LAVCMAJOR)
e164fbfe 457
fe34942e
DB
458TESTS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 imgresample rangecoder snow)
459ifeq ($(ARCH_X86),yes)
460TESTS += cpuid-test$(EXESUF) motion-test$(EXESUF)
461endif
462
997baf01 463include ../common.mak
8b2121e3 464
c7f1a2f5 465clean::
8b2121e3 466 rm -f \
1e98dffb 467 alpha/*.o alpha/*~ \
e9bfae45 468 armv4l/*.o armv4l/*~ \
18b8b43b 469 bfin/*.o bfin/*~ \
e9bfae45
DB
470 i386/*.o i386/*~ \
471 mlib/*.o mlib/*~ \
59925ef2 472 ppc/*.o ppc/*~ \
d46aba26 473 ps2/*.o ps2/*~ \
0c6bd2ea 474 sh4/*.o sh4/*~ \
bb476ff3 475 sparc/*.o sparc/*~ \
bca9e0bc 476 apiexample$(EXESUF)
7f4f3e16 477
eba6ba4a
DB
478cpuid-test$(EXESUF): i386/cputest.c
479apiexample$(EXESUF): apiexample.o $(LIBNAME)
480dct-test$(EXESUF): dct-test.o fdctref.o $(LIBNAME)
481fft-test$(EXESUF): fft-test.o $(LIBNAME)
482motion-test$(EXESUF): motion-test.o $(LIBNAME)