感谢支持
我们一直在努力

在 Windows 7 下使用 Android NDK r5c 编译 FFmpeg 0.7.1

在代号是 “Love”的 FFmpeg 0.8 正式版几个小时之后,代号为 “Peace”FFmpeg 0.7.1 也发布了。没想到啊,我还以为直接是从 0.7 RC1 升到 0.8,不会再有 FFmpeg 0.7.x 的版本了呢。爱与和平,呵呵,原来如此,0.7 RC1 的代号就是 “Love and Peace”。


因为之前已经写了 在 Mac OS X 下使用 Android NDK r5b 编译 FFmpeg 0.8 和 在 Ubuntu 下使用 Android NDK r4b 编译 FFmpeg 0.6.3 两篇随笔,所以干脆把 Windows 7 下的编译方法也写出来了。这样在3个操作系统下用3个 NDK 版本编译3个 FFmpeg 版本的方法就都有了,应该是互联网上最全的系列了。


之前一直没写如何在 Windows 下编译 FFmpeg 是因为在 Windows 下编译除了需要 NDK 之外还需要一个 Cygwin,配置起来虽然说不上麻烦但也确实不算容易。除了让人抓狂的路径问题之外,居然还有更变态参数长度限制,真是祸不单行,╮(╯▽╰)╭


下面我将介绍在 Windows 下使用 NDK 编译 FFmpeg 的方法,以及如何解决上面提到的那些问题。时间关系,没做深究,解决方法可能不算完美。要是你有更好的解决方法,希望你能告诉我,谢谢。


相关阅读:


在 Mac OS X 下使用 Android NDK r5b 编译 FFmpeg 0.8 http://www.linuxidc.com/Linux/2011-09/42692.htm


在 Ubuntu 下使用 Android NDK r4b 编译 FFmpeg 0.6.3  http://www.linuxidc.com/Linux/2011-09/42691.htm


在Ubuntu中用Android NDK编译FFmpeg  http://www.linuxidc.com/Linux/2011-09/42694.htm


一、下载 Cygwin 2.738、Android NDK r5c 和 FFmpeg  0.7.1



  1. Cygwin 2.738
  2. Android NDK r5c
  3. FFmpeg  0.7.1

 


二、安装 Cygwin 2.738


Cygwin 的安装过程还算简单,但要记得把 GUN make 3.81-2 和 GUN awk 3.1.8-1 安装上。


e


GUN awk 3.1.8-1 是默认安装的,不需要特意去勾选安装。


f


 


三、解压缩 Android NDK r5c 和 FFmpeg  0.8



  1. 将 android-ndk-r5c-windows.zip 解压缩到 C:\cygwin\home\ScottWong 目录下
  2. 将 ffmpeg-0.7.1.tar.bz2 解压缩到 C:\cygwin\home\ScottWong\ffmpeg 目录下
  3. 将 C:\cygwin\home\ScottWong\ffmpeg\ffmpeg-0.7.1 重命名为 C:\cygwin\home\ScottWong\ffmpeg\jni

四、编写 FFmpeg 配置脚本


将以下内容保存为 C:\cygwin\home\ScottWong\ffmpeg\jni\config.sh 文件。这里的编译参数是可以根据具体需求进行修改的。


1: ./configure \
2:     –disable-static \
3:     –enable-shared \
4:     –enable-gpl \
5:     –enable-version3 \
6:     –enable-nonfree \
7:     –disable-doc \
8:     –disable-ffmpeg \
9:     –disable-ffplay \
10:     –disable-ffprobe \
11:     –disable-ffserver \
12:     –disable-avdevice \
13:     –disable-avfilter \
14:     –disable-postproc \
15:     –enable-small \
16:     –cross-prefix=/home/ScottWong/Android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi- \
17:     –enable-cross-compile \
18:     –target-os=linux \
19:     –extra-cflags=’-I/home/ScottWong/android-ndk-r5c/platforms/android-9/arch-arm/usr/include’ \
20:     –extra-ldflags=’-L/home/ScottWong/android-ndk-r5c/platforms/android-9/arch-arm/usr/lib -nostdlib’ \
21:     –arch=arm \
22:     –disable-symver \
23:     –disable-debug \
24:     –disable-stripping \
25:
26: sed -i ‘s/HAVE_LRINT 0/HAVE_LRINT 1/g’ config.h
27: sed -i ‘s/HAVE_LRINTF 0/HAVE_LRINTF 1/g’ config.h
28: sed -i ‘s/HAVE_ROUND 0/HAVE_ROUND 1/g’ config.h
29: sed -i ‘s/HAVE_ROUNDF 0/HAVE_ROUNDF 1/g’ config.h
30: sed -i ‘s/HAVE_TRUNC 0/HAVE_TRUNC 1/g’ config.h
31: sed -i ‘s/HAVE_TRUNCF 0/HAVE_TRUNCF 1/g’ config.h
32: 


五、编写 Android.mk 编译文件


将以下内容保存为 C:\cygwin\home\ScottWong\ffmpeg\jni\Android.mk 文件。


