2002-05-19 02:01:20 +03:00
|
|
|
#
|
|
|
|
# libavcodec Makefile
|
2005-03-06 02:43:55 +02:00
|
|
|
# (c) 2000-2005 Fabrice Bellard
|
2002-05-19 02:01:20 +03:00
|
|
|
#
|
2001-07-23 23:06:54 +03:00
|
|
|
include ../config.mak
|
|
|
|
|
2007-05-16 12:51:45 +03:00
|
|
|
CFLAGS+=-I$(SRC_PATH)/libswscale -I$(SRC_PATH)/libavcodec
|
2001-07-22 17:18:56 +03:00
|
|
|
|
2006-10-05 00:42:31 +03:00
|
|
|
OBJS= bitstream.o \
|
|
|
|
utils.o \
|
|
|
|
allcodecs.o \
|
|
|
|
mpegvideo.o \
|
|
|
|
jrevdct.o \
|
|
|
|
jfdctfst.o \
|
|
|
|
jfdctint.o\
|
|
|
|
resample.o \
|
|
|
|
resample2.o \
|
|
|
|
dsputil.o \
|
|
|
|
motion_est.o \
|
|
|
|
imgconvert.o \
|
|
|
|
mpeg12.o \
|
|
|
|
simple_idct.o \
|
|
|
|
ratecontrol.o \
|
|
|
|
eval.o \
|
|
|
|
error_resilience.o \
|
|
|
|
raw.o \
|
|
|
|
faandct.o \
|
|
|
|
parser.o \
|
|
|
|
rangecoder.o \
|
|
|
|
h263.o \
|
2006-07-06 18:04:46 +03:00
|
|
|
opt.o \
|
|
|
|
bitstream_filter.o \
|
2006-08-19 23:22:57 +03:00
|
|
|
audioconvert.o \
|
2006-07-06 18:04:46 +03:00
|
|
|
|
2005-06-03 16:59:38 +03:00
|
|
|
|
2006-08-30 00:23:27 +03:00
|
|
|
HEADERS = avcodec.h opt.h
|
2006-02-13 14:53:25 +02:00
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_AASC_DECODER) += aasc.o
|
2007-04-26 01:12:51 +03:00
|
|
|
OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o ac3tab.o ac3.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_ALAC_DECODER) += alac.o
|
|
|
|
OBJS-$(CONFIG_ASV1_DECODER) += asv1.o
|
|
|
|
OBJS-$(CONFIG_ASV1_ENCODER) += asv1.o
|
|
|
|
OBJS-$(CONFIG_ASV2_DECODER) += asv1.o
|
|
|
|
OBJS-$(CONFIG_ASV2_ENCODER) += asv1.o
|
2007-05-17 15:26:04 +03:00
|
|
|
OBJS-$(CONFIG_ATRAC3_DECODER) += atrac3.o mdct.o fft.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_AVS_DECODER) += avs.o
|
2007-04-07 23:51:58 +03:00
|
|
|
OBJS-$(CONFIG_BETHSOFTVID_DECODER) += bethsoftvideo.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_BMP_DECODER) += bmp.o
|
2007-02-05 17:05:29 +02:00
|
|
|
OBJS-$(CONFIG_BMP_ENCODER) += bmpenc.o
|
2007-04-07 17:25:25 +03:00
|
|
|
OBJS-$(CONFIG_C93_DECODER) += c93.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdsp.o golomb.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_CINEPAK_DECODER) += cinepak.o
|
|
|
|
OBJS-$(CONFIG_CLJR_DECODER) += cljr.o
|
|
|
|
OBJS-$(CONFIG_CLJR_ENCODER) += cljr.o
|
2007-05-17 15:26:04 +03:00
|
|
|
OBJS-$(CONFIG_COOK_DECODER) += cook.o mdct.o fft.o
|
2007-02-01 00:58:53 +02:00
|
|
|
OBJS-$(CONFIG_CSCD_DECODER) += cscd.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_CYUV_DECODER) += cyuv.o
|
2007-02-27 08:30:40 +02:00
|
|
|
OBJS-$(CONFIG_DCA_DECODER) += dca.o
|
2007-03-19 01:25:00 +02:00
|
|
|
OBJS-$(CONFIG_DNXHD_DECODER) += dnxhddec.o
|
2006-10-11 19:57:00 +03:00
|
|
|
OBJS-$(CONFIG_DSICINVIDEO_DECODER) += dsicinav.o
|
|
|
|
OBJS-$(CONFIG_DSICINAUDIO_DECODER) += dsicinav.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.o
|
|
|
|
OBJS-$(CONFIG_DVBSUB_ENCODER) += dvbsub.o
|
2006-10-28 02:37:35 +03:00
|
|
|
OBJS-$(CONFIG_DVDSUB_DECODER) += dvdsubdec.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o
|
|
|
|
OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o
|
|
|
|
OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o
|
2007-03-14 16:49:49 +02:00
|
|
|
OBJS-$(CONFIG_DXA_DECODER) += dxa.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o golomb.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o
|
|
|
|
OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_FLAC_DECODER) += flac.o golomb.o
|
|
|
|
OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o golomb.o
|
2007-01-21 23:06:10 +02:00
|
|
|
OBJS-$(CONFIG_FLASHSV_DECODER) += flashsv.o
|
|
|
|
OBJS-$(CONFIG_FLASHSV_ENCODER) += flashsvenc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_FLIC_DECODER) += flicvideo.o
|
|
|
|
OBJS-$(CONFIG_FOURXM_DECODER) += 4xm.o
|
|
|
|
OBJS-$(CONFIG_FRAPS_DECODER) += fraps.o
|
2006-10-26 07:15:48 +03:00
|
|
|
OBJS-$(CONFIG_GIF_DECODER) += gifdec.o lzw.o
|
2006-11-03 01:13:34 +02:00
|
|
|
OBJS-$(CONFIG_GIF_ENCODER) += gif.o
|
2007-05-21 15:51:29 +03:00
|
|
|
OBJS-$(CONFIG_H261_DECODER) += h261dec.o h261.o
|
|
|
|
OBJS-$(CONFIG_H261_ENCODER) += h261enc.o h261.o
|
2007-05-09 12:26:06 +03:00
|
|
|
OBJS-$(CONFIG_H263_DECODER) += h263dec.o
|
2007-05-23 12:07:23 +03:00
|
|
|
OBJS-$(CONFIG_H264_DECODER) += h264.o h264idct.o cabac.o golomb.o
|
2006-12-11 17:53:55 +02:00
|
|
|
OBJS-$(CONFIG_H264_ENCODER) += h264enc.o h264dsp.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o
|
|
|
|
OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o
|
|
|
|
OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o
|
2007-05-17 15:26:04 +03:00
|
|
|
OBJS-$(CONFIG_IMC_DECODER) += imc.o mdct.o fft.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o
|
|
|
|
OBJS-$(CONFIG_INDEO3_DECODER) += indeo3.o
|
|
|
|
OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_JPEGLS_DECODER) += jpeglsdec.o jpegls.o mjpegdec.o mjpeg.o golomb.o
|
|
|
|
OBJS-$(CONFIG_JPEGLS_ENCODER) += jpeglsenc.o jpegls.o golomb.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_KMVC_DECODER) += kmvc.o
|
2007-05-19 01:42:49 +03:00
|
|
|
OBJS-$(CONFIG_LJPEG_ENCODER) += ljpegenc.o mjpegenc.o mjpeg.o mpegvideo.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_LOCO_DECODER) += loco.o golomb.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_MACE3_DECODER) += mace.o
|
|
|
|
OBJS-$(CONFIG_MACE6_DECODER) += mace.o
|
2007-05-19 17:31:57 +03:00
|
|
|
OBJS-$(CONFIG_MJPEG_DECODER) += mjpegdec.o mjpeg.o
|
2007-05-17 19:29:11 +03:00
|
|
|
OBJS-$(CONFIG_MJPEG_ENCODER) += mjpegenc.o mjpeg.o mpegvideo.o
|
2007-05-19 17:58:31 +03:00
|
|
|
OBJS-$(CONFIG_MJPEGB_DECODER) += mjpegbdec.o mjpegdec.o mjpeg.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_MMVIDEO_DECODER) += mmvideo.o
|
2007-05-21 01:59:32 +03:00
|
|
|
OBJS-$(CONFIG_MP2_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
|
2007-05-21 01:50:29 +03:00
|
|
|
OBJS-$(CONFIG_MP2_ENCODER) += mpegaudioenc.o mpegaudio.o mpegaudiodata.o
|
2007-05-21 01:59:32 +03:00
|
|
|
OBJS-$(CONFIG_MP3_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
|
|
|
|
OBJS-$(CONFIG_MP3ADU_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
|
|
|
|
OBJS-$(CONFIG_MP3ON4_DECODER) += mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
|
|
|
|
OBJS-$(CONFIG_MPC7_DECODER) += mpc.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
|
2007-05-10 13:03:16 +03:00
|
|
|
OBJS-$(CONFIG_MSMPEG4V1_DECODER) += msmpeg4.o msmpeg4data.o
|
|
|
|
OBJS-$(CONFIG_MSMPEG4V1_ENCODER) += msmpeg4.o msmpeg4data.o
|
|
|
|
OBJS-$(CONFIG_MSMPEG4V2_DECODER) += msmpeg4.o msmpeg4data.o
|
|
|
|
OBJS-$(CONFIG_MSMPEG4V2_ENCODER) += msmpeg4.o msmpeg4data.o
|
|
|
|
OBJS-$(CONFIG_MSMPEG4V3_DECODER) += msmpeg4.o msmpeg4data.o
|
|
|
|
OBJS-$(CONFIG_MSMPEG4V3_ENCODER) += msmpeg4.o msmpeg4data.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_MSRLE_DECODER) += msrle.o
|
|
|
|
OBJS-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_MSZH_DECODER) += lcl.o
|
2007-02-01 00:58:53 +02:00
|
|
|
OBJS-$(CONFIG_NUV_DECODER) += nuv.o rtjpeg.o
|
2007-05-11 12:28:07 +03:00
|
|
|
OBJS-$(CONFIG_PAM_ENCODER) += pnmenc.o pnm.o
|
|
|
|
OBJS-$(CONFIG_PBM_ENCODER) += pnmenc.o pnm.o
|
|
|
|
OBJS-$(CONFIG_PGM_ENCODER) += pnmenc.o pnm.o
|
|
|
|
OBJS-$(CONFIG_PGMYUV_ENCODER) += pnmenc.o pnm.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_PNG_DECODER) += png.o
|
|
|
|
OBJS-$(CONFIG_PNG_ENCODER) += png.o
|
2007-05-11 12:28:07 +03:00
|
|
|
OBJS-$(CONFIG_PPM_ENCODER) += pnmenc.o pnm.o
|
2007-04-29 12:37:07 +03:00
|
|
|
OBJS-$(CONFIG_PTX_DECODER) += ptx.o
|
2007-05-21 01:59:32 +03:00
|
|
|
OBJS-$(CONFIG_QDM2_DECODER) += qdm2.o mdct.o fft.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_QDRAW_DECODER) += qdrw.o
|
|
|
|
OBJS-$(CONFIG_QPEG_DECODER) += qpeg.o
|
|
|
|
OBJS-$(CONFIG_QTRLE_DECODER) += qtrle.o
|
|
|
|
OBJS-$(CONFIG_RA_144_DECODER) += ra144.o
|
|
|
|
OBJS-$(CONFIG_RA_288_DECODER) += ra288.o
|
2007-05-29 18:01:33 +03:00
|
|
|
OBJS-$(CONFIG_ROQ_DECODER) += roqvideodec.o roqvideo.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.o
|
2007-05-07 11:55:27 +03:00
|
|
|
OBJS-$(CONFIG_ROQ_DPCM_ENCODER) += roqaudioenc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_RPZA_DECODER) += rpza.o
|
|
|
|
OBJS-$(CONFIG_RV10_DECODER) += rv10.o
|
|
|
|
OBJS-$(CONFIG_RV10_ENCODER) += rv10.o
|
|
|
|
OBJS-$(CONFIG_RV20_DECODER) += rv10.o
|
|
|
|
OBJS-$(CONFIG_RV20_ENCODER) += rv10.o
|
2007-04-06 21:29:27 +03:00
|
|
|
OBJS-$(CONFIG_SGI_DECODER) += sgidec.o
|
|
|
|
OBJS-$(CONFIG_SGI_ENCODER) += sgienc.o rle.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_SHORTEN_DECODER) += shorten.o golomb.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_SMC_DECODER) += smc.o
|
|
|
|
OBJS-$(CONFIG_SNOW_DECODER) += snow.o
|
|
|
|
OBJS-$(CONFIG_SNOW_ENCODER) += snow.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_SONIC_DECODER) += sonic.o golomb.o
|
|
|
|
OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o golomb.o
|
|
|
|
OBJS-$(CONFIG_SONIC_LS_ENCODER) += sonic.o golomb.o
|
2007-05-19 17:40:02 +03:00
|
|
|
OBJS-$(CONFIG_SP5X_DECODER) += sp5xdec.o mjpegdec.o mjpeg.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_SVQ1_DECODER) += svq1.o
|
|
|
|
OBJS-$(CONFIG_SVQ1_ENCODER) += svq1.o
|
2007-05-21 18:28:37 +03:00
|
|
|
OBJS-$(CONFIG_SVQ3_DECODER) += h264.o cabac.o golomb.o
|
2006-10-11 07:15:04 +03:00
|
|
|
OBJS-$(CONFIG_TARGA_DECODER) += targa.o
|
2007-04-03 04:01:46 +03:00
|
|
|
OBJS-$(CONFIG_TARGA_ENCODER) += targaenc.o rle.o
|
2007-05-14 17:28:13 +03:00
|
|
|
OBJS-$(CONFIG_THEORA_DECODER) += vp3.o xiph.o vp3dsp.o
|
2007-05-19 17:31:57 +03:00
|
|
|
OBJS-$(CONFIG_THP_DECODER) += mjpegdec.o mjpeg.o
|
2006-10-31 13:19:51 +02:00
|
|
|
OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
|
2006-10-26 07:15:48 +03:00
|
|
|
OBJS-$(CONFIG_TIFF_DECODER) += tiff.o lzw.o
|
2007-04-07 18:15:45 +03:00
|
|
|
OBJS-$(CONFIG_TIFF_ENCODER) += tiffenc.o rle.o lzwenc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.o
|
|
|
|
OBJS-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.o
|
|
|
|
OBJS-$(CONFIG_TRUESPEECH_DECODER) += truespeech.o
|
|
|
|
OBJS-$(CONFIG_TSCC_DECODER) += tscc.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_TTA_DECODER) += tta.o
|
2007-05-07 16:29:02 +03:00
|
|
|
OBJS-$(CONFIG_TXD_DECODER) += txd.o s3tc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_ULTI_DECODER) += ulti.o
|
2007-05-10 13:03:16 +03:00
|
|
|
OBJS-$(CONFIG_VC1_DECODER) += vc1.o vc1data.o vc1dsp.o msmpeg4data.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_VCR1_DECODER) += vcr1.o
|
|
|
|
OBJS-$(CONFIG_VCR1_ENCODER) += vcr1.o
|
|
|
|
OBJS-$(CONFIG_VMDAUDIO_DECODER) += vmdav.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_VMDVIDEO_DECODER) += vmdav.o
|
2006-09-05 07:37:14 +03:00
|
|
|
OBJS-$(CONFIG_VMNC_DECODER) += vmnc.o
|
2007-05-17 15:26:04 +03:00
|
|
|
OBJS-$(CONFIG_VORBIS_DECODER) += vorbis_dec.o vorbis.o vorbis_data.o xiph.o mdct.o fft.o
|
|
|
|
OBJS-$(CONFIG_VORBIS_ENCODER) += vorbis_enc.o vorbis.o vorbis_data.o mdct.o fft.o
|
2007-05-14 17:28:13 +03:00
|
|
|
OBJS-$(CONFIG_VP3_DECODER) += vp3.o vp3dsp.o
|
|
|
|
OBJS-$(CONFIG_VP5_DECODER) += vp5.o vp56.o vp56data.o vp3dsp.o
|
|
|
|
OBJS-$(CONFIG_VP6_DECODER) += vp6.o vp56.o vp56data.o vp3dsp.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_VQA_DECODER) += vqavideo.o
|
2006-09-26 06:41:51 +03:00
|
|
|
OBJS-$(CONFIG_WAVPACK_DECODER) += wavpack.o
|
2007-05-17 15:26:04 +03:00
|
|
|
OBJS-$(CONFIG_WMAV1_DECODER) += wmadec.o wma.o mdct.o fft.o
|
|
|
|
OBJS-$(CONFIG_WMAV2_DECODER) += wmadec.o wma.o mdct.o fft.o
|
|
|
|
OBJS-$(CONFIG_WMAV1_ENCODER) += wmaenc.o wma.o mdct.o fft.o
|
|
|
|
OBJS-$(CONFIG_WMAV2_ENCODER) += wmaenc.o wma.o mdct.o fft.o
|
2007-05-10 13:03:16 +03:00
|
|
|
OBJS-$(CONFIG_WMV2_DECODER) += msmpeg4.o msmpeg4data.o
|
|
|
|
OBJS-$(CONFIG_WMV2_ENCODER) += msmpeg4.o msmpeg4data.o
|
2007-05-06 14:23:12 +03:00
|
|
|
OBJS-$(CONFIG_WMV3_DECODER) += vc1.o vc1data.o vc1dsp.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_WNV1_DECODER) += wnv1.o
|
|
|
|
OBJS-$(CONFIG_WS_SND1_DECODER) += ws-snd1.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_XAN_DPCM_DECODER) += dpcm.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_XAN_WC3_DECODER) += xan.o
|
|
|
|
OBJS-$(CONFIG_XAN_WC4_DECODER) += xan.o
|
|
|
|
OBJS-$(CONFIG_XL_DECODER) += xl.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_ZLIB_DECODER) += lcl.o
|
|
|
|
OBJS-$(CONFIG_ZLIB_ENCODER) += lcl.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_ZMBV_DECODER) += zmbv.o
|
2006-12-08 07:13:40 +02:00
|
|
|
OBJS-$(CONFIG_ZMBV_ENCODER) += zmbvenc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
|
2006-07-09 00:15:50 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S32LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S32LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S32BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S32BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S16LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S16LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S16BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S16BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S8_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S8_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U8_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U8_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_ALAW_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_ALAW_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_MULAW_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_MULAW_ENCODER) += pcm.o
|
|
|
|
|
|
|
|
OBJS-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_4XM_ENCODER) += adpcm.o
|
2006-07-09 01:31:14 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adx.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adx.o
|
2006-07-09 00:15:50 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_CT_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_CT_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_EA_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_EA_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_G726_DECODER) += g726.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_G726_ENCODER) += g726.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_DK3_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_DK4_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER) += adpcm.o
|
2007-02-07 14:38:47 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_ENCODER) += adpcm.o
|
2006-07-09 00:15:50 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WS_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_MS_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_MS_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_2_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_3_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_4_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SWF_ENCODER) += adpcm.o
|
2007-04-07 19:03:23 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_THP_DECODER) += adpcm.o
|
2006-07-09 00:15:50 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_XA_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_XA_ENCODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.o
|
|
|
|
|
2007-01-07 02:07:10 +02:00
|
|
|
# external codec libraries
|
2007-06-06 03:14:18 +03:00
|
|
|
OBJS-$(CONFIG_LIBA52) += liba52.o
|
|
|
|
OBJS-$(CONFIG_LIBAMR) += libamr.o
|
|
|
|
OBJS-$(CONFIG_LIBFAAC) += libfaac.o
|
|
|
|
OBJS-$(CONFIG_LIBFAAD) += libfaad.o
|
2007-01-07 02:07:10 +02:00
|
|
|
OBJS-$(CONFIG_LIBGSM) += libgsm.o
|
2007-06-06 03:14:18 +03:00
|
|
|
OBJS-$(CONFIG_LIBMP3LAME) += libmp3lame.o
|
2007-01-25 02:16:28 +02:00
|
|
|
OBJS-$(CONFIG_LIBTHEORA) += libtheoraenc.o
|
2007-06-06 03:14:18 +03:00
|
|
|
OBJS-$(CONFIG_LIBVORBIS) += libvorbis.o
|
2007-06-06 21:56:14 +03:00
|
|
|
OBJS-$(CONFIG_LIBX264) += libx264.o
|
|
|
|
OBJS-$(CONFIG_LIBXVID) += libxvidff.o libxvid_rc.o
|
2004-07-14 04:32:14 +03:00
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
|
2007-05-09 02:25:31 +03:00
|
|
|
OBJS-$(CONFIG_AAC_PARSER) += aac_parser.o aac_ac3_parser.o
|
|
|
|
OBJS-$(CONFIG_AC3_PARSER) += ac3_parser.o ac3tab.o aac_ac3_parser.o
|
2007-05-09 03:03:17 +03:00
|
|
|
OBJS-$(CONFIG_CAVSVIDEO_PARSER) += cavs_parser.o
|
2007-05-04 02:50:24 +03:00
|
|
|
OBJS-$(CONFIG_DCA_PARSER) += dca_parser.o
|
2007-05-06 11:41:24 +03:00
|
|
|
OBJS-$(CONFIG_DVBSUB_PARSER) += dvbsub_parser.o
|
2007-05-06 12:12:10 +03:00
|
|
|
OBJS-$(CONFIG_DVDSUB_PARSER) += dvdsub_parser.o
|
2007-05-04 22:38:10 +03:00
|
|
|
OBJS-$(CONFIG_H261_PARSER) += h261_parser.o
|
2007-05-08 11:52:38 +03:00
|
|
|
OBJS-$(CONFIG_H263_PARSER) += h263_parser.o
|
2007-05-11 01:26:44 +03:00
|
|
|
OBJS-$(CONFIG_H264_PARSER) += h264_parser.o
|
2007-05-11 01:37:36 +03:00
|
|
|
OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.o
|
2007-05-05 20:59:37 +03:00
|
|
|
OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.o
|
2007-05-20 16:40:07 +03:00
|
|
|
OBJS-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.o mpegaudiodecheader.o
|
2007-05-05 21:18:51 +03:00
|
|
|
OBJS-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.o
|
2007-05-11 12:28:07 +03:00
|
|
|
OBJS-$(CONFIG_PNM_PARSER) += pnm_parser.o pnm.o
|
2007-05-04 03:09:33 +03:00
|
|
|
OBJS-$(CONFIG_VC1_PARSER) += vc1_parser.o
|
2006-07-09 15:02:15 +03:00
|
|
|
|
2007-05-19 03:35:27 +03:00
|
|
|
OBJS-$(CONFIG_DUMP_EXTRADATA_BSF) += dump_extradata_bsf.o
|
2007-05-19 03:32:11 +03:00
|
|
|
OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF) += remove_extradata_bsf.o
|
2007-05-19 03:30:15 +03:00
|
|
|
OBJS-$(CONFIG_NOISE_BSF) += noise_bsf.o
|
2007-05-19 03:27:43 +03:00
|
|
|
OBJS-$(CONFIG_MP3_HEADER_COMPRESS_BSF) += mp3_header_compress_bsf.o
|
2007-05-19 03:24:34 +03:00
|
|
|
OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF) += mp3_header_decompress_bsf.o mpegaudiodata.o
|
2007-05-19 03:53:41 +03:00
|
|
|
OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF) += mjpega_dump_header_bsf.o
|
2007-05-19 03:44:41 +03:00
|
|
|
OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF) += imx_dump_header_bsf.o
|
2007-05-13 02:33:53 +03:00
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(HAVE_PTHREADS) += pthread.o
|
|
|
|
OBJS-$(HAVE_W32THREADS) += w32thread.o
|
|
|
|
OBJS-$(HAVE_OS2THREADS) += os2thread.o
|
|
|
|
OBJS-$(HAVE_BEOSTHREADS) += beosthread.o
|
|
|
|
|
|
|
|
OBJS-$(HAVE_XVMC_ACCEL) += xvmcvideo.o
|
2005-05-23 02:39:11 +03:00
|
|
|
|
2006-08-08 21:51:38 +03:00
|
|
|
ifneq ($(CONFIG_SWSCALER),yes)
|
|
|
|
OBJS += imgresample.o
|
|
|
|
endif
|
|
|
|
|
2007-04-01 14:07:28 +03:00
|
|
|
# processor-specific code
|
2001-07-23 23:06:54 +03:00
|
|
|
ifeq ($(TARGET_MMX),yes)
|
2006-10-05 00:42:31 +03:00
|
|
|
OBJS += i386/fdct_mmx.o \
|
|
|
|
i386/cputest.o \
|
|
|
|
i386/dsputil_mmx.o \
|
|
|
|
i386/mpegvideo_mmx.o \
|
|
|
|
i386/motion_est_mmx.o \
|
|
|
|
i386/simple_idct_mmx.o \
|
2006-10-05 03:23:24 +03:00
|
|
|
i386/idct_mmx_xvid.o \
|
2006-10-05 00:42:31 +03:00
|
|
|
i386/fft_sse.o \
|
|
|
|
i386/fft_3dn.o \
|
|
|
|
i386/fft_3dn2.o \
|
|
|
|
|
2007-02-22 01:32:13 +02:00
|
|
|
OBJS-$(CONFIG_GPL) += i386/idct_mmx.o
|
|
|
|
OBJS-$(CONFIG_CAVS_DECODER) += i386/cavsdsp_mmx.o
|
2007-02-24 13:59:26 +02:00
|
|
|
OBJS-$(CONFIG_SNOW_DECODER) += i386/snowdsp_mmx.o
|
2007-05-14 17:28:13 +03:00
|
|
|
OBJS-$(CONFIG_VP3_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
|
|
|
|
OBJS-$(CONFIG_VP5_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
|
|
|
|
OBJS-$(CONFIG_VP6_DECODER) += i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
|
2001-07-22 17:18:56 +03:00
|
|
|
endif
|
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
ASM_OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/jrevdct_arm.o \
|
|
|
|
armv4l/simple_idct_arm.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
armv4l/dsputil_arm_s.o \
|
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/dsputil_arm.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
armv4l/mpegvideo_arm.o \
|
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(TARGET_IWMMXT) += armv4l/dsputil_iwmmxt.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
armv4l/mpegvideo_iwmmxt.o \
|
|
|
|
|
|
|
|
ASM_OBJS-$(TARGET_ARMV5TE) += armv4l/simple_idct_armv5te.o \
|
2007-01-08 01:24:14 +02:00
|
|
|
armv4l/mpegvideo_armv5te.o \
|
2006-07-08 19:39:49 +03:00
|
|
|
|
2007-05-14 01:15:52 +03:00
|
|
|
ASM_OBJS-$(TARGET_ARMV6) += armv4l/simple_idct_armv6.o \
|
2007-01-28 23:32:08 +02:00
|
|
|
|
2006-10-07 11:10:47 +03:00
|
|
|
OBJS-$(TARGET_ARCH_SPARC) += sparc/dsputil_vis.o \
|
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc
|
2001-08-14 00:45:36 +03:00
|
|
|
|
2006-10-07 11:10:47 +03:00
|
|
|
OBJS-$(HAVE_MLIB) += mlib/dsputil_mlib.o \
|
2005-05-26 17:32:46 +03:00
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha.o \
|
|
|
|
alpha/mpegvideo_alpha.o \
|
|
|
|
alpha/simple_idct_alpha.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
alpha/motion_est_alpha.o \
|
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
ASM_OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha_asm.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
alpha/motion_est_mvi_asm.o \
|
|
|
|
|
|
|
|
OBJS-$(TARGET_ARCH_POWERPC) += ppc/dsputil_ppc.o \
|
|
|
|
ppc/mpegvideo_ppc.o \
|
2006-07-08 19:39:49 +03:00
|
|
|
|
|
|
|
OBJS-$(TARGET_MMI) += ps2/dsputil_mmi.o \
|
|
|
|
ps2/idct_mmi.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
ps2/mpegvideo_mmi.o \
|
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(TARGET_ARCH_SH4) += sh4/idct_sh4.o \
|
|
|
|
sh4/dsputil_sh4.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
sh4/dsputil_align.o \
|
|
|
|
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(TARGET_ALTIVEC) += ppc/dsputil_altivec.o \
|
|
|
|
ppc/mpegvideo_altivec.o \
|
|
|
|
ppc/idct_altivec.o \
|
|
|
|
ppc/fft_altivec.o \
|
|
|
|
ppc/gmc_altivec.o \
|
|
|
|
ppc/fdct_altivec.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
ppc/float_altivec.o \
|
2007-04-10 12:47:37 +03:00
|
|
|
ppc/int_altivec.o \
|
2006-10-07 11:10:47 +03:00
|
|
|
|
2006-11-22 11:20:16 +02:00
|
|
|
ifeq ($(TARGET_ALTIVEC),yes)
|
|
|
|
OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o
|
|
|
|
OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o
|
|
|
|
OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o
|
|
|
|
OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o
|
|
|
|
endif
|
|
|
|
|
2006-10-07 11:10:47 +03:00
|
|
|
OBJS-$(TARGET_ARCH_BFIN) += bfin/dsputil_bfin.o \
|
2006-07-08 19:39:49 +03:00
|
|
|
|
2007-04-02 01:28:45 +03:00
|
|
|
ASM_OBJS-$(TARGET_ARCH_BFIN) += bfin/pixels_bfin.o \
|
|
|
|
bfin/idct_bfin.o \
|
|
|
|
bfin/fdct_bfin.o \
|
|
|
|
|
2006-10-15 15:59:45 +03:00
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
|
|
|
|
2006-01-14 17:54:58 +02:00
|
|
|
NAME=avcodec
|
2006-01-14 05:39:02 +02:00
|
|
|
LIBVERSION=$(LAVCVERSION)
|
|
|
|
LIBMAJOR=$(LAVCMAJOR)
|
2006-11-01 20:51:37 +02:00
|
|
|
|
2006-11-08 02:02:15 +02:00
|
|
|
include ../common.mak
|
2006-02-13 14:53:25 +02:00
|
|
|
|
2006-05-05 12:41:06 +03:00
|
|
|
clean::
|
2006-02-13 14:53:25 +02:00
|
|
|
rm -f \
|
2006-01-16 16:59:54 +02:00
|
|
|
i386/*.o i386/*~ \
|
2001-08-14 00:45:36 +03:00
|
|
|
armv4l/*.o armv4l/*~ \
|
2001-09-17 00:54:00 +03:00
|
|
|
mlib/*.o mlib/*~ \
|
2002-01-20 16:48:02 +02:00
|
|
|
alpha/*.o alpha/*~ \
|
2002-08-28 16:14:36 +03:00
|
|
|
ppc/*.o ppc/*~ \
|
2002-09-23 11:44:24 +03:00
|
|
|
ps2/*.o ps2/*~ \
|
2003-05-14 15:18:49 +03:00
|
|
|
sh4/*.o sh4/*~ \
|
2004-04-24 18:16:23 +03:00
|
|
|
sparc/*.o sparc/*~ \
|
2002-04-22 22:57:45 +03:00
|
|
|
apiexample $(TESTS)
|
2003-09-28 23:34:11 +03:00
|
|
|
|
2007-05-12 13:43:45 +03:00
|
|
|
TESTS= imgresample-test fft-test dct-test
|
|
|
|
ifeq ($(TARGET_ARCH_X86),yes)
|
|
|
|
TESTS+= cpuid_test motion-test
|
|
|
|
endif
|
|
|
|
|
|
|
|
tests: apiexample $(TESTS)
|
|
|
|
|
2006-10-05 20:10:33 +03:00
|
|
|
apiexample: apiexample.o $(LIB)
|
2001-07-22 17:18:56 +03:00
|
|
|
|
2001-08-08 19:26:51 +03:00
|
|
|
cpuid_test: i386/cputest.c
|
|
|
|
$(CC) $(CFLAGS) -D__TEST__ -o $@ $<
|
|
|
|
|
2006-10-05 03:51:40 +03:00
|
|
|
imgresample-test: imgresample.c $(LIB)
|
2006-10-05 04:28:25 +03:00
|
|
|
$(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
|
2001-07-22 17:18:56 +03:00
|
|
|
|
2003-01-08 01:47:09 +02:00
|
|
|
dct-test: dct-test.o fdctref.o $(LIB)
|
2001-07-23 23:58:31 +03:00
|
|
|
|
2007-05-21 10:11:27 +03:00
|
|
|
motion-test: motion-test.o $(LIB)
|
2001-08-16 01:30:51 +03:00
|
|
|
|
2007-05-22 10:08:38 +03:00
|
|
|
fft-test: fft-test.o $(LIB)
|
2006-10-03 20:42:17 +03:00
|
|
|
|
2007-04-25 22:12:04 +03:00
|
|
|
.PHONY: tests
|