Statistics
| Branch: | Revision:

ffmpeg / libavcodec / Makefile @ d632239c

History | View | Annotate | Download (20.1 KB)

1 4cc281d9 Fabrice Bellard
#
2
# libavcodec Makefile
3 6d6d7970 Mike Melanson
# (c) 2000-2005 Fabrice Bellard
4 4cc281d9 Fabrice Bellard
#
5 980fc7b8 Fabrice Bellard
include ../config.mak
6
7 b550bfaa Ronald S. Bultje
CFLAGS+=-I$(SRC_PATH)/libswscale -I$(SRC_PATH)/libavcodec
8 de6d9b64 Fabrice Bellard
9 7fd265a7 Diego Biurrun
OBJS= bitstream.o \
10
      utils.o \
11
      allcodecs.o \
12
      mpegvideo.o \
13
      jrevdct.o \
14
      jfdctfst.o \
15
      jfdctint.o\
16
      resample.o \
17
      resample2.o \
18
      dsputil.o \
19
      motion_est.o \
20
      imgconvert.o \
21
      mpeg12.o \
22
      simple_idct.o \
23
      ratecontrol.o \
24
      eval.o \
25
      error_resilience.o \
26
      raw.o \
27
      golomb.o \
28
      cabac.o\
29
      faandct.o \
30
      parser.o \
31
      h264idct.o \
32
      rangecoder.o \
33
      h263.o \
34 748c2fca Michael Niedermayer
      opt.o \
35
      bitstream_filter.o \
36 0eb6817d Michael Niedermayer
      audioconvert.o \
