Mercurial > libavcodec.hg
annotate Makefile @ 4296:4bfaef73d6ed libavcodec
Adding H.264 DCT.
author | takis |
---|---|
date | Mon, 11 Dec 2006 15:53:55 +0000 |
parents | 0c090df061f8 |
children | a0cfbd6679c0 |
rev | line source |
---|---|
395 | 1 # |
2 # libavcodec Makefile | |
2542
a27a580f292e
first pass at ALAC decoder from David Hammerton; while David's original
melanson
parents:
2541
diff
changeset
|
3 # (c) 2000-2005 Fabrice Bellard |
395 | 4 # |
2 | 5 include ../config.mak |
6 | |
4065
93163e2a2398
Do not use a fake libavcodec/swscale.h, but always use the real one
lucabe
parents:
4054
diff
changeset
|
7 CFLAGS+=-I$(SRC_PATH)/libswscale $(AMR_CFLAGS) |
0 | 8 |
3931
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
9 OBJS= bitstream.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
10 utils.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
11 allcodecs.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
12 mpegvideo.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
13 jrevdct.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
14 jfdctfst.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
15 jfdctint.o\ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
16 mjpeg.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
17 resample.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
18 resample2.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
19 dsputil.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
20 motion_est.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
21 imgconvert.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
22 mpeg12.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
23 mpegaudiodec.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
24 simple_idct.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
25 ratecontrol.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
26 eval.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
27 error_resilience.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
28 fft.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
29 mdct.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
30 raw.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
31 golomb.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
32 cabac.o\ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
33 faandct.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
34 parser.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
35 vp3dsp.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
36 h264idct.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
37 rangecoder.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
38 pnm.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
39 h263.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
40 msmpeg4.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
41 h263dec.o \ |
3421
b7826511f7b6
AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
michael
parents:
3417
diff
changeset
|
42 opt.o \ |
b7826511f7b6
AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
michael
parents:
3417
diff
changeset
|
43 bitstream_filter.o \ |
3594 | 44 audioconvert.o \ |
3421
b7826511f7b6
AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
michael
parents:
3417
diff
changeset
|
45 |
2756 | 46 |
3652 | 47 HEADERS = avcodec.h opt.h |
3124 | 48 |
3441 | 49 OBJS-$(CONFIG_AASC_DECODER) += aasc.o |
50 OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o | |
51 OBJS-$(CONFIG_ALAC_DECODER) += alac.o | |
52 OBJS-$(CONFIG_ASV1_DECODER) += asv1.o | |
53 OBJS-$(CONFIG_ASV1_ENCODER) += asv1.o | |
54 OBJS-$(CONFIG_ASV2_DECODER) += asv1.o | |
55 OBJS-$(CONFIG_ASV2_ENCODER) += asv1.o | |
56 OBJS-$(CONFIG_AVS_DECODER) += avs.o | |
3443 | 57 OBJS-$(CONFIG_BMP_DECODER) += bmp.o |
3441 | 58 OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdsp.o |
59 OBJS-$(CONFIG_CINEPAK_DECODER) += cinepak.o | |
60 OBJS-$(CONFIG_CLJR_DECODER) += cljr.o | |
61 OBJS-$(CONFIG_CLJR_ENCODER) += cljr.o | |
3443 | 62 OBJS-$(CONFIG_COOK_DECODER) += cook.o |
63 OBJS-$(CONFIG_CSCD_DECODER) += cscd.o lzo.o | |
3441 | 64 OBJS-$(CONFIG_CYUV_DECODER) += cyuv.o |
3997
8ed26e786210
support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
bcoudurier
parents:
3988
diff
changeset
|
65 OBJS-$(CONFIG_DSICINVIDEO_DECODER) += dsicinav.o |
8ed26e786210
support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
bcoudurier
parents:
3988
diff
changeset
|
66 OBJS-$(CONFIG_DSICINAUDIO_DECODER) += dsicinav.o |
3441 | 67 OBJS-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.o |
68 OBJS-$(CONFIG_DVBSUB_ENCODER) += dvbsub.o | |
4091 | 69 OBJS-$(CONFIG_DVDSUB_DECODER) += dvdsubdec.o |
3441 | 70 OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o |
71 OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o | |
72 OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o | |
73 OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o | |
74 OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o | |
75 OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o | |
3443 | 76 OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o |
77 OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o | |
3441 | 78 OBJS-$(CONFIG_FLAC_DECODER) += flac.o |
79 OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o | |
3443 | 80 OBJS-$(CONFIG_FLASHSV_DECODER) += flashsv.o |
3441 | 81 OBJS-$(CONFIG_FLIC_DECODER) += flicvideo.o |
82 OBJS-$(CONFIG_FOURXM_DECODER) += 4xm.o | |
83 OBJS-$(CONFIG_FRAPS_DECODER) += fraps.o | |
4080
f426c81afc9e
LZW decoder as separate module plus TIFF LZW support
kostya
parents:
4065
diff
changeset
|
84 OBJS-$(CONFIG_GIF_DECODER) += gifdec.o lzw.o |
4125 | 85 OBJS-$(CONFIG_GIF_ENCODER) += gif.o |
3441 | 86 OBJS-$(CONFIG_H261_DECODER) += h261.o |
87 OBJS-$(CONFIG_H261_ENCODER) += h261.o | |
88 OBJS-$(CONFIG_H264_DECODER) += h264.o | |
4296 | 89 OBJS-$(CONFIG_H264_ENCODER) += h264enc.o h264dsp.o |
3441 | 90 OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o |
91 OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o | |
92 OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o | |
4106 | 93 OBJS-$(CONFIG_IMC_DECODER) += imc.o |
3441 | 94 OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o |
95 OBJS-$(CONFIG_INDEO3_DECODER) += indeo3.o | |
96 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o | |
3447 | 97 OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.o |
3441 | 98 OBJS-$(CONFIG_KMVC_DECODER) += kmvc.o |
99 OBJS-$(CONFIG_LOCO_DECODER) += loco.o | |
100 OBJS-$(CONFIG_MACE3_DECODER) += mace.o | |
101 OBJS-$(CONFIG_MACE6_DECODER) += mace.o | |
3443 | 102 OBJS-$(CONFIG_MMVIDEO_DECODER) += mmvideo.o |
3441 | 103 OBJS-$(CONFIG_MP2_ENCODER) += mpegaudio.o |
104 OBJS-$(CONFIG_MSRLE_DECODER) += msrle.o | |
105 OBJS-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.o | |
3443 | 106 OBJS-$(CONFIG_MSZH_DECODER) += lcl.o |
107 OBJS-$(CONFIG_NUV_DECODER) += nuv.o rtjpeg.o lzo.o | |
3441 | 108 OBJS-$(CONFIG_PNG_DECODER) += png.o |
109 OBJS-$(CONFIG_PNG_ENCODER) += png.o | |
110 OBJS-$(CONFIG_QDM2_DECODER) += qdm2.o | |
111 OBJS-$(CONFIG_QDRAW_DECODER) += qdrw.o | |
112 OBJS-$(CONFIG_QPEG_DECODER) += qpeg.o | |
113 OBJS-$(CONFIG_QTRLE_DECODER) += qtrle.o | |
114 OBJS-$(CONFIG_RA_144_DECODER) += ra144.o | |
115 OBJS-$(CONFIG_RA_288_DECODER) += ra288.o | |
116 OBJS-$(CONFIG_ROQ_DECODER) += roqvideo.o | |
3447 | 117 OBJS-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.o |
3441 | 118 OBJS-$(CONFIG_RPZA_DECODER) += rpza.o |
119 OBJS-$(CONFIG_RV10_DECODER) += rv10.o | |
120 OBJS-$(CONFIG_RV10_ENCODER) += rv10.o | |
121 OBJS-$(CONFIG_RV20_DECODER) += rv10.o | |
122 OBJS-$(CONFIG_RV20_ENCODER) += rv10.o | |
123 OBJS-$(CONFIG_SHORTEN_DECODER) += shorten.o | |
3443 | 124 OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o |
3441 | 125 OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o |
126 OBJS-$(CONFIG_SMC_DECODER) += smc.o | |
127 OBJS-$(CONFIG_SNOW_DECODER) += snow.o | |
128 OBJS-$(CONFIG_SNOW_ENCODER) += snow.o | |
3447 | 129 OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o |
3441 | 130 OBJS-$(CONFIG_SONIC_DECODER) += sonic.o |
131 OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o | |
132 OBJS-$(CONFIG_SONIC_LS_DECODER) += sonic.o | |
133 OBJS-$(CONFIG_SVQ1_DECODER) += svq1.o | |
134 OBJS-$(CONFIG_SVQ1_ENCODER) += svq1.o | |
3443 | 135 OBJS-$(CONFIG_SVQ3_DECODER) += h264.o |
3986 | 136 OBJS-$(CONFIG_TARGA_DECODER) += targa.o |
3443 | 137 OBJS-$(CONFIG_THEORA_DECODER) += vp3.o |
4110 | 138 OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o |
4080
f426c81afc9e
LZW decoder as separate module plus TIFF LZW support
kostya
parents:
4065
diff
changeset
|
139 OBJS-$(CONFIG_TIFF_DECODER) += tiff.o lzw.o |
3441 | 140 OBJS-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.o |
141 OBJS-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.o | |
142 OBJS-$(CONFIG_TRUESPEECH_DECODER) += truespeech.o | |
3443 | 143 OBJS-$(CONFIG_TSCC_DECODER) += tscc.o |
3441 | 144 OBJS-$(CONFIG_TTA_DECODER) += tta.o |
145 OBJS-$(CONFIG_ULTI_DECODER) += ulti.o | |
3526 | 146 OBJS-$(CONFIG_VC1_DECODER) += vc1.o vc1dsp.o |
3441 | 147 OBJS-$(CONFIG_VCR1_DECODER) += vcr1.o |
148 OBJS-$(CONFIG_VCR1_ENCODER) += vcr1.o | |
3443 | 149 OBJS-$(CONFIG_VMDAUDIO_DECODER) += vmdav.o |
3441 | 150 OBJS-$(CONFIG_VMDVIDEO_DECODER) += vmdav.o |
3677 | 151 OBJS-$(CONFIG_VMNC_DECODER) += vmnc.o |
3798 | 152 OBJS-$(CONFIG_VORBIS_DECODER) += vorbis.o vorbis_data.o |
4108
3ae94f965189
fix for disabling vorbis decoder but enabling vorbis encoder
ods15
parents:
4106
diff
changeset
|
153 OBJS-$(CONFIG_VORBIS_ENCODER) += vorbis_enc.o vorbis.o vorbis_data.o |
3441 | 154 OBJS-$(CONFIG_VP3_DECODER) += vp3.o |
3695 | 155 OBJS-$(CONFIG_VP5_DECODER) += vp5.o vp56.o vp56data.o |
156 OBJS-$(CONFIG_VP6_DECODER) += vp6.o vp56.o vp56data.o | |
3441 | 157 OBJS-$(CONFIG_VQA_DECODER) += vqavideo.o |
3764 | 158 OBJS-$(CONFIG_WAVPACK_DECODER) += wavpack.o |
3441 | 159 OBJS-$(CONFIG_WMAV1_DECODER) += wmadec.o |
160 OBJS-$(CONFIG_WMAV2_DECODER) += wmadec.o | |
4225 | 161 OBJS-$(CONFIG_WMV3_DECODER) += vc1.o vc1dsp.o |
3441 | 162 OBJS-$(CONFIG_WNV1_DECODER) += wnv1.o |
163 OBJS-$(CONFIG_WS_SND1_DECODER) += ws-snd1.o | |
3447 | 164 OBJS-$(CONFIG_XAN_DPCM_DECODER) += dpcm.o |
3441 | 165 OBJS-$(CONFIG_XAN_WC3_DECODER) += xan.o |
166 OBJS-$(CONFIG_XAN_WC4_DECODER) += xan.o | |
167 OBJS-$(CONFIG_XL_DECODER) += xl.o | |
3443 | 168 OBJS-$(CONFIG_ZLIB_DECODER) += lcl.o |
169 OBJS-$(CONFIG_ZLIB_ENCODER) += lcl.o | |
3441 | 170 OBJS-$(CONFIG_ZMBV_DECODER) += zmbv.o |
4286 | 171 OBJS-$(CONFIG_ZMBV_ENCODER) += zmbvenc.o |
2949 | 172 |
3444 | 173 OBJS-$(CONFIG_PCM_S32LE_DECODER) += pcm.o |
174 OBJS-$(CONFIG_PCM_S32LE_ENCODER) += pcm.o | |
175 OBJS-$(CONFIG_PCM_S32BE_DECODER) += pcm.o | |
176 OBJS-$(CONFIG_PCM_S32BE_ENCODER) += pcm.o | |
177 OBJS-$(CONFIG_PCM_U32LE_DECODER) += pcm.o | |
178 OBJS-$(CONFIG_PCM_U32LE_ENCODER) += pcm.o | |
179 OBJS-$(CONFIG_PCM_U32BE_DECODER) += pcm.o | |
180 OBJS-$(CONFIG_PCM_U32BE_ENCODER) += pcm.o | |
181 OBJS-$(CONFIG_PCM_S24LE_DECODER) += pcm.o | |
182 OBJS-$(CONFIG_PCM_S24LE_ENCODER) += pcm.o | |
183 OBJS-$(CONFIG_PCM_S24BE_DECODER) += pcm.o | |
184 OBJS-$(CONFIG_PCM_S24BE_ENCODER) += pcm.o | |
185 OBJS-$(CONFIG_PCM_U24LE_DECODER) += pcm.o | |
186 OBJS-$(CONFIG_PCM_U24LE_ENCODER) += pcm.o | |
187 OBJS-$(CONFIG_PCM_U24BE_DECODER) += pcm.o | |
188 OBJS-$(CONFIG_PCM_U24BE_ENCODER) += pcm.o | |
189 OBJS-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.o | |
190 OBJS-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.o | |
191 OBJS-$(CONFIG_PCM_S16LE_DECODER) += pcm.o | |
192 OBJS-$(CONFIG_PCM_S16LE_ENCODER) += pcm.o | |
193 OBJS-$(CONFIG_PCM_S16BE_DECODER) += pcm.o | |
194 OBJS-$(CONFIG_PCM_S16BE_ENCODER) += pcm.o | |
195 OBJS-$(CONFIG_PCM_U16LE_DECODER) += pcm.o | |
196 OBJS-$(CONFIG_PCM_U16LE_ENCODER) += pcm.o | |
197 OBJS-$(CONFIG_PCM_U16BE_DECODER) += pcm.o | |
198 OBJS-$(CONFIG_PCM_U16BE_ENCODER) += pcm.o | |
199 OBJS-$(CONFIG_PCM_S8_DECODER) += pcm.o | |
200 OBJS-$(CONFIG_PCM_S8_ENCODER) += pcm.o | |
201 OBJS-$(CONFIG_PCM_U8_DECODER) += pcm.o | |
202 OBJS-$(CONFIG_PCM_U8_ENCODER) += pcm.o | |
203 OBJS-$(CONFIG_PCM_ALAW_DECODER) += pcm.o | |
204 OBJS-$(CONFIG_PCM_ALAW_ENCODER) += pcm.o | |
205 OBJS-$(CONFIG_PCM_MULAW_DECODER) += pcm.o | |
206 OBJS-$(CONFIG_PCM_MULAW_ENCODER) += pcm.o | |
207 | |
208 OBJS-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.o | |
209 OBJS-$(CONFIG_ADPCM_4XM_ENCODER) += adpcm.o | |
3445 | 210 OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adx.o |
211 OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adx.o | |
3444 | 212 OBJS-$(CONFIG_ADPCM_CT_DECODER) += adpcm.o |
213 OBJS-$(CONFIG_ADPCM_CT_ENCODER) += adpcm.o | |
214 OBJS-$(CONFIG_ADPCM_EA_DECODER) += adpcm.o | |
215 OBJS-$(CONFIG_ADPCM_EA_ENCODER) += adpcm.o | |
216 OBJS-$(CONFIG_ADPCM_G726_DECODER) += g726.o | |
217 OBJS-$(CONFIG_ADPCM_G726_ENCODER) += g726.o | |
218 OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.o | |
219 OBJS-$(CONFIG_ADPCM_IMA_DK3_ENCODER) += adpcm.o | |
220 OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.o | |
221 OBJS-$(CONFIG_ADPCM_IMA_DK4_ENCODER) += adpcm.o | |
222 OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.o | |
223 OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER) += adpcm.o | |
224 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER)+= adpcm.o | |
225 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_ENCODER)+= adpcm.o | |
226 OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.o | |
227 OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcm.o | |
228 OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.o | |
229 OBJS-$(CONFIG_ADPCM_IMA_WS_ENCODER) += adpcm.o | |
230 OBJS-$(CONFIG_ADPCM_MS_DECODER) += adpcm.o | |
231 OBJS-$(CONFIG_ADPCM_MS_ENCODER) += adpcm.o | |
232 OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.o | |
233 OBJS-$(CONFIG_ADPCM_SBPRO_2_ENCODER) += adpcm.o | |
234 OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.o | |
235 OBJS-$(CONFIG_ADPCM_SBPRO_3_ENCODER) += adpcm.o | |
236 OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.o | |
237 OBJS-$(CONFIG_ADPCM_SBPRO_4_ENCODER) += adpcm.o | |
238 OBJS-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.o | |
239 OBJS-$(CONFIG_ADPCM_SWF_ENCODER) += adpcm.o | |
240 OBJS-$(CONFIG_ADPCM_XA_DECODER) += adpcm.o | |
241 OBJS-$(CONFIG_ADPCM_XA_ENCODER) += adpcm.o | |
242 OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.o | |
243 OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.o | |
244 | |
3441 | 245 OBJS-$(CONFIG_FAAD) += faad.o |
246 OBJS-$(CONFIG_FAAC) += faac.o | |
247 OBJS-$(CONFIG_XVID) += xvidff.o xvid_rc.o | |
248 OBJS-$(CONFIG_X264) += x264.o | |
249 OBJS-$(CONFIG_MP3LAME) += mp3lameaudio.o | |
250 OBJS-$(CONFIG_LIBVORBIS) += oggvorbis.o | |
251 OBJS-$(CONFIG_LIBGSM) += libgsm.o | |
3275
13460cb4ec73
cosmetics: Group all AMR variables together, add some newlines.
diego
parents:
3274
diff
changeset
|
252 |
3441 | 253 # currently using liba52 for ac3 decoding |
4194 | 254 OBJS-$(CONFIG_A52) += a52dec.o |
3275
13460cb4ec73
cosmetics: Group all AMR variables together, add some newlines.
diego
parents:
3274
diff
changeset
|
255 |
3441 | 256 # using builtin liba52 or runtime linked liba52.so.0 |
4194 | 257 OBJS-$(CONFIG_A52)$(CONFIG_A52BIN) += liba52/bit_allocate.o \ |
3441 | 258 liba52/bitstream.o \ |
259 liba52/downmix.o \ | |
260 liba52/imdct.o \ | |
261 liba52/parse.o \ | |
262 liba52/crc.o \ | |
263 liba52/resample.o | |
264 | |
265 # currently using libdts for dts decoding | |
266 OBJS-$(CONFIG_DTS) += dtsdec.o | |
267 | |
3463 | 268 OBJS-$(CONFIG_AMR) += amr.o |
269 OBJS-$(CONFIG_AMR_NB) += amr_float/sp_dec.o \ | |
3441 | 270 amr_float/sp_enc.o \ |
271 amr_float/interf_dec.o \ | |
272 amr_float/interf_enc.o | |
3276
941c00ef6d94
Disentangle dependencies between amr_nb and amr_nb-fixed: amr_nb-fixed does
diego
parents:
3275
diff
changeset
|
273 |
3463 | 274 ifeq ($(CONFIG_AMR_NB_FIXED),yes) |
3277 | 275 EXTRAOBJS += amr/*.o |
276 EXTRADEPS=amrlibs | |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1247
diff
changeset
|
277 endif |
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1247
diff
changeset
|
278 |
3479 | 279 OBJS-$(CONFIG_AMR_WB) += amrwb_float/dec_acelp.o \ |
3441 | 280 amrwb_float/dec_dtx.o \ |
281 amrwb_float/dec_gain.o \ | |
282 amrwb_float/dec_if.o \ | |
283 amrwb_float/dec_lpc.o \ | |
284 amrwb_float/dec_main.o \ | |
285 amrwb_float/dec_rom.o \ | |
286 amrwb_float/dec_util.o \ | |
287 amrwb_float/enc_acelp.o \ | |
288 amrwb_float/enc_dtx.o \ | |
289 amrwb_float/enc_gain.o \ | |
290 amrwb_float/enc_if.o \ | |
291 amrwb_float/enc_lpc.o \ | |
292 amrwb_float/enc_main.o \ | |
293 amrwb_float/enc_rom.o \ | |
294 amrwb_float/enc_util.o \ | |
295 amrwb_float/if_rom.o | |
338 | 296 |
3455
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
297 OBJS-$(CONFIG_AAC_PARSER) += parser.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
298 OBJS-$(CONFIG_AC3_PARSER) += parser.o |
4177 | 299 OBJS-$(CONFIG_CAVSVIDEO_PARSER) += cavs.o parser.o |
3455
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
300 OBJS-$(CONFIG_DVBSUB_PARSER) += dvbsubdec.o |
4091 | 301 OBJS-$(CONFIG_DVDSUB_PARSER) += dvdsubdec.o |
3455
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
302 OBJS-$(CONFIG_H261_PARSER) += h261.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
303 OBJS-$(CONFIG_H263_PARSER) += h263dec.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
304 OBJS-$(CONFIG_H264_PARSER) += h264.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
305 OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
306 OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += parser.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
307 OBJS-$(CONFIG_MPEGAUDIO_PARSER) += parser.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
308 OBJS-$(CONFIG_MPEGVIDEO_PARSER) += parser.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
309 OBJS-$(CONFIG_PNM_PARSER) += pnm.o |
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
310 |
3441 | 311 OBJS-$(HAVE_PTHREADS) += pthread.o |
312 OBJS-$(HAVE_W32THREADS) += w32thread.o | |
313 OBJS-$(HAVE_OS2THREADS) += os2thread.o | |
314 OBJS-$(HAVE_BEOSTHREADS) += beosthread.o | |
1500
726a81d83ddd
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents:
1498
diff
changeset
|
315 |
3441 | 316 OBJS-$(HAVE_XVMC_ACCEL) += xvmcvideo.o |
2729 | 317 |
3558 | 318 ifneq ($(CONFIG_SWSCALER),yes) |
319 OBJS += imgresample.o | |
320 endif | |
321 | |
0 | 322 # i386 mmx specific stuff |
2 | 323 ifeq ($(TARGET_MMX),yes) |
3931
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
324 OBJS += i386/fdct_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
325 i386/cputest.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
326 i386/dsputil_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
327 i386/mpegvideo_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
328 i386/motion_est_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
329 i386/simple_idct_mmx.o \ |
3932
d13da74a26f5
Switch idct_mmx_xvid.c from GPL to LGPL as permitted by the
diego
parents:
3931
diff
changeset
|
330 i386/idct_mmx_xvid.o \ |
3931
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
331 i386/fft_sse.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
332 i386/vp3dsp_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
333 i386/vp3dsp_sse2.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
334 i386/fft_3dn.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
335 i386/fft_3dn2.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
336 i386/snowdsp_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
337 |
2868 | 338 ifeq ($(CONFIG_GPL),yes) |
3932
d13da74a26f5
Switch idct_mmx_xvid.c from GPL to LGPL as permitted by the
diego
parents:
3931
diff
changeset
|
339 OBJS += i386/idct_mmx.o |
2868 | 340 endif |
3524 | 341 ifeq ($(CONFIG_CAVS_DECODER),yes) |
342 OBJS += i386/cavsdsp_mmx.o | |
343 endif | |
0 | 344 endif |
345 | |
62 | 346 # armv4l specific stuff |
3441 | 347 ASM_OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/jrevdct_arm.o \ |
348 armv4l/simple_idct_arm.o \ | |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
349 armv4l/dsputil_arm_s.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
350 |
3441 | 351 OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/dsputil_arm.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
352 armv4l/mpegvideo_arm.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
353 |
3441 | 354 OBJS-$(TARGET_IWMMXT) += armv4l/dsputil_iwmmxt.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
355 armv4l/mpegvideo_iwmmxt.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
356 |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
357 ASM_OBJS-$(TARGET_ARMV5TE) += armv4l/simple_idct_armv5te.o \ |
3441 | 358 |
359 # sun sparc | |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
360 OBJS-$(TARGET_ARCH_SPARC) += sparc/dsputil_vis.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
361 |
3441 | 362 sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc |
62 | 363 |
88 | 364 # sun mediaLib specific stuff |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
365 OBJS-$(HAVE_MLIB) += mlib/dsputil_mlib.o \ |
88 | 366 |
214
73df666cacc7
Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
nickols_k
parents:
174
diff
changeset
|
367 # alpha specific stuff |
3441 | 368 OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha.o \ |
369 alpha/mpegvideo_alpha.o \ | |
370 alpha/simple_idct_alpha.o \ | |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
371 alpha/motion_est_alpha.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
372 |
3441 | 373 ASM_OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha_asm.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
374 alpha/motion_est_mvi_asm.o \ |
689
efcbfbd18864
ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
michaelni
parents:
683
diff
changeset
|
375 |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
376 OBJS-$(TARGET_ARCH_POWERPC) += ppc/dsputil_ppc.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
377 ppc/mpegvideo_ppc.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
378 |
3441 | 379 OBJS-$(TARGET_MMI) += ps2/dsputil_mmi.o \ |
380 ps2/idct_mmi.o \ | |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
381 ps2/mpegvideo_mmi.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
382 |
3441 | 383 OBJS-$(TARGET_ARCH_SH4) += sh4/idct_sh4.o \ |
384 sh4/dsputil_sh4.o \ | |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
385 sh4/dsputil_align.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
386 |
3441 | 387 OBJS-$(TARGET_ALTIVEC) += ppc/dsputil_altivec.o \ |
388 ppc/mpegvideo_altivec.o \ | |
389 ppc/idct_altivec.o \ | |
390 ppc/fft_altivec.o \ | |
391 ppc/gmc_altivec.o \ | |
392 ppc/fdct_altivec.o \ | |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
393 ppc/float_altivec.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
394 |
4227
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
395 ifeq ($(TARGET_ALTIVEC),yes) |
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
396 OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o |
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
397 OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o |
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
398 OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o |
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
399 OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o |
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
400 endif |
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
401 |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
402 OBJS-$(TARGET_ARCH_BFIN) += bfin/dsputil_bfin.o \ |
623
92e99e506920
first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
michaelni
parents:
612
diff
changeset
|
403 |
3441 | 404 CFLAGS += $(CFLAGS-yes) |
405 OBJS += $(OBJS-yes) | |
406 ASM_OBJS += $(ASM_OBJS-yes) | |
1259
e8c3884f2c7e
sh4 optimized idct & bswap patch by (BERO <bero at geocities dot co dot jp>)
michaelni
parents:
1258
diff
changeset
|
407 |
4022
a2a174f19b34
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
4015
diff
changeset
|
408 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
a2a174f19b34
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
4015
diff
changeset
|
409 |
3044
ed98beb48872
Move library name generation to configure, simplifies build system a bit more.
diego
parents:
3040
diff
changeset
|
410 NAME=avcodec |
136 | 411 ifeq ($(BUILD_SHARED),yes) |
3040
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3037
diff
changeset
|
412 LIBVERSION=$(LAVCVERSION) |
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3037
diff
changeset
|
413 LIBMAJOR=$(LAVCMAJOR) |
136 | 414 endif |
4117 | 415 |
416 TESTS= imgresample-test fft-test | |
417 ifeq ($(TARGET_ARCH_X86),yes) | |
418 TESTS+= cpuid_test dct-test motion-test | |
419 endif | |
0 | 420 |
4160 | 421 include ../common.mak |
3124 | 422 |
1297 | 423 amrlibs: |
424 $(MAKE) -C amr spclib fipoplib | |
425 | |
3923 | 426 tests: apiexample $(TESTS) |
0 | 427 |
3289 | 428 clean:: |
3124 | 429 rm -f \ |
3050
61e47d203191
Make clean/distclean consistent throughout all the Makefiles.
diego
parents:
3048
diff
changeset
|
430 i386/*.o i386/*~ \ |
62 | 431 armv4l/*.o armv4l/*~ \ |
88 | 432 mlib/*.o mlib/*~ \ |
214
73df666cacc7
Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
nickols_k
parents:
174
diff
changeset
|
433 alpha/*.o alpha/*~ \ |
623
92e99e506920
first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
michaelni
parents:
612
diff
changeset
|
434 ppc/*.o ppc/*~ \ |
689
efcbfbd18864
ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
michaelni
parents:
683
diff
changeset
|
435 ps2/*.o ps2/*~ \ |
1259
e8c3884f2c7e
sh4 optimized idct & bswap patch by (BERO <bero at geocities dot co dot jp>)
michaelni
parents:
1258
diff
changeset
|
436 sh4/*.o sh4/*~ \ |
1965
f74f306c30b5
vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
michael
parents:
1960
diff
changeset
|
437 sparc/*.o sparc/*~ \ |
338 | 438 liba52/*.o liba52/*~ \ |
3289 | 439 amr_float/*.o \ |
338 | 440 apiexample $(TESTS) |
3290 | 441 -$(MAKE) -C amr clean |
442 -$(MAKE) -C amrwb_float -f makefile.gcc clean | |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1472
diff
changeset
|
443 |
3937 | 444 apiexample: apiexample.o $(LIB) |
0 | 445 |
43 | 446 cpuid_test: i386/cputest.c |
447 $(CC) $(CFLAGS) -D__TEST__ -o $@ $< | |
448 | |
3934 | 449 imgresample-test: imgresample.c $(LIB) |
3935 | 450 $(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) |
0 | 451 |
979 | 452 dct-test: dct-test.o fdctref.o $(LIB) |
3
1bdbd869c1f0
added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
glantau
parents:
2
diff
changeset
|
453 |
74 | 454 motion-test: motion_test.o $(LIB) |
455 | |
973
e2c119417470
enabled SSE fft (first code using GCC 3.2 vector builtins on x86 - please tell me if you have better ideas for intrinsic naming or Makefile support)
bellard
parents:
866
diff
changeset
|
456 fft-test: fft-test.o $(LIB) |
3921 | 457 |
458 .PHONY: amrlibs tests |