1: LOCAL_PATH := $(call my-dir)
2:
3: include $(CLEAR_VARS)
4:
5: LOCAL_MODULE := ffmpeg
6:
7: include $(LOCAL_PATH)/config.mak
8:
9: LOCAL_CFLAGS := -DHAVE_AV_CONFIG_H -std=c99
10:
11: AVUTIL_C_FILES = adler32.c \
12:     aes.c \
13:     audioconvert.c \
14:     avstring.c \
15:     base64.c \
16:     cpu.c \
17:     crc.c \
18:     des.c \
19:     error.c \
20:     eval.c \
21:     fifo.c \
22:     file.c \
23:     imgutils.c \
24:     intfloat_readwrite.c \
25:     inverse.c \
26:     lfg.c \
27:     lls.c \
28:     log.c \
29:     lzo.c \
30:     mathematics.c \
31:     md5.c \
32:     mem.c \
33:     dict.c \
34:     opt.c \
35:     parseutils.c \
36:     pixdesc.c \
37:     random_seed.c \
38:     rational.c \
39:     rc4.c \
40:     samplefmt.c \
41:     sha.c \
42:     tree.c \
43:     utils.c \
44:     arm/cpu.c
45:
46: AVUTIL_SRC_FILES = $(addprefix libavutil/, $(sort $(AVUTIL_C_FILES)))
47:
48: AVCODEC_C_FILES = allcodecs.c \
49:     audioconvert.c \
50:     avpacket.c \
51:     bitstream.c \
52:     bitstream_filter.c \
53:     dsputil.c \
54:     faanidct.c \
55:     fmtconvert.c \
56:     imgconvert.c \
57:     jrevdct.c \
58:     opt.c \
59:     options.c \
60:     parser.c \
61:     raw.c \
62:     rawdec.c \
63:     resample.c \
64:     resample2.c \
65:     simple_idct.c \
66:     utils.c \
67:
68: AVCODEC_C_FILES-$(CONFIG_AANDCT) += aandcttab.c
69: AVCODEC_C_FILES-$(CONFIG_AC3DSP) += ac3dsp.c
70: AVCODEC_C_FILES-$(CONFIG_CRYSTALHD) += crystalhd.c
71: AVCODEC_C_FILES-$(CONFIG_ENCODERS) += faandct.c jfdctfst.c jfdctint.c
72: AVCODEC_C_FILES-$(CONFIG_DCT) += dct.c dct32_fixed.c dct32_float.c
73: AVCODEC_C_FILES-$(CONFIG_DWT) += dwt.c
74: AVCODEC_C_FILES-$(CONFIG_DXVA2) += dxva2.c
75: FFT-FILES-$(CONFIG_HARDCODED_TABLES) += cos_tables.c cos_fixed_tables.c
76: AVCODEC_C_FILES-$(CONFIG_FFT) += avfft.c fft_fixed.c fft_float.c \
77:     $(FFT-FILES-yes)
78: AVCODEC_C_FILES-$(CONFIG_GOLOMB) += golomb.c
79: AVCODEC_C_FILES-$(CONFIG_H264DSP) += h264dsp.c h264idct.c
80: AVCODEC_C_FILES-$(CONFIG_H264PRED) += h264pred.c
81: AVCODEC_C_FILES-$(CONFIG_HUFFMAN) += huffman.c
82: AVCODEC_C_FILES-$(CONFIG_LPC) += lpc.c
83: AVCODEC_C_FILES-$(CONFIG_LSP) += lsp.c
84: AVCODEC_C_FILES-$(CONFIG_MDCT) += mdct_fixed.c mdct_float.c
85: AVCODEC_C_FILES-$(CONFIG_MPEGAUDIODSP) += mpegaudiodsp.c \
86:     mpegaudiodsp_fixed.c \
87:     mpegaudiodsp_float.c
88: RDFT-FILES-$(CONFIG_HARDCODED_TABLES) += sin_tables.c
89: AVCODEC_C_FILES-$(CONFIG_RDFT) += rdft.c $(RDFT-FILES-yes)
90: AVCODEC_C_FILES-$(CONFIG_SINEWIN) += sinewin.c
91: AVCODEC_C_FILES-$(CONFIG_VAAPI) += vaapi.c
92: AVCODEC_C_FILES-$(CONFIG_VDPAU) += vdpau.c
93:
94: AVCODEC_C_FILES-$(CONFIG_A64MULTI_ENCODER) += a64multienc.c elbg.c
95: AVCODEC_C_FILES-$(CONFIG_A64MULTI5_ENCODER) += a64multienc.c elbg.c
96: AVCODEC_C_FILES-$(CONFIG_AAC_DECODER) += aacdec.c aactab.c aacsbr.c aacps.c \
97:     aacadtsdec.c mpeg4audio.c kbdwin.c
98: AVCODEC_C_FILES-$(CONFIG_AAC_ENCODER) += aacenc.c aaccoder.c \
99:     aacpsy.c aactab.c \
100:     psymodel.c iirfilter.c \
101:     mpeg4audio.c kbdwin.c
102: AVCODEC_C_FILES-$(CONFIG_AASC_DECODER) += aasc.c msrledec.c
103: AVCODEC_C_FILES-$(CONFIG_AC3_DECODER) += ac3dec.c ac3dec_data.c ac3.c kbdwin.c
104: AVCODEC_C_FILES-$(CONFIG_AC3_ENCODER) += ac3enc_combined.c ac3enc_fixed.c ac3enc_float.c ac3tab.c ac3.c kbdwin.c ac3enc.c
105: AVCODEC_C_FILES-$(CONFIG_AC3_FLOAT_ENCODER) += ac3enc_float.c ac3tab.c ac3tab.c ac3.c kbdwin.c
106: AVCODEC_C_FILES-$(CONFIG_AC3_FIXED_ENCODER) += ac3enc_fixed.c ac3tab.c ac3tab.c ac3.c ac3enc.c
107: AVCODEC_C_FILES-$(CONFIG_ALAC_DECODER) += alac.c
108: AVCODEC_C_FILES-$(CONFIG_ALAC_ENCODER) += alacenc.c
109: AVCODEC_C_FILES-$(CONFIG_ALS_DECODER) += alsdec.c bgmc.c mpeg4audio.c
110: AVCODEC_C_FILES-$(CONFIG_AMRNB_DECODER) += amrnbdec.c celp_filters.c \
111:     celp_math.c acelp_filters.c \
112:     acelp_vectors.c \
113:     acelp_pitch_delay.c
114: AVCODEC_C_FILES-$(CONFIG_AMRWB_DECODER) += amrwbdec.c celp_filters.c \
115:     celp_math.c acelp_filters.c \
116:     acelp_vectors.c \
117:     acelp_pitch_delay.c lsp.c
118: AVCODEC_C_FILES-$(CONFIG_AMV_DECODER) += sp5xdec.c mjpegdec.c mjpeg.c
119: AVCODEC_C_FILES-$(CONFIG_ANM_DECODER) += anm.c
120: AVCODEC_C_FILES-$(CONFIG_ANSI_DECODER) += ansi.c cga_data.c
121: AVCODEC_C_FILES-$(CONFIG_APE_DECODER) += apedec.c
122: AVCODEC_C_FILES-$(CONFIG_ASS_DECODER) += assdec.c ass.c ass_split.c
123: AVCODEC_C_FILES-$(CONFIG_ASS_ENCODER) += assenc.c ass.c
124: AVCODEC_C_FILES-$(CONFIG_ASV1_DECODER) += asv1.c mpeg12data.c
125: AVCODEC_C_FILES-$(CONFIG_ASV1_ENCODER) += asv1.c mpeg12data.c
126: AVCODEC_C_FILES-$(CONFIG_ASV2_DECODER) += asv1.c mpeg12data.c
127: AVCODEC_C_FILES-$(CONFIG_ASV2_ENCODER) += asv1.c mpeg12data.c
128: AVCODEC_C_FILES-$(CONFIG_ATRAC1_DECODER) += atrac1.c atrac.c
129: AVCODEC_C_FILES-$(CONFIG_ATRAC3_DECODER) += atrac3.c atrac.c
130: AVCODEC_C_FILES-$(CONFIG_AURA_DECODER) += cyuv.c
131: AVCODEC_C_FILES-$(CONFIG_AURA2_DECODER) += aura.c
132: AVCODEC_C_FILES-$(CONFIG_AVS_DECODER) += avs.c
133: AVCODEC_C_FILES-$(CONFIG_BETHSOFTVID_DECODER) += bethsoftvideo.c
134: AVCODEC_C_FILES-$(CONFIG_BFI_DECODER) += bfi.c
135: AVCODEC_C_FILES-$(CONFIG_BINK_DECODER) += bink.c binkidct.c
136: AVCODEC_C_FILES-$(CONFIG_BINKAUDIO_DCT_DECODER) += binkaudio.c wma.c
137: AVCODEC_C_FILES-$(CONFIG_BINKAUDIO_RDFT_DECODER) += binkaudio.c wma.c
138: AVCODEC_C_FILES-$(CONFIG_BMP_DECODER) += bmp.c msrledec.c
139: AVCODEC_C_FILES-$(CONFIG_BMP_ENCODER) += bmpenc.c
140: AVCODEC_C_FILES-$(CONFIG_C93_DECODER) += c93.c
141: AVCODEC_C_FILES-$(CONFIG_CAVS_DECODER) += cavs.c cavsdec.c cavsdsp.c \
142:     mpeg12data.c mpegvideo.c
143: AVCODEC_C_FILES-$(CONFIG_CDGRAPHICS_DECODER) += cdgraphics.c
144: AVCODEC_C_FILES-$(CONFIG_CINEPAK_DECODER) += cinepak.c
145: AVCODEC_C_FILES-$(CONFIG_CLJR_DECODER) += cljr.c
146: AVCODEC_C_FILES-$(CONFIG_CLJR_ENCODER) += cljr.c
147: AVCODEC_C_FILES-$(CONFIG_COOK_DECODER) += cook.c
148: AVCODEC_C_FILES-$(CONFIG_CSCD_DECODER) += cscd.c
149: AVCODEC_C_FILES-$(CONFIG_CYUV_DECODER) += cyuv.c
150: AVCODEC_C_FILES-$(CONFIG_DCA_DECODER) += dca.c synth_filter.c dcadsp.c
151: AVCODEC_C_FILES-$(CONFIG_DCA_ENCODER) += dcaenc.c
152: AVCODEC_C_FILES-$(CONFIG_DFA_DECODER) += dfa.c
153: AVCODEC_C_FILES-$(CONFIG_DNXHD_DECODER) += dnxhddec.c dnxhddata.c
154: AVCODEC_C_FILES-$(CONFIG_DNXHD_ENCODER) += dnxhdenc.c dnxhddata.c \
155:     mpegvideo_enc.c motion_est.c \
156:     ratecontrol.c mpeg12data.c \
157:     mpegvideo.c
158: AVCODEC_C_FILES-$(CONFIG_DPX_DECODER) += dpx.c
159: AVCODEC_C_FILES-$(CONFIG_DPX_ENCODER) += dpxenc.c
160: AVCODEC_C_FILES-$(CONFIG_DSICINAUDIO_DECODER) += dsicinav.c
161: AVCODEC_C_FILES-$(CONFIG_DSICINVIDEO_DECODER) += dsicinav.c
162: AVCODEC_C_FILES-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.c
163: AVCODEC_C_FILES-$(CONFIG_DVBSUB_ENCODER) += dvbsub.c
164: AVCODEC_C_FILES-$(CONFIG_DVDSUB_DECODER) += dvdsubdec.c
165: AVCODEC_C_FILES-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.c
166: AVCODEC_C_FILES-$(CONFIG_DVVIDEO_DECODER) += dv.c dvdata.c
167: AVCODEC_C_FILES-$(CONFIG_DVVIDEO_ENCODER) += dv.c dvdata.c
168: AVCODEC_C_FILES-$(CONFIG_DXA_DECODER) += dxa.c
169: AVCODEC_C_FILES-$(CONFIG_EAC3_DECODER) += eac3dec.c eac3dec_data.c
170: AVCODEC_C_FILES-$(CONFIG_EAC3_ENCODER) += eac3enc.c ac3enc.c ac3enc_float.c \
171:     ac3tab.c ac3.c kbdwin.c
172: AVCODEC_C_FILES-$(CONFIG_EACMV_DECODER) += eacmv.c
173: AVCODEC_C_FILES-$(CONFIG_EAMAD_DECODER) += eamad.c eaidct.c mpeg12.c \
174:     mpeg12data.c mpegvideo.c \
175:     error_resilience.c
176: AVCODEC_C_FILES-$(CONFIG_EATGQ_DECODER) += eatgq.c eaidct.c
177: AVCODEC_C_FILES-$(CONFIG_EATGV_DECODER) += eatgv.c
178: AVCODEC_C_FILES-$(CONFIG_EATQI_DECODER) += eatqi.c eaidct.c mpeg12.c \
179:     mpeg12data.c mpegvideo.c \
180:     error_resilience.c
181: AVCODEC_C_FILES-$(CONFIG_EIGHTBPS_DECODER) += 8bps.c
182: AVCODEC_C_FILES-$(CONFIG_EIGHTSVX_EXP_DECODER) += 8svx.c
183: AVCODEC_C_FILES-$(CONFIG_EIGHTSVX_FIB_DECODER) += 8svx.c
184: AVCODEC_C_FILES-$(CONFIG_EIGHTSVX_RAW_DECODER) += 8svx.c
185: AVCODEC_C_FILES-$(CONFIG_ESCAPE124_DECODER) += escape124.c
186: AVCODEC_C_FILES-$(CONFIG_FFV1_DECODER) += ffv1.c rangecoder.c
187: AVCODEC_C_FILES-$(CONFIG_FFV1_ENCODER) += ffv1.c rangecoder.c
188: AVCODEC_C_FILES-$(CONFIG_FFVHUFF_DECODER) += huffyuv.c
189: AVCODEC_C_FILES-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.c
190: AVCODEC_C_FILES-$(CONFIG_FLAC_DECODER) += flacdec.c flacdata.c flac.c vorbis_data.c
191: AVCODEC_C_FILES-$(CONFIG_FLAC_ENCODER) += flacenc.c flacdata.c flac.c vorbis_data.c
192: AVCODEC_C_FILES-$(CONFIG_FLASHSV_DECODER) += flashsv.c
193: AVCODEC_C_FILES-$(CONFIG_FLASHSV_ENCODER) += flashsvenc.c
194: AVCODEC_C_FILES-$(CONFIG_FLASHSV2_ENCODER) += flashsv2enc.c
195: AVCODEC_C_FILES-$(CONFIG_FLIC_DECODER) += flicvideo.c
196: AVCODEC_C_FILES-$(CONFIG_FOURXM_DECODER) += 4xm.c
197: AVCODEC_C_FILES-$(CONFIG_FRAPS_DECODER) += fraps.c
198: AVCODEC_C_FILES-$(CONFIG_FRWU_DECODER) += frwu.c
199: AVCODEC_C_FILES-$(CONFIG_GIF_DECODER) += gifdec.c lzw.c
200: AVCODEC_C_FILES-$(CONFIG_GIF_ENCODER) += gif.c lzwenc.c
201: AVCODEC_C_FILES-$(CONFIG_GSM_DECODER) += gsmdec.c gsmdec_data.c msgsmdec.c
202: AVCODEC_C_FILES-$(CONFIG_GSM_MS_DECODER) += gsmdec.c gsmdec_data.c msgsmdec.c
203: AVCODEC_C_FILES-$(CONFIG_H261_DECODER) += h261dec.c h261.c \
204:     mpegvideo.c error_resilience.c
205: AVCODEC_C_FILES-$(CONFIG_H261_ENCODER) += h261enc.c h261.c \
206:     mpegvideo_enc.c motion_est.c \
207:     ratecontrol.c mpeg12data.c \
208:     mpegvideo.c
209: AVCODEC_C_FILES-$(CONFIG_H263_DECODER) += h263dec.c h263.c ituh263dec.c \
210:     mpeg4video.c mpeg4videodec.c flvdec.c\
211:     intelh263dec.c mpegvideo.c \
212:     error_resilience.c
213: AVCODEC_C_FILES-$(CONFIG_H263_VAAPI_HWACCEL) += vaapi_mpeg4.c
214: AVCODEC_C_FILES-$(CONFIG_H263_ENCODER) += mpegvideo_enc.c mpeg4video.c \
215:     mpeg4videoenc.c motion_est.c \
216:     ratecontrol.c h263.c ituh263enc.c \
217:     flvenc.c mpeg12data.c \
218:     mpegvideo.c error_resilience.c
219: AVCODEC_C_FILES-$(CONFIG_H264_DECODER) += h264.c \
220:     h264_loopfilter.c h264_direct.c \
221:     cabac.c h264_sei.c h264_ps.c \
222:     h264_refs.c h264_cavlc.c h264_cabac.c\
223:     mpegvideo.c error_resilience.c
224: AVCODEC_C_FILES-$(CONFIG_H264_DXVA2_HWACCEL) += dxva2_h264.c
225: AVCODEC_C_FILES-$(CONFIG_H264_VAAPI_HWACCEL) += vaapi_h264.c
226: AVCODEC_C_FILES-$(CONFIG_HUFFYUV_DECODER) += huffyuv.c
227: AVCODEC_C_FILES-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.c
228: AVCODEC_C_FILES-$(CONFIG_IDCIN_DECODER) += idcinvideo.c
229: AVCODEC_C_FILES-$(CONFIG_IFF_BYTERUN1_DECODER) += iff.c
230: AVCODEC_C_FILES-$(CONFIG_IFF_ILBM_DECODER) += iff.c
231: AVCODEC_C_FILES-$(CONFIG_IMC_DECODER) += imc.c
232: AVCODEC_C_FILES-$(CONFIG_INDEO2_DECODER) += indeo2.c
233: AVCODEC_C_FILES-$(CONFIG_INDEO3_DECODER) += indeo3.c
234: AVCODEC_C_FILES-$(CONFIG_INDEO5_DECODER) += indeo5.c ivi_common.c ivi_dsp.c
235: AVCODEC_C_FILES-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.c
236: AVCODEC_C_FILES-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.c
237: AVCODEC_C_FILES-$(CONFIG_JPEG2000_DECODER) += j2kdec.c mqcdec.c mqc.c j2k.c j2k_dwt.c
238: AVCODEC_C_FILES-$(CONFIG_JPEGLS_DECODER) += jpeglsdec.c jpegls.c \
239:     mjpegdec.c mjpeg.c
240: AVCODEC_C_FILES-$(CONFIG_JPEGLS_ENCODER) += jpeglsenc.c jpegls.c
241: AVCODEC_C_FILES-$(CONFIG_JV_DECODER) += jvdec.c
242: AVCODEC_C_FILES-$(CONFIG_KGV1_DECODER) += kgv1dec.c
243: AVCODEC_C_FILES-$(CONFIG_KMVC_DECODER) += kmvc.c
244: AVCODEC_C_FILES-$(CONFIG_LAGARITH_DECODER) += lagarith.c lagarithrac.c
245: AVCODEC_C_FILES-$(CONFIG_LJPEG_ENCODER) += ljpegenc.c mjpegenc.c mjpeg.c \
246:     mpegvideo_enc.c motion_est.c \
247:     ratecontrol.c mpeg12data.c \
248:     mpegvideo.c
249: AVCODEC_C_FILES-$(CONFIG_LOCO_DECODER) += loco.c
250: AVCODEC_C_FILES-$(CONFIG_MACE3_DECODER) += mace.c
251: AVCODEC_C_FILES-$(CONFIG_MACE6_DECODER) += mace.c
252: AVCODEC_C_FILES-$(CONFIG_MDEC_DECODER) += mdec.c mpeg12.c mpeg12data.c \
253:     mpegvideo.c error_resilience.c
254: AVCODEC_C_FILES-$(CONFIG_MIMIC_DECODER) += mimic.c
255: AVCODEC_C_FILES-$(CONFIG_MJPEG_DECODER) += mjpegdec.c mjpeg.c
256: AVCODEC_C_FILES-$(CONFIG_MJPEG_ENCODER) += mjpegenc.c mjpeg.c \
257:     mpegvideo_enc.c motion_est.c \
258:     ratecontrol.c mpeg12data.c \
259:     mpegvideo.c
260: AVCODEC_C_FILES-$(CONFIG_MJPEGB_DECODER) += mjpegbdec.c mjpegdec.c mjpeg.c
261: AVCODEC_C_FILES-$(CONFIG_MLP_DECODER) += mlpdec.c mlpdsp.c
262: AVCODEC_C_FILES-$(CONFIG_MMVIDEO_DECODER) += mmvideo.c
263: AVCODEC_C_FILES-$(CONFIG_MOTIONPIXELS_DECODER) += motionpixels.c
264: AVCODEC_C_FILES-$(CONFIG_MP1_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
265:     mpegaudio.c mpegaudiodata.c
266: AVCODEC_C_FILES-$(CONFIG_MP1FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
267:     mpegaudio.c mpegaudiodata.c
268: AVCODEC_C_FILES-$(CONFIG_MP2_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
269:     mpegaudio.c mpegaudiodata.c
270: AVCODEC_C_FILES-$(CONFIG_MP2_ENCODER) += mpegaudioenc.c mpegaudio.c \
271:     mpegaudiodata.c
272: AVCODEC_C_FILES-$(CONFIG_MP2FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
273:     mpegaudio.c mpegaudiodata.c
274: AVCODEC_C_FILES-$(CONFIG_MP3ADU_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
275:     mpegaudio.c mpegaudiodata.c
276: AVCODEC_C_FILES-$(CONFIG_MP3ADUFLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
277:     mpegaudio.c mpegaudiodata.c
278: AVCODEC_C_FILES-$(CONFIG_MP3ON4_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
279:     mpegaudio.c mpegaudiodata.c \
280:     mpeg4audio.c
281: AVCODEC_C_FILES-$(CONFIG_MP3ON4FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
282:     mpegaudio.c mpegaudiodata.c \
283:     mpeg4audio.c
284: AVCODEC_C_FILES-$(CONFIG_MP3_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
285:     mpegaudio.c mpegaudiodata.c
286: AVCODEC_C_FILES-$(CONFIG_MP3FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
287:     mpegaudio.c mpegaudiodata.c
288: AVCODEC_C_FILES-$(CONFIG_MPC7_DECODER) += mpc7.c mpc.c mpegaudiodec.c \
289:     mpegaudiodecheader.c mpegaudio.c \
290:     mpegaudiodata.c
291: AVCODEC_C_FILES-$(CONFIG_MPC8_DECODER) += mpc8.c mpc.c mpegaudiodec.c \
292:     mpegaudiodecheader.c mpegaudio.c \
293:     mpegaudiodata.c
294: AVCODEC_C_FILES-$(CONFIG_MPEGVIDEO_DECODER) += mpeg12.c mpeg12data.c \
295:     mpegvideo.c error_resilience.c
296: AVCODEC_C_FILES-$(CONFIG_MPEG_XVMC_DECODER) += mpegvideo_xvmc.c
297: AVCODEC_C_FILES-$(CONFIG_MPEG1VIDEO_DECODER) += mpeg12.c mpeg12data.c \
298:     mpegvideo.c error_resilience.c
299: AVCODEC_C_FILES-$(CONFIG_MPEG1VIDEO_ENCODER) += mpeg12enc.c mpegvideo_enc.c \
300:     motion_est.c ratecontrol.c \
301:     mpeg12.c mpeg12data.c \
302:     mpegvideo.c error_resilience.c
303: AVCODEC_C_FILES-$(CONFIG_MPEG2_DXVA2_HWACCEL) += dxva2_mpeg2.c
304: AVCODEC_C_FILES-$(CONFIG_MPEG2_VAAPI_HWACCEL) += vaapi_mpeg2.c
305: AVCODEC_C_FILES-$(CONFIG_MPEG2VIDEO_DECODER) += mpeg12.c mpeg12data.c \
306:     mpegvideo.c error_resilience.c
307: AVCODEC_C_FILES-$(CONFIG_MPEG2VIDEO_ENCODER) += mpeg12enc.c mpegvideo_enc.c \
308:     motion_est.c ratecontrol.c \
309:     mpeg12.c mpeg12data.c \
310:     mpegvideo.c error_resilience.c
311: AVCODEC_C_FILES-$(CONFIG_MPEG4_VAAPI_HWACCEL) += vaapi_mpeg4.c
312: AVCODEC_C_FILES-$(CONFIG_MSMPEG4V1_DECODER) += msmpeg4.c msmpeg4data.c
313: AVCODEC_C_FILES-$(CONFIG_MSMPEG4V2_DECODER) += msmpeg4.c msmpeg4data.c h263dec.c \
314:     h263.c ituh263dec.c mpeg4videodec.c
315: AVCODEC_C_FILES-$(CONFIG_MSMPEG4V2_ENCODER) += msmpeg4.c msmpeg4data.c h263dec.c \
316:     h263.c ituh263dec.c mpeg4videodec.c
317: AVCODEC_C_FILES-$(CONFIG_MSMPEG4V3_DECODER) += msmpeg4.c msmpeg4data.c h263dec.c \
318:     h263.c ituh263dec.c mpeg4videodec.c
319: AVCODEC_C_FILES-$(CONFIG_MSMPEG4V3_ENCODER) += msmpeg4.c msmpeg4data.c h263dec.c \
320:     h263.c ituh263dec.c mpeg4videodec.c
321: AVCODEC_C_FILES-$(CONFIG_MSRLE_DECODER) += msrle.c msrledec.c
322: AVCODEC_C_FILES-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.c
323: AVCODEC_C_FILES-$(CONFIG_MSVIDEO1_ENCODER) += msvideo1enc.c elbg.c
324: AVCODEC_C_FILES-$(CONFIG_MSZH_DECODER) += lcldec.c
325: AVCODEC_C_FILES-$(CONFIG_MXPEG_DECODER) += mxpegdec.c mjpegdec.c mjpeg.c
326: AVCODEC_C_FILES-$(CONFIG_NELLYMOSER_DECODER) += nellymoserdec.c nellymoser.c
327: AVCODEC_C_FILES-$(CONFIG_NELLYMOSER_ENCODER) += nellymoserenc.c nellymoser.c
328: AVCODEC_C_FILES-$(CONFIG_NUV_DECODER) += nuv.c rtjpeg.c
329: AVCODEC_C_FILES-$(CONFIG_PAM_DECODER) += pnmdec.c pnm.c
330: AVCODEC_C_FILES-$(CONFIG_PAM_ENCODER) += pamenc.c pnm.c
331: AVCODEC_C_FILES-$(CONFIG_PBM_DECODER) += pnmdec.c pnm.c
332: AVCODEC_C_FILES-$(CONFIG_PBM_ENCODER) += pnmenc.c pnm.c
333: AVCODEC_C_FILES-$(CONFIG_PCX_DECODER) += pcx.c
334: AVCODEC_C_FILES-$(CONFIG_PCX_ENCODER) += pcxenc.c
335: AVCODEC_C_FILES-$(CONFIG_PGM_DECODER) += pnmdec.c pnm.c
336: AVCODEC_C_FILES-$(CONFIG_PGM_ENCODER) += pnmenc.c pnm.c
337: AVCODEC_C_FILES-$(CONFIG_PGMYUV_DECODER) += pnmdec.c pnm.c
338: AVCODEC_C_FILES-$(CONFIG_PGMYUV_ENCODER) += pnmenc.c pnm.c
339: AVCODEC_C_FILES-$(CONFIG_PGSSUB_DECODER) += pgssubdec.c
340: AVCODEC_C_FILES-$(CONFIG_PICTOR_DECODER) += pictordec.c cga_data.c
341: AVCODEC_C_FILES-$(CONFIG_PNG_DECODER) += png.c pngdec.c
342: AVCODEC_C_FILES-$(CONFIG_PNG_ENCODER) += png.c pngenc.c
343: AVCODEC_C_FILES-$(CONFIG_PPM_DECODER) += pnmdec.c pnm.c
344: AVCODEC_C_FILES-$(CONFIG_PPM_ENCODER) += pnmenc.c pnm.c
345: AVCODEC_C_FILES-$(CONFIG_PTX_DECODER) += ptx.c
346: AVCODEC_C_FILES-$(CONFIG_QCELP_DECODER) += qcelpdec.c celp_math.c \
347:     celp_filters.c acelp_vectors.c \
348:     acelp_filters.c
349: AVCODEC_C_FILES-$(CONFIG_QDM2_DECODER) += qdm2.c mpegaudiodec.c \
350:     mpegaudiodecheader.c mpegaudio.c \
351:     mpegaudiodata.c
352: AVCODEC_C_FILES-$(CONFIG_QDRAW_DECODER) += qdrw.c
353: AVCODEC_C_FILES-$(CONFIG_QPEG_DECODER) += qpeg.c
354: AVCODEC_C_FILES-$(CONFIG_QTRLE_DECODER) += qtrle.c
355: AVCODEC_C_FILES-$(CONFIG_QTRLE_ENCODER) += qtrleenc.c
356: AVCODEC_C_FILES-$(CONFIG_R10K_DECODER) += r210dec.c
357: AVCODEC_C_FILES-$(CONFIG_R210_DECODER) += r210dec.c
358: AVCODEC_C_FILES-$(CONFIG_RA_144_DECODER) += ra144dec.c ra144.c celp_filters.c
359: AVCODEC_C_FILES-$(CONFIG_RA_144_ENCODER) += ra144enc.c ra144.c celp_filters.c
360: AVCODEC_C_FILES-$(CONFIG_RA_288_DECODER) += ra288.c celp_math.c celp_filters.c
361: AVCODEC_C_FILES-$(CONFIG_RAWVIDEO_DECODER) += rawdec.c
362: AVCODEC_C_FILES-$(CONFIG_RAWVIDEO_ENCODER) += rawenc.c
363: AVCODEC_C_FILES-$(CONFIG_RL2_DECODER) += rl2.c
364: AVCODEC_C_FILES-$(CONFIG_ROQ_DECODER) += roqvideodec.c roqvideo.c
365: AVCODEC_C_FILES-$(CONFIG_ROQ_ENCODER) += roqvideoenc.c roqvideo.c elbg.c
366: AVCODEC_C_FILES-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.c
367: AVCODEC_C_FILES-$(CONFIG_ROQ_DPCM_ENCODER) += roqaudioenc.c
368: AVCODEC_C_FILES-$(CONFIG_RPZA_DECODER) += rpza.c
369: AVCODEC_C_FILES-$(CONFIG_RV10_DECODER) += rv10.c
370: AVCODEC_C_FILES-$(CONFIG_RV10_ENCODER) += rv10enc.c
371: AVCODEC_C_FILES-$(CONFIG_RV20_DECODER) += rv10.c
372: AVCODEC_C_FILES-$(CONFIG_RV20_ENCODER) += rv20enc.c
373: AVCODEC_C_FILES-$(CONFIG_RV30_DECODER) += rv30.c rv34.c rv30dsp.c \
374:     mpegvideo.c error_resilience.c
375: AVCODEC_C_FILES-$(CONFIG_RV40_DECODER) += rv40.c rv34.c rv40dsp.c \
376:     mpegvideo.c error_resilience.c
377: AVCODEC_C_FILES-$(CONFIG_S302M_DECODER) += s302m.c
378: AVCODEC_C_FILES-$(CONFIG_SGI_DECODER) += sgidec.c
379: AVCODEC_C_FILES-$(CONFIG_SGI_ENCODER) += sgienc.c rle.c
380: AVCODEC_C_FILES-$(CONFIG_SHORTEN_DECODER) += shorten.c
381: AVCODEC_C_FILES-$(CONFIG_SIPR_DECODER) += sipr.c acelp_pitch_delay.c \
382:     celp_math.c acelp_vectors.c \
383:     acelp_filters.c celp_filters.c \
384:     sipr16k.c
385: AVCODEC_C_FILES-$(CONFIG_SMACKAUD_DECODER) += smacker.c
386: AVCODEC_C_FILES-$(CONFIG_SMACKER_DECODER) += smacker.c
387: AVCODEC_C_FILES-$(CONFIG_SMC_DECODER) += smc.c
388: AVCODEC_C_FILES-$(CONFIG_SNOW_DECODER) += snow.c rangecoder.c
389: AVCODEC_C_FILES-$(CONFIG_SNOW_ENCODER) += snow.c rangecoder.c motion_est.c \
390:     ratecontrol.c h263.c \
391:     mpegvideo.c error_resilience.c \
392:     ituh263enc.c mpegvideo_enc.c \
393:     mpeg12data.c
394: AVCODEC_C_FILES-$(CONFIG_SOL_DPCM_DECODER) += dpcm.c
395: AVCODEC_C_FILES-$(CONFIG_SONIC_DECODER) += sonic.c
396: AVCODEC_C_FILES-$(CONFIG_SONIC_ENCODER) += sonic.c
397: AVCODEC_C_FILES-$(CONFIG_SONIC_LS_ENCODER) += sonic.c
398: AVCODEC_C_FILES-$(CONFIG_SP5X_DECODER) += sp5xdec.c mjpegdec.c mjpeg.c
399: AVCODEC_C_FILES-$(CONFIG_SRT_DECODER) += srtdec.c ass.c
400: AVCODEC_C_FILES-$(CONFIG_SRT_ENCODER) += srtenc.c ass_split.c
401: AVCODEC_C_FILES-$(CONFIG_SUNRAST_DECODER) += sunrast.c
402: AVCODEC_C_FILES-$(CONFIG_SVQ1_DECODER) += svq1dec.c svq1.c h263.c \
403:     mpegvideo.c error_resilience.c
404: AVCODEC_C_FILES-$(CONFIG_SVQ1_ENCODER) += svq1enc.c svq1.c \
405:     motion_est.c h263.c \
406:     mpegvideo.c error_resilience.c \
407:     ituh263enc.c mpegvideo_enc.c \
408:     ratecontrol.c mpeg12data.c
409: AVCODEC_C_FILES-$(CONFIG_SVQ3_DECODER) += h264.c svq3.c \
410:     h264_loopfilter.c h264_direct.c \
411:     h264_sei.c h264_ps.c h264_refs.c \
412:     h264_cavlc.c h264_cabac.c cabac.c \
413:     mpegvideo.c error_resilience.c \
414:     svq1dec.c svq1.c h263.c
415: AVCODEC_C_FILES-$(CONFIG_TARGA_DECODER) += targa.c
416: AVCODEC_C_FILES-$(CONFIG_TARGA_ENCODER) += targaenc.c rle.c
417: AVCODEC_C_FILES-$(CONFIG_THEORA_DECODER) += xiph.c
418: AVCODEC_C_FILES-$(CONFIG_THP_DECODER) += mjpegdec.c mjpeg.c
419: AVCODEC_C_FILES-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.c
420: AVCODEC_C_FILES-$(CONFIG_TIFF_DECODER) += tiff.c lzw.c faxcompr.c
421: AVCODEC_C_FILES-$(CONFIG_TIFF_ENCODER) += tiffenc.c rle.c lzwenc.c
422: AVCODEC_C_FILES-$(CONFIG_TMV_DECODER) += tmv.c cga_data.c
423: AVCODEC_C_FILES-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.c
424: AVCODEC_C_FILES-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.c
425: AVCODEC_C_FILES-$(CONFIG_TRUESPEECH_DECODER) += truespeech.c
426: AVCODEC_C_FILES-$(CONFIG_TSCC_DECODER) += tscc.c msrledec.c
427: AVCODEC_C_FILES-$(CONFIG_TTA_DECODER) += tta.c
428: AVCODEC_C_FILES-$(CONFIG_TWINVQ_DECODER) += twinvq.c celp_math.c
429: AVCODEC_C_FILES-$(CONFIG_TXD_DECODER) += txd.c s3tc.c
430: AVCODEC_C_FILES-$(CONFIG_ULTI_DECODER) += ulti.c
431: AVCODEC_C_FILES-$(CONFIG_V210_DECODER) += v210dec.c
432: AVCODEC_C_FILES-$(CONFIG_V210_ENCODER) += v210enc.c
433: AVCODEC_C_FILES-$(CONFIG_V210X_DECODER) += v210x.c
434: AVCODEC_C_FILES-$(CONFIG_VB_DECODER) += vb.c
435: AVCODEC_C_FILES-$(CONFIG_VC1_DECODER) += vc1dec.c vc1.c vc1data.c vc1dsp.c \
436:     msmpeg4.c msmpeg4data.c \
437:     intrax8.c intrax8dsp.c
438: AVCODEC_C_FILES-$(CONFIG_VC1_DXVA2_HWACCEL) += dxva2_vc1.c
439: AVCODEC_C_FILES-$(CONFIG_VC1_VAAPI_HWACCEL) += vaapi_vc1.c
440: AVCODEC_C_FILES-$(CONFIG_VCR1_DECODER) += vcr1.c
441: AVCODEC_C_FILES-$(CONFIG_VCR1_ENCODER) += vcr1.c
442: AVCODEC_C_FILES-$(CONFIG_VMDAUDIO_DECODER) += vmdav.c
443: AVCODEC_C_FILES-$(CONFIG_VMDVIDEO_DECODER) += vmdav.c
444: AVCODEC_C_FILES-$(CONFIG_VMNC_DECODER) += vmnc.c
445: AVCODEC_C_FILES-$(CONFIG_VORBIS_DECODER) += vorbisdec.c vorbis.c \
446:     vorbis_data.c xiph.c
447: AVCODEC_C_FILES-$(CONFIG_VORBIS_ENCODER) += vorbisenc.c vorbis.c \
448:     vorbis_data.c
449: AVCODEC_C_FILES-$(CONFIG_VP3_DECODER) += vp3.c vp3dsp.c
450: AVCODEC_C_FILES-$(CONFIG_VP5_DECODER) += vp5.c vp56.c vp56data.c vp56dsp.c \
451:     vp3dsp.c vp56rac.c
452: AVCODEC_C_FILES-$(CONFIG_VP6_DECODER) += vp6.c vp56.c vp56data.c vp56dsp.c \
453:     vp3dsp.c vp6dsp.c vp56rac.c
454: AVCODEC_C_FILES-$(CONFIG_VP8_DECODER) += vp8.c vp8dsp.c vp56rac.c
455: AVCODEC_C_FILES-$(CONFIG_VQA_DECODER) += vqavideo.c
456: AVCODEC_C_FILES-$(CONFIG_WAVPACK_DECODER) += wavpack.c
457: AVCODEC_C_FILES-$(CONFIG_WMAPRO_DECODER) += wmaprodec.c wma.c
458: AVCODEC_C_FILES-$(CONFIG_WMAV1_DECODER) += wmadec.c wma.c aactab.c
459: AVCODEC_C_FILES-$(CONFIG_WMAV1_ENCODER) += wmaenc.c wma.c aactab.c
460: AVCODEC_C_FILES-$(CONFIG_WMAV2_DECODER) += wmadec.c wma.c aactab.c
461: AVCODEC_C_FILES-$(CONFIG_WMAV2_ENCODER) += wmaenc.c wma.c aactab.c
462: AVCODEC_C_FILES-$(CONFIG_WMAVOICE_DECODER) += wmavoice.c \
463:     celp_math.c celp_filters.c \
464:     acelp_vectors.c acelp_filters.c
465: AVCODEC_C_FILES-$(CONFIG_WMV1_DECODER) += msmpeg4.c msmpeg4data.c
466: AVCODEC_C_FILES-$(CONFIG_WMV2_DECODER) += wmv2dec.c wmv2.c \
467:     msmpeg4.c msmpeg4data.c \
468:     intrax8.c intrax8dsp.c
469: AVCODEC_C_FILES-$(CONFIG_WMV2_ENCODER) += wmv2enc.c wmv2.c \
470:     msmpeg4.c msmpeg4data.c \
471:     mpeg4videodec.c ituh263dec.c h263dec.c
472: AVCODEC_C_FILES-$(CONFIG_WNV1_DECODER) += wnv1.c
473: AVCODEC_C_FILES-$(CONFIG_WS_SND1_DECODER) += ws-snd1.c
474: AVCODEC_C_FILES-$(CONFIG_XAN_DPCM_DECODER) += dpcm.c
475: AVCODEC_C_FILES-$(CONFIG_XAN_WC3_DECODER) += xan.c
476: AVCODEC_C_FILES-$(CONFIG_XAN_WC4_DECODER) += xxan.c
477: AVCODEC_C_FILES-$(CONFIG_XL_DECODER) += xl.c
478: AVCODEC_C_FILES-$(CONFIG_XSUB_DECODER) += xsubdec.c
479: AVCODEC_C_FILES-$(CONFIG_XSUB_ENCODER) += xsubenc.c
480: AVCODEC_C_FILES-$(CONFIG_YOP_DECODER) += yop.c
481: AVCODEC_C_FILES-$(CONFIG_ZLIB_DECODER) += lcldec.c
482: AVCODEC_C_FILES-$(CONFIG_ZLIB_ENCODER) += lclenc.c
483: AVCODEC_C_FILES-$(CONFIG_ZMBV_DECODER) += zmbv.c
484: AVCODEC_C_FILES-$(CONFIG_ZMBV_ENCODER) += zmbvenc.c
485:
486: AVCODEC_C_FILES-$(CONFIG_PCM_ALAW_DECODER) += pcm.c
487: AVCODEC_C_FILES-$(CONFIG_PCM_ALAW_ENCODER) += pcm.c
488: AVCODEC_C_FILES-$(CONFIG_PCM_BLURAY_DECODER) += pcm-mpeg.c
489: AVCODEC_C_FILES-$(CONFIG_PCM_DVD_DECODER) += pcm.c
490: AVCODEC_C_FILES-$(CONFIG_PCM_DVD_ENCODER) += pcm.c
491: AVCODEC_C_FILES-$(CONFIG_PCM_F32BE_DECODER) += pcm.c
492: AVCODEC_C_FILES-$(CONFIG_PCM_F32BE_ENCODER) += pcm.c
493: AVCODEC_C_FILES-$(CONFIG_PCM_F32LE_DECODER) += pcm.c
494: AVCODEC_C_FILES-$(CONFIG_PCM_F32LE_ENCODER) += pcm.c
495: AVCODEC_C_FILES-$(CONFIG_PCM_F64BE_DECODER) += pcm.c
496: AVCODEC_C_FILES-$(CONFIG_PCM_F64BE_ENCODER) += pcm.c
497: AVCODEC_C_FILES-$(CONFIG_PCM_F64LE_DECODER) += pcm.c
498: AVCODEC_C_FILES-$(CONFIG_PCM_F64LE_ENCODER) += pcm.c
499: AVCODEC_C_FILES-$(CONFIG_PCM_LXF_DECODER) += pcm.c
500: AVCODEC_C_FILES-$(CONFIG_PCM_MULAW_DECODER) += pcm.c
501: AVCODEC_C_FILES-$(CONFIG_PCM_MULAW_ENCODER) += pcm.c
502: AVCODEC_C_FILES-$(CONFIG_PCM_S8_DECODER) += pcm.c
503: AVCODEC_C_FILES-$(CONFIG_PCM_S8_ENCODER) += pcm.c
504: AVCODEC_C_FILES-$(CONFIG_PCM_S16BE_DECODER) += pcm.c
505: AVCODEC_C_FILES-$(CONFIG_PCM_S16BE_ENCODER) += pcm.c
506: AVCODEC_C_FILES-$(CONFIG_PCM_S16LE_DECODER) += pcm.c
507: AVCODEC_C_FILES-$(CONFIG_PCM_S16LE_ENCODER) += pcm.c
508: AVCODEC_C_FILES-$(CONFIG_PCM_S16LE_PLANAR_DECODER) += pcm.c
509: AVCODEC_C_FILES-$(CONFIG_PCM_S24BE_DECODER) += pcm.c
510: AVCODEC_C_FILES-$(CONFIG_PCM_S24BE_ENCODER) += pcm.c
511: AVCODEC_C_FILES-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.c
512: AVCODEC_C_FILES-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.c
513: AVCODEC_C_FILES-$(CONFIG_PCM_S24LE_DECODER) += pcm.c
514: AVCODEC_C_FILES-$(CONFIG_PCM_S24LE_ENCODER) += pcm.c
515: AVCODEC_C_FILES-$(CONFIG_PCM_S32BE_DECODER) += pcm.c
516: AVCODEC_C_FILES-$(CONFIG_PCM_S32BE_ENCODER) += pcm.c
517: AVCODEC_C_FILES-$(CONFIG_PCM_S32LE_DECODER) += pcm.c
518: AVCODEC_C_FILES-$(CONFIG_PCM_S32LE_ENCODER) += pcm.c
519: AVCODEC_C_FILES-$(CONFIG_PCM_U8_DECODER) += pcm.c
520: AVCODEC_C_FILES-$(CONFIG_PCM_U8_ENCODER) += pcm.c
521: AVCODEC_C_FILES-$(CONFIG_PCM_U16BE_DECODER) += pcm.c
522: AVCODEC_C_FILES-$(CONFIG_PCM_U16BE_ENCODER) += pcm.c
523: AVCODEC_C_FILES-$(CONFIG_PCM_U16LE_DECODER) += pcm.c
524: AVCODEC_C_FILES-$(CONFIG_PCM_U16LE_ENCODER) += pcm.c
525: AVCODEC_C_FILES-$(CONFIG_PCM_U24BE_DECODER) += pcm.c
526: AVCODEC_C_FILES-$(CONFIG_PCM_U24BE_ENCODER) += pcm.c
527: AVCODEC_C_FILES-$(CONFIG_PCM_U24LE_DECODER) += pcm.c
528: AVCODEC_C_FILES-$(CONFIG_PCM_U24LE_ENCODER) += pcm.c
529: AVCODEC_C_FILES-$(CONFIG_PCM_U32BE_DECODER) += pcm.c
530: AVCODEC_C_FILES-$(CONFIG_PCM_U32BE_ENCODER) += pcm.c
531: AVCODEC_C_FILES-$(CONFIG_PCM_U32LE_DECODER) += pcm.c
532: AVCODEC_C_FILES-$(CONFIG_PCM_U32LE_ENCODER) += pcm.c
533: AVCODEC_C_FILES-$(CONFIG_PCM_ZORK_DECODER) += pcm.c
534: AVCODEC_C_FILES-$(CONFIG_PCM_ZORK_ENCODER) += pcm.c
535:
536: AVCODEC_C_FILES-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.c
537: AVCODEC_C_FILES-$(CONFIG_ADPCM_ADX_DECODER) += adxdec.c
538: AVCODEC_C_FILES-$(CONFIG_ADPCM_ADX_ENCODER) += adxenc.c
539: AVCODEC_C_FILES-$(CONFIG_ADPCM_CT_DECODER) += adpcm.c
540: AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_DECODER) += adpcm.c
541: AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER) += adpcm.c
542: AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_R1_DECODER) += adpcm.c
543: AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_R2_DECODER) += adpcm.c
544: AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_R3_DECODER) += adpcm.c
545: AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_XAS_DECODER) += adpcm.c
546: AVCODEC_C_FILES-$(CONFIG_ADPCM_G722_DECODER) += g722.c
547: AVCODEC_C_FILES-$(CONFIG_ADPCM_G722_ENCODER) += g722.c
548: AVCODEC_C_FILES-$(CONFIG_ADPCM_G726_DECODER) += g726.c
549: AVCODEC_C_FILES-$(CONFIG_ADPCM_G726_ENCODER) += g726.c
550: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_AMV_DECODER) += adpcm.c
551: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.c
552: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.c
553: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER) += adpcm.c
554: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER) += adpcm.c
555: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_ISS_DECODER) += adpcm.c
556: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.c
557: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_QT_ENCODER) += adpcm.c
558: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.c
559: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.c
560: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcm.c
561: AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.c
562: AVCODEC_C_FILES-$(CONFIG_ADPCM_MS_DECODER) += adpcm.c
563: AVCODEC_C_FILES-$(CONFIG_ADPCM_MS_ENCODER) += adpcm.c
564: AVCODEC_C_FILES-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.c
565: AVCODEC_C_FILES-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.c
566: AVCODEC_C_FILES-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.c
567: AVCODEC_C_FILES-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.c
568: AVCODEC_C_FILES-$(CONFIG_ADPCM_SWF_ENCODER) += adpcm.c
569: AVCODEC_C_FILES-$(CONFIG_ADPCM_THP_DECODER) += adpcm.c
570: AVCODEC_C_FILES-$(CONFIG_ADPCM_XA_DECODER) += adpcm.c
571: AVCODEC_C_FILES-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.c
572: AVCODEC_C_FILES-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.c
573:
574: AVCODEC_C_FILES-$(CONFIG_ADTS_MUXER) += mpeg4audio.c
575: AVCODEC_C_FILES-$(CONFIG_CAF_DEMUXER) += mpeg4audio.c mpegaudiodata.c
576: AVCODEC_C_FILES-$(CONFIG_DV_DEMUXER) += dvdata.c
577: AVCODEC_C_FILES-$(CONFIG_DV_MUXER) += dvdata.c
578: AVCODEC_C_FILES-$(CONFIG_FLAC_DEMUXER) += flacdec.c flacdata.c flac.c vorbis_data.c
579: AVCODEC_C_FILES-$(CONFIG_FLAC_MUXER) += flacdec.c flacdata.c flac.c vorbis_data.c
580: AVCODEC_C_FILES-$(CONFIG_FLV_DEMUXER) += mpeg4audio.c
581: AVCODEC_C_FILES-$(CONFIG_GXF_DEMUXER) += mpeg12data.c
582: AVCODEC_C_FILES-$(CONFIG_IFF_DEMUXER) += iff.c
583: AVCODEC_C_FILES-$(CONFIG_MATROSKA_AUDIO_MUXER) += xiph.c mpeg4audio.c vorbis_data.c \
584:     flacdec.c flacdata.c flac.c
585: AVCODEC_C_FILES-$(CONFIG_MATROSKA_DEMUXER) += mpeg4audio.c mpegaudiodata.c
586: AVCODEC_C_FILES-$(CONFIG_MATROSKA_MUXER) += xiph.c mpeg4audio.c \
587:     flacdec.c flacdata.c flac.c \
588:     mpegaudiodata.c vorbis_data.c
589: AVCODEC_C_FILES-$(CONFIG_MOV_DEMUXER) += mpeg4audio.c mpegaudiodata.c
590: AVCODEC_C_FILES-$(CONFIG_MOV_MUXER) += mpeg4audio.c mpegaudiodata.c
591: AVCODEC_C_FILES-$(CONFIG_MPEGTS_MUXER) += mpegvideo.c mpeg4audio.c
592: AVCODEC_C_FILES-$(CONFIG_MPEGTS_DEMUXER) += mpeg4audio.c mpegaudiodata.c
593: AVCODEC_C_FILES-$(CONFIG_NUT_MUXER) += mpegaudiodata.c
594: AVCODEC_C_FILES-$(CONFIG_OGG_DEMUXER) += flacdec.c flacdata.c flac.c \
595:     dirac.c mpeg12data.c vorbis_data.c
596: AVCODEC_C_FILES-$(CONFIG_OGG_MUXER) += xiph.c flacdec.c flacdata.c flac.c \
597:     vorbis_data.c
598: AVCODEC_C_FILES-$(CONFIG_RTP_MUXER) += mpeg4audio.c mpegvideo.c xiph.c
599: AVCODEC_C_FILES-$(CONFIG_SPDIF_DEMUXER) += aacadtsdec.c mpeg4audio.c
600: AVCODEC_C_FILES-$(CONFIG_WEBM_MUXER) += xiph.c mpeg4audio.c \
601:     flacdec.c flacdata.c flac.c \
602:     mpegaudiodata.c vorbis_data.c
603: AVCODEC_C_FILES-$(CONFIG_WTV_DEMUXER) += mpeg4audio.c mpegaudiodata.c
604:
605: AVCODEC_C_FILES-$(CONFIG_LIBCELT_DECODER) += libcelt_dec.c
606: AVCODEC_C_FILES-$(CONFIG_LIBDIRAC_DECODER) += libdiracdec.c
607: AVCODEC_C_FILES-$(CONFIG_LIBDIRAC_ENCODER) += libdiracenc.c libdirac_libschro.c
608: AVCODEC_C_FILES-$(CONFIG_LIBFAAC_ENCODER) += libfaac.c
609: AVCODEC_C_FILES-$(CONFIG_LIBGSM_DECODER) += libgsm.c
610: AVCODEC_C_FILES-$(CONFIG_LIBGSM_ENCODER) += libgsm.c
611: AVCODEC_C_FILES-$(CONFIG_LIBGSM_MS_DECODER) += libgsm.c
612: AVCODEC_C_FILES-$(CONFIG_LIBGSM_MS_ENCODER) += libgsm.c
613: AVCODEC_C_FILES-$(CONFIG_LIBMP3LAME_ENCODER) += libmp3lame.c
614: AVCODEC_C_FILES-$(CONFIG_LIBOPENCORE_AMRNB_DECODER) += libopencore-amr.c
615: AVCODEC_C_FILES-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER) += libopencore-amr.c
616: AVCODEC_C_FILES-$(CONFIG_LIBOPENCORE_AMRWB_DECODER) += libopencore-amr.c
617: AVCODEC_C_FILES-$(CONFIG_LIBOPENJPEG_DECODER) += libopenjpeg.c
618: AVCODEC_C_FILES-$(CONFIG_LIBSCHROEDINGER_DECODER) += libschroedingerdec.c \
619:     libschroedinger.c \
620:     libdirac_libschro.c
621: AVCODEC_C_FILES-$(CONFIG_LIBSCHROEDINGER_ENCODER) += libschroedingerenc.c \
622:     libschroedinger.c \
623:     libdirac_libschro.c
624: AVCODEC_C_FILES-$(CONFIG_LIBSPEEX_DECODER) += libspeexdec.c
625: AVCODEC_C_FILES-$(CONFIG_LIBTHEORA_ENCODER) += libtheoraenc.c
626: AVCODEC_C_FILES-$(CONFIG_LIBVO_AACENC_ENCODER) += libvo-aacenc.c mpeg4audio.c
627: AVCODEC_C_FILES-$(CONFIG_LIBVO_AMRWBENC_ENCODER) += libvo-amrwbenc.c
628: AVCODEC_C_FILES-$(CONFIG_LIBVORBIS_ENCODER) += libvorbis.c vorbis_data.c
629: AVCODEC_C_FILES-$(CONFIG_LIBVPX_DECODER) += libvpxdec.c
630: AVCODEC_C_FILES-$(CONFIG_LIBVPX_ENCODER) += libvpxenc.c
631: AVCODEC_C_FILES-$(CONFIG_LIBX264_ENCODER) += libx264.c
632: AVCODEC_C_FILES-$(CONFIG_LIBXAVS_ENCODER) += libxavs.c
633: AVCODEC_C_FILES-$(CONFIG_LIBXVID) += libxvidff.c libxvid_rc.c
634:
635: AVCODEC_C_FILES-$(CONFIG_AAC_PARSER) += aac_parser.c aac_ac3_parser.c \
636:     aacadtsdec.c mpeg4audio.c
637: AVCODEC_C_FILES-$(CONFIG_AC3_PARSER) += ac3_parser.c ac3tab.c \
638:     aac_ac3_parser.c
639: AVCODEC_C_FILES-$(CONFIG_CAVSVIDEO_PARSER) += cavs_parser.c
640: AVCODEC_C_FILES-$(CONFIG_DCA_PARSER) += dca_parser.c
641: AVCODEC_C_FILES-$(CONFIG_DIRAC_PARSER) += dirac_parser.c
642: AVCODEC_C_FILES-$(CONFIG_DNXHD_PARSER) += dnxhd_parser.c
643: AVCODEC_C_FILES-$(CONFIG_DVBSUB_PARSER) += dvbsub_parser.c
644: AVCODEC_C_FILES-$(CONFIG_DVDSUB_PARSER) += dvdsub_parser.c
645: AVCODEC_C_FILES-$(CONFIG_FLAC_PARSER) += flac_parser.c flacdata.c flac.c \
646:     vorbis_data.c
647: AVCODEC_C_FILES-$(CONFIG_H261_PARSER) += h261_parser.c
648: AVCODEC_C_FILES-$(CONFIG_H263_PARSER) += h263_parser.c
649: AVCODEC_C_FILES-$(CONFIG_H264_PARSER) += h264_parser.c h264.c \
650:     cabac.c \
651:     h264_refs.c h264_sei.c h264_direct.c \
652:     h264_loopfilter.c h264_cabac.c \
653:     h264_cavlc.c h264_ps.c \
654:     mpegvideo.c error_resilience.c
655: AVCODEC_C_FILES-$(CONFIG_AAC_LATM_PARSER) += latm_parser.c
656: AVCODEC_C_FILES-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.c
657: AVCODEC_C_FILES-$(CONFIG_MLP_PARSER) += mlp_parser.c mlp.c
658: AVCODEC_C_FILES-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.c h263.c \
659:     mpegvideo.c error_resilience.c \
660:     mpeg4videodec.c mpeg4video.c \
661:     ituh263dec.c h263dec.c
662: AVCODEC_C_FILES-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.c \
663:     mpegaudiodecheader.c mpegaudiodata.c
664: AVCODEC_C_FILES-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.c \
665:     mpeg12.c mpeg12data.c \
666:     mpegvideo.c error_resilience.c
667: AVCODEC_C_FILES-$(CONFIG_PNM_PARSER) += pnm_parser.c pnm.c
668: AVCODEC_C_FILES-$(CONFIG_VC1_PARSER) += vc1_parser.c vc1.c vc1data.c \
669:     msmpeg4.c msmpeg4data.c mpeg4video.c \
670:     h263.c mpegvideo.c error_resilience.c
671: AVCODEC_C_FILES-$(CONFIG_VP3_PARSER) += vp3_parser.c
672: AVCODEC_C_FILES-$(CONFIG_VP8_PARSER) += vp8_parser.c
673:
674: AVCODEC_C_FILES-$(CONFIG_AAC_ADTSTOASC_BSF) += aac_adtstoasc_bsf.c aacadtsdec.c \
675:     mpeg4audio.c
676: AVCODEC_C_FILES-$(CONFIG_CHOMP_BSF) += chomp_bsf.c
677: AVCODEC_C_FILES-$(CONFIG_DUMP_EXTRADATA_BSF) += dump_extradata_bsf.c
678: AVCODEC_C_FILES-$(CONFIG_H264_MP4TOANNEXB_BSF) += h264_mp4toannexb_bsf.c
679: AVCODEC_C_FILES-$(CONFIG_IMX_DUMP_HEADER_BSF) += imx_dump_header_bsf.c
680: AVCODEC_C_FILES-$(CONFIG_MJPEG2JPEG_BSF) += mjpeg2jpeg_bsf.c mjpeg.c
681: AVCODEC_C_FILES-$(CONFIG_MJPEGA_DUMP_HEADER_BSF) += mjpega_dump_header_bsf.c
682: AVCODEC_C_FILES-$(CONFIG_MOV2TEXTSUB_BSF) += movsub_bsf.c
683: AVCODEC_C_FILES-$(CONFIG_MP3_HEADER_COMPRESS_BSF) += mp3_header_compress_bsf.c
684: AVCODEC_C_FILES-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF) += mp3_header_decompress_bsf.c \
685:     mpegaudiodata.c
686: AVCODEC_C_FILES-$(CONFIG_NOISE_BSF) += noise_bsf.c
687: AVCODEC_C_FILES-$(CONFIG_REMOVE_EXTRADATA_BSF) += remove_extradata_bsf.c
688: AVCODEC_C_FILES-$(CONFIG_TEXT2MOVSUB_BSF) += movsub_bsf.c
689:
690: AVCODEC_C_FILES-$(HAVE_PTHREADS) += pthread.c
691: AVCODEC_C_FILES-$(HAVE_W32THREADS) += w32thread.c
692:
693: AVCODEC_C_FILES-$(CONFIG_MLIB) += mlib/dsputil_mlib.c
694:
695: AVCODEC_C_FILES-$(!CONFIG_SMALL) += inverse.c
696:
697: AVCODEC_C_FILES += $(AVCODEC_C_FILES-yes)
698:
699: AVCODEC_SRC_FILES = $(addprefix libavcodec/, $(sort $(AVCODEC_C_FILES)))
700:
701: AVCODEC_ARM_C_FILES-$(CONFIG_AC3DSP) += arm/ac3dsp_init_arm.c \
702:     arm/ac3dsp_arm.S
703:
704: AVCODEC_ARM_C_FILES-$(CONFIG_DCA_DECODER) += arm/dcadsp_init_arm.c \
705:
706: ARMV6-FILES-$(CONFIG_AC3DSP) += arm/ac3dsp_armv6.S
707:
708: AVCODEC_ARM_C_FILES-$(CONFIG_MPEGAUDIODSP) += arm/mpegaudiodsp_init_arm.c
709: ARMV6-FILES-$(CONFIG_MPEGAUDIODSP) += arm/mpegaudiodsp_fixed_armv6.S
710:
711: AVCODEC_ARM_C_FILES-$(CONFIG_VP5_DECODER) += arm/vp56dsp_init_arm.c
712: AVCODEC_ARM_C_FILES-$(CONFIG_VP6_DECODER) += arm/vp56dsp_init_arm.c
713: AVCODEC_ARM_C_FILES-$(CONFIG_VP8_DECODER) += arm/vp8dsp_init_arm.c
714: ARMV6-FILES-$(CONFIG_VP8_DECODER) += arm/vp8_armv6.S
715:
716: AVCODEC_ARM_C_FILES-$(CONFIG_H264DSP) += arm/h264dsp_init_arm.c
717: AVCODEC_ARM_C_FILES-$(CONFIG_H264PRED) += arm/h264pred_init_arm.c
718:
719: AVCODEC_ARM_C_FILES += arm/dsputil_init_arm.c \
720:     arm/dsputil_arm.S \
721:     arm/fft_init_arm.c \
722:     arm/fft_fixed_init_arm.c \
723:     arm/fmtconvert_init_arm.c \
724:     arm/jrevdct_arm.S \
725:     arm/mpegvideo_arm.c \
726:     arm/simple_idct_arm.S \
727:
728: AVCODEC_ARM_C_FILES-$(HAVE_ARMV5TE) += arm/dsputil_init_armv5te.c \
729:     arm/mpegvideo_armv5te.c \
730:     arm/mpegvideo_armv5te_s.S \
731:     arm/simple_idct_armv5te.S \
732:
733: AVCODEC_ARM_C_FILES-$(HAVE_ARMV6) += arm/dsputil_init_armv6.c \
734:     arm/dsputil_armv6.S \
735:     arm/simple_idct_armv6.S \
736:     $(ARMV6-FILES-yes)
737:
738: VFP-FILES-$(HAVE_ARMV6) += arm/fmtconvert_vfp.S \
739:
740: AVCODEC_ARM_C_FILES-$(HAVE_ARMVFP) += arm/dsputil_vfp.S \
741:     arm/dsputil_init_vfp.c \
742:     $(VFP-FILES-yes)
743:
744: AVCODEC_ARM_C_FILES-$(HAVE_IWMMXT) += arm/dsputil_iwmmxt.c \
745:     arm/mpegvideo_iwmmxt.c \
746:
747: NEON-FILES-$(CONFIG_FFT) += arm/fft_neon.S.neon \
748:     arm/fft_fixed_neon.c.neon \
749:
750: NEON-FILES-$(CONFIG_MDCT) += arm/mdct_neon.S.neon \
751:     arm/mdct_fixed_neon.c.neon \
752:
753: NEON-FILES-$(CONFIG_RDFT) += arm/rdft_neon.S.neon \
754:
755: NEON-FILES-$(CONFIG_H264DSP) += arm/h264dsp_neon.S.neon \
756:     arm/h264idct_neon.c.neon \
757:
758: NEON-FILES-$(CONFIG_H264PRED) += arm/h264pred_neon.S.neon \
759:
760: NEON-FILES-$(CONFIG_AC3DSP) += arm/ac3dsp_neon.S.neon
761:
762: NEON-FILES-$(CONFIG_DCA_DECODER) += arm/dcadsp_neon.S.neon \
763:     arm/synth_filter_neon.c.neon \
764:
765: NEON-FILES-$(CONFIG_VP3_DECODER) += arm/vp3dsp_neon.S.neon
766:
767: NEON-FILES-$(CONFIG_VP5_DECODER) += arm/vp56dsp_neon.S.neon \
768:     arm/vp3dsp_neon.c.neon \
769:
770: NEON-FILES-$(CONFIG_VP6_DECODER) += arm/vp56dsp_neon.S.neon \
771:     arm/vp3dsp_neon.c.neon \
772:
773: NEON-FILES-$(CONFIG_VP8_DECODER) += arm/vp8dsp_neon.S.neon
774:
775: AVCODEC_ARM_C_FILES-$(HAVE_NEON) += arm/dsputil_init_neon.c.neon \
776:     arm/dsputil_neon.S.neon \
777:     arm/fmtconvert_neon.S.neon \
778:     arm/int_neon.S.neon \
779:     arm/mpegvideo_neon.S.neon \
780:     arm/simple_idct_neon.S.neon \
781:     $(NEON-FILES-yes)
782:
783: AVCODEC_ARM_C_FILES += $(AVCODEC_ARM_C_FILES-yes)
784:
785: AVCODEC_ARM_SRC_FILES = $(addprefix libavcodec/, $(sort $(AVCODEC_ARM_C_FILES)))
786:
787: AVFORMAT_C_FILES = allformats.c \
788:     cutils.c \
789:     id3v1.c \
790:     id3v2.c \
791:     metadata.c \
792:     metadata_compat.c \
793:     options.c \
794:     os_support.c \
795:     sdp.c \
796:     seek.c \
797:     utils.c \
798:
799: AVFORMAT_C_FILES-$(CONFIG_A64_MUXER) += a64.c
800: AVFORMAT_C_FILES-$(CONFIG_AAC_DEMUXER) += aacdec.c rawdec.c
801: AVFORMAT_C_FILES-$(CONFIG_AC3_DEMUXER) += ac3dec.c rawdec.c
802: AVFORMAT_C_FILES-$(CONFIG_AC3_MUXER) += rawenc.c
803: AVFORMAT_C_FILES-$(CONFIG_ADTS_MUXER) += adtsenc.c
804: AVFORMAT_C_FILES-$(CONFIG_AEA_DEMUXER) += aea.c pcm.c
805: AVFORMAT_C_FILES-$(CONFIG_AIFF_DEMUXER) += aiffdec.c riff.c pcm.c isom.c
806: AVFORMAT_C_FILES-$(CONFIG_AIFF_MUXER) += aiffenc.c riff.c isom.c
807: AVFORMAT_C_FILES-$(CONFIG_AMR_DEMUXER) += amr.c
808: AVFORMAT_C_FILES-$(CONFIG_AMR_MUXER) += amr.c
809: AVFORMAT_C_FILES-$(CONFIG_ANM_DEMUXER) += anm.c
810: AVFORMAT_C_FILES-$(CONFIG_APC_DEMUXER) += apc.c
811: AVFORMAT_C_FILES-$(CONFIG_APE_DEMUXER) += ape.c apetag.c
812: AVFORMAT_C_FILES-$(CONFIG_APPLEHTTP_DEMUXER) += applehttp.c
813: AVFORMAT_C_FILES-$(CONFIG_ASF_DEMUXER) += asfdec.c asf.c asfcrypt.c \
814:     riff.c avlanguage.c
815: AVFORMAT_C_FILES-$(CONFIG_ASF_MUXER) += asfenc.c asf.c riff.c
816: AVFORMAT_C_FILES-$(CONFIG_ASS_DEMUXER) += assdec.c
817: AVFORMAT_C_FILES-$(CONFIG_ASS_MUXER) += assenc.c
818: AVFORMAT_C_FILES-$(CONFIG_AU_DEMUXER) += au.c pcm.c
819: AVFORMAT_C_FILES-$(CONFIG_AU_MUXER) += au.c
820: AVFORMAT_C_FILES-$(CONFIG_AVI_DEMUXER) += avidec.c riff.c avi.c
821: AVFORMAT_C_FILES-$(CONFIG_AVI_MUXER) += avienc.c riff.c avi.c
822: AVFORMAT_C_FILES-$(CONFIG_AVISYNTH) += avisynth.c
823: AVFORMAT_C_FILES-$(CONFIG_AVM2_MUXER) += swfenc.c
824: AVFORMAT_C_FILES-$(CONFIG_AVS_DEMUXER) += avs.c vocdec.c voc.c
825: AVFORMAT_C_FILES-$(CONFIG_BETHSOFTVID_DEMUXER) += bethsoftvid.c
826: AVFORMAT_C_FILES-$(CONFIG_BFI_DEMUXER) += bfi.c
827: AVFORMAT_C_FILES-$(CONFIG_BINK_DEMUXER) += bink.c
828: AVFORMAT_C_FILES-$(CONFIG_C93_DEMUXER) += c93.c vocdec.c voc.c
829: AVFORMAT_C_FILES-$(CONFIG_CAF_DEMUXER) += cafdec.c caf.c mov.c riff.c isom.c
830: AVFORMAT_C_FILES-$(CONFIG_CAF_MUXER) += cafenc.c caf.c riff.c isom.c
831: AVFORMAT_C_FILES-$(CONFIG_CAVSVIDEO_DEMUXER) += cavsvideodec.c rawdec.c
832: AVFORMAT_C_FILES-$(CONFIG_CAVSVIDEO_MUXER) += rawenc.c
833: AVFORMAT_C_FILES-$(CONFIG_CDG_DEMUXER) += cdg.c
834: AVFORMAT_C_FILES-$(CONFIG_CRC_MUXER) += crcenc.c
835: AVFORMAT_C_FILES-$(CONFIG_DAUD_DEMUXER) += daud.c
836: AVFORMAT_C_FILES-$(CONFIG_DAUD_MUXER) += daud.c
837: AVFORMAT_C_FILES-$(CONFIG_DFA_DEMUXER) += dfa.c
838: AVFORMAT_C_FILES-$(CONFIG_DIRAC_DEMUXER) += diracdec.c rawdec.c
839: AVFORMAT_C_FILES-$(CONFIG_DIRAC_MUXER) += rawenc.c
840: AVFORMAT_C_FILES-$(CONFIG_DNXHD_DEMUXER) += dnxhddec.c rawdec.c
841: AVFORMAT_C_FILES-$(CONFIG_DNXHD_MUXER) += rawenc.c
842: AVFORMAT_C_FILES-$(CONFIG_DSICIN_DEMUXER) += dsicin.c
843: AVFORMAT_C_FILES-$(CONFIG_DTS_DEMUXER) += dtsdec.c rawdec.c
844: AVFORMAT_C_FILES-$(CONFIG_DTS_MUXER) += rawenc.c
845: AVFORMAT_C_FILES-$(CONFIG_DV_DEMUXER) += dv.c
846: AVFORMAT_C_FILES-$(CONFIG_DV_MUXER) += dvenc.c
847: AVFORMAT_C_FILES-$(CONFIG_DXA_DEMUXER) += dxa.c riff.c
848: AVFORMAT_C_FILES-$(CONFIG_EA_CDATA_DEMUXER) += eacdata.c
849: AVFORMAT_C_FILES-$(CONFIG_EA_DEMUXER) += electronicarts.c
850: AVFORMAT_C_FILES-$(CONFIG_EAC3_DEMUXER) += ac3dec.c rawdec.c
851: AVFORMAT_C_FILES-$(CONFIG_EAC3_MUXER) += rawenc.c
852: AVFORMAT_C_FILES-$(CONFIG_FFM_DEMUXER) += ffmdec.c
853: AVFORMAT_C_FILES-$(CONFIG_FFM_MUXER) += ffmenc.c
854: AVFORMAT_C_FILES-$(CONFIG_FFMETADATA_DEMUXER) += ffmetadec.c
855: AVFORMAT_C_FILES-$(CONFIG_FFMETADATA_MUXER) += ffmetaenc.c
856: AVFORMAT_C_FILES-$(CONFIG_FILMSTRIP_DEMUXER) += filmstripdec.c
857: AVFORMAT_C_FILES-$(CONFIG_FILMSTRIP_MUXER) += filmstripenc.c
858: AVFORMAT_C_FILES-$(CONFIG_FLAC_DEMUXER) += flacdec.c rawdec.c \
859:     oggparsevorbis.c \
860:     vorbiscomment.c
861: AVFORMAT_C_FILES-$(CONFIG_FLAC_MUXER) += flacenc.c flacenc_header.c \
862:     vorbiscomment.c
863: AVFORMAT_C_FILES-$(CONFIG_FLIC_DEMUXER) += flic.c
864: AVFORMAT_C_FILES-$(CONFIG_FLV_DEMUXER) += flvdec.c
865: AVFORMAT_C_FILES-$(CONFIG_FLV_MUXER) += flvenc.c avc.c
866: AVFORMAT_C_FILES-$(CONFIG_FOURXM_DEMUXER) += 4xm.c
867: AVFORMAT_C_FILES-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.c
868: AVFORMAT_C_FILES-$(CONFIG_FRAMEMD5_MUXER) += md5enc.c
869: AVFORMAT_C_FILES-$(CONFIG_GIF_MUXER) += gif.c
870: AVFORMAT_C_FILES-$(CONFIG_GSM_DEMUXER) += rawdec.c
871: AVFORMAT_C_FILES-$(CONFIG_GXF_DEMUXER) += gxf.c
872: AVFORMAT_C_FILES-$(CONFIG_GXF_MUXER) += gxfenc.c audiointerleave.c
873: AVFORMAT_C_FILES-$(CONFIG_G722_DEMUXER) += rawdec.c
874: AVFORMAT_C_FILES-$(CONFIG_G722_MUXER) += rawenc.c
875: AVFORMAT_C_FILES-$(CONFIG_H261_DEMUXER) += h261dec.c rawdec.c
876: AVFORMAT_C_FILES-$(CONFIG_H261_MUXER) += rawenc.c
877: AVFORMAT_C_FILES-$(CONFIG_H263_DEMUXER) += h263dec.c rawdec.c
878: AVFORMAT_C_FILES-$(CONFIG_H263_MUXER) += rawenc.c
879: AVFORMAT_C_FILES-$(CONFIG_H264_DEMUXER) += h264dec.c rawdec.c
880: AVFORMAT_C_FILES-$(CONFIG_H264_MUXER) += rawenc.c
881: AVFORMAT_C_FILES-$(CONFIG_IDCIN_DEMUXER) += idcin.c
882: AVFORMAT_C_FILES-$(CONFIG_IFF_DEMUXER) += iff.c
883: AVFORMAT_C_FILES-$(CONFIG_IMAGE2_DEMUXER) += img2.c
884: AVFORMAT_C_FILES-$(CONFIG_IMAGE2_MUXER) += img2.c
885: AVFORMAT_C_FILES-$(CONFIG_IMAGE2PIPE_DEMUXER) += img2.c
886: AVFORMAT_C_FILES-$(CONFIG_IMAGE2PIPE_MUXER) += img2.c
887: AVFORMAT_C_FILES-$(CONFIG_INGENIENT_DEMUXER) += ingenientdec.c rawdec.c
888: AVFORMAT_C_FILES-$(CONFIG_IPMOVIE_DEMUXER) += ipmovie.c
889: AVFORMAT_C_FILES-$(CONFIG_ISS_DEMUXER) += iss.c
890: AVFORMAT_C_FILES-$(CONFIG_IV8_DEMUXER) += iv8.c
891: AVFORMAT_C_FILES-$(CONFIG_IVF_DEMUXER) += ivfdec.c riff.c
892: AVFORMAT_C_FILES-$(CONFIG_IVF_MUXER) += ivfenc.c
893: AVFORMAT_C_FILES-$(CONFIG_JV_DEMUXER) += jvdec.c
894: AVFORMAT_C_FILES-$(CONFIG_LMLM4_DEMUXER) += lmlm4.c
895: AVFORMAT_C_FILES-$(CONFIG_LXF_DEMUXER) += lxfdec.c
896: AVFORMAT_C_FILES-$(CONFIG_M4V_DEMUXER) += m4vdec.c rawdec.c
897: AVFORMAT_C_FILES-$(CONFIG_M4V_MUXER) += rawenc.c
898: AVFORMAT_C_FILES-$(CONFIG_MATROSKA_DEMUXER) += matroskadec.c matroska.c \
899:     riff.c isom.c rmdec.c rm.c
900: AVFORMAT_C_FILES-$(CONFIG_MATROSKA_MUXER) += matroskaenc.c matroska.c \
901:     riff.c isom.c avc.c \
902:     flacenc_header.c avlanguage.c
903: AVFORMAT_C_FILES-$(CONFIG_MD5_MUXER) += md5enc.c
904: AVFORMAT_C_FILES-$(CONFIG_MICRODVD_DEMUXER) += microdvddec.c
905: AVFORMAT_C_FILES-$(CONFIG_MICRODVD_MUXER) += microdvdenc.c rawenc.c
906: AVFORMAT_C_FILES-$(CONFIG_MJPEG_DEMUXER) += rawdec.c
907: AVFORMAT_C_FILES-$(CONFIG_MJPEG_MUXER) += rawenc.c
908: AVFORMAT_C_FILES-$(CONFIG_MLP_DEMUXER) += rawdec.c
909: AVFORMAT_C_FILES-$(CONFIG_MLP_MUXER) += rawenc.c
910: AVFORMAT_C_FILES-$(CONFIG_MM_DEMUXER) += mm.c
911: AVFORMAT_C_FILES-$(CONFIG_MMF_DEMUXER) += mmf.c pcm.c
912: AVFORMAT_C_FILES-$(CONFIG_MMF_MUXER) += mmf.c riff.c
913: AVFORMAT_C_FILES-$(CONFIG_MOV_DEMUXER) += mov.c riff.c isom.c
914: AVFORMAT_C_FILES-$(CONFIG_MOV_MUXER) += movenc.c riff.c isom.c avc.c \
915:     movenchint.c rtpenc_chain.c
916: AVFORMAT_C_FILES-$(CONFIG_MP2_MUXER) += mp3enc.c rawenc.c
917: AVFORMAT_C_FILES-$(CONFIG_MP3_DEMUXER) += mp3dec.c
918: AVFORMAT_C_FILES-$(CONFIG_MP3_MUXER) += mp3enc.c rawenc.c
919: AVFORMAT_C_FILES-$(CONFIG_MPC_DEMUXER) += mpc.c apetag.c
920: AVFORMAT_C_FILES-$(CONFIG_MPC8_DEMUXER) += mpc8.c
921: AVFORMAT_C_FILES-$(CONFIG_MPEG1SYSTEM_MUXER) += mpegenc.c
922: AVFORMAT_C_FILES-$(CONFIG_MPEG1VCD_MUXER) += mpegenc.c
923: AVFORMAT_C_FILES-$(CONFIG_MPEG2DVD_MUXER) += mpegenc.c
924: AVFORMAT_C_FILES-$(CONFIG_MPEG2VOB_MUXER) += mpegenc.c
925: AVFORMAT_C_FILES-$(CONFIG_MPEG2SVCD_MUXER) += mpegenc.c
926: AVFORMAT_C_FILES-$(CONFIG_MPEG1VIDEO_MUXER) += rawenc.c
927: AVFORMAT_C_FILES-$(CONFIG_MPEG2VIDEO_MUXER) += rawenc.c
928: AVFORMAT_C_FILES-$(CONFIG_MPEGPS_DEMUXER) += mpeg.c
929: AVFORMAT_C_FILES-$(CONFIG_MPEGTS_DEMUXER) += mpegts.c isom.c
930: AVFORMAT_C_FILES-$(CONFIG_MPEGTS_MUXER) += mpegtsenc.c adtsenc.c
931: AVFORMAT_C_FILES-$(CONFIG_MPEGVIDEO_DEMUXER) += mpegvideodec.c rawdec.c
932: AVFORMAT_C_FILES-$(CONFIG_MPJPEG_MUXER) += mpjpeg.c
933: AVFORMAT_C_FILES-$(CONFIG_MSNWC_TCP_DEMUXER) += msnwc_tcp.c
934: AVFORMAT_C_FILES-$(CONFIG_MTV_DEMUXER) += mtv.c
935: AVFORMAT_C_FILES-$(CONFIG_MVI_DEMUXER) += mvi.c
936: AVFORMAT_C_FILES-$(CONFIG_MXF_DEMUXER) += mxfdec.c mxf.c
937: AVFORMAT_C_FILES-$(CONFIG_MXF_MUXER) += mxfenc.c mxf.c audiointerleave.c
938: AVFORMAT_C_FILES-$(CONFIG_MXG_DEMUXER) += mxg.c
939: AVFORMAT_C_FILES-$(CONFIG_NC_DEMUXER) += ncdec.c
940: AVFORMAT_C_FILES-$(CONFIG_NSV_DEMUXER) += nsvdec.c
941: AVFORMAT_C_FILES-$(CONFIG_NULL_MUXER) += nullenc.c
942: AVFORMAT_C_FILES-$(CONFIG_NUT_DEMUXER) += nutdec.c nut.c riff.c
943: AVFORMAT_C_FILES-$(CONFIG_NUT_MUXER) += nutenc.c nut.c riff.c
944: AVFORMAT_C_FILES-$(CONFIG_NUV_DEMUXER) += nuv.c riff.c
945: AVFORMAT_C_FILES-$(CONFIG_OGG_DEMUXER) += oggdec.c \
946:     oggparsecelt.c \
947:     oggparsedirac.c \
948:     oggparseflac.c \
949:     oggparseogm.c \
950:     oggparseskeleton.c \
951:     oggparsespeex.c \
952:     oggparsetheora.c \
953:     oggparsevorbis.c \
954:     riff.c \
955:     vorbiscomment.c
956: AVFORMAT_C_FILES-$(CONFIG_OGG_MUXER) += oggenc.c \
957:     vorbiscomment.c
958: AVFORMAT_C_FILES-$(CONFIG_OMA_DEMUXER) += oma.c pcm.c
959: AVFORMAT_C_FILES-$(CONFIG_PCM_ALAW_DEMUXER) += pcmdec.c pcm.c rawdec.c
960: AVFORMAT_C_FILES-$(CONFIG_PCM_ALAW_MUXER) += pcmenc.c rawenc.c
961: AVFORMAT_C_FILES-$(CONFIG_PCM_F32BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
962: AVFORMAT_C_FILES-$(CONFIG_PCM_F32BE_MUXER) += pcmenc.c rawenc.c
963: AVFORMAT_C_FILES-$(CONFIG_PCM_F32LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
964: AVFORMAT_C_FILES-$(CONFIG_PCM_F32LE_MUXER) += pcmenc.c rawenc.c
965: AVFORMAT_C_FILES-$(CONFIG_PCM_F64BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
966: AVFORMAT_C_FILES-$(CONFIG_PCM_F64BE_MUXER) += pcmenc.c rawenc.c
967: AVFORMAT_C_FILES-$(CONFIG_PCM_F64LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
968: AVFORMAT_C_FILES-$(CONFIG_PCM_F64LE_MUXER) += pcmenc.c rawenc.c
969: AVFORMAT_C_FILES-$(CONFIG_PCM_MULAW_DEMUXER) += pcmdec.c pcm.c rawdec.c
970: AVFORMAT_C_FILES-$(CONFIG_PCM_MULAW_MUXER) += pcmenc.c rawenc.c
971: AVFORMAT_C_FILES-$(CONFIG_PCM_S16BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
972: AVFORMAT_C_FILES-$(CONFIG_PCM_S16BE_MUXER) += pcmenc.c rawenc.c
973: AVFORMAT_C_FILES-$(CONFIG_PCM_S16LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
974: AVFORMAT_C_FILES-$(CONFIG_PCM_S16LE_MUXER) += pcmenc.c rawenc.c
975: AVFORMAT_C_FILES-$(CONFIG_PCM_S24BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
976: AVFORMAT_C_FILES-$(CONFIG_PCM_S24BE_MUXER) += pcmenc.c rawenc.c
977: AVFORMAT_C_FILES-$(CONFIG_PCM_S24LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
978: AVFORMAT_C_FILES-$(CONFIG_PCM_S24LE_MUXER) += pcmenc.c rawenc.c
979: AVFORMAT_C_FILES-$(CONFIG_PCM_S32BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
980: AVFORMAT_C_FILES-$(CONFIG_PCM_S32BE_MUXER) += pcmenc.c rawenc.c
981: AVFORMAT_C_FILES-$(CONFIG_PCM_S32LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
982: AVFORMAT_C_FILES-$(CONFIG_PCM_S32LE_MUXER) += pcmenc.c rawenc.c
983: AVFORMAT_C_FILES-$(CONFIG_PCM_S8_DEMUXER) += pcmdec.c pcm.c rawdec.c
984: AVFORMAT_C_FILES-$(CONFIG_PCM_S8_MUXER) += pcmenc.c rawenc.c
985: AVFORMAT_C_FILES-$(CONFIG_PCM_U16BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
986: AVFORMAT_C_FILES-$(CONFIG_PCM_U16BE_MUXER) += pcmenc.c rawenc.c
987: AVFORMAT_C_FILES-$(CONFIG_PCM_U16LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
988: AVFORMAT_C_FILES-$(CONFIG_PCM_U16LE_MUXER) += pcmenc.c rawenc.c
989: AVFORMAT_C_FILES-$(CONFIG_PCM_U24BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
990: AVFORMAT_C_FILES-$(CONFIG_PCM_U24BE_MUXER) += pcmenc.c rawenc.c
991: AVFORMAT_C_FILES-$(CONFIG_PCM_U24LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
992: AVFORMAT_C_FILES-$(CONFIG_PCM_U24LE_MUXER) += pcmenc.c rawenc.c
993: AVFORMAT_C_FILES-$(CONFIG_PCM_U32BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
994: AVFORMAT_C_FILES-$(CONFIG_PCM_U32BE_MUXER) += pcmenc.c rawenc.c
995: AVFORMAT_C_FILES-$(CONFIG_PCM_U32LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
996: AVFORMAT_C_FILES-$(CONFIG_PCM_U32LE_MUXER) += pcmenc.c rawenc.c
997: AVFORMAT_C_FILES-$(CONFIG_PCM_U8_DEMUXER) += pcmdec.c pcm.c rawdec.c
998: AVFORMAT_C_FILES-$(CONFIG_PCM_U8_MUXER) += pcmenc.c rawenc.c
999: AVFORMAT_C_FILES-$(CONFIG_PMP_DEMUXER) += pmpdec.c
1000: AVFORMAT_C_FILES-$(CONFIG_PVA_DEMUXER) += pva.c
1001: AVFORMAT_C_FILES-$(CONFIG_QCP_DEMUXER) += qcp.c
1002: AVFORMAT_C_FILES-$(CONFIG_R3D_DEMUXER) += r3d.c
1003: AVFORMAT_C_FILES-$(CONFIG_RAWVIDEO_DEMUXER) += rawvideodec.c rawdec.c
1004: AVFORMAT_C_FILES-$(CONFIG_RAWVIDEO_MUXER) += rawenc.c
1005: AVFORMAT_C_FILES-$(CONFIG_RL2_DEMUXER) += rl2.c
1006: AVFORMAT_C_FILES-$(CONFIG_RM_DEMUXER) += rmdec.c rm.c
1007: AVFORMAT_C_FILES-$(CONFIG_RM_MUXER) += rmenc.c rm.c
1008: AVFORMAT_C_FILES-$(CONFIG_ROQ_DEMUXER) += idroqdec.c
1009: AVFORMAT_C_FILES-$(CONFIG_ROQ_MUXER) += idroqenc.c rawenc.c
1010: AVFORMAT_C_FILES-$(CONFIG_RSO_DEMUXER) += rsodec.c rso.c pcm.c
1011: AVFORMAT_C_FILES-$(CONFIG_RSO_MUXER) += rsoenc.c rso.c
1012: AVFORMAT_C_FILES-$(CONFIG_RPL_DEMUXER) += rpl.c
1013: AVFORMAT_C_FILES-$(CONFIG_RTP_MUXER) += rtp.c \
1014:     rtpenc_aac.c \
1015:     rtpenc_latm.c \
1016:     rtpenc_amr.c \
1017:     rtpenc_h263.c \
1018:     rtpenc_mpv.c \
1019:     rtpenc.c \
1020:     rtpenc_h264.c \
1021:     rtpenc_vp8.c \
1022:     rtpenc_xiph.c \
1023:     avc.c
1024: AVFORMAT_C_FILES-$(CONFIG_RTPDEC) += rdt.c \
1025:     rtp.c \
1026:     rtpdec.c \
1027:     rtpdec_amr.c \
1028:     rtpdec_asf.c \
1029:     rtpdec_h263.c \
1030:     rtpdec_h264.c \
1031:     rtpdec_latm.c \
1032:     rtpdec_mpeg4.c \
1033:     rtpdec_qcelp.c \
1034:     rtpdec_qdm2.c \
1035:     rtpdec_qt.c \
1036:     rtpdec_svq3.c \
1037:     rtpdec_vp8.c \
1038:     rtpdec_xiph.c
1039: AVFORMAT_C_FILES-$(CONFIG_RTSP_DEMUXER) += rtsp.c rtspdec.c httpauth.c
1040: AVFORMAT_C_FILES-$(CONFIG_RTSP_MUXER) += rtsp.c rtspenc.c httpauth.c \
1041:     rtpenc_chain.c
1042: AVFORMAT_C_FILES-$(CONFIG_SAP_DEMUXER) += sapdec.c
1043: AVFORMAT_C_FILES-$(CONFIG_SAP_MUXER) += sapenc.c rtpenc_chain.c
1044: AVFORMAT_C_FILES-$(CONFIG_SDP_DEMUXER) += rtsp.c
1045: AVFORMAT_C_FILES-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.c
1046: AVFORMAT_C_FILES-$(CONFIG_SHORTEN_DEMUXER) += rawdec.c
1047: AVFORMAT_C_FILES-$(CONFIG_SIFF_DEMUXER) += siff.c
1048: AVFORMAT_C_FILES-$(CONFIG_SMACKER_DEMUXER) += smacker.c
1049: AVFORMAT_C_FILES-$(CONFIG_SOL_DEMUXER) += sol.c pcm.c
1050: AVFORMAT_C_FILES-$(CONFIG_SOX_DEMUXER) += soxdec.c pcm.c
1051: AVFORMAT_C_FILES-$(CONFIG_SOX_MUXER) += soxenc.c
1052: AVFORMAT_C_FILES-$(CONFIG_SPDIF_DEMUXER) += spdif.c spdifdec.c
1053: AVFORMAT_C_FILES-$(CONFIG_SPDIF_MUXER) += spdif.c spdifenc.c
1054: AVFORMAT_C_FILES-$(CONFIG_SRT_DEMUXER) += srtdec.c
1055: AVFORMAT_C_FILES-$(CONFIG_SRT_MUXER) += rawenc.c
1056: AVFORMAT_C_FILES-$(CONFIG_STR_DEMUXER) += psxstr.c
1057: AVFORMAT_C_FILES-$(CONFIG_SWF_DEMUXER) += swfdec.c
1058: AVFORMAT_C_FILES-$(CONFIG_SWF_MUXER) += swfenc.c
1059: AVFORMAT_C_FILES-$(CONFIG_THP_DEMUXER) += thp.c
1060: AVFORMAT_C_FILES-$(CONFIG_TIERTEXSEQ_DEMUXER) += tiertexseq.c
1061: AVFORMAT_C_FILES-$(CONFIG_TMV_DEMUXER) += tmv.c
1062: AVFORMAT_C_FILES-$(CONFIG_TRUEHD_DEMUXER) += rawdec.c
1063: AVFORMAT_C_FILES-$(CONFIG_TRUEHD_MUXER) += rawenc.c
1064: AVFORMAT_C_FILES-$(CONFIG_TTA_DEMUXER) += tta.c
1065: AVFORMAT_C_FILES-$(CONFIG_TTY_DEMUXER) += tty.c sauce.c
1066: AVFORMAT_C_FILES-$(CONFIG_TXD_DEMUXER) += txd.c
1067: AVFORMAT_C_FILES-$(CONFIG_VC1_DEMUXER) += rawdec.c
1068: AVFORMAT_C_FILES-$(CONFIG_VC1T_DEMUXER) += vc1test.c
1069: AVFORMAT_C_FILES-$(CONFIG_VC1T_MUXER) += vc1testenc.c
1070: AVFORMAT_C_FILES-$(CONFIG_VMD_DEMUXER) += sierravmd.c
1071: AVFORMAT_C_FILES-$(CONFIG_VOC_DEMUXER) += vocdec.c voc.c
1072: AVFORMAT_C_FILES-$(CONFIG_VOC_MUXER) += vocenc.c voc.c
1073: AVFORMAT_C_FILES-$(CONFIG_VQF_DEMUXER) += vqf.c
1074: AVFORMAT_C_FILES-$(CONFIG_W64_DEMUXER) += wav.c riff.c pcm.c
1075: AVFORMAT_C_FILES-$(CONFIG_WAV_DEMUXER) += wav.c riff.c pcm.c
1076: AVFORMAT_C_FILES-$(CONFIG_WAV_MUXER) += wav.c riff.c
1077: AVFORMAT_C_FILES-$(CONFIG_WC3_DEMUXER) += wc3movie.c
1078: AVFORMAT_C_FILES-$(CONFIG_WEBM_MUXER) += matroskaenc.c matroska.c \
1079:     riff.c isom.c avc.c \
1080:     flacenc_header.c avlanguage.c
1081: AVFORMAT_C_FILES-$(CONFIG_WSAUD_DEMUXER) += westwood.c
1082: AVFORMAT_C_FILES-$(CONFIG_WSVQA_DEMUXER) += westwood.c
1083: AVFORMAT_C_FILES-$(CONFIG_WTV_DEMUXER) += wtvdec.c wtv.c asfdec.c asf.c asfcrypt.c \
1084:     avlanguage.c mpegts.c isom.c riff.c
1085: AVFORMAT_C_FILES-$(CONFIG_WV_DEMUXER) += wv.c apetag.c
1086: AVFORMAT_C_FILES-$(CONFIG_XA_DEMUXER) += xa.c
1087: AVFORMAT_C_FILES-$(CONFIG_XWMA_DEMUXER) += xwma.c riff.c
1088: AVFORMAT_C_FILES-$(CONFIG_YOP_DEMUXER) += yop.c
1089: AVFORMAT_C_FILES-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg.c
1090: AVFORMAT_C_FILES-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.c
1091:
1092: AVFORMAT_C_FILES-$(CONFIG_LIBNUT_DEMUXER) += libnut.c riff.c
1093: AVFORMAT_C_FILES-$(CONFIG_LIBNUT_MUXER) += libnut.c riff.c
1094:
1095: AVFORMAT_C_FILES+= avio.c aviobuf.c
1096:
1097: AVFORMAT_C_FILES-$(CONFIG_APPLEHTTP_PROTOCOL) += applehttpproto.c
1098: AVFORMAT_C_FILES-$(CONFIG_CONCAT_PROTOCOL) += concat.c
1099: AVFORMAT_C_FILES-$(CONFIG_CRYPTO_PROTOCOL) += crypto.c
1100: AVFORMAT_C_FILES-$(CONFIG_FILE_PROTOCOL) += file.c
1101: AVFORMAT_C_FILES-$(CONFIG_GOPHER_PROTOCOL) += gopher.c
1102: AVFORMAT_C_FILES-$(CONFIG_HTTP_PROTOCOL) += http.c httpauth.c
1103: AVFORMAT_C_FILES-$(CONFIG_MMSH_PROTOCOL) += mmsh.c mms.c asf.c
1104: AVFORMAT_C_FILES-$(CONFIG_MMST_PROTOCOL) += mmst.c mms.c asf.c
1105: AVFORMAT_C_FILES-$(CONFIG_MD5_PROTOCOL) += md5proto.c
1106: AVFORMAT_C_FILES-$(CONFIG_PIPE_PROTOCOL) += file.c
1107:
1108: RTMP-FILES-$(CONFIG_LIBRTMP) = librtmp.c
1109: RTMP-FILES-$(!CONFIG_LIBRTMP) = rtmpproto.c rtmppkt.c
1110: AVFORMAT_C_FILES-$(CONFIG_RTMP_PROTOCOL) += $(RTMP-FILES-yes)
1111:
1112: AVFORMAT_C_FILES-$(CONFIG_RTP_PROTOCOL) += rtpproto.c
1113: AVFORMAT_C_FILES-$(CONFIG_TCP_PROTOCOL) += tcp.c
1114: AVFORMAT_C_FILES-$(CONFIG_UDP_PROTOCOL) += udp.c
1115:
1116: AVFORMAT_C_FILES-$(CONFIG_JACK_INDEV) += timefilter.c
1117:
1118: AVFORMAT_C_FILES += $(AVFORMAT_C_FILES-yes)
1119:
1120: AVFORMAT_SRC_FILES = $(addprefix libavformat/, $(sort $(AVFORMAT_C_FILES)))
1121:
1122: LOCAL_SRC_FILES := \
1123: $(AVUTIL_SRC_FILES) \
1124: $(AVCODEC_SRC_FILES) \
1125: $(AVCODEC_ARM_SRC_FILES) \
1126: $(AVFORMAT_SRC_FILES)
1127:
1128: LOCAL_ARM_MODE := arm
1129:
1130: include $(BUILD_SHARED_LIBRARY)
1131: 

六、编写 Android.mk 编译脚本


直接用 ndk-build 编译的话,最后会得到一个 arm-linux-androideabi-g++: Argument list too long 错误。为了解决这个问题,我写了下面这个脚本。方法不是很完美,是 hack 了 NDK 的编译文件才解决的。


将以内容下保存为 C:\cygwin\home\ScottWong\ffmpeg\build.sh 文件。


1: ~/android-ndk-r5c/ndk-build
2: sed -i ‘s#$(cmd-build-shared-library)#$(subst $(call host-path, $(TARGET_OBJS)/),,$(cmd-build-shared-library))#g’ ~/android-ndk-r5c/build/core/build-binary.mk
3: cd obj/local/armeabi/objs
4: ~/android-ndk-r5c/ndk-build
5: sed -i ‘s#$(subst $(call host-path, $(TARGET_OBJS)/),,$(cmd-build-shared-library))#$(cmd-build-shared-library)#g’ ~/android-ndk-r5c/build/core/build-binary.mk
6: cd ../../../..
7: 


七、生成 FFmpeg 配置文件



  1. 打开 PowerShell,进入到 C:\cygwin\bin 目录,运行 bash –login -i 启动 cygwin 环境。
  2. 执行 export TMPDIR=c:/cygwin/tmp 设置临时目录。
  3. 定位到 /home/ScottWong/ffmpeg/jni 目录,执行 ./config.sh 生成 FFmpeg 的配置文件。

 


a


 


八、开始编译 FFmpeg


定位到 /home/ScottWong/ffmpeg 目录,执行 ./build.sh 开始编译。


b


 

九、FFmpeg 编译完毕


稍等几分钟之后,libffmpeg.so 就被编译出来了。你可以在 C:\cygwin\home\ScottWong\ffmpeg\libs\armeabi 目录中找到它。


c

赞(0) 打赏
转载请注明出处:服务器评测 » 在 Windows 7 下使用 Android NDK r5c 编译 FFmpeg 0.7.1
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