37 748c2fca Michael Niedermayer
38 240c1657 Fabrice Bellard
39 bb42f829 Nico Sabbi
HEADERS = avcodec.h opt.h
40 8b2121e3 Måns Rullgård
41 bac3be38 Måns Rullgård
OBJS-$(CONFIG_AASC_DECODER)            += aasc.o
42 7adb10be Aurelien Jacobs
OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc.o ac3tab.o ac3.o
43 bac3be38 Måns Rullgård
OBJS-$(CONFIG_ALAC_DECODER)            += alac.o
44
OBJS-$(CONFIG_ASV1_DECODER)            += asv1.o
45
OBJS-$(CONFIG_ASV1_ENCODER)            += asv1.o
46
OBJS-$(CONFIG_ASV2_DECODER)            += asv1.o
47
OBJS-$(CONFIG_ASV2_ENCODER)            += asv1.o
48 78a010fb Benjamin Larsson
OBJS-$(CONFIG_ATRAC3_DECODER)          += atrac3.o mdct.o fft.o
49 bac3be38 Måns Rullgård
OBJS-$(CONFIG_AVS_DECODER)             += avs.o
50 1e6c6759 Nicholas Tung
OBJS-$(CONFIG_BETHSOFTVID_DECODER)     += bethsoftvideo.o
51 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_BMP_DECODER)             += bmp.o
52 52548eee Diego Biurrun
OBJS-$(CONFIG_BMP_ENCODER)             += bmpenc.o
53 9a0ddd09 Anssi Hannula
OBJS-$(CONFIG_C93_DECODER)             += c93.o
54 bac3be38 Måns Rullgård
OBJS-$(CONFIG_CAVS_DECODER)            += cavs.o cavsdsp.o
55
OBJS-$(CONFIG_CINEPAK_DECODER)         += cinepak.o
56
OBJS-$(CONFIG_CLJR_DECODER)            += cljr.o
57
OBJS-$(CONFIG_CLJR_ENCODER)            += cljr.o
58 78a010fb Benjamin Larsson
OBJS-$(CONFIG_COOK_DECODER)            += cook.o mdct.o fft.o
59 4302963d Reimar Döffinger
OBJS-$(CONFIG_CSCD_DECODER)            += cscd.o
60 bac3be38 Måns Rullgård
OBJS-$(CONFIG_CYUV_DECODER)            += cyuv.o
61 01ca9ac3 Kostya Shishkov
OBJS-$(CONFIG_DCA_DECODER)             += dca.o
62 52b6bad2 Baptiste Coudurier
OBJS-$(CONFIG_DNXHD_DECODER)           += dnxhddec.o
63 72450e50 Baptiste Coudurier
OBJS-$(CONFIG_DSICINVIDEO_DECODER)     += dsicinav.o
64
OBJS-$(CONFIG_DSICINAUDIO_DECODER)     += dsicinav.o
65 bac3be38 Måns Rullgård
OBJS-$(CONFIG_DVBSUB_DECODER)          += dvbsubdec.o
66
OBJS-$(CONFIG_DVBSUB_ENCODER)          += dvbsub.o
67 ebd6a694 Diego Biurrun
OBJS-$(CONFIG_DVDSUB_DECODER)          += dvdsubdec.o
68 bac3be38 Måns Rullgård
OBJS-$(CONFIG_DVDSUB_ENCODER)          += dvdsubenc.o
69
OBJS-$(CONFIG_DVVIDEO_DECODER)         += dv.o
70
OBJS-$(CONFIG_DVVIDEO_ENCODER)         += dv.o
71 33a0dd37 Kostya Shishkov
OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
72 bac3be38 Måns Rullgård
OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
73
OBJS-$(CONFIG_FFV1_DECODER)            += ffv1.o
74
OBJS-$(CONFIG_FFV1_ENCODER)            += ffv1.o
75 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_FFVHUFF_DECODER)         += huffyuv.o
76
OBJS-$(CONFIG_FFVHUFF_ENCODER)         += huffyuv.o
77 bac3be38 Måns Rullgård
OBJS-$(CONFIG_FLAC_DECODER)            += flac.o
78
OBJS-$(CONFIG_FLAC_ENCODER)            += flacenc.o
79 90d912af Måns Rullgård
OBJS-$(CONFIG_FLASHSV_DECODER)         += flashsv.o
80
OBJS-$(CONFIG_FLASHSV_ENCODER)         += flashsvenc.o
81 bac3be38 Måns Rullgård
OBJS-$(CONFIG_FLIC_DECODER)            += flicvideo.o
82
OBJS-$(CONFIG_FOURXM_DECODER)          += 4xm.o
83
OBJS-$(CONFIG_FRAPS_DECODER)           += fraps.o
84 ffc5430b Kostya Shishkov
OBJS-$(CONFIG_GIF_DECODER)             += gifdec.o lzw.o
85 93481fe5 Baptiste Coudurier
OBJS-$(CONFIG_GIF_ENCODER)             += gif.o
86 d632239c Panagiotis Issaris
OBJS-$(CONFIG_H261_DECODER)            += h261dec.o h261.o
87
OBJS-$(CONFIG_H261_ENCODER)            += h261enc.o h261.o
88 4a815a7f Diego Biurrun
OBJS-$(CONFIG_H263_DECODER)            += h263dec.o
89 bac3be38 Måns Rullgård
OBJS-$(CONFIG_H264_DECODER)            += h264.o
90 c6b237da Panagiotis Issaris
OBJS-$(CONFIG_H264_ENCODER)            += h264enc.o h264dsp.o
91 bac3be38 Måns Rullgård
OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o
92
OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o
93
OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o
94 78a010fb Benjamin Larsson
OBJS-$(CONFIG_IMC_DECODER)             += imc.o mdct.o fft.o
95 bac3be38 Måns Rullgård
OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
96
OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
97
OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
98 f7e79298 Måns Rullgård
OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
99 5acd8d9e Aurelien Jacobs
OBJS-$(CONFIG_JPEGLS_DECODER)          += jpeglsdec.o jpegls.o mjpegdec.o mjpeg.o
100 6ba04c2b Aurelien Jacobs
OBJS-$(CONFIG_JPEGLS_ENCODER)          += jpeglsenc.o jpegls.o
101 bac3be38 Måns Rullgård
OBJS-$(CONFIG_KMVC_DECODER)            += kmvc.o
102 d9c9259f Aurelien Jacobs
OBJS-$(CONFIG_LJPEG_ENCODER)           += ljpegenc.o mjpegenc.o mjpeg.o mpegvideo.o
103 bac3be38 Måns Rullgård
OBJS-$(CONFIG_LOCO_DECODER)            += loco.o
104
OBJS-$(CONFIG_MACE3_DECODER)           += mace.o
105
OBJS-$(CONFIG_MACE6_DECODER)           += mace.o
106 5acd8d9e Aurelien Jacobs
OBJS-$(CONFIG_MJPEG_DECODER)           += mjpegdec.o mjpeg.o
107 4922a5b0 Aurelien Jacobs
OBJS-$(CONFIG_MJPEG_ENCODER)           += mjpegenc.o mjpeg.o mpegvideo.o
108 0a59a18b Aurelien Jacobs
OBJS-$(CONFIG_MJPEGB_DECODER)          += mjpegbdec.o mjpegdec.o mjpeg.o
109 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_MMVIDEO_DECODER)         += mmvideo.o
110 9f77cab2 Aurelien Jacobs
OBJS-$(CONFIG_MP2_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
111 08aa2c9b Aurelien Jacobs
OBJS-$(CONFIG_MP2_ENCODER)             += mpegaudioenc.o mpegaudio.o mpegaudiodata.o
112 9f77cab2 Aurelien Jacobs
OBJS-$(CONFIG_MP3_DECODER)             += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
113
OBJS-$(CONFIG_MP3ADU_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
114
OBJS-$(CONFIG_MP3ON4_DECODER)          += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
115
OBJS-$(CONFIG_MPC7_DECODER)            += mpc.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
116 42ef2dbc Aurelien Jacobs
OBJS-$(CONFIG_MSMPEG4V1_DECODER)       += msmpeg4.o msmpeg4data.o
117
OBJS-$(CONFIG_MSMPEG4V1_ENCODER)       += msmpeg4.o msmpeg4data.o
118
OBJS-$(CONFIG_MSMPEG4V2_DECODER)       += msmpeg4.o msmpeg4data.o
119
OBJS-$(CONFIG_MSMPEG4V2_ENCODER)       += msmpeg4.o msmpeg4data.o
120
OBJS-$(CONFIG_MSMPEG4V3_DECODER)       += msmpeg4.o msmpeg4data.o
121
OBJS-$(CONFIG_MSMPEG4V3_ENCODER)       += msmpeg4.o msmpeg4data.o
122 bac3be38 Måns Rullgård
OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o
123
OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
124 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_MSZH_DECODER)            += lcl.o
125 4302963d Reimar Döffinger
OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
126 9ac2e797 Aurelien Jacobs
OBJS-$(CONFIG_PAM_ENCODER)             += pnmenc.o pnm.o
127
OBJS-$(CONFIG_PBM_ENCODER)             += pnmenc.o pnm.o
128
OBJS-$(CONFIG_PGM_ENCODER)             += pnmenc.o pnm.o
129
OBJS-$(CONFIG_PGMYUV_ENCODER)          += pnmenc.o pnm.o
130 bac3be38 Måns Rullgård
OBJS-$(CONFIG_PNG_DECODER)             += png.o
131
OBJS-$(CONFIG_PNG_ENCODER)             += png.o
132 9ac2e797 Aurelien Jacobs
OBJS-$(CONFIG_PPM_ENCODER)             += pnmenc.o pnm.o
133 b46d68c6 Ivo van Poorten
OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
134 9f77cab2 Aurelien Jacobs
OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o mdct.o fft.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
135 bac3be38 Måns Rullgård
OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o
136
OBJS-$(CONFIG_QPEG_DECODER)            += qpeg.o
137
OBJS-$(CONFIG_QTRLE_DECODER)           += qtrle.o
138
OBJS-$(CONFIG_RA_144_DECODER)          += ra144.o
139
OBJS-$(CONFIG_RA_288_DECODER)          += ra288.o
140
OBJS-$(CONFIG_ROQ_DECODER)             += roqvideo.o
141 f7e79298 Måns Rullgård
OBJS-$(CONFIG_ROQ_DPCM_DECODER)        += dpcm.o
142 f025588b Vitor Sessak
OBJS-$(CONFIG_ROQ_DPCM_ENCODER)        += roqaudioenc.o
143 bac3be38 Måns Rullgård
OBJS-$(CONFIG_RPZA_DECODER)            += rpza.o
144
OBJS-$(CONFIG_RV10_DECODER)            += rv10.o
145
OBJS-$(CONFIG_RV10_ENCODER)            += rv10.o
146
OBJS-$(CONFIG_RV20_DECODER)            += rv10.o
147
OBJS-$(CONFIG_RV20_ENCODER)            += rv10.o
148 2d99eed1 Xiaohui Sun
OBJS-$(CONFIG_SGI_DECODER)             += sgidec.o
149
OBJS-$(CONFIG_SGI_ENCODER)             += sgienc.o rle.o
150 bac3be38 Måns Rullgård
OBJS-$(CONFIG_SHORTEN_DECODER)         += shorten.o
151
OBJS-$(CONFIG_SMACKAUD_DECODER)        += smacker.o
152 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_SMACKER_DECODER)         += smacker.o
153 bac3be38 Måns Rullgård
OBJS-$(CONFIG_SMC_DECODER)             += smc.o
154
OBJS-$(CONFIG_SNOW_DECODER)            += snow.o
155
OBJS-$(CONFIG_SNOW_ENCODER)            += snow.o
156 f7e79298 Måns Rullgård
OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
157 bac3be38 Måns Rullgård
OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
158
OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o
159
OBJS-$(CONFIG_SONIC_LS_DECODER)        += sonic.o
160 40cce9ff Aurelien Jacobs
OBJS-$(CONFIG_SP5X_DECODER)            += sp5xdec.o mjpegdec.o mjpeg.o
161 bac3be38 Måns Rullgård
OBJS-$(CONFIG_SVQ1_DECODER)            += svq1.o
162
OBJS-$(CONFIG_SVQ1_ENCODER)            += svq1.o
163 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_SVQ3_DECODER)            += h264.o
164 3689cf16 Kostya Shishkov
OBJS-$(CONFIG_TARGA_DECODER)           += targa.o
165 1ca286e1 Michael Niedermayer
OBJS-$(CONFIG_TARGA_ENCODER)           += targaenc.o rle.o
166 9b5dc867 Panagiotis Issaris
OBJS-$(CONFIG_THEORA_DECODER)          += vp3.o xiph.o vp3dsp.o
167 5acd8d9e Aurelien Jacobs
OBJS-$(CONFIG_THP_DECODER)             += mjpegdec.o mjpeg.o
168 9a64e044 Diego Biurrun
OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
169 ffc5430b Kostya Shishkov
OBJS-$(CONFIG_TIFF_DECODER)            += tiff.o lzw.o
170 efd2afc2 Michael Niedermayer
OBJS-$(CONFIG_TIFF_ENCODER)            += tiffenc.o rle.o lzwenc.o
171 bac3be38 Måns Rullgård
OBJS-$(CONFIG_TRUEMOTION1_DECODER)     += truemotion1.o
172
OBJS-$(CONFIG_TRUEMOTION2_DECODER)     += truemotion2.o
173
OBJS-$(CONFIG_TRUESPEECH_DECODER)      += truespeech.o
174
OBJS-$(CONFIG_TSCC_DECODER)            += tscc.o
175 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_TTA_DECODER)             += tta.o
176 1ca779e7 Ivo van Poorten
OBJS-$(CONFIG_TXD_DECODER)             += txd.o s3tc.o
177 bac3be38 Måns Rullgård
OBJS-$(CONFIG_ULTI_DECODER)            += ulti.o
178 42ef2dbc Aurelien Jacobs
OBJS-$(CONFIG_VC1_DECODER)             += vc1.o vc1data.o vc1dsp.o msmpeg4data.o
179 bac3be38 Måns Rullgård
OBJS-$(CONFIG_VCR1_DECODER)            += vcr1.o
180
OBJS-$(CONFIG_VCR1_ENCODER)            += vcr1.o
181
OBJS-$(CONFIG_VMDAUDIO_DECODER)        += vmdav.o
182 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_VMDVIDEO_DECODER)        += vmdav.o
183 eb57c889 Kostya Shishkov
OBJS-$(CONFIG_VMNC_DECODER)            += vmnc.o
184 78a010fb Benjamin Larsson
OBJS-$(CONFIG_VORBIS_DECODER)          += vorbis_dec.o vorbis.o vorbis_data.o xiph.o mdct.o fft.o
185
OBJS-$(CONFIG_VORBIS_ENCODER)          += vorbis_enc.o vorbis.o vorbis_data.o mdct.o fft.o
186 9b5dc867 Panagiotis Issaris
OBJS-$(CONFIG_VP3_DECODER)             += vp3.o vp3dsp.o
187
OBJS-$(CONFIG_VP5_DECODER)             += vp5.o vp56.o vp56data.o vp3dsp.o
188
OBJS-$(CONFIG_VP6_DECODER)             += vp6.o vp56.o vp56data.o vp3dsp.o
189 bac3be38 Måns Rullgård
OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
190 730581f3 Kostya Shishkov
OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
191 78a010fb Benjamin Larsson
OBJS-$(CONFIG_WMAV1_DECODER)           += wmadec.o wma.o mdct.o fft.o
192
OBJS-$(CONFIG_WMAV2_DECODER)           += wmadec.o wma.o mdct.o fft.o
193
OBJS-$(CONFIG_WMAV1_ENCODER)           += wmaenc.o wma.o mdct.o fft.o
194
OBJS-$(CONFIG_WMAV2_ENCODER)           += wmaenc.o wma.o mdct.o fft.o
195 42ef2dbc Aurelien Jacobs
OBJS-$(CONFIG_WMV2_DECODER)            += msmpeg4.o msmpeg4data.o
196
OBJS-$(CONFIG_WMV2_ENCODER)            += msmpeg4.o msmpeg4data.o
197 986a865f Kostya Shishkov
OBJS-$(CONFIG_WMV3_DECODER)            += vc1.o vc1data.o vc1dsp.o
198 bac3be38 Måns Rullgård
OBJS-$(CONFIG_WNV1_DECODER)            += wnv1.o
199
OBJS-$(CONFIG_WS_SND1_DECODER)         += ws-snd1.o
200 f7e79298 Måns Rullgård
OBJS-$(CONFIG_XAN_DPCM_DECODER)        += dpcm.o
201 bac3be38 Måns Rullgård
OBJS-$(CONFIG_XAN_WC3_DECODER)         += xan.o
202
OBJS-$(CONFIG_XAN_WC4_DECODER)         += xan.o
203
OBJS-$(CONFIG_XL_DECODER)              += xl.o
204 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_ZLIB_DECODER)            += lcl.o
205
OBJS-$(CONFIG_ZLIB_ENCODER)            += lcl.o
206 bac3be38 Måns Rullgård
OBJS-$(CONFIG_ZMBV_DECODER)            += zmbv.o
207 3dd52c5a Kostya Shishkov
OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
208 bac3be38 Måns Rullgård
209 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_PCM_S32LE_DECODER)       += pcm.o
210
OBJS-$(CONFIG_PCM_S32LE_ENCODER)       += pcm.o
211
OBJS-$(CONFIG_PCM_S32BE_DECODER)       += pcm.o
212
OBJS-$(CONFIG_PCM_S32BE_ENCODER)       += pcm.o
213
OBJS-$(CONFIG_PCM_U32LE_DECODER)       += pcm.o
214
OBJS-$(CONFIG_PCM_U32LE_ENCODER)       += pcm.o
215
OBJS-$(CONFIG_PCM_U32BE_DECODER)       += pcm.o
216
OBJS-$(CONFIG_PCM_U32BE_ENCODER)       += pcm.o
217
OBJS-$(CONFIG_PCM_S24LE_DECODER)       += pcm.o
218
OBJS-$(CONFIG_PCM_S24LE_ENCODER)       += pcm.o
219
OBJS-$(CONFIG_PCM_S24BE_DECODER)       += pcm.o
220
OBJS-$(CONFIG_PCM_S24BE_ENCODER)       += pcm.o
221
OBJS-$(CONFIG_PCM_U24LE_DECODER)       += pcm.o
222
OBJS-$(CONFIG_PCM_U24LE_ENCODER)       += pcm.o
223
OBJS-$(CONFIG_PCM_U24BE_DECODER)       += pcm.o
224
OBJS-$(CONFIG_PCM_U24BE_ENCODER)       += pcm.o
225
OBJS-$(CONFIG_PCM_S24DAUD_DECODER)     += pcm.o
226
OBJS-$(CONFIG_PCM_S24DAUD_ENCODER)     += pcm.o
227
OBJS-$(CONFIG_PCM_S16LE_DECODER)       += pcm.o
228
OBJS-$(CONFIG_PCM_S16LE_ENCODER)       += pcm.o
229
OBJS-$(CONFIG_PCM_S16BE_DECODER)       += pcm.o
230
OBJS-$(CONFIG_PCM_S16BE_ENCODER)       += pcm.o
231
OBJS-$(CONFIG_PCM_U16LE_DECODER)       += pcm.o
232
OBJS-$(CONFIG_PCM_U16LE_ENCODER)       += pcm.o
233
OBJS-$(CONFIG_PCM_U16BE_DECODER)       += pcm.o
234
OBJS-$(CONFIG_PCM_U16BE_ENCODER)       += pcm.o
235
OBJS-$(CONFIG_PCM_S8_DECODER)          += pcm.o
236
OBJS-$(CONFIG_PCM_S8_ENCODER)          += pcm.o
237
OBJS-$(CONFIG_PCM_U8_DECODER)          += pcm.o
238
OBJS-$(CONFIG_PCM_U8_ENCODER)          += pcm.o
239
OBJS-$(CONFIG_PCM_ALAW_DECODER)        += pcm.o
240
OBJS-$(CONFIG_PCM_ALAW_ENCODER)        += pcm.o
241
OBJS-$(CONFIG_PCM_MULAW_DECODER)       += pcm.o
242
OBJS-$(CONFIG_PCM_MULAW_ENCODER)       += pcm.o
243
244
OBJS-$(CONFIG_ADPCM_4XM_DECODER)       += adpcm.o
245
OBJS-$(CONFIG_ADPCM_4XM_ENCODER)       += adpcm.o
246 7239fb57 Måns Rullgård
OBJS-$(CONFIG_ADPCM_ADX_DECODER)       += adx.o
247
OBJS-$(CONFIG_ADPCM_ADX_ENCODER)       += adx.o
248 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_ADPCM_CT_DECODER)        += adpcm.o
249
OBJS-$(CONFIG_ADPCM_CT_ENCODER)        += adpcm.o
250
OBJS-$(CONFIG_ADPCM_EA_DECODER)        += adpcm.o
251
OBJS-$(CONFIG_ADPCM_EA_ENCODER)        += adpcm.o
252
OBJS-$(CONFIG_ADPCM_G726_DECODER)      += g726.o
253
OBJS-$(CONFIG_ADPCM_G726_ENCODER)      += g726.o
254
OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER)   += adpcm.o
255
OBJS-$(CONFIG_ADPCM_IMA_DK3_ENCODER)   += adpcm.o
256
OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER)   += adpcm.o
257
OBJS-$(CONFIG_ADPCM_IMA_DK4_ENCODER)   += adpcm.o
258
OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER)    += adpcm.o
259
OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER)    += adpcm.o
260 9b1a3ea0 Diego Biurrun
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.o
261
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_ENCODER) += adpcm.o
262 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER)   += adpcm.o
263
OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER)   += adpcm.o
264
OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER)    += adpcm.o
265
OBJS-$(CONFIG_ADPCM_IMA_WS_ENCODER)    += adpcm.o
266
OBJS-$(CONFIG_ADPCM_MS_DECODER)        += adpcm.o
267
OBJS-$(CONFIG_ADPCM_MS_ENCODER)        += adpcm.o
268
OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER)   += adpcm.o
269
OBJS-$(CONFIG_ADPCM_SBPRO_2_ENCODER)   += adpcm.o
270
OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER)   += adpcm.o
271
OBJS-$(CONFIG_ADPCM_SBPRO_3_ENCODER)   += adpcm.o
272
OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER)   += adpcm.o
273
OBJS-$(CONFIG_ADPCM_SBPRO_4_ENCODER)   += adpcm.o
274
OBJS-$(CONFIG_ADPCM_SWF_DECODER)       += adpcm.o
275
OBJS-$(CONFIG_ADPCM_SWF_ENCODER)       += adpcm.o
276 d1e0d21f Marco Gerards
OBJS-$(CONFIG_ADPCM_THP_DECODER)       += adpcm.o
277 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_ADPCM_XA_DECODER)        += adpcm.o
278
OBJS-$(CONFIG_ADPCM_XA_ENCODER)        += adpcm.o
279
OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)    += adpcm.o
280
OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)    += adpcm.o
281
282 20c9dfe3 Diego Biurrun
# external codec libraries
283 f5a756ef Diego Biurrun
OBJS-$(CONFIG_LIBAMR)                  += amr.o
284 7bc5f2a8 Diego Biurrun
OBJS-$(CONFIG_LIBA52)                  += a52dec.o
285 20c9dfe3 Diego Biurrun
OBJS-$(CONFIG_LIBFAAC)                 += faac.o
286
OBJS-$(CONFIG_LIBFAAD)                 += faad.o
287
OBJS-$(CONFIG_LIBGSM)                  += libgsm.o
288
OBJS-$(CONFIG_LIBMP3LAME)              += mp3lameaudio.o
289 150d2772 Diego Biurrun
OBJS-$(CONFIG_LIBTHEORA)               += libtheoraenc.o
290 20c9dfe3 Diego Biurrun
OBJS-$(CONFIG_LIBVORBIS)               += oggvorbis.o
291
OBJS-$(CONFIG_X264)                    += x264.o
292
OBJS-$(CONFIG_XVID)                    += xvidff.o xvid_rc.o
293 23c99253 Michael Niedermayer
294 bac3be38 Måns Rullgård
295 99ff31dc Aurelien Jacobs
OBJS-$(CONFIG_AAC_PARSER)              += aac_parser.o aac_ac3_parser.o
296
OBJS-$(CONFIG_AC3_PARSER)              += ac3_parser.o ac3tab.o aac_ac3_parser.o
297 c5a60225 Aurelien Jacobs
OBJS-$(CONFIG_CAVSVIDEO_PARSER)        += cavs_parser.o
298 98c98e04 Diego Biurrun
OBJS-$(CONFIG_DCA_PARSER)              += dca_parser.o
299 027f43f0 Diego Biurrun
OBJS-$(CONFIG_DVBSUB_PARSER)           += dvbsub_parser.o
300 44c56000 Diego Biurrun
OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
301 3883a99b Diego Biurrun
OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
302 c33d9814 Diego Biurrun
OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
303 26b4fe82 Aurelien Jacobs
OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o
304 b16560a3 Aurelien Jacobs
OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg_parser.o
305 d2e911fa Aurelien Jacobs
OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += mpeg4video_parser.o
306 4bd8e17c Aurelien Jacobs
OBJS-$(CONFIG_MPEGAUDIO_PARSER)        += mpegaudio_parser.o mpegaudiodecheader.o
307 7f50d4ac Aurelien Jacobs
OBJS-$(CONFIG_MPEGVIDEO_PARSER)        += mpegvideo_parser.o
308 9ac2e797 Aurelien Jacobs
OBJS-$(CONFIG_PNM_PARSER)              += pnm_parser.o pnm.o
309 5982ae94 Diego Biurrun
OBJS-$(CONFIG_VC1_PARSER)              += vc1_parser.o
310 af9e7d18 Måns Rullgård
311 8bf63e1c Aurelien Jacobs
OBJS-$(CONFIG_DUMP_EXTRADATA_BSF)      += dump_extradata_bsf.o
312 5209c836 Aurelien Jacobs
OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF)    += remove_extradata_bsf.o
313 cd7105e6 Aurelien Jacobs
OBJS-$(CONFIG_NOISE_BSF)               += noise_bsf.o
314 a975d9e2 Aurelien Jacobs
OBJS-$(CONFIG_MP3_HEADER_COMPRESS_BSF) += mp3_header_compress_bsf.o
315 b57eed12 Aurelien Jacobs
OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF) += mp3_header_decompress_bsf.o mpegaudiodata.o
316 d2f43ca9 Aurelien Jacobs
OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF)  += mjpega_dump_header_bsf.o
317 ab8072a6 Aurelien Jacobs
OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF)     += imx_dump_header_bsf.o
318 cd61e407 Jason Millard
319 bac3be38 Måns Rullgård
OBJS-$(HAVE_PTHREADS)                  += pthread.o
320
OBJS-$(HAVE_W32THREADS)                += w32thread.o
321
OBJS-$(HAVE_OS2THREADS)                += os2thread.o
322
OBJS-$(HAVE_BEOSTHREADS)               += beosthread.o
323
324
OBJS-$(HAVE_XVMC_ACCEL)                += xvmcvideo.o
325 bb4c2140 Michael Niedermayer
326 790c9ca7 Luca Abeni
ifneq ($(CONFIG_SWSCALER),yes)
327
OBJS += imgresample.o
328
endif
329
330 1026a8d4 Diego Biurrun
# processor-specific code
331 980fc7b8 Fabrice Bellard
ifeq ($(TARGET_MMX),yes)
332 7fd265a7 Diego Biurrun
OBJS += i386/fdct_mmx.o \
333
        i386/cputest.o \
