annotate Makefile @ 3558:33d29a80bcac libavcodec

Enable swscale usage in ffmpeg
author lucabe
date Tue, 08 Aug 2006 18:51:38 +0000
parents f52e3f60481b
children 5be5a936c8a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
395
80518daaab05 added VPATH support for multiple dir compilation
glantau
parents: 356
diff changeset
1 #
80518daaab05 added VPATH support for multiple dir compilation
glantau
parents: 356
diff changeset
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
80518daaab05 added VPATH support for multiple dir compilation
glantau
parents: 356
diff changeset
4 #
2
2e2c46c87460 fixed config for direct mplayer build compatibility
glantau
parents: 0
diff changeset
5 include ../config.mak
2e2c46c87460 fixed config for direct mplayer build compatibility
glantau
parents: 0
diff changeset
6
429
718a22dc121f license/copyright change
glantau
parents: 410
diff changeset
7 # NOTE: -I.. is needed to include config.h
3413
c7a2ad367199 cosmetics: Break overly long lines.
diego
parents: 3395
diff changeset
8 CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavutil \
3465
5607769c4933 replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use
mru
parents: 3463
diff changeset
9 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE $(AMR_CFLAGS)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
10
3495
39302c85a59e Move av_malloc(), av_realloc(), and av_free() from libavcodec to libavutil
lucabe
parents: 3479
diff changeset
11 OBJS= bitstream.o utils.o allcodecs.o \
1042
a78f6f72d54e --disable-risky support
michaelni
parents: 1033
diff changeset
12 mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\
3426
8a199b35cf57 build mpegaudio.c and ac3enc.c only if needed
mru
parents: 3421
diff changeset
13 mjpeg.o resample.o resample2.o dsputil.o \
3558
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
14 motion_est.o imgconvert.o \
3444
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
15 mpeg12.o mpegaudiodec.o simple_idct.o \
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
16 ratecontrol.o eval.o error_resilience.o \
2639
e2780f828440 put most codecs under ifdefs
michael
parents: 2618
diff changeset
17 fft.o mdct.o raw.o golomb.o cabac.o\
3447
3ca7c519748b only build dpcm.o if its codecs are enabled
mru
parents: 3446
diff changeset
18 faandct.o parser.o \
2946
ac94d509884e dvbsub encoder, patch by Wolfram Gloger < wmglo AH dent POIS med POIS uni-muenchen POIS de >
gpoirier
parents: 2933
diff changeset
19 vp3dsp.o h264idct.o rangecoder.o pnm.o h263.o msmpeg4.o 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
20 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
21 bitstream_filter.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
22
2756
d8874c8749ec subtitle codec type support
bellard
parents: 2734
diff changeset
23
3208
084635b31002 since Michael prefers to keep dsputil.h private to libavcodec
mru
parents: 3207
diff changeset
24 HEADERS = avcodec.h
3558
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
25 ifneq ($(CONFIG_SWSCALER),yes)
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
26 HEADERS += swscale.h
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
27 endif
3124
00b0af60fe53 move common parts of makefiles into common.mak
mru
parents: 3120
diff changeset
28
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
29 OBJS-$(CONFIG_AASC_DECODER) += aasc.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
30 OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
31 OBJS-$(CONFIG_ALAC_DECODER) += alac.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
32 OBJS-$(CONFIG_ASV1_DECODER) += asv1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
33 OBJS-$(CONFIG_ASV1_ENCODER) += asv1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
34 OBJS-$(CONFIG_ASV2_DECODER) += asv1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
35 OBJS-$(CONFIG_ASV2_ENCODER) += asv1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
36 OBJS-$(CONFIG_AVS_DECODER) += avs.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
37 OBJS-$(CONFIG_BMP_DECODER) += bmp.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
38 OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdsp.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
39 OBJS-$(CONFIG_CINEPAK_DECODER) += cinepak.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
40 OBJS-$(CONFIG_CLJR_DECODER) += cljr.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
41 OBJS-$(CONFIG_CLJR_ENCODER) += cljr.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
42 OBJS-$(CONFIG_COOK_DECODER) += cook.o
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
43 OBJS-$(CONFIG_CSCD_DECODER) += cscd.o lzo.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
44 OBJS-$(CONFIG_CYUV_DECODER) += cyuv.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
45 OBJS-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
46 OBJS-$(CONFIG_DVBSUB_ENCODER) += dvbsub.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
47 OBJS-$(CONFIG_DVDSUB_DECODER) += dvdsub.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
48 OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
49 OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
50 OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
51 OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
52 OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
53 OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
54 OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
55 OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
56 OBJS-$(CONFIG_FLAC_DECODER) += flac.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
57 OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
58 OBJS-$(CONFIG_FLASHSV_DECODER) += flashsv.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
59 OBJS-$(CONFIG_FLIC_DECODER) += flicvideo.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
60 OBJS-$(CONFIG_FOURXM_DECODER) += 4xm.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
61 OBJS-$(CONFIG_FRAPS_DECODER) += fraps.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
62 OBJS-$(CONFIG_H261_DECODER) += h261.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
63 OBJS-$(CONFIG_H261_ENCODER) += h261.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
64 OBJS-$(CONFIG_H264_DECODER) += h264.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
65 OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
66 OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
67 OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
68 OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
69 OBJS-$(CONFIG_INDEO3_DECODER) += indeo3.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
70 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
3447
3ca7c519748b only build dpcm.o if its codecs are enabled
mru
parents: 3446
diff changeset
71 OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
72 OBJS-$(CONFIG_KMVC_DECODER) += kmvc.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
73 OBJS-$(CONFIG_LOCO_DECODER) += loco.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
74 OBJS-$(CONFIG_MACE3_DECODER) += mace.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
75 OBJS-$(CONFIG_MACE6_DECODER) += mace.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
76 OBJS-$(CONFIG_MMVIDEO_DECODER) += mmvideo.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
77 OBJS-$(CONFIG_MP2_ENCODER) += mpegaudio.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
78 OBJS-$(CONFIG_MSRLE_DECODER) += msrle.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
79 OBJS-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
80 OBJS-$(CONFIG_MSZH_DECODER) += lcl.o
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
81 OBJS-$(CONFIG_NUV_DECODER) += nuv.o rtjpeg.o lzo.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
82 OBJS-$(CONFIG_PNG_DECODER) += png.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
83 OBJS-$(CONFIG_PNG_ENCODER) += png.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
84 OBJS-$(CONFIG_QDM2_DECODER) += qdm2.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
85 OBJS-$(CONFIG_QDRAW_DECODER) += qdrw.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
86 OBJS-$(CONFIG_QPEG_DECODER) += qpeg.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
87 OBJS-$(CONFIG_QTRLE_DECODER) += qtrle.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
88 OBJS-$(CONFIG_RA_144_DECODER) += ra144.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
89 OBJS-$(CONFIG_RA_288_DECODER) += ra288.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
90 OBJS-$(CONFIG_ROQ_DECODER) += roqvideo.o
3447
3ca7c519748b only build dpcm.o if its codecs are enabled
mru
parents: 3446
diff changeset
91 OBJS-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
92 OBJS-$(CONFIG_RPZA_DECODER) += rpza.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
93 OBJS-$(CONFIG_RV10_DECODER) += rv10.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
94 OBJS-$(CONFIG_RV10_ENCODER) += rv10.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
95 OBJS-$(CONFIG_RV20_DECODER) += rv10.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
96 OBJS-$(CONFIG_RV20_ENCODER) += rv10.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
97 OBJS-$(CONFIG_SHORTEN_DECODER) += shorten.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
98 OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
99 OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
100 OBJS-$(CONFIG_SMC_DECODER) += smc.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
101 OBJS-$(CONFIG_SNOW_DECODER) += snow.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
102 OBJS-$(CONFIG_SNOW_ENCODER) += snow.o
3447
3ca7c519748b only build dpcm.o if its codecs are enabled
mru
parents: 3446
diff changeset
103 OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
104 OBJS-$(CONFIG_SONIC_DECODER) += sonic.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
105 OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
106 OBJS-$(CONFIG_SONIC_LS_DECODER) += sonic.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
107 OBJS-$(CONFIG_SVQ1_DECODER) += svq1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
108 OBJS-$(CONFIG_SVQ1_ENCODER) += svq1.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
109 OBJS-$(CONFIG_SVQ3_DECODER) += h264.o
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
110 OBJS-$(CONFIG_THEORA_DECODER) += vp3.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
111 OBJS-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
112 OBJS-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
113 OBJS-$(CONFIG_TRUESPEECH_DECODER) += truespeech.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
114 OBJS-$(CONFIG_TSCC_DECODER) += tscc.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
115 OBJS-$(CONFIG_TTA_DECODER) += tta.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
116 OBJS-$(CONFIG_ULTI_DECODER) += ulti.o
3526
7dc8e4a12105 New functions in DSPContext for VC-1 decoding
kostya
parents: 3524
diff changeset
117 OBJS-$(CONFIG_VC1_DECODER) += vc1.o vc1dsp.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
118 OBJS-$(CONFIG_VCR1_DECODER) += vcr1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
119 OBJS-$(CONFIG_VCR1_ENCODER) += vcr1.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
120 OBJS-$(CONFIG_VMDAUDIO_DECODER) += vmdav.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
121 OBJS-$(CONFIG_VMDVIDEO_DECODER) += vmdav.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
122 OBJS-$(CONFIG_VORBIS_DECODER) += vorbis.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
123 OBJS-$(CONFIG_VP3_DECODER) += vp3.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
124 OBJS-$(CONFIG_VQA_DECODER) += vqavideo.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
125 OBJS-$(CONFIG_WMAV1_DECODER) += wmadec.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
126 OBJS-$(CONFIG_WMAV2_DECODER) += wmadec.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
127 OBJS-$(CONFIG_WMV3_DECODER) += vc1.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
128 OBJS-$(CONFIG_WNV1_DECODER) += wnv1.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
129 OBJS-$(CONFIG_WS_SND1_DECODER) += ws-snd1.o
3447
3ca7c519748b only build dpcm.o if its codecs are enabled
mru
parents: 3446
diff changeset
130 OBJS-$(CONFIG_XAN_DPCM_DECODER) += dpcm.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
131 OBJS-$(CONFIG_XAN_WC3_DECODER) += xan.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
132 OBJS-$(CONFIG_XAN_WC4_DECODER) += xan.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
133 OBJS-$(CONFIG_XL_DECODER) += xl.o
3443
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
134 OBJS-$(CONFIG_ZLIB_DECODER) += lcl.o
31b62dbfa32e cosmetic: sort codec list alphabetically
mru
parents: 3441
diff changeset
135 OBJS-$(CONFIG_ZLIB_ENCODER) += lcl.o
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
136 OBJS-$(CONFIG_ZMBV_DECODER) += zmbv.o
2949
e5a10ae14ffb BMP image decoder
mru
parents: 2948
diff changeset
137
3444
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
138 OBJS-$(CONFIG_PCM_S32LE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
139 OBJS-$(CONFIG_PCM_S32LE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
140 OBJS-$(CONFIG_PCM_S32BE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
141 OBJS-$(CONFIG_PCM_S32BE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
142 OBJS-$(CONFIG_PCM_U32LE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
143 OBJS-$(CONFIG_PCM_U32LE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
144 OBJS-$(CONFIG_PCM_U32BE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
145 OBJS-$(CONFIG_PCM_U32BE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
146 OBJS-$(CONFIG_PCM_S24LE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
147 OBJS-$(CONFIG_PCM_S24LE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
148 OBJS-$(CONFIG_PCM_S24BE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
149 OBJS-$(CONFIG_PCM_S24BE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
150 OBJS-$(CONFIG_PCM_U24LE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
151 OBJS-$(CONFIG_PCM_U24LE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
152 OBJS-$(CONFIG_PCM_U24BE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
153 OBJS-$(CONFIG_PCM_U24BE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
154 OBJS-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
155 OBJS-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
156 OBJS-$(CONFIG_PCM_S16LE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
157 OBJS-$(CONFIG_PCM_S16LE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
158 OBJS-$(CONFIG_PCM_S16BE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
159 OBJS-$(CONFIG_PCM_S16BE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
160 OBJS-$(CONFIG_PCM_U16LE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
161 OBJS-$(CONFIG_PCM_U16LE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
162 OBJS-$(CONFIG_PCM_U16BE_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
163 OBJS-$(CONFIG_PCM_U16BE_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
164 OBJS-$(CONFIG_PCM_S8_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
165 OBJS-$(CONFIG_PCM_S8_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
166 OBJS-$(CONFIG_PCM_U8_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
167 OBJS-$(CONFIG_PCM_U8_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
168 OBJS-$(CONFIG_PCM_ALAW_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
169 OBJS-$(CONFIG_PCM_ALAW_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
170 OBJS-$(CONFIG_PCM_MULAW_DECODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
171 OBJS-$(CONFIG_PCM_MULAW_ENCODER) += pcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
172
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
173 OBJS-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
174 OBJS-$(CONFIG_ADPCM_4XM_ENCODER) += adpcm.o
3445
2d042ed9dd2c make the adx adpcm codec available
mru
parents: 3444
diff changeset
175 OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adx.o
2d042ed9dd2c make the adx adpcm codec available
mru
parents: 3444
diff changeset
176 OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adx.o
3444
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
177 OBJS-$(CONFIG_ADPCM_CT_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
178 OBJS-$(CONFIG_ADPCM_CT_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
179 OBJS-$(CONFIG_ADPCM_EA_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
180 OBJS-$(CONFIG_ADPCM_EA_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
181 OBJS-$(CONFIG_ADPCM_G726_DECODER) += g726.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
182 OBJS-$(CONFIG_ADPCM_G726_ENCODER) += g726.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
183 OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
184 OBJS-$(CONFIG_ADPCM_IMA_DK3_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
185 OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
186 OBJS-$(CONFIG_ADPCM_IMA_DK4_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
187 OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
188 OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
189 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER)+= adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
190 OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_ENCODER)+= adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
191 OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
192 OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
193 OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
194 OBJS-$(CONFIG_ADPCM_IMA_WS_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
195 OBJS-$(CONFIG_ADPCM_MS_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
196 OBJS-$(CONFIG_ADPCM_MS_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
197 OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
198 OBJS-$(CONFIG_ADPCM_SBPRO_2_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
199 OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
200 OBJS-$(CONFIG_ADPCM_SBPRO_3_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
201 OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
202 OBJS-$(CONFIG_ADPCM_SBPRO_4_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
203 OBJS-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
204 OBJS-$(CONFIG_ADPCM_SWF_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
205 OBJS-$(CONFIG_ADPCM_XA_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
206 OBJS-$(CONFIG_ADPCM_XA_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
207 OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
208 OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.o
d50b2d024968 enable/disable pcm and adpcm codecs
mru
parents: 3443
diff changeset
209
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
210 OBJS-$(CONFIG_FAAD) += faad.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
211 OBJS-$(CONFIG_FAAC) += faac.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
212 OBJS-$(CONFIG_XVID) += xvidff.o xvid_rc.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
213 OBJS-$(CONFIG_X264) += x264.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
214 OBJS-$(CONFIG_MP3LAME) += mp3lameaudio.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
215 OBJS-$(CONFIG_LIBVORBIS) += oggvorbis.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
216 OBJS-$(CONFIG_LIBGSM) += libgsm.o
3275
13460cb4ec73 cosmetics: Group all AMR variables together, add some newlines.
diego
parents: 3274
diff changeset
217
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
218 # currently using liba52 for ac3 decoding
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
219 OBJS-$(CONFIG_AC3) += a52dec.o
3275
13460cb4ec73 cosmetics: Group all AMR variables together, add some newlines.
diego
parents: 3274
diff changeset
220
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
221 # using builtin liba52 or runtime linked liba52.so.0
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
222 OBJS-$(CONFIG_AC3)$(CONFIG_A52BIN) += liba52/bit_allocate.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
223 liba52/bitstream.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
224 liba52/downmix.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
225 liba52/imdct.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
226 liba52/parse.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
227 liba52/crc.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
228 liba52/resample.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
229
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
230 # currently using libdts for dts decoding
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
231 OBJS-$(CONFIG_DTS) += dtsdec.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
232
3463
444bd402aebe rename AMR config variables to CONFIG_AMR*
mru
parents: 3462
diff changeset
233 OBJS-$(CONFIG_AMR) += amr.o
444bd402aebe rename AMR config variables to CONFIG_AMR*
mru
parents: 3462
diff changeset
234 OBJS-$(CONFIG_AMR_NB) += amr_float/sp_dec.o \
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
235 amr_float/sp_enc.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
236 amr_float/interf_dec.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
237 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
238
3463
444bd402aebe rename AMR config variables to CONFIG_AMR*
mru
parents: 3462
diff changeset
239 ifeq ($(CONFIG_AMR_NB_FIXED),yes)
3277
cea09585a203 Fix amr_nb-fixed build.
diego
parents: 3276
diff changeset
240 EXTRAOBJS += amr/*.o
cea09585a203 Fix amr_nb-fixed build.
diego
parents: 3276
diff changeset
241 EXTRADEPS=amrlibs
1258
802614404398 AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents: 1247
diff changeset
242 endif
802614404398 AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents: 1247
diff changeset
243
3479
d57df84a8462 cosmetics
mru
parents: 3465
diff changeset
244 OBJS-$(CONFIG_AMR_WB) += amrwb_float/dec_acelp.o \
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
245 amrwb_float/dec_dtx.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
246 amrwb_float/dec_gain.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
247 amrwb_float/dec_if.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
248 amrwb_float/dec_lpc.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
249 amrwb_float/dec_main.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
250 amrwb_float/dec_rom.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
251 amrwb_float/dec_util.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
252 amrwb_float/enc_acelp.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
253 amrwb_float/enc_dtx.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
254 amrwb_float/enc_gain.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
255 amrwb_float/enc_if.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
256 amrwb_float/enc_lpc.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
257 amrwb_float/enc_main.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
258 amrwb_float/enc_rom.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
259 amrwb_float/enc_util.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
260 amrwb_float/if_rom.o
338
1a38b3b4ea28 * using liba52
kabi
parents: 329
diff changeset
261
3455
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
262 OBJS-$(CONFIG_AAC_PARSER) += parser.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
263 OBJS-$(CONFIG_AC3_PARSER) += parser.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
264 OBJS-$(CONFIG_CAVS_PARSER) += parser.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
265 OBJS-$(CONFIG_DVBSUB_PARSER) += dvbsubdec.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
266 OBJS-$(CONFIG_DVDSUB_PARSER) += dvdsub.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
267 OBJS-$(CONFIG_H261_PARSER) += h261.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
268 OBJS-$(CONFIG_H263_PARSER) += h263dec.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
269 OBJS-$(CONFIG_H264_PARSER) += h264.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
270 OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
271 OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += parser.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
272 OBJS-$(CONFIG_MPEGAUDIO_PARSER) += parser.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
273 OBJS-$(CONFIG_MPEGVIDEO_PARSER) += parser.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
274 OBJS-$(CONFIG_PNM_PARSER) += pnm.o
cc4b4ea83e29 --enable/disable parsers. Warning: some combinations are broken.
mru
parents: 3447
diff changeset
275
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
276 OBJS-$(HAVE_PTHREADS) += pthread.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
277 OBJS-$(HAVE_W32THREADS) += w32thread.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
278 OBJS-$(HAVE_OS2THREADS) += os2thread.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
279 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
280
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
281 OBJS-$(HAVE_XVMC_ACCEL) += xvmcvideo.o
2729
26bf6f4e9945 libgsm warper by (Alban Bedel: albeu, free fr)
michael
parents: 2711
diff changeset
282
3558
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
283 ifneq ($(CONFIG_SWSCALER),yes)
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
284 OBJS += imgresample.o
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
285 endif
33d29a80bcac Enable swscale usage in ffmpeg
lucabe
parents: 3537
diff changeset
286
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
287 # i386 mmx specific stuff
2
2e2c46c87460 fixed config for direct mplayer build compatibility
glantau
parents: 0
diff changeset
288 ifeq ($(TARGET_MMX),yes)
74
d7603c46c52f suppressed nasm stuff
glantau
parents: 62
diff changeset
289 OBJS += i386/fdct_mmx.o i386/cputest.o \
32
a524484f9adf added idct mmx
glantau
parents: 23
diff changeset
290 i386/dsputil_mmx.o i386/mpegvideo_mmx.o \
338
1a38b3b4ea28 * using liba52
kabi
parents: 329
diff changeset
291 i386/idct_mmx.o i386/motion_est_mmx.o \
1972
8a556283601d hook up support for SSE2-optimized VP3 IDCT
melanson
parents: 1965
diff changeset
292 i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o \
3207
33110c1008a4 Add the mmx and sse2 implementations of ff_snow_vertical_compose().
gpoirier
parents: 3175
diff changeset
293 i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/snowdsp_mmx.o
2868
666064f710d4 xvids mmx&mmx2 idcts
michael
parents: 2862
diff changeset
294 ifeq ($(CONFIG_GPL),yes)
666064f710d4 xvids mmx&mmx2 idcts
michael
parents: 2862
diff changeset
295 OBJS += i386/idct_mmx_xvid.o
666064f710d4 xvids mmx&mmx2 idcts
michael
parents: 2862
diff changeset
296 endif
3524
419409926166 some MMX optimizations for the CAVS decoder
stefang
parents: 3495
diff changeset
297 ifeq ($(CONFIG_CAVS_DECODER),yes)
419409926166 some MMX optimizations for the CAVS decoder
stefang
parents: 3495
diff changeset
298 OBJS += i386/cavsdsp_mmx.o
419409926166 some MMX optimizations for the CAVS decoder
stefang
parents: 3495
diff changeset
299 endif
3340
4c2eba93c584 use ifeq(...,yes) instead of ifdef
mru
parents: 3331
diff changeset
300 ifeq ($(TARGET_BUILTIN_VECTOR),yes)
1027
a0a7149be543 fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
bellard
parents: 1010
diff changeset
301 i386/fft_sse.o: CFLAGS+= -msse
1869
1b0e22e6f4d1 * missing opts for make dep
kabi
parents: 1866
diff changeset
302 depend: CFLAGS+= -msse
1027
a0a7149be543 fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
bellard
parents: 1010
diff changeset
303 endif
3340
4c2eba93c584 use ifeq(...,yes) instead of ifdef
mru
parents: 3331
diff changeset
304 ifeq ($(TARGET_BUILTIN_3DNOW),yes)
3175
c20c181e0eca 3DNow! & Extended 3DNow! versions of FFT
corey
parents: 3129
diff changeset
305 i386/fft_3dn.o: CFLAGS+= -m3dnow
3308
57078a058b96 fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents: 3307
diff changeset
306 ifeq ($(TARGET_ARCH_X86),yes)
57078a058b96 fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents: 3307
diff changeset
307 i386/fft_3dn2.o: CFLAGS+= -march=athlon
57078a058b96 fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents: 3307
diff changeset
308 endif
57078a058b96 fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents: 3307
diff changeset
309 ifeq ($(TARGET_ARCH_X86_64),yes)
57078a058b96 fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents: 3307
diff changeset
310 i386/fft_3dn2.o: CFLAGS+= -march=k8
57078a058b96 fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents: 3307
diff changeset
311 endif
3175
c20c181e0eca 3DNow! & Extended 3DNow! versions of FFT
corey
parents: 3129
diff changeset
312 endif
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
313 endif
986e461dc072 Initial revision
glantau
parents:
diff changeset
314
62
4bfc845cdfea arm optimizations
glantau
parents: 43
diff changeset
315 # armv4l specific stuff
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
316 ASM_OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/jrevdct_arm.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
317 armv4l/simple_idct_arm.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
318 armv4l/dsputil_arm_s.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
319 OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/dsputil_arm.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
320 armv4l/mpegvideo_arm.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
321 OBJS-$(TARGET_IWMMXT) += armv4l/dsputil_iwmmxt.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
322 armv4l/mpegvideo_iwmmxt.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
323
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
324 # sun sparc
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
325 OBJS-$(TARGET_ARCH_SPARC) += sparc/dsputil_vis.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
326 sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc
62
4bfc845cdfea arm optimizations
glantau
parents: 43
diff changeset
327
88
06f63b58d2a8 mlib merge
glantau
parents: 81
diff changeset
328 # sun mediaLib specific stuff
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
329 OBJS-$(HAVE_MLIB) += mlib/dsputil_mlib.o
88
06f63b58d2a8 mlib merge
glantau
parents: 81
diff changeset
330
214
73df666cacc7 Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
nickols_k
parents: 174
diff changeset
331 # alpha specific stuff
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
332 OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
333 alpha/mpegvideo_alpha.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
334 alpha/simple_idct_alpha.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
335 alpha/motion_est_alpha.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
336 ASM_OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha_asm.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
337 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
338
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
339 OBJS-$(TARGET_ARCH_POWERPC) += ppc/dsputil_ppc.o ppc/mpegvideo_ppc.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
340 OBJS-$(TARGET_MMI) += ps2/dsputil_mmi.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
341 ps2/idct_mmi.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
342 ps2/mpegvideo_mmi.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
343 OBJS-$(TARGET_ARCH_SH4) += sh4/idct_sh4.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
344 sh4/dsputil_sh4.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
345 sh4/dsputil_align.o
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
346 OBJS-$(TARGET_ALTIVEC) += ppc/dsputil_altivec.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
347 ppc/mpegvideo_altivec.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
348 ppc/idct_altivec.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
349 ppc/fft_altivec.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
350 ppc/gmc_altivec.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
351 ppc/fdct_altivec.o \
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
352 ppc/dsputil_h264_altivec.o \
3537
f52e3f60481b Some AltiVec optimizations for VC-1
kostya
parents: 3530
diff changeset
353 ppc/dsputil_snow_altivec.o \
f52e3f60481b Some AltiVec optimizations for VC-1
kostya
parents: 3530
diff changeset
354 ppc/vc1dsp_altivec.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
355
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
356 CFLAGS += $(CFLAGS-yes)
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
357 OBJS += $(OBJS-yes)
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
358 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
359
3441
040e907f30b7 rewrite kconfig-style
mru
parents: 3440
diff changeset
360 EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
2
2e2c46c87460 fixed config for direct mplayer build compatibility
glantau
parents: 0
diff changeset
361
3044
ed98beb48872 Move library name generation to configure, simplifies build system a bit more.
diego
parents: 3040
diff changeset
362 NAME=avcodec
2817
b128802eb77b libavutil: Utility code from libavcodec moved to a separate library.
al
parents: 2796
diff changeset
363 LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF)
136
669955525b67 Shared objects support
nickols_k
parents: 92
diff changeset
364 ifeq ($(BUILD_SHARED),yes)
3040
6a388c616fa3 Create symbolic links for all library sonames and clean up Makefiles.
diego
parents: 3037
diff changeset
365 LIBVERSION=$(LAVCVERSION)
6a388c616fa3 Create symbolic links for all library sonames and clean up Makefiles.
diego
parents: 3037
diff changeset
366 LIBMAJOR=$(LAVCMAJOR)
136
669955525b67 Shared objects support
nickols_k
parents: 92
diff changeset
367 endif
784
32636728f24b added new fft/mdct code - added fft-test program
bellard
parents: 745
diff changeset
368 TESTS= imgresample-test dct-test motion-test fft-test
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
369
3124
00b0af60fe53 move common parts of makefiles into common.mak
mru
parents: 3120
diff changeset
370 include $(SRC_PATH)/common.mak
00b0af60fe53 move common parts of makefiles into common.mak
mru
parents: 3120
diff changeset
371
1297
1db67cd7808a * 3gp patch by Joca
kabi
parents: 1293
diff changeset
372 amrlibs:
1db67cd7808a * 3gp patch by Joca
kabi
parents: 1293
diff changeset
373 $(MAKE) -C amr spclib fipoplib
1db67cd7808a * 3gp patch by Joca
kabi
parents: 1293
diff changeset
374
43
ab64a3fc62bf Portability and testing issues
nickols_k
parents: 32
diff changeset
375 tests: apiexample cpuid_test $(TESTS)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
376
986e461dc072 Initial revision
glantau
parents:
diff changeset
377 dsputil.o: dsputil.c dsputil.h
986e461dc072 Initial revision
glantau
parents:
diff changeset
378
3289
d3371df2542b Unconditionally clean AMR subdirs.
diego
parents: 3277
diff changeset
379 clean::
3124
00b0af60fe53 move common parts of makefiles into common.mak
mru
parents: 3120
diff changeset
380 rm -f \
3050
61e47d203191 Make clean/distclean consistent throughout all the Makefiles.
diego
parents: 3048
diff changeset
381 i386/*.o i386/*~ \
62
4bfc845cdfea arm optimizations
glantau
parents: 43
diff changeset
382 armv4l/*.o armv4l/*~ \
88
06f63b58d2a8 mlib merge
glantau
parents: 81
diff changeset
383 mlib/*.o mlib/*~ \
214
73df666cacc7 Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
nickols_k
parents: 174
diff changeset
384 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
385 ppc/*.o ppc/*~ \
689
efcbfbd18864 ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
michaelni
parents: 683
diff changeset
386 ps2/*.o ps2/*~ \
1259
e8c3884f2c7e sh4 optimized idct & bswap patch by (BERO <bero at geocities dot co dot jp>)
michaelni
parents: 1258
diff changeset
387 sh4/*.o sh4/*~ \
1965
f74f306c30b5 vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
michael
parents: 1960
diff changeset
388 sparc/*.o sparc/*~ \
338
1a38b3b4ea28 * using liba52
kabi
parents: 329
diff changeset
389 liba52/*.o liba52/*~ \
3289
d3371df2542b Unconditionally clean AMR subdirs.
diego
parents: 3277
diff changeset
390 amr_float/*.o \
338
1a38b3b4ea28 * using liba52
kabi
parents: 329
diff changeset
391 apiexample $(TESTS)
3290
97cc530ab3d3 Ignore errors from recursive AMR cleans.
diego
parents: 3289
diff changeset
392 -$(MAKE) -C amr clean
97cc530ab3d3 Ignore errors from recursive AMR cleans.
diego
parents: 3289
diff changeset
393 -$(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
394
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
395 # api example program
986e461dc072 Initial revision
glantau
parents:
diff changeset
396 apiexample: apiexample.c $(LIB)
3229
0afff8f416e6 EXTRALIBS already contains -lm, no need to add it explicitly.
diego
parents: 3224
diff changeset
397 $(CC) $(CFLAGS) -o $@ $< $(LIB) $(LIBAVUTIL) $(EXTRALIBS)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
398
43
ab64a3fc62bf Portability and testing issues
nickols_k
parents: 32
diff changeset
399 # cpuid test
ab64a3fc62bf Portability and testing issues
nickols_k
parents: 32
diff changeset
400 cpuid_test: i386/cputest.c
ab64a3fc62bf Portability and testing issues
nickols_k
parents: 32
diff changeset
401 $(CC) $(CFLAGS) -D__TEST__ -o $@ $<
ab64a3fc62bf Portability and testing issues
nickols_k
parents: 32
diff changeset
402
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
403 # testing progs
986e461dc072 Initial revision
glantau
parents:
diff changeset
404
986e461dc072 Initial revision
glantau
parents:
diff changeset
405 imgresample-test: imgresample.c
644
641708b5c33c fixing tests
michaelni
parents: 640
diff changeset
406 $(CC) $(CFLAGS) -DTEST -o $@ $^ -lm
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
407
979
979f3cbd08a2 tests link all libavcodec
bellard
parents: 975
diff changeset
408 dct-test: dct-test.o fdctref.o $(LIB)
2872
062b2d5d1eba add xvid idcts to dct-test
michael
parents: 2868
diff changeset
409 $(CC) -o $@ $^ -lm $(LIBAVUTIL)
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
410
74
d7603c46c52f suppressed nasm stuff
glantau
parents: 62
diff changeset
411 motion-test: motion_test.o $(LIB)
644
641708b5c33c fixing tests
michaelni
parents: 640
diff changeset
412 $(CC) -o $@ $^ -lm
74
d7603c46c52f suppressed nasm stuff
glantau
parents: 62
diff changeset
413
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
414 fft-test: fft-test.o $(LIB)
2817
b128802eb77b libavutil: Utility code from libavcodec moved to a separate library.
al
parents: 2796
diff changeset
415 $(CC) -o $@ $^ $(LIBAVUTIL) -lm