Mercurial > libavcodec.hg
annotate Makefile @ 5817:ced30500e2b1 libavcodec
prevent infinite loop and memcpy of negative amounts
fixes issue194
author | michael |
---|---|
date | Sat, 13 Oct 2007 12:25:31 +0000 |
parents | 9c4c865e9974 |
children | 88e131c2d3f8 |
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 | |
5620 | 7 CFLAGS += -I$(SRC_PATH)/libswscale -I$(SRC_PATH)/libavcodec |
0 | 8 |
5620 | 9 OBJS = allcodecs.o \ |
10 audioconvert.o \ | |
11 bitstream.o \ | |
12 bitstream_filter.o \ | |
13 dsputil.o \ | |
14 error_resilience.o \ | |
15 eval.o \ | |
16 faandct.o \ | |
17 imgconvert.o \ | |
18 jrevdct.o \ | |
19 jfdctfst.o \ | |
20 jfdctint.o\ | |
21 mpeg12.o mpeg12data.o \ | |
22 mpegvideo.o \ | |
23 opt.o \ | |
24 parser.o \ | |
25 raw.o \ | |
26 resample.o \ | |
27 resample2.o \ | |
28 simple_idct.o \ | |
29 utils.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
|
30 |
2756 | 31 |
3652 | 32 HEADERS = avcodec.h opt.h |
3124 | 33 |
3441 | 34 OBJS-$(CONFIG_AASC_DECODER) += aasc.o |
5503 | 35 OBJS-$(CONFIG_AC3_DECODER) += ac3dec.o ac3tab.o ac3.o mdct.o fft.o |
4879 | 36 OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o ac3tab.o ac3.o |
3441 | 37 OBJS-$(CONFIG_ALAC_DECODER) += alac.o |
5736 | 38 OBJS-$(CONFIG_AMV_DECODER) += sp5xdec.o mjpegdec.o mjpeg.o |
5673 | 39 OBJS-$(CONFIG_APE_DECODER) += apedec.o |
3441 | 40 OBJS-$(CONFIG_ASV1_DECODER) += asv1.o |
41 OBJS-$(CONFIG_ASV1_ENCODER) += asv1.o | |
42 OBJS-$(CONFIG_ASV2_DECODER) += asv1.o | |
43 OBJS-$(CONFIG_ASV2_ENCODER) += asv1.o | |
5018 | 44 OBJS-$(CONFIG_ATRAC3_DECODER) += atrac3.o mdct.o fft.o |
3441 | 45 OBJS-$(CONFIG_AVS_DECODER) += avs.o |
4803 | 46 OBJS-$(CONFIG_BETHSOFTVID_DECODER) += bethsoftvideo.o |
3443 | 47 OBJS-$(CONFIG_BMP_DECODER) += bmp.o |
4477
87e943798698
BMP encoder by Michel Bardiaux, mbardiaux mediaxim be
diego
parents:
4451
diff
changeset
|
48 OBJS-$(CONFIG_BMP_ENCODER) += bmpenc.o |
4797 | 49 OBJS-$(CONFIG_C93_DECODER) += c93.o |
5250 | 50 OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdec.o cavsdsp.o golomb.o |
3441 | 51 OBJS-$(CONFIG_CINEPAK_DECODER) += cinepak.o |
52 OBJS-$(CONFIG_CLJR_DECODER) += cljr.o | |
53 OBJS-$(CONFIG_CLJR_ENCODER) += cljr.o | |
5018 | 54 OBJS-$(CONFIG_COOK_DECODER) += cook.o mdct.o fft.o |
4451 | 55 OBJS-$(CONFIG_CSCD_DECODER) += cscd.o |
3441 | 56 OBJS-$(CONFIG_CYUV_DECODER) += cyuv.o |
4599 | 57 OBJS-$(CONFIG_DCA_DECODER) += dca.o |
5473 | 58 OBJS-$(CONFIG_DNXHD_DECODER) += dnxhddec.o dnxhddata.o |
5800
9c4c865e9974
oops... mpegvideo_enc also depends on motion_est and ratecontrol
aurel
parents:
5799
diff
changeset
|
59 OBJS-$(CONFIG_DNXHD_ENCODER) += dnxhdenc.o dnxhddata.o mpegvideo_enc.o motion_est.o ratecontrol.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
|
60 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
|
61 OBJS-$(CONFIG_DSICINAUDIO_DECODER) += dsicinav.o |
3441 | 62 OBJS-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.o |
63 OBJS-$(CONFIG_DVBSUB_ENCODER) += dvbsub.o | |
4091 | 64 OBJS-$(CONFIG_DVDSUB_DECODER) += dvdsubdec.o |
3441 | 65 OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o |
66 OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o | |
67 OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o | |
4671 | 68 OBJS-$(CONFIG_DXA_DECODER) += dxa.o |
3441 | 69 OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o |
5263 | 70 OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o rangecoder.o golomb.o |
71 OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o rangecoder.o | |
3443 | 72 OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o |
73 OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o | |
5061 | 74 OBJS-$(CONFIG_FLAC_DECODER) += flac.o golomb.o |
75 OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o golomb.o | |
4376 | 76 OBJS-$(CONFIG_FLASHSV_DECODER) += flashsv.o |
77 OBJS-$(CONFIG_FLASHSV_ENCODER) += flashsvenc.o | |
3441 | 78 OBJS-$(CONFIG_FLIC_DECODER) += flicvideo.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
79 OBJS-$(CONFIG_FLV_DECODER) += h263dec.o h263.o |
5281 | 80 OBJS-$(CONFIG_FLV_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
3441 | 81 OBJS-$(CONFIG_FOURXM_DECODER) += 4xm.o |
82 OBJS-$(CONFIG_FRAPS_DECODER) += fraps.o | |
4080
f426c81afc9e
LZW decoder as separate module plus TIFF LZW support
kostya
parents:
4065
diff
changeset
|
83 OBJS-$(CONFIG_GIF_DECODER) += gifdec.o lzw.o |
4125 | 84 OBJS-$(CONFIG_GIF_ENCODER) += gif.o |
5057
5b63f62602fa
Split the h261.c file into separate files for the encoder, decoder and common stuff.
takis
parents:
5056
diff
changeset
|
85 OBJS-$(CONFIG_H261_DECODER) += h261dec.o h261.o |
5281 | 86 OBJS-$(CONFIG_H261_ENCODER) += h261enc.o h261.o mpegvideo_enc.o motion_est.o ratecontrol.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
87 OBJS-$(CONFIG_H263_DECODER) += h263dec.o h263.o |
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
88 OBJS-$(CONFIG_H263I_DECODER) += h263dec.o h263.o |
5281 | 89 OBJS-$(CONFIG_H263_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
90 OBJS-$(CONFIG_H263P_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o | |
5638
4a26dc4ca11d
Move H.264 intra prediction functions into their own context
kostya
parents:
5620
diff
changeset
|
91 OBJS-$(CONFIG_H264_DECODER) += h264.o h264idct.o h264pred.o cabac.o golomb.o |
5410 | 92 OBJS-$(CONFIG_H264_ENCODER) += h264enc.o h264dspenc.o |
3441 | 93 OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o |
94 OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o | |
95 OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o | |
5018 | 96 OBJS-$(CONFIG_IMC_DECODER) += imc.o mdct.o fft.o |
3441 | 97 OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o |
98 OBJS-$(CONFIG_INDEO3_DECODER) += indeo3.o | |
99 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o | |
3447 | 100 OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.o |
5061 | 101 OBJS-$(CONFIG_JPEGLS_DECODER) += jpeglsdec.o jpegls.o mjpegdec.o mjpeg.o golomb.o |
102 OBJS-$(CONFIG_JPEGLS_ENCODER) += jpeglsenc.o jpegls.o golomb.o | |
3441 | 103 OBJS-$(CONFIG_KMVC_DECODER) += kmvc.o |
5281 | 104 OBJS-$(CONFIG_LJPEG_ENCODER) += ljpegenc.o mjpegenc.o mjpeg.o mpegvideo_enc.o motion_est.o ratecontrol.o |
5061 | 105 OBJS-$(CONFIG_LOCO_DECODER) += loco.o golomb.o |
3441 | 106 OBJS-$(CONFIG_MACE3_DECODER) += mace.o |
107 OBJS-$(CONFIG_MACE6_DECODER) += mace.o | |
5041 | 108 OBJS-$(CONFIG_MJPEG_DECODER) += mjpegdec.o mjpeg.o |
5281 | 109 OBJS-$(CONFIG_MJPEG_ENCODER) += mjpegenc.o mjpeg.o mpegvideo_enc.o motion_est.o ratecontrol.o |
5044 | 110 OBJS-$(CONFIG_MJPEGB_DECODER) += mjpegbdec.o mjpegdec.o mjpeg.o |
3443 | 111 OBJS-$(CONFIG_MMVIDEO_DECODER) += mmvideo.o |
5053 | 112 OBJS-$(CONFIG_MP2_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o |
5052
d981eb275c8f
remove dependency of mpeg audio encoder over mpeg audio decoder
aurel
parents:
5050
diff
changeset
|
113 OBJS-$(CONFIG_MP2_ENCODER) += mpegaudioenc.o mpegaudio.o mpegaudiodata.o |
5053 | 114 OBJS-$(CONFIG_MP3_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o |
115 OBJS-$(CONFIG_MP3ADU_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o | |
116 OBJS-$(CONFIG_MP3ON4_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o | |
117 OBJS-$(CONFIG_MPC7_DECODER) += mpc.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o | |
5281 | 118 OBJS-$(CONFIG_MPEG1VIDEO_ENCODER) += mpeg12enc.o mpeg12data.o mpegvideo_enc.o motion_est.o ratecontrol.o |
119 OBJS-$(CONFIG_MPEG2VIDEO_ENCODER) += mpeg12enc.o mpeg12data.o mpegvideo_enc.o motion_est.o ratecontrol.o | |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
120 OBJS-$(CONFIG_MPEG4_DECODER) += h263dec.o h263.o |
5281 | 121 OBJS-$(CONFIG_MPEG4_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
122 OBJS-$(CONFIG_MSMPEG4V1_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o h263.o |
5281 | 123 OBJS-$(CONFIG_MSMPEG4V1_ENCODER) += msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
124 OBJS-$(CONFIG_MSMPEG4V2_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o h263.o |
5281 | 125 OBJS-$(CONFIG_MSMPEG4V2_ENCODER) += msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
126 OBJS-$(CONFIG_MSMPEG4V3_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o h263.o |
5281 | 127 OBJS-$(CONFIG_MSMPEG4V3_ENCODER) += msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
3441 | 128 OBJS-$(CONFIG_MSRLE_DECODER) += msrle.o |
129 OBJS-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.o | |
5294 | 130 OBJS-$(CONFIG_MSZH_DECODER) += lcldec.o |
4451 | 131 OBJS-$(CONFIG_NUV_DECODER) += nuv.o rtjpeg.o |
4985 | 132 OBJS-$(CONFIG_PAM_ENCODER) += pnmenc.o pnm.o |
133 OBJS-$(CONFIG_PBM_ENCODER) += pnmenc.o pnm.o | |
134 OBJS-$(CONFIG_PGM_ENCODER) += pnmenc.o pnm.o | |
135 OBJS-$(CONFIG_PGMYUV_ENCODER) += pnmenc.o pnm.o | |
5337 | 136 OBJS-$(CONFIG_PNG_DECODER) += png.o pngdec.o |
137 OBJS-$(CONFIG_PNG_ENCODER) += png.o pngenc.o | |
4985 | 138 OBJS-$(CONFIG_PPM_ENCODER) += pnmenc.o pnm.o |
4884 | 139 OBJS-$(CONFIG_PTX_DECODER) += ptx.o |
5053 | 140 OBJS-$(CONFIG_QDM2_DECODER) += qdm2.o mdct.o fft.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o |
3441 | 141 OBJS-$(CONFIG_QDRAW_DECODER) += qdrw.o |
142 OBJS-$(CONFIG_QPEG_DECODER) += qpeg.o | |
143 OBJS-$(CONFIG_QTRLE_DECODER) += qtrle.o | |
5195 | 144 OBJS-$(CONFIG_QTRLE_ENCODER) += qtrleenc.o |
3441 | 145 OBJS-$(CONFIG_RA_144_DECODER) += ra144.o |
146 OBJS-$(CONFIG_RA_288_DECODER) += ra288.o | |
5264
810df021dbef
split rawvideo encoder and decoder in their own files
aurel
parents:
5263
diff
changeset
|
147 OBJS-$(CONFIG_RAWVIDEO_DECODER) += rawdec.o |
810df021dbef
split rawvideo encoder and decoder in their own files
aurel
parents:
5263
diff
changeset
|
148 OBJS-$(CONFIG_RAWVIDEO_ENCODER) += rawenc.o |
5080
e72265f4e518
Split RoQ decoder to accommodate future encoder patch
benoit
parents:
5064
diff
changeset
|
149 OBJS-$(CONFIG_ROQ_DECODER) += roqvideodec.o roqvideo.o |
5184 | 150 OBJS-$(CONFIG_ROQ_ENCODER) += roqvideoenc.o roqvideo.o elbg.o |
3447 | 151 OBJS-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.o |
4932 | 152 OBJS-$(CONFIG_ROQ_DPCM_ENCODER) += roqaudioenc.o |
3441 | 153 OBJS-$(CONFIG_RPZA_DECODER) += rpza.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
154 OBJS-$(CONFIG_RV10_DECODER) += rv10.o h263.o |
5281 | 155 OBJS-$(CONFIG_RV10_ENCODER) += rv10.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
156 OBJS-$(CONFIG_RV20_DECODER) += rv10.o h263.o |
5281 | 157 OBJS-$(CONFIG_RV20_ENCODER) += rv10.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
4790 | 158 OBJS-$(CONFIG_SGI_DECODER) += sgidec.o |
159 OBJS-$(CONFIG_SGI_ENCODER) += sgienc.o rle.o | |
5061 | 160 OBJS-$(CONFIG_SHORTEN_DECODER) += shorten.o golomb.o |
3443 | 161 OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o |
3441 | 162 OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o |
163 OBJS-$(CONFIG_SMC_DECODER) += smc.o | |
5263 | 164 OBJS-$(CONFIG_SNOW_DECODER) += snow.o rangecoder.o |
5281 | 165 OBJS-$(CONFIG_SNOW_ENCODER) += snow.o rangecoder.o motion_est.o ratecontrol.o h263.o |
3447 | 166 OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o |
5061 | 167 OBJS-$(CONFIG_SONIC_DECODER) += sonic.o golomb.o |
168 OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o golomb.o | |
169 OBJS-$(CONFIG_SONIC_LS_ENCODER) += sonic.o golomb.o | |
5042 | 170 OBJS-$(CONFIG_SP5X_DECODER) += sp5xdec.o mjpegdec.o mjpeg.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
171 OBJS-$(CONFIG_SVQ1_DECODER) += svq1dec.o svq1.o h263.o |
5280 | 172 OBJS-$(CONFIG_SVQ1_ENCODER) += svq1enc.o svq1.o motion_est.o h263.o |
5638
4a26dc4ca11d
Move H.264 intra prediction functions into their own context
kostya
parents:
5620
diff
changeset
|
173 OBJS-$(CONFIG_SVQ3_DECODER) += h264.o h264idct.o h264pred.o cabac.o golomb.o |
3986 | 174 OBJS-$(CONFIG_TARGA_DECODER) += targa.o |
4767
a3667e74f44b
generic rle encoder by Bartlomiej Wolowiec b.wolowiec students mimuw edu pl
michael
parents:
4766
diff
changeset
|
175 OBJS-$(CONFIG_TARGA_ENCODER) += targaenc.o rle.o |
5007 | 176 OBJS-$(CONFIG_THEORA_DECODER) += vp3.o xiph.o vp3dsp.o |
5041 | 177 OBJS-$(CONFIG_THP_DECODER) += mjpegdec.o mjpeg.o |
4110 | 178 OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o |
4080
f426c81afc9e
LZW decoder as separate module plus TIFF LZW support
kostya
parents:
4065
diff
changeset
|
179 OBJS-$(CONFIG_TIFF_DECODER) += tiff.o lzw.o |
4799
812f759a7c59
TIFF-LZW encoding support by (Bartlomiej Wolowiec b.wolowiec students mimuw edu pl)
michael
parents:
4797
diff
changeset
|
180 OBJS-$(CONFIG_TIFF_ENCODER) += tiffenc.o rle.o lzwenc.o |
3441 | 181 OBJS-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.o |
182 OBJS-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.o | |
183 OBJS-$(CONFIG_TRUESPEECH_DECODER) += truespeech.o | |
3443 | 184 OBJS-$(CONFIG_TSCC_DECODER) += tscc.o |
3441 | 185 OBJS-$(CONFIG_TTA_DECODER) += tta.o |
4934 | 186 OBJS-$(CONFIG_TXD_DECODER) += txd.o s3tc.o |
3441 | 187 OBJS-$(CONFIG_ULTI_DECODER) += ulti.o |
4964
9fb6d2125500
split msmpeg4 data to easily share some of it with vc1.c
aurel
parents:
4963
diff
changeset
|
188 OBJS-$(CONFIG_VC1_DECODER) += vc1.o vc1data.o vc1dsp.o msmpeg4data.o |
3441 | 189 OBJS-$(CONFIG_VCR1_DECODER) += vcr1.o |
190 OBJS-$(CONFIG_VCR1_ENCODER) += vcr1.o | |
3443 | 191 OBJS-$(CONFIG_VMDAUDIO_DECODER) += vmdav.o |
3441 | 192 OBJS-$(CONFIG_VMDVIDEO_DECODER) += vmdav.o |
3677 | 193 OBJS-$(CONFIG_VMNC_DECODER) += vmnc.o |
5018 | 194 OBJS-$(CONFIG_VORBIS_DECODER) += vorbis_dec.o vorbis.o vorbis_data.o xiph.o mdct.o fft.o |
195 OBJS-$(CONFIG_VORBIS_ENCODER) += vorbis_enc.o vorbis.o vorbis_data.o mdct.o fft.o | |
5007 | 196 OBJS-$(CONFIG_VP3_DECODER) += vp3.o vp3dsp.o |
197 OBJS-$(CONFIG_VP5_DECODER) += vp5.o vp56.o vp56data.o vp3dsp.o | |
198 OBJS-$(CONFIG_VP6_DECODER) += vp6.o vp56.o vp56data.o vp3dsp.o | |
5301 | 199 OBJS-$(CONFIG_VP6F_DECODER) += vp6.o vp56.o vp56data.o vp3dsp.o |
3441 | 200 OBJS-$(CONFIG_VQA_DECODER) += vqavideo.o |
3764 | 201 OBJS-$(CONFIG_WAVPACK_DECODER) += wavpack.o |
5018 | 202 OBJS-$(CONFIG_WMAV1_DECODER) += wmadec.o wma.o mdct.o fft.o |
203 OBJS-$(CONFIG_WMAV2_DECODER) += wmadec.o wma.o mdct.o fft.o | |
204 OBJS-$(CONFIG_WMAV1_ENCODER) += wmaenc.o wma.o mdct.o fft.o | |
205 OBJS-$(CONFIG_WMAV2_ENCODER) += wmaenc.o wma.o mdct.o fft.o | |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
206 OBJS-$(CONFIG_WMV1_DECODER) += h263dec.o h263.o |
5281 | 207 OBJS-$(CONFIG_WMV1_ENCODER) += mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
208 OBJS-$(CONFIG_WMV2_DECODER) += msmpeg4.o msmpeg4data.o h263dec.o h263.o |
5281 | 209 OBJS-$(CONFIG_WMV2_ENCODER) += msmpeg4.o msmpeg4data.o mpegvideo_enc.o motion_est.o ratecontrol.o h263.o |
4928 | 210 OBJS-$(CONFIG_WMV3_DECODER) += vc1.o vc1data.o vc1dsp.o |
3441 | 211 OBJS-$(CONFIG_WNV1_DECODER) += wnv1.o |
212 OBJS-$(CONFIG_WS_SND1_DECODER) += ws-snd1.o | |
3447 | 213 OBJS-$(CONFIG_XAN_DPCM_DECODER) += dpcm.o |
3441 | 214 OBJS-$(CONFIG_XAN_WC3_DECODER) += xan.o |
215 OBJS-$(CONFIG_XAN_WC4_DECODER) += xan.o | |
216 OBJS-$(CONFIG_XL_DECODER) += xl.o | |
5483 | 217 OBJS-$(CONFIG_XSUB_DECODER) += xsubdec.o |
5294 | 218 OBJS-$(CONFIG_ZLIB_DECODER) += lcldec.o |
219 OBJS-$(CONFIG_ZLIB_ENCODER) += lclenc.o | |
3441 | 220 OBJS-$(CONFIG_ZMBV_DECODER) += zmbv.o |
4286 | 221 OBJS-$(CONFIG_ZMBV_ENCODER) += zmbvenc.o |
2949 | 222 |
3444 | 223 OBJS-$(CONFIG_PCM_S32LE_DECODER) += pcm.o |
224 OBJS-$(CONFIG_PCM_S32LE_ENCODER) += pcm.o | |
225 OBJS-$(CONFIG_PCM_S32BE_DECODER) += pcm.o | |
226 OBJS-$(CONFIG_PCM_S32BE_ENCODER) += pcm.o | |
227 OBJS-$(CONFIG_PCM_U32LE_DECODER) += pcm.o | |
228 OBJS-$(CONFIG_PCM_U32LE_ENCODER) += pcm.o | |
229 OBJS-$(CONFIG_PCM_U32BE_DECODER) += pcm.o | |
230 OBJS-$(CONFIG_PCM_U32BE_ENCODER) += pcm.o | |
231 OBJS-$(CONFIG_PCM_S24LE_DECODER) += pcm.o | |
232 OBJS-$(CONFIG_PCM_S24LE_ENCODER) += pcm.o | |
233 OBJS-$(CONFIG_PCM_S24BE_DECODER) += pcm.o | |
234 OBJS-$(CONFIG_PCM_S24BE_ENCODER) += pcm.o | |
235 OBJS-$(CONFIG_PCM_U24LE_DECODER) += pcm.o | |
236 OBJS-$(CONFIG_PCM_U24LE_ENCODER) += pcm.o | |
237 OBJS-$(CONFIG_PCM_U24BE_DECODER) += pcm.o | |
238 OBJS-$(CONFIG_PCM_U24BE_ENCODER) += pcm.o | |
239 OBJS-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.o | |
240 OBJS-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.o | |
241 OBJS-$(CONFIG_PCM_S16LE_DECODER) += pcm.o | |
242 OBJS-$(CONFIG_PCM_S16LE_ENCODER) += pcm.o | |
243 OBJS-$(CONFIG_PCM_S16BE_DECODER) += pcm.o | |
244 OBJS-$(CONFIG_PCM_S16BE_ENCODER) += pcm.o | |
245 OBJS-$(CONFIG_PCM_U16LE_DECODER) += pcm.o | |
246 OBJS-$(CONFIG_PCM_U16LE_ENCODER) += pcm.o | |
247 OBJS-$(CONFIG_PCM_U16BE_DECODER) += pcm.o | |
248 OBJS-$(CONFIG_PCM_U16BE_ENCODER) += pcm.o | |
249 OBJS-$(CONFIG_PCM_S8_DECODER) += pcm.o | |
250 OBJS-$(CONFIG_PCM_S8_ENCODER) += pcm.o | |
251 OBJS-$(CONFIG_PCM_U8_DECODER) += pcm.o | |
252 OBJS-$(CONFIG_PCM_U8_ENCODER) += pcm.o | |
253 OBJS-$(CONFIG_PCM_ALAW_DECODER) += pcm.o | |
254 OBJS-$(CONFIG_PCM_ALAW_ENCODER) += pcm.o | |
255 OBJS-$(CONFIG_PCM_MULAW_DECODER) += pcm.o | |
256 OBJS-$(CONFIG_PCM_MULAW_ENCODER) += pcm.o | |
257 | |
258 OBJS-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.o | |
259 OBJS-$(CONFIG_ADPCM_4XM_ENCODER) += adpcm.o | |
3445 | 260 OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adx.o |
261 OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adx.o | |
3444 | 262 OBJS-$(CONFIG_ADPCM_CT_DECODER) += adpcm.o |
263 OBJS-$(CONFIG_ADPCM_CT_ENCODER) += adpcm.o | |
264 OBJS-$(CONFIG_ADPCM_EA_DECODER) += adpcm.o | |
265 OBJS-$(CONFIG_ADPCM_EA_ENCODER) += adpcm.o | |
266 OBJS-$(CONFIG_ADPCM_G726_DECODER) += g726.o | |
267 OBJS-$(CONFIG_ADPCM_G726_ENCODER) += g726.o | |
5726 | 268 OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER) += adpcm.o |
3444 | 269 OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.o |
270 OBJS-$(CONFIG_ADPCM_IMA_DK3_ENCODER) += adpcm.o | |
271 OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.o | |
272 OBJS-$(CONFIG_ADPCM_IMA_DK4_ENCODER) += adpcm.o | |
273 OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.o | |
274 OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER) += adpcm.o | |
4495 | 275 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.o |
276 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_ENCODER) += adpcm.o | |
3444 | 277 OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.o |
278 OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcm.o | |
279 OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.o | |
280 OBJS-$(CONFIG_ADPCM_IMA_WS_ENCODER) += adpcm.o | |
281 OBJS-$(CONFIG_ADPCM_MS_DECODER) += adpcm.o | |
282 OBJS-$(CONFIG_ADPCM_MS_ENCODER) += adpcm.o | |
283 OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.o | |
284 OBJS-$(CONFIG_ADPCM_SBPRO_2_ENCODER) += adpcm.o | |
285 OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.o | |
286 OBJS-$(CONFIG_ADPCM_SBPRO_3_ENCODER) += adpcm.o | |
287 OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.o | |
288 OBJS-$(CONFIG_ADPCM_SBPRO_4_ENCODER) += adpcm.o | |
289 OBJS-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.o | |
290 OBJS-$(CONFIG_ADPCM_SWF_ENCODER) += adpcm.o | |
4800 | 291 OBJS-$(CONFIG_ADPCM_THP_DECODER) += adpcm.o |
3444 | 292 OBJS-$(CONFIG_ADPCM_XA_DECODER) += adpcm.o |
293 OBJS-$(CONFIG_ADPCM_XA_ENCODER) += adpcm.o | |
294 OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.o | |
295 OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.o | |
296 | |
4338 | 297 # external codec libraries |
5101
c3f2379b80db
Give all wrappers for external libraries names starting with lib.
diego
parents:
5080
diff
changeset
|
298 OBJS-$(CONFIG_LIBA52) += liba52.o |
c3f2379b80db
Give all wrappers for external libraries names starting with lib.
diego
parents:
5080
diff
changeset
|
299 OBJS-$(CONFIG_LIBAMR) += libamr.o |
c3f2379b80db
Give all wrappers for external libraries names starting with lib.
diego
parents:
5080
diff
changeset
|
300 OBJS-$(CONFIG_LIBFAAC) += libfaac.o |
c3f2379b80db
Give all wrappers for external libraries names starting with lib.
diego
parents:
5080
diff
changeset
|
301 OBJS-$(CONFIG_LIBFAAD) += libfaad.o |
4338 | 302 OBJS-$(CONFIG_LIBGSM) += libgsm.o |
5101
c3f2379b80db
Give all wrappers for external libraries names starting with lib.
diego
parents:
5080
diff
changeset
|
303 OBJS-$(CONFIG_LIBMP3LAME) += libmp3lame.o |
4403 | 304 OBJS-$(CONFIG_LIBTHEORA) += libtheoraenc.o |
5101
c3f2379b80db
Give all wrappers for external libraries names starting with lib.
diego
parents:
5080
diff
changeset
|
305 OBJS-$(CONFIG_LIBVORBIS) += libvorbis.o |
5105
bdd2625a8ac5
Add some forgotten lib prefixes to Makefile variables.
diego
parents:
5101
diff
changeset
|
306 OBJS-$(CONFIG_LIBX264) += libx264.o |
bdd2625a8ac5
Add some forgotten lib prefixes to Makefile variables.
diego
parents:
5101
diff
changeset
|
307 OBJS-$(CONFIG_LIBXVID) += libxvidff.o libxvid_rc.o |
3441 | 308 |
338 | 309 |
4941 | 310 OBJS-$(CONFIG_AAC_PARSER) += aac_parser.o aac_ac3_parser.o |
311 OBJS-$(CONFIG_AC3_PARSER) += ac3_parser.o ac3tab.o aac_ac3_parser.o | |
4945 | 312 OBJS-$(CONFIG_CAVSVIDEO_PARSER) += cavs_parser.o |
4899 | 313 OBJS-$(CONFIG_DCA_PARSER) += dca_parser.o |
4923 | 314 OBJS-$(CONFIG_DVBSUB_PARSER) += dvbsub_parser.o |
4924 | 315 OBJS-$(CONFIG_DVDSUB_PARSER) += dvdsub_parser.o |
4905 | 316 OBJS-$(CONFIG_H261_PARSER) += h261_parser.o |
4938 | 317 OBJS-$(CONFIG_H263_PARSER) += h263_parser.o |
4975 | 318 OBJS-$(CONFIG_H264_PARSER) += h264_parser.o |
4977 | 319 OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.o |
5279
875e670ee3cc
makes compilation of h263.o and mpegvideo_enc.o conditional
aurel
parents:
5264
diff
changeset
|
320 OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.o h263.o |
5302 | 321 OBJS-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.o mpegaudiodecheader.o mpegaudiodata.o |
4915 | 322 OBJS-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.o |
4985 | 323 OBJS-$(CONFIG_PNM_PARSER) += pnm_parser.o pnm.o |
4900 | 324 OBJS-$(CONFIG_VC1_PARSER) += vc1_parser.o |
3455
cc4b4ea83e29
--enable/disable parsers. Warning: some combinations are broken.
mru
parents:
3447
diff
changeset
|
325 |
5037
654e035bc755
move dump_extradata bitstream filter in its own file
aurel
parents:
5036
diff
changeset
|
326 OBJS-$(CONFIG_DUMP_EXTRADATA_BSF) += dump_extradata_bsf.o |
5644 | 327 OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF) += h264_mp4toannexb_bsf.o |
5620 | 328 OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF) += imx_dump_header_bsf.o |
329 OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF) += mjpega_dump_header_bsf.o | |
5034
b955154b7ca9
move mp3_header_compress bitstream filter in its own file
aurel
parents:
5033
diff
changeset
|
330 OBJS-$(CONFIG_MP3_HEADER_COMPRESS_BSF) += mp3_header_compress_bsf.o |
5033
3c034e71667f
move mp3_header_decompress bitstream filter in its own file
aurel
parents:
5031
diff
changeset
|
331 OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF) += mp3_header_decompress_bsf.o mpegaudiodata.o |
5620 | 332 OBJS-$(CONFIG_NOISE_BSF) += noise_bsf.o |
333 OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF) += remove_extradata_bsf.o | |
4994
3fa689636240
allow to enable or disable every bitstream filters individually
aurel
parents:
4990
diff
changeset
|
334 |
5620 | 335 OBJS-$(HAVE_BEOSTHREADS) += beosthread.o |
336 OBJS-$(HAVE_OS2THREADS) += os2thread.o | |
3441 | 337 OBJS-$(HAVE_PTHREADS) += pthread.o |
338 OBJS-$(HAVE_W32THREADS) += w32thread.o | |
1500
726a81d83ddd
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents:
1498
diff
changeset
|
339 |
3441 | 340 OBJS-$(HAVE_XVMC_ACCEL) += xvmcvideo.o |
2729 | 341 |
3558 | 342 ifneq ($(CONFIG_SWSCALER),yes) |
343 OBJS += imgresample.o | |
344 endif | |
345 | |
4759 | 346 # processor-specific code |
5148
fdcf146e5b49
replace TARGET_* with HAVE_* simplifying lists in configure script
mru
parents:
5147
diff
changeset
|
347 ifeq ($(HAVE_MMX),yes) |
3931
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
348 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
|
349 i386/cputest.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
350 i386/dsputil_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
351 i386/mpegvideo_mmx.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
352 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
|
353 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
|
354 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
|
355 i386/fft_sse.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
356 i386/fft_3dn.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
357 i386/fft_3dn2.o \ |
6c9bc2ecbf79
cosmetics: Put all OBJS on a line of their own for nicer-looking diffs.
diego
parents:
3925
diff
changeset
|
358 |
4557 | 359 OBJS-$(CONFIG_GPL) += i386/idct_mmx.o |
5640 | 360 |
4557 | 361 OBJS-$(CONFIG_CAVS_DECODER) += i386/cavsdsp_mmx.o |
5640 | 362 OBJS-$(CONFIG_SNOW_DECODER) += i386/snowdsp_mmx.o |
5007 | 363 OBJS-$(CONFIG_VP3_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o |
364 OBJS-$(CONFIG_VP5_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o | |
365 OBJS-$(CONFIG_VP6_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o | |
5301 | 366 OBJS-$(CONFIG_VP6F_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o |
0 | 367 endif |
368 | |
5147 | 369 ASM_OBJS-$(ARCH_ARMV4L) += armv4l/jrevdct_arm.o \ |
3441 | 370 armv4l/simple_idct_arm.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
371 armv4l/dsputil_arm_s.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
372 |
5147 | 373 OBJS-$(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
|
374 armv4l/mpegvideo_arm.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
375 |
5148
fdcf146e5b49
replace TARGET_* with HAVE_* simplifying lists in configure script
mru
parents:
5147
diff
changeset
|
376 OBJS-$(HAVE_IWMMXT) += armv4l/dsputil_iwmmxt.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
377 armv4l/mpegvideo_iwmmxt.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
378 |
5148
fdcf146e5b49
replace TARGET_* with HAVE_* simplifying lists in configure script
mru
parents:
5147
diff
changeset
|
379 ASM_OBJS-$(HAVE_ARMV5TE) += armv4l/simple_idct_armv5te.o \ |
4340
268811f3f1ef
Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
gpoirier
parents:
4338
diff
changeset
|
380 armv4l/mpegvideo_armv5te.o \ |
3441 | 381 |
5148
fdcf146e5b49
replace TARGET_* with HAVE_* simplifying lists in configure script
mru
parents:
5147
diff
changeset
|
382 ASM_OBJS-$(HAVE_ARMV6) += armv4l/simple_idct_armv6.o \ |
4427 | 383 |
5700
38d6bfd301e6
VIS-specific code should be compiled conditional to HAVE_VIS, not ARCH_SPARC.
diego
parents:
5675
diff
changeset
|
384 OBJS-$(HAVE_VIS) += sparc/dsputil_vis.o \ |
5618 | 385 sparc/simple_idct_vis.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
386 |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
387 OBJS-$(HAVE_MLIB) += mlib/dsputil_mlib.o \ |
88 | 388 |
5147 | 389 OBJS-$(ARCH_ALPHA) += alpha/dsputil_alpha.o \ |
5620 | 390 alpha/motion_est_alpha.o \ |
3441 | 391 alpha/mpegvideo_alpha.o \ |
392 alpha/simple_idct_alpha.o \ | |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
393 |
5147 | 394 ASM_OBJS-$(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
|
395 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
|
396 |
5147 | 397 OBJS-$(ARCH_POWERPC) += ppc/dsputil_ppc.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
398 |
5148
fdcf146e5b49
replace TARGET_* with HAVE_* simplifying lists in configure script
mru
parents:
5147
diff
changeset
|
399 OBJS-$(HAVE_MMI) += ps2/dsputil_mmi.o \ |
3441 | 400 ps2/idct_mmi.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
401 ps2/mpegvideo_mmi.o \ |
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
402 |
5147 | 403 OBJS-$(ARCH_SH4) += sh4/idct_sh4.o \ |
5620 | 404 sh4/dsputil_align.o \ |
3441 | 405 sh4/dsputil_sh4.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
406 |
5750
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
407 ALTIVEC-OBJS-yes += ppc/dsputil_altivec.o \ |
5620 | 408 ppc/fdct_altivec.o \ |
3441 | 409 ppc/fft_altivec.o \ |
5620 | 410 ppc/float_altivec.o \ |
3441 | 411 ppc/gmc_altivec.o \ |
5620 | 412 ppc/idct_altivec.o \ |
4838
eeac11145c4e
ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
lu_zero
parents:
4803
diff
changeset
|
413 ppc/int_altivec.o \ |
5620 | 414 ppc/mpegvideo_altivec.o \ |
3941
d909e874e099
cosmetics: Add backslashes to the last line of continued lines to make
diego
parents:
3937
diff
changeset
|
415 |
5750
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
416 ALTIVEC-OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
417 ALTIVEC-OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
418 ALTIVEC-OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
419 ALTIVEC-OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
420 |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
421 # -maltivec is needed in order to build AltiVec code. |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
422 $(ALTIVEC-OBJS-yes): CFLAGS += -maltivec -mabi=altivec |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
423 |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
424 # check_altivec must be built without -maltivec |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
425 OBJS-$(HAVE_ALTIVEC) += $(ALTIVEC-OBJS-yes) \ |
09f99af1db40
Sanitize altivec code so it can be built with runtime check properly
lu_zero
parents:
5747
diff
changeset
|
426 ppc/check_altivec.o |
4227
ef1d382309e5
Conditionally compile some of the AltiVec optimizations.
diego
parents:
4225
diff
changeset
|
427 |
5147 | 428 OBJS-$(ARCH_BFIN) += bfin/dsputil_bfin.o \ |
5132
a3b82ca01e68
integrating MPV_common_init_bfin into the build system and mpegvideo.c
mhoffman
parents:
5115
diff
changeset
|
429 bfin/mpegvideo_bfin.o \ |
5776
73ec16dbcbc1
blackfin optimized vp3 transform and infastructure for idct
mhoffman
parents:
5751
diff
changeset
|
430 bfin/vp3_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
|
431 |
5147 | 432 ASM_OBJS-$(ARCH_BFIN) += bfin/pixels_bfin.o \ |
5620 | 433 bfin/fdct_bfin.o \ |
4765
85298e8c55c4
bfin dsputils, basic pixel operations sads, diffs, motion compensation
diego
parents:
4759
diff
changeset
|
434 bfin/idct_bfin.o \ |
5776
73ec16dbcbc1
blackfin optimized vp3 transform and infastructure for idct
mhoffman
parents:
5751
diff
changeset
|
435 bfin/vp3_idct_bfin.o \ |
4765
85298e8c55c4
bfin dsputils, basic pixel operations sads, diffs, motion compensation
diego
parents:
4759
diff
changeset
|
436 |
4022
a2a174f19b34
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
4015
diff
changeset
|
437 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
a2a174f19b34
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
4015
diff
changeset
|
438 |
3044
ed98beb48872
Move library name generation to configure, simplifies build system a bit more.
diego
parents:
3040
diff
changeset
|
439 NAME=avcodec |
3040
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3037
diff
changeset
|
440 LIBVERSION=$(LAVCVERSION) |
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3037
diff
changeset
|
441 LIBMAJOR=$(LAVCMAJOR) |
4117 | 442 |
4160 | 443 include ../common.mak |
3124 | 444 |
3289 | 445 clean:: |
3124 | 446 rm -f \ |
5570 | 447 alpha/*.o alpha/*~ \ |
448 armv4l/*.o armv4l/*~ \ | |
449 bfin/*.o bfin/*~ \ | |
3050
61e47d203191
Make clean/distclean consistent throughout all the Makefiles.
diego
parents:
3048
diff
changeset
|
450 i386/*.o i386/*~ \ |
88 | 451 mlib/*.o mlib/*~ \ |
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
|
452 ppc/*.o ppc/*~ \ |
689
efcbfbd18864
ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
michaelni
parents:
683
diff
changeset
|
453 ps2/*.o ps2/*~ \ |
1259
e8c3884f2c7e
sh4 optimized idct & bswap patch by (BERO <bero at geocities dot co dot jp>)
michaelni
parents:
1258
diff
changeset
|
454 sh4/*.o sh4/*~ \ |
1965
f74f306c30b5
vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
michael
parents:
1960
diff
changeset
|
455 sparc/*.o sparc/*~ \ |
338 | 456 apiexample $(TESTS) |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1472
diff
changeset
|
457 |
4990 | 458 TESTS= imgresample-test fft-test dct-test |
5147 | 459 ifeq ($(ARCH_X86),yes) |
5115 | 460 TESTS+= cpuid-test motion-test |
4990 | 461 endif |
462 | |
463 tests: apiexample $(TESTS) | |
464 | |
3937 | 465 apiexample: apiexample.o $(LIB) |
0 | 466 |
5115 | 467 cpuid-test: i386/cputest.c |
5114
85b8ce118098
Preprocessor #defines starting with __ are reserved for the system.
diego
parents:
5105
diff
changeset
|
468 $(CC) $(CFLAGS) -DTEST -o $@ $< |
43 | 469 |
5620 | 470 dct-test: dct-test.o fdctref.o $(LIB) |
471 | |
472 fft-test: fft-test.o $(LIB) | |
473 | |
3934 | 474 imgresample-test: imgresample.c $(LIB) |
3935 | 475 $(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) |
0 | 476 |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
5053
diff
changeset
|
477 motion-test: motion-test.o $(LIB) |
74 | 478 |
4877
8066ba089889
Remove hackish support for the non-free fixed-point AMR-NB reference code.
diego
parents:
4870
diff
changeset
|
479 .PHONY: tests |