334
        i386/dsputil_mmx.o \
335
        i386/mpegvideo_mmx.o \
336
        i386/motion_est_mmx.o \
337
        i386/simple_idct_mmx.o \
338 0eb59ddb Diego Biurrun
        i386/idct_mmx_xvid.o \
339 7fd265a7 Diego Biurrun
        i386/fft_sse.o \
340
        i386/fft_3dn.o \
341
        i386/fft_3dn2.o \
342
343 3dc09ed1 Diego Biurrun
OBJS-$(CONFIG_GPL)                     += i386/idct_mmx.o
344
OBJS-$(CONFIG_CAVS_DECODER)            += i386/cavsdsp_mmx.o
345 e870111e Diego Biurrun
OBJS-$(CONFIG_SNOW_DECODER)            += i386/snowdsp_mmx.o
346 9b5dc867 Panagiotis Issaris
OBJS-$(CONFIG_VP3_DECODER)             += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
347
OBJS-$(CONFIG_VP5_DECODER)             += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
348
OBJS-$(CONFIG_VP6_DECODER)             += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
349 de6d9b64 Fabrice Bellard
endif
350
351 bac3be38 Måns Rullgård
ASM_OBJS-$(TARGET_ARCH_ARMV4L)         += armv4l/jrevdct_arm.o     \
352
                                          armv4l/simple_idct_arm.o \
353 5064755e Diego Biurrun
                                          armv4l/dsputil_arm_s.o   \
354
355 bac3be38 Måns Rullgård
OBJS-$(TARGET_ARCH_ARMV4L)             += armv4l/dsputil_arm.o   \
356 5064755e Diego Biurrun
                                          armv4l/mpegvideo_arm.o \
357
358 bac3be38 Måns Rullgård
OBJS-$(TARGET_IWMMXT)                  += armv4l/dsputil_iwmmxt.o   \
359 5064755e Diego Biurrun
                                          armv4l/mpegvideo_iwmmxt.o \
360
361
ASM_OBJS-$(TARGET_ARMV5TE)             += armv4l/simple_idct_armv5te.o \
362 7a886063 Siarhei Siamashka
                                          armv4l/mpegvideo_armv5te.o \
363 bac3be38 Måns Rullgård
364 1adf2e56 Diego Biurrun
ASM_OBJS-$(TARGET_ARMV6)               += armv4l/simple_idct_armv6.o \
365 7d42886b Måns Rullgård
366 5064755e Diego Biurrun
OBJS-$(TARGET_ARCH_SPARC)              += sparc/dsputil_vis.o \
367
368 bac3be38 Måns Rullgård
sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc
369 3d03c0a2 Fabrice Bellard
370 5064755e Diego Biurrun
OBJS-$(HAVE_MLIB)                      += mlib/dsputil_mlib.o \
371 6ad1fa5a Bernhard Rosenkränzer
372 bac3be38 Måns Rullgård
OBJS-$(TARGET_ARCH_ALPHA)              += alpha/dsputil_alpha.o     \
373
                                          alpha/mpegvideo_alpha.o   \
374
                                          alpha/simple_idct_alpha.o \
375 5064755e Diego Biurrun
                                          alpha/motion_est_alpha.o  \
376
377 bac3be38 Måns Rullgård
ASM_OBJS-$(TARGET_ARCH_ALPHA)          += alpha/dsputil_alpha_asm.o  \
378 5064755e Diego Biurrun
                                          alpha/motion_est_mvi_asm.o \
379
380
OBJS-$(TARGET_ARCH_POWERPC)            += ppc/dsputil_ppc.o   \
381
                                          ppc/mpegvideo_ppc.o \
382 bac3be38 Måns Rullgård
383
OBJS-$(TARGET_MMI)                     += ps2/dsputil_mmi.o   \
384
                                          ps2/idct_mmi.o      \
385 5064755e Diego Biurrun
                                          ps2/mpegvideo_mmi.o \
386
387 bac3be38 Måns Rullgård
OBJS-$(TARGET_ARCH_SH4)                += sh4/idct_sh4.o      \
388
                                          sh4/dsputil_sh4.o   \
389 5064755e Diego Biurrun
                                          sh4/dsputil_align.o \
390
391 bac3be38 Måns Rullgård
OBJS-$(TARGET_ALTIVEC)                 += ppc/dsputil_altivec.o      \
392
                                          ppc/mpegvideo_altivec.o    \
393
                                          ppc/idct_altivec.o         \
394
                                          ppc/fft_altivec.o          \
395
                                          ppc/gmc_altivec.o          \
396
                                          ppc/fdct_altivec.o         \
397 5064755e Diego Biurrun
                                          ppc/float_altivec.o        \
398 1f1aadc3 Luca Barbato
                                          ppc/int_altivec.o          \
399 5064755e Diego Biurrun
400 8cff89be Diego Biurrun
ifeq ($(TARGET_ALTIVEC),yes)
401
OBJS-$(CONFIG_H264_DECODER)            += ppc/h264_altivec.o
402
OBJS-$(CONFIG_SNOW_DECODER)            += ppc/snow_altivec.o
403
OBJS-$(CONFIG_VC1_DECODER)             += ppc/vc1dsp_altivec.o
404
OBJS-$(CONFIG_WMV3_DECODER)            += ppc/vc1dsp_altivec.o
405
endif
406
407 5064755e Diego Biurrun
OBJS-$(TARGET_ARCH_BFIN)               += bfin/dsputil_bfin.o \
408 bac3be38 Måns Rullgård
409 67fd620c Marc Hoffman
ASM_OBJS-$(TARGET_ARCH_BFIN)           += bfin/pixels_bfin.o \
410
                                          bfin/idct_bfin.o   \
411
                                          bfin/fdct_bfin.o   \
412
413 14f29f79 Diego Biurrun
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
414
415 4bdd05e7 Diego Biurrun
NAME=avcodec
416 f3b60109 Diego Biurrun
LIBVERSION=$(LAVCVERSION)
417
LIBMAJOR=$(LAVCMAJOR)
418 e164fbfe Diego Biurrun
419 997baf01 Måns Rullgård
include ../common.mak
420 8b2121e3 Måns Rullgård
421 c7f1a2f5 Diego Biurrun
clean::
422 8b2121e3 Måns Rullgård
	rm -f \
423 98013cc1 Diego Biurrun
	   i386/*.o i386/*~ \
424 3d03c0a2 Fabrice Bellard
	   armv4l/*.o armv4l/*~ \
425 c34270f5 Fabrice Bellard
	   mlib/*.o mlib/*~ \
426 1e98dffb Nick Kurshev
	   alpha/*.o alpha/*~ \
427 59925ef2 Brian Foley
	   ppc/*.o ppc/*~ \
428 d46aba26 Leon van Stuivenberg
	   ps2/*.o ps2/*~ \
429 0c6bd2ea BERO
	   sh4/*.o sh4/*~ \
430 bb476ff3 James Morrison
	   sparc/*.o sparc/*~ \
431 57514323 Zdenek Kabelac
	   apiexample $(TESTS)
432 d663a1fd Michael Niedermayer
433 7f4f3e16 Diego Biurrun
TESTS= imgresample-test fft-test dct-test
434
ifeq ($(TARGET_ARCH_X86),yes)
435
TESTS+= cpuid_test motion-test
436
endif
437
438
tests: apiexample $(TESTS)
439
440 c6c46511 Diego Biurrun
apiexample: apiexample.o $(LIB)
441 de6d9b64 Fabrice Bellard
442 c10e9f70 Nick Kurshev
cpuid_test: i386/cputest.c
443
	$(CC) $(CFLAGS) -D__TEST__ -o $@ $<
444
445 0ec92a15 Diego Biurrun
imgresample-test: imgresample.c $(LIB)
446 9933dc71 Diego Biurrun
	$(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
447 de6d9b64 Fabrice Bellard
448 9ebc63a9 Fabrice Bellard
dct-test: dct-test.o fdctref.o $(LIB)
449 d771bcae Fabrice Bellard
450 86c33b29 Diego Biurrun
motion-test: motion-test.o $(LIB)
451 4300403e Fabrice Bellard
452 78a010fb Benjamin Larsson
fft-test: fft-test.o mdct.o fft.o $(LIB)
453 3263626f Diego Biurrun
454 73508bc6 Diego Biurrun
.PHONY: tests