• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# FFmpeg build
2
3import("//build/config/sysroot.gni")
4import("//build/ohos.gni")
5
6print("current_cpu = ${current_cpu}")
7print("current_os = ${current_os}")
8print("host_os = ${host_os}")
9print("is_mingw = ${is_mingw}")
10
11ffmpeg_selected_platform = ""
12if (current_cpu == "arm64" && current_os == "ohos") {
13  print("ffmpeg selected aarch64")
14  ffmpeg_selected_platform = "aarch64"
15} else {
16  print("ffmpeg selected cplatform")
17  ffmpeg_selected_platform = "cplat"
18}
19
20libffmpeg_media_aarch64_sources = [
21  "//third_party/ffmpeg/libavcodec/aarch64/aacpsdsp_init_aarch64.c",
22  "//third_party/ffmpeg/libavcodec/aarch64/aacpsdsp_neon.S",
23  "//third_party/ffmpeg/libavcodec/aarch64/fft_init_aarch64.c",
24  "//third_party/ffmpeg/libavcodec/aarch64/fft_neon.S",
25  "//third_party/ffmpeg/libavcodec/aarch64/h264chroma_init_aarch64.c",
26  "//third_party/ffmpeg/libavcodec/aarch64/h264cmc_neon.S",
27  "//third_party/ffmpeg/libavcodec/aarch64/h264dsp_init_aarch64.c",
28  "//third_party/ffmpeg/libavcodec/aarch64/h264dsp_neon.S",
29  "//third_party/ffmpeg/libavcodec/aarch64/h264idct_neon.S",
30  "//third_party/ffmpeg/libavcodec/aarch64/h264pred_init.c",
31  "//third_party/ffmpeg/libavcodec/aarch64/h264pred_neon.S",
32  "//third_party/ffmpeg/libavcodec/aarch64/h264qpel_init_aarch64.c",
33  "//third_party/ffmpeg/libavcodec/aarch64/h264qpel_neon.S",
34  "//third_party/ffmpeg/libavcodec/aarch64/hpeldsp_init_aarch64.c",
35  "//third_party/ffmpeg/libavcodec/aarch64/hpeldsp_neon.S",
36  "//third_party/ffmpeg/libavcodec/aarch64/idctdsp_init_aarch64.c",
37  "//third_party/ffmpeg/libavcodec/aarch64/mdct_neon.S",
38  "//third_party/ffmpeg/libavcodec/aarch64/mpegaudiodsp_init.c",
39  "//third_party/ffmpeg/libavcodec/aarch64/mpegaudiodsp_neon.S",
40  "//third_party/ffmpeg/libavcodec/aarch64/opusdsp_init.c",
41  "//third_party/ffmpeg/libavcodec/aarch64/opusdsp_neon.S",
42  "//third_party/ffmpeg/libavcodec/aarch64/pixblockdsp_init_aarch64.c",
43  "//third_party/ffmpeg/libavcodec/aarch64/pixblockdsp_neon.S",
44  "//third_party/ffmpeg/libavcodec/aarch64/sbrdsp_init_aarch64.c",
45  "//third_party/ffmpeg/libavcodec/aarch64/sbrdsp_neon.S",
46  "//third_party/ffmpeg/libavcodec/aarch64/simple_idct_neon.S",
47  "//third_party/ffmpeg/libavcodec/aarch64/videodsp.S",
48  "//third_party/ffmpeg/libavcodec/aarch64/videodsp_init.c",
49  "//third_party/ffmpeg/libavcodec/aarch64/vorbisdsp_init.c",
50  "//third_party/ffmpeg/libavcodec/aarch64/vorbisdsp_neon.S",
51  "//third_party/ffmpeg/libavcodec/aarch64/vp8dsp_init_aarch64.c",
52  "//third_party/ffmpeg/libavcodec/aarch64/vp8dsp_neon.S",
53  "//third_party/ffmpeg/libavcodec/aarch64/vp9dsp_init_10bpp_aarch64.c",
54  "//third_party/ffmpeg/libavcodec/aarch64/vp9dsp_init_12bpp_aarch64.c",
55  "//third_party/ffmpeg/libavcodec/aarch64/vp9dsp_init_aarch64.c",
56  "//third_party/ffmpeg/libavcodec/aarch64/vp9itxfm_16bpp_neon.S",
57  "//third_party/ffmpeg/libavcodec/aarch64/vp9itxfm_neon.S",
58  "//third_party/ffmpeg/libavcodec/aarch64/vp9lpf_16bpp_neon.S",
59  "//third_party/ffmpeg/libavcodec/aarch64/vp9lpf_neon.S",
60  "//third_party/ffmpeg/libavcodec/aarch64/vp9mc_16bpp_neon.S",
61  "//third_party/ffmpeg/libavcodec/aarch64/vp9mc_aarch64.S",
62  "//third_party/ffmpeg/libavcodec/aarch64/vp9mc_neon.S",
63  "//third_party/ffmpeg/libavcodec/neon/mpegvideo.c",
64  "//third_party/ffmpeg/libavutil/aarch64/cpu.c",
65  "//third_party/ffmpeg/libavutil/aarch64/float_dsp_init.c",
66  "//third_party/ffmpeg/libavutil/aarch64/float_dsp_neon.S",
67  "//third_party/ffmpeg/libswresample/aarch64/audio_convert_init.c",
68  "//third_party/ffmpeg/libswresample/aarch64/audio_convert_neon.S",
69  "//third_party/ffmpeg/libswresample/aarch64/resample.S",
70  "//third_party/ffmpeg/libswresample/aarch64/resample_init.c",
71  "//third_party/ffmpeg/libswscale/aarch64/hscale.S",
72  "//third_party/ffmpeg/libswscale/aarch64/output.S",
73  "//third_party/ffmpeg/libswscale/aarch64/rgb2rgb.c",
74  "//third_party/ffmpeg/libswscale/aarch64/rgb2rgb_neon.S",
75  "//third_party/ffmpeg/libswscale/aarch64/swscale.c",
76  "//third_party/ffmpeg/libswscale/aarch64/swscale_unscaled.c",
77  "//third_party/ffmpeg/libswscale/aarch64/yuv2rgb_neon.S",
78]
79
80# Assembly optimization
81libffmpeg_media_asm_sources = []
82ldflags_asm = []
83if (ffmpeg_selected_platform == "aarch64") {
84  libffmpeg_media_asm_sources += libffmpeg_media_aarch64_sources
85  ldflags_asm += [ "-Wl,-Bsymbolic" ]
86}
87
88unused_variables = []
89unused_variables += unused_variables
90unused_variables += libffmpeg_media_aarch64_sources
91
92config("ffmpeg_config") {
93  cflags = [
94    "-Wno-sign-compare",
95    "-Wno-implicit-function-declaration",
96    "-Wno-parentheses",
97    "-Wno-string-conversion",
98    "-Wno-string-plus-int",
99    "-Wno-asm-operand-widths",
100    "-Wno-pointer-sign",
101    "-Wno-deprecated-declarations",
102    "-Wno-implicit-int",
103    "-Wno-switch",
104    "-Wno-incompatible-pointer-types-discards-qualifiers",
105    "-Wno-int-conversion",
106    "-Wno-absolute-value",
107    "-Wno-unused-function",
108    "-Wno-unused-label",
109    "-Wno-unused-const-variable",
110    "-Wno-visibility",
111    "-Wno-incompatible-pointer-types",
112    "-Wno-sometimes-uninitialized",
113    "-Wno-format",
114    "-Wno-tautological-constant-out-of-range-compare",
115    "-DHAVE_AV_CONFIG_H",
116    "-DCONFIG_H263_ENCODER",
117    "-DTARGET_CONFIG=\"config-arm64.h\"",
118    "-Wno-macro-redefined",
119    "-DCONFIG_H263_DECODER",
120    "-DCONFIG_H264_MUXER",
121    "-DCONFIG_M4V_MUXER",
122    "-DCONFIG_MOV_MUXER",
123    "-DCONFIG_MP4_MUXER",
124    "-DCONFIG_IPOD_MUXER",
125    "-DCONFIG_MPEG2VIDEO_MUXER",
126    "-DCONFIG_MPEG4_DECODER",
127    "-DCONFIG_OPUS_DECODER",
128    "-DCONFIG_OPUS_ENCODER",
129    "-DCONFIG_OPUS_PARSER",
130    "-DCONFIG_AV3A_PARSER",
131    "-DCONFIG_AMRNB_DECODER",
132    "-DCONFIG_AMRWB_DECODER",
133    "-DOHOS_OPT_COMPAT",
134    "-DOHOS_HDR_VIVID",
135    "-Wno-array-parameter",
136    "-Wno-deprecated-pragma",
137  ]
138  if (use_musl) {
139    cflags += [ "-Wno-bool-operation" ]
140  }
141}
142
143config("libohosffmpeg_public_config") {
144  visibility = [ ":*" ]
145
146  include_dirs = [ "//third_party/ffmpeg" ]
147}
148
149ohos_source_set("ffmpeg_dynamic") {
150  sources = [
151    # "//third_party/ffmpeg/libavcodec/012v.c",
152    # "//third_party/ffmpeg/libavcodec/4xm.c",
153    # "//third_party/ffmpeg/libavcodec/8bps.c",
154    # "//third_party/ffmpeg/libavcodec/8svx.c",
155    # "//third_party/ffmpeg/libavcodec/a64multienc.c",
156    "//third_party/ffmpeg/libavcodec/aac_ac3_parser.c",
157    "//third_party/ffmpeg/libavcodec/aac_adtstoasc_bsf.c",
158    "//third_party/ffmpeg/libavcodec/aac_parser.c",
159    "//third_party/ffmpeg/libavcodec/aaccoder.c",
160    "//third_party/ffmpeg/libavcodec/aacdec.c",
161
162    # "//third_party/ffmpeg/libavcodec/aacdec_fixed.c",
163    "//third_party/ffmpeg/libavcodec/aacenc.c",
164    "//third_party/ffmpeg/libavcodec/aacenc_is.c",
165    "//third_party/ffmpeg/libavcodec/aacenc_ltp.c",
166    "//third_party/ffmpeg/libavcodec/aacenc_pred.c",
167    "//third_party/ffmpeg/libavcodec/aacenc_tns.c",
168    "//third_party/ffmpeg/libavcodec/aacenctab.c",
169    "//third_party/ffmpeg/libavcodec/aacps_common.c",
170
171    # "//third_party/ffmpeg/libavcodec/aacps_fixed.c",
172    "//third_party/ffmpeg/libavcodec/aacps_float.c",
173
174    # "//third_party/ffmpeg/libavcodec/aacpsdsp_fixed.c",
175    "//third_party/ffmpeg/libavcodec/aacpsdsp_float.c",
176    "//third_party/ffmpeg/libavcodec/aacpsy.c",
177    "//third_party/ffmpeg/libavcodec/aacsbr.c",
178
179    # "//third_party/ffmpeg/libavcodec/aacsbr_fixed.c",
180    "//third_party/ffmpeg/libavcodec/aactab.c",
181    "//third_party/ffmpeg/libavcodec/aandcttab.c",
182
183    # "//third_party/ffmpeg/libavcodec/aasc.c",
184    # "//third_party/ffmpeg/libavcodec/ac3.c",
185    "//third_party/ffmpeg/libavcodec/ac3_parser.c",
186
187    # "//third_party/ffmpeg/libavcodec/ac3dec_data.c",
188    # "//third_party/ffmpeg/libavcodec/ac3dec_fixed.c",
189    # "//third_party/ffmpeg/libavcodec/ac3dec_float.c",
190    # "//third_party/ffmpeg/libavcodec/ac3dsp.c",
191    # "//third_party/ffmpeg/libavcodec/ac3enc.c",
192    # "//third_party/ffmpeg/libavcodec/ac3enc_fixed.c",
193    # "//third_party/ffmpeg/libavcodec/ac3enc_float.c",
194    "//third_party/ffmpeg/libavcodec/ac3tab.c",
195    "//third_party/ffmpeg/libavcodec/acelp_filters.c",
196    "//third_party/ffmpeg/libavcodec/acelp_pitch_delay.c",
197    "//third_party/ffmpeg/libavcodec/acelp_vectors.c",
198
199    # "//third_party/ffmpeg/libavcodec/adpcm.c",
200    # "//third_party/ffmpeg/libavcodec/adpcm_data.c",
201    "//third_party/ffmpeg/libavcodec/adts_header.c",
202    "//third_party/ffmpeg/libavcodec/adts_parser.c",
203
204    # "//third_party/ffmpeg/libavcodec/adx.c",
205    # "//third_party/ffmpeg/libavcodec/adx_parser.c",
206    # "//third_party/ffmpeg/libavcodec/adxdec.c",
207    # "//third_party/ffmpeg/libavcodec/adxenc.c",
208    # "//third_party/ffmpeg/libavcodec/agm.c",
209    # "//third_party/ffmpeg/libavcodec/aic.c",
210    # "//third_party/ffmpeg/libavcodec/alac.c",
211    # "//third_party/ffmpeg/libavcodec/alac_data.c",
212    # "//third_party/ffmpeg/libavcodec/alacdsp.c",
213    # "//third_party/ffmpeg/libavcodec/alacenc.c",
214    # "//third_party/ffmpeg/libavcodec/aliaspixdec.c",
215    # "//third_party/ffmpeg/libavcodec/aliaspixenc.c",
216    "//third_party/ffmpeg/libavcodec/allcodecs.c",
217
218    # "//third_party/ffmpeg/libavcodec/alsdec.c",
219    "//third_party/ffmpeg/libavcodec/amrnbdec.c",
220    "//third_party/ffmpeg/libavcodec/amrwbdec.c",
221
222    # "//third_party/ffmpeg/libavcodec/anm.c",
223    # "//third_party/ffmpeg/libavcodec/ansi.c",
224    "//third_party/ffmpeg/libavcodec/apedec.c",
225
226    # "//third_party/ffmpeg/libavcodec/aptx.c",
227    # "//third_party/ffmpeg/libavcodec/aptxdec.c",
228    # "//third_party/ffmpeg/libavcodec/aptxenc.c",
229    # "//third_party/ffmpeg/libavcodec/arbc.c",
230    # "//third_party/ffmpeg/libavcodec/arm/vp6dsp_init_arm.c",
231    # "//third_party/ffmpeg/libavcodec/ass.c",
232    # "//third_party/ffmpeg/libavcodec/ass_split.c",
233    # "//third_party/ffmpeg/libavcodec/assdec.c",
234    # "//third_party/ffmpeg/libavcodec/assenc.c",
235    # "//third_party/ffmpeg/libavcodec/asv.c",
236    # "//third_party/ffmpeg/libavcodec/asvdec.c",
237    # "//third_party/ffmpeg/libavcodec/asvenc.c",
238    # "//third_party/ffmpeg/libavcodec/atrac.c",
239    # "//third_party/ffmpeg/libavcodec/atrac1.c",
240    # "//third_party/ffmpeg/libavcodec/atrac3.c",
241    # "//third_party/ffmpeg/libavcodec/atrac3plus.c",
242    # "//third_party/ffmpeg/libavcodec/atrac3plusdec.c",
243    # "//third_party/ffmpeg/libavcodec/atrac3plusdsp.c",
244    # "//third_party/ffmpeg/libavcodec/atrac9dec.c",
245    "//third_party/ffmpeg/libavcodec/atsc_a53.c",
246    "//third_party/ffmpeg/libavcodec/audio_frame_queue.c",
247
248    # "//third_party/ffmpeg/libavcodec/audiodsp.c",
249    # "//third_party/ffmpeg/libavcodec/aura.c",
250    # "//third_party/ffmpeg/libavcodec/av1_frame_split_bsf.c",
251    # "//third_party/ffmpeg/libavcodec/av1_metadata_bsf.c",
252    # "//third_party/ffmpeg/libavcodec/av1_parse.c",
253    # "//third_party/ffmpeg/libavcodec/av1_parser.c",
254    "//third_party/ffmpeg/libavcodec/av3a_parser.c",
255    "//third_party/ffmpeg/libavcodec/avcodec.c",
256    "//third_party/ffmpeg/libavcodec/avdct.c",
257    "//third_party/ffmpeg/libavcodec/avfft.c",
258    "//third_party/ffmpeg/libavcodec/avpacket.c",
259    "//third_party/ffmpeg/libavcodec/avpicture.c",
260
261    # "//third_party/ffmpeg/libavcodec/avrndec.c",
262    # "//third_party/ffmpeg/libavcodec/avs.c",
263    # "//third_party/ffmpeg/libavcodec/avs2_parser.c",
264    # "//third_party/ffmpeg/libavcodec/avuidec.c",
265    # "//third_party/ffmpeg/libavcodec/avuienc.c",
266    # "//third_party/ffmpeg/libavcodec/bethsoftvideo.c",
267    # "//third_party/ffmpeg/libavcodec/bfi.c",
268    # "//third_party/ffmpeg/libavcodec/bgmc.c",
269    # "//third_party/ffmpeg/libavcodec/bink.c",
270    # "//third_party/ffmpeg/libavcodec/binkaudio.c",
271    # "//third_party/ffmpeg/libavcodec/binkdsp.c",
272    # "//third_party/ffmpeg/libavcodec/bintext.c",
273    # "//third_party/ffmpeg/libavcodec/bitpacked.c",
274    "//third_party/ffmpeg/libavcodec/bitstream.c",
275    "//third_party/ffmpeg/libavcodec/bitstream_filter.c",
276    "//third_party/ffmpeg/libavcodec/bitstream_filters.c",
277    "//third_party/ffmpeg/libavcodec/blockdsp.c",
278    "//third_party/ffmpeg/libavcodec/bmp.c",
279
280    # "//third_party/ffmpeg/libavcodec/bmp_parser.c",
281    # "//third_party/ffmpeg/libavcodec/bmpenc.c",
282    # "//third_party/ffmpeg/libavcodec/bmvaudio.c",
283    # "//third_party/ffmpeg/libavcodec/bmvvideo.c",
284    # "//third_party/ffmpeg/libavcodec/brenderpix.c",
285    "//third_party/ffmpeg/libavcodec/bsf.c",
286    "//third_party/ffmpeg/libavcodec/bswapdsp.c",
287
288    # "//third_party/ffmpeg/libavcodec/c93.c",
289    "//third_party/ffmpeg/libavcodec/cabac.c",
290
291    # "//third_party/ffmpeg/libavcodec/canopus.c",
292    # "//third_party/ffmpeg/libavcodec/cavs.c",
293    # "//third_party/ffmpeg/libavcodec/cavs_parser.c",
294    # "//third_party/ffmpeg/libavcodec/cavsdata.c",
295    # "//third_party/ffmpeg/libavcodec/cavsdec.c",
296    # "//third_party/ffmpeg/libavcodec/cavsdsp.c",
297    "//third_party/ffmpeg/libavcodec/cbrt_data.c",
298
299    # "//third_party/ffmpeg/libavcodec/cbrt_data_fixed.c",
300    # "//third_party/ffmpeg/libavcodec/cbs.c",
301    # "//third_party/ffmpeg/libavcodec/cbs_bsf.c",
302    # "//third_party/ffmpeg/libavcodec/cbs_h2645.c",
303    # "//third_party/ffmpeg/libavcodec/cbs_mpeg2.c",
304    # "//third_party/ffmpeg/libavcodec/cbs_sei.c",
305    # "//third_party/ffmpeg/libavcodec/ccaption_dec.c",
306    # "//third_party/ffmpeg/libavcodec/cdgraphics.c",
307    # "//third_party/ffmpeg/libavcodec/cdxl.c",
308    "//third_party/ffmpeg/libavcodec/celp_filters.c",
309    "//third_party/ffmpeg/libavcodec/celp_math.c",
310
311    # "//third_party/ffmpeg/libavcodec/cfhd.c",
312    # "//third_party/ffmpeg/libavcodec/cfhddata.c",
313    # "//third_party/ffmpeg/libavcodec/cfhddsp.c",
314    # "//third_party/ffmpeg/libavcodec/cga_data.c",
315    # "//third_party/ffmpeg/libavcodec/chomp_bsf.c",
316    # "//third_party/ffmpeg/libavcodec/cinepak.c",
317    # "//third_party/ffmpeg/libavcodec/cinepakenc.c",
318    # "//third_party/ffmpeg/libavcodec/clearvideo.c",
319    # "//third_party/ffmpeg/libavcodec/cljrdec.c",
320    # "//third_party/ffmpeg/libavcodec/cljrenc.c",
321    # "//third_party/ffmpeg/libavcodec/cllc.c",
322    # "//third_party/ffmpeg/libavcodec/cngdec.c",
323    # "//third_party/ffmpeg/libavcodec/cngenc.c",
324    # "//third_party/ffmpeg/libavcodec/codec2utils.c",
325    "//third_party/ffmpeg/libavcodec/codec_desc.c",
326    "//third_party/ffmpeg/libavcodec/codec_par.c",
327
328    # "//third_party/ffmpeg/libavcodec/cook.c",
329    # "//third_party/ffmpeg/libavcodec/cook_parser.c",
330    # "//third_party/ffmpeg/libavcodec/cpia.c",
331    # "//third_party/ffmpeg/libavcodec/cscd.c",
332    # "//third_party/ffmpeg/libavcodec/cyuv.c",
333    "//third_party/ffmpeg/libavcodec/d3d11va.c",
334
335    # "//third_party/ffmpeg/libavcodec/dca.c",
336    # "//third_party/ffmpeg/libavcodec/dca_core.c",
337    # "//third_party/ffmpeg/libavcodec/dca_core_bsf.c",
338    # "//third_party/ffmpeg/libavcodec/dca_exss.c",
339    # "//third_party/ffmpeg/libavcodec/dca_lbr.c",
340    # "//third_party/ffmpeg/libavcodec/dca_parser.c",
341    # "//third_party/ffmpeg/libavcodec/dca_xll.c",
342    # "//third_party/ffmpeg/libavcodec/dcaadpcm.c",
343    # "//third_party/ffmpeg/libavcodec/dcadata.c",
344    # "//third_party/ffmpeg/libavcodec/dcadct.c",
345    # "//third_party/ffmpeg/libavcodec/dcadec.c",
346    # "//third_party/ffmpeg/libavcodec/dcadsp.c",
347    # "//third_party/ffmpeg/libavcodec/dcaenc.c",
348    # "//third_party/ffmpeg/libavcodec/dcahuff.c",
349    "//third_party/ffmpeg/libavcodec/dct.c",
350    "//third_party/ffmpeg/libavcodec/dct32_fixed.c",
351    "//third_party/ffmpeg/libavcodec/dct32_float.c",
352
353    # "//third_party/ffmpeg/libavcodec/dds.c",
354    "//third_party/ffmpeg/libavcodec/decode.c",
355
356    # "//third_party/ffmpeg/libavcodec/dfa.c",
357    "//third_party/ffmpeg/libavcodec/dirac.c",
358
359    # "//third_party/ffmpeg/libavcodec/dirac_arith.c",
360    # "//third_party/ffmpeg/libavcodec/dirac_dwt.c",
361    # "//third_party/ffmpeg/libavcodec/dirac_parser.c",
362    # "//third_party/ffmpeg/libavcodec/dirac_vlc.c",
363    # "//third_party/ffmpeg/libavcodec/diracdec.c",
364    # "//third_party/ffmpeg/libavcodec/diracdsp.c",
365    # "//third_party/ffmpeg/libavcodec/diractab.c",
366    # "//third_party/ffmpeg/libavcodec/dnxhd_parser.c",
367    # "//third_party/ffmpeg/libavcodec/dnxhddata.c",
368    # "//third_party/ffmpeg/libavcodec/dnxhddec.c",
369    # "//third_party/ffmpeg/libavcodec/dnxhdenc.c",
370    # "//third_party/ffmpeg/libavcodec/dolby_e.c",
371    # "//third_party/ffmpeg/libavcodec/dolby_e_parse.c",
372    # "//third_party/ffmpeg/libavcodec/dpx.c",
373    # "//third_party/ffmpeg/libavcodec/dpx_parser.c",
374    # "//third_party/ffmpeg/libavcodec/dpxenc.c",
375    # "//third_party/ffmpeg/libavcodec/dsd.c",
376    # "//third_party/ffmpeg/libavcodec/dsddec.c",
377    # "//third_party/ffmpeg/libavcodec/dsicinaudio.c",
378    # "//third_party/ffmpeg/libavcodec/dsicinvideo.c",
379    # "//third_party/ffmpeg/libavcodec/dss_sp.c",
380    # "//third_party/ffmpeg/libavcodec/dstdec.c",
381    # "//third_party/ffmpeg/libavcodec/dump_extradata_bsf.c",
382    # "//third_party/ffmpeg/libavcodec/dv.c",
383    "//third_party/ffmpeg/libavcodec/dv_profile.c",
384
385    # "//third_party/ffmpeg/libavcodec/dvaudio_parser.c",
386    # "//third_party/ffmpeg/libavcodec/dvaudiodec.c",
387    # "//third_party/ffmpeg/libavcodec/dvbsub_parser.c",
388    # "//third_party/ffmpeg/libavcodec/dvbsubdec.c",
389    # "//third_party/ffmpeg/libavcodec/dvd_nav_parser.c",
390    # "//third_party/ffmpeg/libavcodec/dvdata.c",
391    # "//third_party/ffmpeg/libavcodec/dvdec.c",
392    # "//third_party/ffmpeg/libavcodec/dvdsub.c",
393    # "//third_party/ffmpeg/libavcodec/dvdsub_parser.c",
394    # "//third_party/ffmpeg/libavcodec/dvdsubdec.c",
395    # "//third_party/ffmpeg/libavcodec/dvdsubenc.c",
396    # "//third_party/ffmpeg/libavcodec/dvenc.c",
397    # "//third_party/ffmpeg/libavcodec/dxtory.c",
398    # "//third_party/ffmpeg/libavcodec/dxv.c",
399    # "//third_party/ffmpeg/libavcodec/dynamic_hdr10_plus.c",
400    # "//third_party/ffmpeg/libavcodec/eac3_core_bsf.c",
401    # "//third_party/ffmpeg/libavcodec/eac3_data.c",
402    # "//third_party/ffmpeg/libavcodec/eac3enc.c",
403    # "//third_party/ffmpeg/libavcodec/eacmv.c",
404    # "//third_party/ffmpeg/libavcodec/eaidct.c",
405    # "//third_party/ffmpeg/libavcodec/eamad.c",
406    # "//third_party/ffmpeg/libavcodec/eatgq.c",
407    # "//third_party/ffmpeg/libavcodec/eatgv.c",
408    # "//third_party/ffmpeg/libavcodec/eatqi.c",
409    # "//third_party/ffmpeg/libavcodec/elbg.c",
410    "//third_party/ffmpeg/libavcodec/encode.c",
411    "//third_party/ffmpeg/libavcodec/error_resilience.c",
412
413    # "//third_party/ffmpeg/libavcodec/escape124.c",
414    # "//third_party/ffmpeg/libavcodec/escape130.c",
415    # "//third_party/ffmpeg/libavcodec/evrcdec.c",
416    "//third_party/ffmpeg/libavcodec/exif.c",
417
418    # "//third_party/ffmpeg/libavcodec/extract_extradata_bsf.c",
419    # "//third_party/ffmpeg/libavcodec/faandct.c",
420    # "//third_party/ffmpeg/libavcodec/faanidct.c",
421    # "//third_party/ffmpeg/libavcodec/faxcompr.c",
422    "//third_party/ffmpeg/libavcodec/fdctdsp.c",
423    "//third_party/ffmpeg/libavcodec/fft_fixed_32.c",
424    "//third_party/ffmpeg/libavcodec/fft_float.c",
425    "//third_party/ffmpeg/libavcodec/fft_init_table.c",
426
427    # "//third_party/ffmpeg/libavcodec/ffv1.c",
428    # "//third_party/ffmpeg/libavcodec/ffv1dec.c",
429    # "//third_party/ffmpeg/libavcodec/ffv1enc.c",
430    # "//third_party/ffmpeg/libavcodec/ffwavesynth.c",
431    # "//third_party/ffmpeg/libavcodec/fic.c",
432    # "//third_party/ffmpeg/libavcodec/filter_units_bsf.c",
433    # "//third_party/ffmpeg/libavcodec/fits.c",
434    # "//third_party/ffmpeg/libavcodec/fitsdec.c",
435    # "//third_party/ffmpeg/libavcodec/fitsenc.c",
436    "//third_party/ffmpeg/libavcodec/flac.c",
437    "//third_party/ffmpeg/libavcodec/flac_parser.c",
438    "//third_party/ffmpeg/libavcodec/flacdata.c",
439    "//third_party/ffmpeg/libavcodec/flacdec.c",
440    "//third_party/ffmpeg/libavcodec/flacdsp.c",
441    "//third_party/ffmpeg/libavcodec/flacenc.c",
442
443    # "//third_party/ffmpeg/libavcodec/flicvideo.c",
444    # "//third_party/ffmpeg/libavcodec/flvdec.c",
445    # "//third_party/ffmpeg/libavcodec/flvenc.c",
446    # "//third_party/ffmpeg/libavcodec/fmtconvert.c",
447    # "//third_party/ffmpeg/libavcodec/fmvc.c",
448    "//third_party/ffmpeg/libavcodec/frame_thread_encoder.c",
449
450    # "//third_party/ffmpeg/libavcodec/fraps.c",
451    # "//third_party/ffmpeg/libavcodec/frwu.c",
452    # "//third_party/ffmpeg/libavcodec/g722.c",
453    # "//third_party/ffmpeg/libavcodec/g722dec.c",
454    # "//third_party/ffmpeg/libavcodec/g722dsp.c",
455    # "//third_party/ffmpeg/libavcodec/g722enc.c",
456    # "//third_party/ffmpeg/libavcodec/g723_1.c",
457    # "//third_party/ffmpeg/libavcodec/g723_1_parser.c",
458    # "//third_party/ffmpeg/libavcodec/g723_1dec.c",
459    # "//third_party/ffmpeg/libavcodec/g723_1enc.c",
460    # "//third_party/ffmpeg/libavcodec/g726.c",
461    # "//third_party/ffmpeg/libavcodec/g729_parser.c",
462    # "//third_party/ffmpeg/libavcodec/g729dec.c",
463    # "//third_party/ffmpeg/libavcodec/g729postfilter.c",
464    # "//third_party/ffmpeg/libavcodec/gdv.c",
465    # "//third_party/ffmpeg/libavcodec/gif.c",
466    # "//third_party/ffmpeg/libavcodec/gif_parser.c",
467    # "//third_party/ffmpeg/libavcodec/gifdec.c",
468    "//third_party/ffmpeg/libavcodec/golomb.c",
469
470    # "//third_party/ffmpeg/libavcodec/gsm_parser.c",
471    # "//third_party/ffmpeg/libavcodec/gsmdec.c",
472    # "//third_party/ffmpeg/libavcodec/gsmdec_data.c",
473    # "//third_party/ffmpeg/libavcodec/h261.c",
474    # "//third_party/ffmpeg/libavcodec/h261_parser.c",
475    # "//third_party/ffmpeg/libavcodec/h261data.c",
476    # "//third_party/ffmpeg/libavcodec/h261dec.c",
477    # "//third_party/ffmpeg/libavcodec/h261enc.c",
478    "//third_party/ffmpeg/libavcodec/h263.c",
479    "//third_party/ffmpeg/libavcodec/h263_parser.c",
480    "//third_party/ffmpeg/libavcodec/h263data.c",
481    "//third_party/ffmpeg/libavcodec/h263dec.c",
482    "//third_party/ffmpeg/libavcodec/h263dsp.c",
483    "//third_party/ffmpeg/libavcodec/h2645_parse.c",
484    "//third_party/ffmpeg/libavcodec/h264_cabac.c",
485    "//third_party/ffmpeg/libavcodec/h264_cavlc.c",
486    "//third_party/ffmpeg/libavcodec/h264_direct.c",
487
488    # "//third_party/ffmpeg/libavcodec/h264_levels.c",
489    "//third_party/ffmpeg/libavcodec/h264_loopfilter.c",
490    "//third_party/ffmpeg/libavcodec/h264_mb.c",
491
492    # "//third_party/ffmpeg/libavcodec/h264_metadata_bsf.c",
493    "//third_party/ffmpeg/libavcodec/h264_mp4toannexb_bsf.c",
494    "//third_party/ffmpeg/libavcodec/h264_parse.c",
495    "//third_party/ffmpeg/libavcodec/h264_parser.c",
496    "//third_party/ffmpeg/libavcodec/h264_picture.c",
497    "//third_party/ffmpeg/libavcodec/h264_ps.c",
498
499    # "//third_party/ffmpeg/libavcodec/h264_redundant_pps_bsf.c",
500    "//third_party/ffmpeg/libavcodec/h264_refs.c",
501    "//third_party/ffmpeg/libavcodec/h264_sei.c",
502    "//third_party/ffmpeg/libavcodec/h264_slice.c",
503    "//third_party/ffmpeg/libavcodec/h264chroma.c",
504    "//third_party/ffmpeg/libavcodec/h264data.c",
505    "//third_party/ffmpeg/libavcodec/h264dec.c",
506    "//third_party/ffmpeg/libavcodec/h264dsp.c",
507    "//third_party/ffmpeg/libavcodec/h264idct.c",
508    "//third_party/ffmpeg/libavcodec/h264pred.c",
509    "//third_party/ffmpeg/libavcodec/h264qpel.c",
510
511    # "//third_party/ffmpeg/libavcodec/h265_metadata_bsf.c",
512    # "//third_party/ffmpeg/libavcodec/h265_profile_level.c",
513    # "//third_party/ffmpeg/libavcodec/hap.c",
514    # "//third_party/ffmpeg/libavcodec/hapdec.c",
515    # "//third_party/ffmpeg/libavcodec/hapqa_extract_bsf.c",
516    # "//third_party/ffmpeg/libavcodec/hcom.c",
517    # "//third_party/ffmpeg/libavcodec/hevc_cabac.c",
518    # "//third_party/ffmpeg/libavcodec/hevc_data.c",
519    # "//third_party/ffmpeg/libavcodec/hevc_filter.c",
520    # "//third_party/ffmpeg/libavcodec/hevc_mp4toannexb_bsf.c",
521    # "//third_party/ffmpeg/libavcodec/hevc_mvs.c",
522    # "//third_party/ffmpeg/libavcodec/hevc_parse.c",
523    # "//third_party/ffmpeg/libavcodec/hevc_parser.c",
524    # "//third_party/ffmpeg/libavcodec/hevc_ps.c",
525    # "//third_party/ffmpeg/libavcodec/hevc_refs.c",
526    # "//third_party/ffmpeg/libavcodec/hevc_sei.c",
527    # "//third_party/ffmpeg/libavcodec/hevcdec.c",
528    # "//third_party/ffmpeg/libavcodec/hevcdsp.c",
529    # "//third_party/ffmpeg/libavcodec/hevcpred.c",
530    # "//third_party/ffmpeg/libavcodec/hnm4video.c",
531    "//third_party/ffmpeg/libavcodec/hpeldsp.c",
532
533    # "//third_party/ffmpeg/libavcodec/hq_hqa.c",
534    # "//third_party/ffmpeg/libavcodec/hq_hqadata.c",
535    # "//third_party/ffmpeg/libavcodec/hq_hqadsp.c",
536    # "//third_party/ffmpeg/libavcodec/hqx.c",
537    # "//third_party/ffmpeg/libavcodec/hqxdsp.c",
538    # "//third_party/ffmpeg/libavcodec/hqxvlc.c",
539    # "//third_party/ffmpeg/libavcodec/htmlsubtitles.c",
540    # "//third_party/ffmpeg/libavcodec/huffman.c",
541    # "//third_party/ffmpeg/libavcodec/huffyuv.c",
542    # "//third_party/ffmpeg/libavcodec/huffyuvdec.c",
543    # "//third_party/ffmpeg/libavcodec/huffyuvdsp.c",
544    # "//third_party/ffmpeg/libavcodec/huffyuvenc.c",
545    # "//third_party/ffmpeg/libavcodec/huffyuvencdsp.c",
546    # "//third_party/ffmpeg/libavcodec/idcinvideo.c",
547    "//third_party/ffmpeg/libavcodec/idctdsp.c",
548
549    # "//third_party/ffmpeg/libavcodec/iff.c",
550    "//third_party/ffmpeg/libavcodec/iirfilter.c",
551
552    # "//third_party/ffmpeg/libavcodec/ilbcdec.c",
553    # "//third_party/ffmpeg/libavcodec/imc.c",
554    "//third_party/ffmpeg/libavcodec/imgconvert.c",
555
556    # "//third_party/ffmpeg/libavcodec/imm4.c",
557    # "//third_party/ffmpeg/libavcodec/imx_dump_header_bsf.c",
558    # "//third_party/ffmpeg/libavcodec/indeo2.c",
559    # "//third_party/ffmpeg/libavcodec/indeo3.c",
560    # "//third_party/ffmpeg/libavcodec/indeo4.c",
561    # "//third_party/ffmpeg/libavcodec/indeo5.c",
562    # "//third_party/ffmpeg/libavcodec/intelh263dec.c",
563    # "//third_party/ffmpeg/libavcodec/interplayacm.c",
564    # "//third_party/ffmpeg/libavcodec/interplayvideo.c",
565    # "//third_party/ffmpeg/libavcodec/intrax8.c",
566    # "//third_party/ffmpeg/libavcodec/intrax8dsp.c",
567    "//third_party/ffmpeg/libavcodec/ituh263dec.c",
568    "//third_party/ffmpeg/libavcodec/ituh263enc.c",
569
570    # "//third_party/ffmpeg/libavcodec/ivi.c",
571    # "//third_party/ffmpeg/libavcodec/ivi_dsp.c",
572    # "//third_party/ffmpeg/libavcodec/j2kenc.c",
573    # "//third_party/ffmpeg/libavcodec/jacosubdec.c",
574    "//third_party/ffmpeg/libavcodec/jfdctfst.c",
575    "//third_party/ffmpeg/libavcodec/jfdctint.c",
576    "//third_party/ffmpeg/libavcodec/jni.c",
577
578    # "//third_party/ffmpeg/libavcodec/jpeg2000.c",
579    # "//third_party/ffmpeg/libavcodec/jpeg2000dec.c",
580    # "//third_party/ffmpeg/libavcodec/jpeg2000dsp.c",
581    # "//third_party/ffmpeg/libavcodec/jpeg2000dwt.c",
582    # "//third_party/ffmpeg/libavcodec/jpegls.c",
583    # "//third_party/ffmpeg/libavcodec/jpeglsdec.c",
584    # "//third_party/ffmpeg/libavcodec/jpeglsenc.c",
585    "//third_party/ffmpeg/libavcodec/jpegtables.c",
586    "//third_party/ffmpeg/libavcodec/jrevdct.c",
587
588    # "//third_party/ffmpeg/libavcodec/jvdec.c",
589    "//third_party/ffmpeg/libavcodec/kbdwin.c",
590
591    # "//third_party/ffmpeg/libavcodec/kgv1dec.c",
592    # "//third_party/ffmpeg/libavcodec/kmvc.c",
593    # "//third_party/ffmpeg/libavcodec/lagarith.c",
594    # "//third_party/ffmpeg/libavcodec/lagarithrac.c",
595    "//third_party/ffmpeg/libavcodec/latm_parser.c",
596
597    # "//third_party/ffmpeg/libavcodec/lcldec.c",
598    # "//third_party/ffmpeg/libavcodec/ljpegenc.c",
599    # "//third_party/ffmpeg/libavcodec/loco.c",
600    "//third_party/ffmpeg/libavcodec/lossless_audiodsp.c",
601
602    # "//third_party/ffmpeg/libavcodec/lossless_videodsp.c",
603    # "//third_party/ffmpeg/libavcodec/lossless_videoencdsp.c",
604    "//third_party/ffmpeg/libavcodec/lpc.c",
605    "//third_party/ffmpeg/libavcodec/lsp.c",
606
607    # "//third_party/ffmpeg/libavcodec/lzf.c",
608    # "//third_party/ffmpeg/libavcodec/lzw.c",
609    # "//third_party/ffmpeg/libavcodec/lzwenc.c",
610    # "//third_party/ffmpeg/libavcodec/m101.c",
611    # "//third_party/ffmpeg/libavcodec/mace.c",
612    # "//third_party/ffmpeg/libavcodec/magicyuv.c",
613    # "//third_party/ffmpeg/libavcodec/magicyuvenc.c",
614    "//third_party/ffmpeg/libavcodec/mathtables.c",
615    "//third_party/ffmpeg/libavcodec/mdct15.c",
616    "//third_party/ffmpeg/libavcodec/mdct_fixed_32.c",
617    "//third_party/ffmpeg/libavcodec/mdct_float.c",
618
619    # "//third_party/ffmpeg/libavcodec/mdec.c",
620    "//third_party/ffmpeg/libavcodec/me_cmp.c",
621    "//third_party/ffmpeg/libavcodec/mediacodec.c",
622
623    # "//third_party/ffmpeg/libavcodec/microdvddec.c",
624    # "//third_party/ffmpeg/libavcodec/mimic.c",
625    # "//third_party/ffmpeg/libavcodec/mjpeg2jpeg_bsf.c",
626    # "//third_party/ffmpeg/libavcodec/mjpeg_parser.c",
627    # "//third_party/ffmpeg/libavcodec/mjpega_dump_header_bsf.c",
628    # "//third_party/ffmpeg/libavcodec/mjpegbdec.c",
629    "//third_party/ffmpeg/libavcodec/mjpegdec.c",
630    "//third_party/ffmpeg/libavcodec/mjpegdec_common.c",
631
632    # "//third_party/ffmpeg/libavcodec/mjpegenc.c",
633    # "//third_party/ffmpeg/libavcodec/mjpegenc_common.c",
634    # "//third_party/ffmpeg/libavcodec/mjpegenc_huffman.c",
635    # "//third_party/ffmpeg/libavcodec/mlp.c",
636    # "//third_party/ffmpeg/libavcodec/mlp_parse.c",
637    # "//third_party/ffmpeg/libavcodec/mlp_parser.c",
638    # "//third_party/ffmpeg/libavcodec/mlpdec.c",
639    # "//third_party/ffmpeg/libavcodec/mlpdsp.c",
640    # "//third_party/ffmpeg/libavcodec/mlpenc.c",
641    # "//third_party/ffmpeg/libavcodec/mlz.c",
642    # "//third_party/ffmpeg/libavcodec/mmvideo.c",
643    "//third_party/ffmpeg/libavcodec/motion_est.c",
644
645    # "//third_party/ffmpeg/libavcodec/motionpixels.c",
646    # "//third_party/ffmpeg/libavcodec/movsub_bsf.c",
647    # "//third_party/ffmpeg/libavcodec/movtextdec.c",
648    # "//third_party/ffmpeg/libavcodec/movtextenc.c",
649    # "//third_party/ffmpeg/libavcodec/mp3_header_decompress_bsf.c",
650    # "//third_party/ffmpeg/libavcodec/mpc.c",
651    # "//third_party/ffmpeg/libavcodec/mpc7.c",
652    # "//third_party/ffmpeg/libavcodec/mpc8.c",
653    "//third_party/ffmpeg/libavcodec/mpeg12.c",
654    "//third_party/ffmpeg/libavcodec/mpeg12data.c",
655    "//third_party/ffmpeg/libavcodec/mpeg12dec.c",
656
657    # "//third_party/ffmpeg/libavcodec/mpeg12enc.c",
658    "//third_party/ffmpeg/libavcodec/mpeg12framerate.c",
659
660    # "//third_party/ffmpeg/libavcodec/mpeg2_metadata_bsf.c",
661    # "//third_party/ffmpeg/libavcodec/mpeg4_unpack_bframes_bsf.c",
662    "//third_party/ffmpeg/libavcodec/mpeg4audio.c",
663    "//third_party/ffmpeg/libavcodec/mpeg4video.c",
664    "//third_party/ffmpeg/libavcodec/mpeg4video_parser.c",
665    "//third_party/ffmpeg/libavcodec/mpeg4videodec.c",
666    "//third_party/ffmpeg/libavcodec/mpeg4videoenc.c",
667    "//third_party/ffmpeg/libavcodec/mpeg_er.c",
668    "//third_party/ffmpeg/libavcodec/mpegaudio.c",
669    "//third_party/ffmpeg/libavcodec/mpegaudio_parser.c",
670    "//third_party/ffmpeg/libavcodec/mpegaudiodata.c",
671    "//third_party/ffmpeg/libavcodec/mpegaudiodec_common.c",
672    "//third_party/ffmpeg/libavcodec/mpegaudiodec_fixed.c",
673    "//third_party/ffmpeg/libavcodec/mpegaudiodec_float.c",
674    "//third_party/ffmpeg/libavcodec/mpegaudiodecheader.c",
675    "//third_party/ffmpeg/libavcodec/mpegaudiodsp.c",
676    "//third_party/ffmpeg/libavcodec/mpegaudiodsp_data.c",
677    "//third_party/ffmpeg/libavcodec/mpegaudiodsp_fixed.c",
678    "//third_party/ffmpeg/libavcodec/mpegaudiodsp_float.c",
679
680    # "//third_party/ffmpeg/libavcodec/mpegaudioenc_fixed.c",
681    # "//third_party/ffmpeg/libavcodec/mpegaudioenc_float.c",
682    "//third_party/ffmpeg/libavcodec/mpegpicture.c",
683    "//third_party/ffmpeg/libavcodec/mpegutils.c",
684    "//third_party/ffmpeg/libavcodec/mpegvideo.c",
685    "//third_party/ffmpeg/libavcodec/mpegvideo_enc.c",
686    "//third_party/ffmpeg/libavcodec/mpegvideo_motion.c",
687    "//third_party/ffmpeg/libavcodec/mpegvideo_parser.c",
688    "//third_party/ffmpeg/libavcodec/mpegvideodata.c",
689    "//third_party/ffmpeg/libavcodec/mpegvideodsp.c",
690    "//third_party/ffmpeg/libavcodec/mpegvideoencdsp.c",
691
692    # "//third_party/ffmpeg/libavcodec/mpl2dec.c",
693    # "//third_party/ffmpeg/libavcodec/mqc.c",
694    # "//third_party/ffmpeg/libavcodec/mqcdec.c",
695    # "//third_party/ffmpeg/libavcodec/mqcenc.c",
696    # "//third_party/ffmpeg/libavcodec/msgsmdec.c",
697    # "//third_party/ffmpeg/libavcodec/msmpeg4.c",
698    # "//third_party/ffmpeg/libavcodec/msmpeg4data.c",
699    # "//third_party/ffmpeg/libavcodec/msmpeg4dec.c",
700    # "//third_party/ffmpeg/libavcodec/msmpeg4enc.c",
701    # "//third_party/ffmpeg/libavcodec/msrle.c",
702    "//third_party/ffmpeg/libavcodec/msrledec.c",
703
704    # "//third_party/ffmpeg/libavcodec/mss1.c",
705    # "//third_party/ffmpeg/libavcodec/mss12.c",
706    # "//third_party/ffmpeg/libavcodec/mss2.c",
707    # "//third_party/ffmpeg/libavcodec/mss2dsp.c",
708    # "//third_party/ffmpeg/libavcodec/mss3.c",
709    # "//third_party/ffmpeg/libavcodec/mss34dsp.c",
710    # "//third_party/ffmpeg/libavcodec/mss4.c",
711    # "//third_party/ffmpeg/libavcodec/msvideo1.c",
712    # "//third_party/ffmpeg/libavcodec/msvideo1enc.c",
713    # "//third_party/ffmpeg/libavcodec/mvcdec.c",
714    # "//third_party/ffmpeg/libavcodec/mxpegdec.c",
715    # "//third_party/ffmpeg/libavcodec/nellymoser.c",
716    # "//third_party/ffmpeg/libavcodec/nellymoserdec.c",
717    # "//third_party/ffmpeg/libavcodec/nellymoserenc.c",
718    # "//third_party/ffmpeg/libavcodec/noise_bsf.c",
719    "//third_party/ffmpeg/libavcodec/null_bsf.c",
720
721    # "//third_party/ffmpeg/libavcodec/nuv.c",
722    # "//third_party/ffmpeg/libavcodec/on2avc.c",
723    # "//third_party/ffmpeg/libavcodec/on2avcdata.c",
724    "//third_party/ffmpeg/libavcodec/options.c",
725    "//third_party/ffmpeg/libavcodec/opus.c",
726    "//third_party/ffmpeg/libavcodec/opus_celt.c",
727
728    # "//third_party/ffmpeg/libavcodec/opus_parser.c",
729    "//third_party/ffmpeg/libavcodec/opus_pvq.c",
730    "//third_party/ffmpeg/libavcodec/opus_rc.c",
731    "//third_party/ffmpeg/libavcodec/opus_silk.c",
732    "//third_party/ffmpeg/libavcodec/opusdec.c",
733    "//third_party/ffmpeg/libavcodec/opusdsp.c",
734    "//third_party/ffmpeg/libavcodec/opusenc.c",
735    "//third_party/ffmpeg/libavcodec/opusenc_psy.c",
736    "//third_party/ffmpeg/libavcodec/opustab.c",
737
738    # "//third_party/ffmpeg/libavcodec/pafaudio.c",
739    # "//third_party/ffmpeg/libavcodec/pafvideo.c",
740    # "//third_party/ffmpeg/libavcodec/pamenc.c",
741    "//third_party/ffmpeg/libavcodec/parser.c",
742    "//third_party/ffmpeg/libavcodec/parsers.c",
743
744    # "//third_party/ffmpeg/libavcodec/pcm-bluray.c",
745    # "//third_party/ffmpeg/libavcodec/pcm-dvd.c",
746    # "//third_party/ffmpeg/libavcodec/pcm-dvdenc.c",
747    # "//third_party/ffmpeg/libavcodec/pcm.c",
748    # "//third_party/ffmpeg/libavcodec/pcx.c",
749    # "//third_party/ffmpeg/libavcodec/pcxenc.c",
750    # "//third_party/ffmpeg/libavcodec/pgssubdec.c",
751    # "//third_party/ffmpeg/libavcodec/pictordec.c",
752    "//third_party/ffmpeg/libavcodec/pixblockdsp.c",
753
754    # "//third_party/ffmpeg/libavcodec/pixlet.c",
755    # "//third_party/ffmpeg/libavcodec/png_parser.c",
756    # "//third_party/ffmpeg/libavcodec/pnm.c",
757    # "//third_party/ffmpeg/libavcodec/pnm_parser.c",
758    # "//third_party/ffmpeg/libavcodec/pnmdec.c",
759    # "//third_party/ffmpeg/libavcodec/pnmenc.c",
760    "//third_party/ffmpeg/libavcodec/profiles.c",
761
762    # "//third_party/ffmpeg/libavcodec/prores_metadata_bsf.c",
763    # "//third_party/ffmpeg/libavcodec/proresdata.c",
764    # "//third_party/ffmpeg/libavcodec/proresdec2.c",
765    # "//third_party/ffmpeg/libavcodec/proresdsp.c",
766    # "//third_party/ffmpeg/libavcodec/proresenc_anatoliy.c",
767    # "//third_party/ffmpeg/libavcodec/proresenc_kostya.c",
768    # "//third_party/ffmpeg/libavcodec/prosumer.c",
769    # "//third_party/ffmpeg/libavcodec/psd.c",
770    "//third_party/ffmpeg/libavcodec/psymodel.c",
771    "//third_party/ffmpeg/libavcodec/pthread.c",
772    "//third_party/ffmpeg/libavcodec/pthread_frame.c",
773    "//third_party/ffmpeg/libavcodec/pthread_slice.c",
774
775    # "//third_party/ffmpeg/libavcodec/ptx.c",
776    # "//third_party/ffmpeg/libavcodec/qcelpdec.c",
777    # "//third_party/ffmpeg/libavcodec/qdm2.c",
778    # "//third_party/ffmpeg/libavcodec/qdmc.c",
779    # "//third_party/ffmpeg/libavcodec/qdrw.c",
780    # "//third_party/ffmpeg/libavcodec/qpeg.c",
781    "//third_party/ffmpeg/libavcodec/qpeldsp.c",
782    "//third_party/ffmpeg/libavcodec/qsv_api.c",
783
784    # "//third_party/ffmpeg/libavcodec/qtrle.c",
785    # "//third_party/ffmpeg/libavcodec/qtrleenc.c",
786    # "//third_party/ffmpeg/libavcodec/r210dec.c",
787    # "//third_party/ffmpeg/libavcodec/r210enc.c",
788    # "//third_party/ffmpeg/libavcodec/ra144.c",
789    # "//third_party/ffmpeg/libavcodec/ra144dec.c",
790    # "//third_party/ffmpeg/libavcodec/ra144enc.c",
791    # "//third_party/ffmpeg/libavcodec/ra288.c",
792    # "//third_party/ffmpeg/libavcodec/ralf.c",
793    # "//third_party/ffmpeg/libavcodec/rangecoder.c",
794    "//third_party/ffmpeg/libavcodec/ratecontrol.c",
795    "//third_party/ffmpeg/libavcodec/raw.c",
796
797    # "//third_party/ffmpeg/libavcodec/rawdec.c",
798    # "//third_party/ffmpeg/libavcodec/rawenc.c",
799    "//third_party/ffmpeg/libavcodec/rdft.c",
800
801    # "//third_party/ffmpeg/libavcodec/realtextdec.c",
802    # "//third_party/ffmpeg/libavcodec/remove_extradata_bsf.c",
803    "//third_party/ffmpeg/libavcodec/rl.c",
804
805    # "//third_party/ffmpeg/libavcodec/rl2.c",
806    # "//third_party/ffmpeg/libavcodec/rle.c",
807    # "//third_party/ffmpeg/libavcodec/roqaudioenc.c",
808    # "//third_party/ffmpeg/libavcodec/roqvideo.c",
809    # "//third_party/ffmpeg/libavcodec/roqvideodec.c",
810    # "//third_party/ffmpeg/libavcodec/roqvideoenc.c",
811    # "//third_party/ffmpeg/libavcodec/rpza.c",
812    # "//third_party/ffmpeg/libavcodec/rtjpeg.c",
813    # "//third_party/ffmpeg/libavcodec/rv10.c",
814    # "//third_party/ffmpeg/libavcodec/rv10enc.c",
815    # "//third_party/ffmpeg/libavcodec/rv20enc.c",
816    # "//third_party/ffmpeg/libavcodec/rv30.c",
817    # "//third_party/ffmpeg/libavcodec/rv30dsp.c",
818    # "//third_party/ffmpeg/libavcodec/rv34.c",
819    # "//third_party/ffmpeg/libavcodec/rv34_parser.c",
820    # "//third_party/ffmpeg/libavcodec/rv34dsp.c",
821    # "//third_party/ffmpeg/libavcodec/rv40.c",
822    # "//third_party/ffmpeg/libavcodec/rv40dsp.c",
823    # "//third_party/ffmpeg/libavcodec/s302m.c",
824    # "//third_party/ffmpeg/libavcodec/s302menc.c",
825    # "//third_party/ffmpeg/libavcodec/samidec.c",
826    # "//third_party/ffmpeg/libavcodec/sanm.c",
827    # "//third_party/ffmpeg/libavcodec/sbc.c",
828    # "//third_party/ffmpeg/libavcodec/sbc_parser.c",
829    # "//third_party/ffmpeg/libavcodec/sbcdec.c",
830    # "//third_party/ffmpeg/libavcodec/sbcdec_data.c",
831    # "//third_party/ffmpeg/libavcodec/sbcdsp.c",
832    # "//third_party/ffmpeg/libavcodec/sbcdsp_data.c",
833    # "//third_party/ffmpeg/libavcodec/sbcenc.c",
834    "//third_party/ffmpeg/libavcodec/sbrdsp.c",
835
836    # "//third_party/ffmpeg/libavcodec/sbrdsp_fixed.c",
837    # "//third_party/ffmpeg/libavcodec/scpr.c",
838    # "//third_party/ffmpeg/libavcodec/sgidec.c",
839    # "//third_party/ffmpeg/libavcodec/sgienc.c",
840    # "//third_party/ffmpeg/libavcodec/sgirledec.c",
841    # "//third_party/ffmpeg/libavcodec/sheervideo.c",
842    # "//third_party/ffmpeg/libavcodec/shorten.c",
843    "//third_party/ffmpeg/libavcodec/simple_idct.c",
844    "//third_party/ffmpeg/libavcodec/sinewin.c",
845
846    # "//third_party/ffmpeg/libavcodec/sipr.c",
847    # "//third_party/ffmpeg/libavcodec/sipr16k.c",
848    # "//third_party/ffmpeg/libavcodec/sipr_parser.c",
849    # "//third_party/ffmpeg/libavcodec/smacker.c",
850    # "//third_party/ffmpeg/libavcodec/smc.c",
851    # "//third_party/ffmpeg/libavcodec/snappy.c",
852    # "//third_party/ffmpeg/libavcodec/snow.c",
853    # "//third_party/ffmpeg/libavcodec/snow_dwt.c",
854    # "//third_party/ffmpeg/libavcodec/snowdec.c",
855    # "//third_party/ffmpeg/libavcodec/snowenc.c",
856    # "//third_party/ffmpeg/libavcodec/sonic.c",
857    # "//third_party/ffmpeg/libavcodec/sp5xdec.c",
858    # "//third_party/ffmpeg/libavcodec/speedhq.c",
859    # "//third_party/ffmpeg/libavcodec/srtdec.c",
860    # "//third_party/ffmpeg/libavcodec/srtenc.c",
861    "//third_party/ffmpeg/libavcodec/startcode.c",
862
863    # "//third_party/ffmpeg/libavcodec/subviewerdec.c",
864    # "//third_party/ffmpeg/libavcodec/sunrast.c",
865    # "//third_party/ffmpeg/libavcodec/sunrastenc.c",
866    # "//third_party/ffmpeg/libavcodec/svq1.c",
867    # "//third_party/ffmpeg/libavcodec/svq1dec.c",
868    # "//third_party/ffmpeg/libavcodec/svq1enc.c",
869    # "//third_party/ffmpeg/libavcodec/svq3.c",
870    # "//third_party/ffmpeg/libavcodec/synth_filter.c",
871    # "//third_party/ffmpeg/libavcodec/tak.c",
872    # "//third_party/ffmpeg/libavcodec/tak_parser.c",
873    # "//third_party/ffmpeg/libavcodec/takdec.c",
874    # "//third_party/ffmpeg/libavcodec/takdsp.c",
875    # "//third_party/ffmpeg/libavcodec/targa.c",
876    # "//third_party/ffmpeg/libavcodec/targa_y216dec.c",
877    # "//third_party/ffmpeg/libavcodec/targaenc.c",
878    # "//third_party/ffmpeg/libavcodec/textdec.c",
879    # "//third_party/ffmpeg/libavcodec/texturedsp.c",
880    # "//third_party/ffmpeg/libavcodec/tiertexseqv.c",
881    # "//third_party/ffmpeg/libavcodec/tiff.c",
882    "//third_party/ffmpeg/libavcodec/tiff_common.c",
883
884    # "//third_party/ffmpeg/libavcodec/tiffenc.c",
885    # "//third_party/ffmpeg/libavcodec/tmv.c",
886    # "//third_party/ffmpeg/libavcodec/tpeldsp.c",
887    # "//third_party/ffmpeg/libavcodec/trace_headers_bsf.c",
888    # "//third_party/ffmpeg/libavcodec/truehd_core_bsf.c",
889    # "//third_party/ffmpeg/libavcodec/truemotion1.c",
890    # "//third_party/ffmpeg/libavcodec/truemotion2.c",
891    # "//third_party/ffmpeg/libavcodec/truemotion2rt.c",
892    # "//third_party/ffmpeg/libavcodec/truespeech.c",
893    # "//third_party/ffmpeg/libavcodec/tscc2.c",
894    # "//third_party/ffmpeg/libavcodec/tta.c",
895    # "//third_party/ffmpeg/libavcodec/ttadata.c",
896    # "//third_party/ffmpeg/libavcodec/ttadsp.c",
897    # "//third_party/ffmpeg/libavcodec/ttaenc.c",
898    # "//third_party/ffmpeg/libavcodec/ttaencdsp.c",
899    # "//third_party/ffmpeg/libavcodec/twinvq.c",
900    # "//third_party/ffmpeg/libavcodec/txd.c",
901    # "//third_party/ffmpeg/libavcodec/ulti.c",
902    "//third_party/ffmpeg/libavcodec/utils.c",
903
904    # "//third_party/ffmpeg/libavcodec/utvideodec.c",
905    # "//third_party/ffmpeg/libavcodec/utvideodsp.c",
906    # "//third_party/ffmpeg/libavcodec/utvideoenc.c",
907    # "//third_party/ffmpeg/libavcodec/v210dec.c",
908    # "//third_party/ffmpeg/libavcodec/v210enc.c",
909    # "//third_party/ffmpeg/libavcodec/v210x.c",
910    # "//third_party/ffmpeg/libavcodec/v308dec.c",
911    # "//third_party/ffmpeg/libavcodec/v308enc.c",
912    # "//third_party/ffmpeg/libavcodec/v408dec.c",
913    # "//third_party/ffmpeg/libavcodec/v408enc.c",
914    # "//third_party/ffmpeg/libavcodec/v410dec.c",
915    # "//third_party/ffmpeg/libavcodec/v410enc.c",
916    # "//third_party/ffmpeg/libavcodec/vb.c",
917    # "//third_party/ffmpeg/libavcodec/vble.c",
918    # "//third_party/ffmpeg/libavcodec/vc1.c",
919    # "//third_party/ffmpeg/libavcodec/vc1_block.c",
920    # "//third_party/ffmpeg/libavcodec/vc1_loopfilter.c",
921    # "//third_party/ffmpeg/libavcodec/vc1_mc.c",
922    # "//third_party/ffmpeg/libavcodec/vc1_parser.c",
923    # "//third_party/ffmpeg/libavcodec/vc1_pred.c",
924    # "//third_party/ffmpeg/libavcodec/vc1data.c",
925    # "//third_party/ffmpeg/libavcodec/vc1dec.c",
926    # "//third_party/ffmpeg/libavcodec/vc1dsp.c",
927    # "//third_party/ffmpeg/libavcodec/vc2enc.c",
928    # "//third_party/ffmpeg/libavcodec/vc2enc_dwt.c",
929    # "//third_party/ffmpeg/libavcodec/vcr1.c",
930    "//third_party/ffmpeg/libavcodec/videodsp.c",
931
932    # "//third_party/ffmpeg/libavcodec/vima.c",
933    # "//third_party/ffmpeg/libavcodec/vmdaudio.c",
934    # "//third_party/ffmpeg/libavcodec/vmdvideo.c",
935    # "//third_party/ffmpeg/libavcodec/vmnc.c",
936    "//third_party/ffmpeg/libavcodec/vorbis.c",
937    "//third_party/ffmpeg/libavcodec/vorbis_data.c",
938    "//third_party/ffmpeg/libavcodec/vorbis_parser.c",
939    "//third_party/ffmpeg/libavcodec/vorbisdec.c",
940    "//third_party/ffmpeg/libavcodec/vorbisdsp.c",
941
942    # "//third_party/ffmpeg/libavcodec/vorbisenc.c",
943    # "//third_party/ffmpeg/libavcodec/vp3.c",
944    # "//third_party/ffmpeg/libavcodec/vp3_parser.c",
945    # "//third_party/ffmpeg/libavcodec/vp3dsp.c",
946    # "//third_party/ffmpeg/libavcodec/vp5.c",
947    # "//third_party/ffmpeg/libavcodec/vp56.c",
948    # "//third_party/ffmpeg/libavcodec/vp56data.c",
949    # "//third_party/ffmpeg/libavcodec/vp56dsp.c",
950    "//third_party/ffmpeg/libavcodec/vp56rac.c",
951
952    # "//third_party/ffmpeg/libavcodec/vp6.c",
953    # "//third_party/ffmpeg/libavcodec/vp6dsp.c",
954    "//third_party/ffmpeg/libavcodec/vp8.c",
955    "//third_party/ffmpeg/libavcodec/vp8_parser.c",
956    "//third_party/ffmpeg/libavcodec/vp8dsp.c",
957    "//third_party/ffmpeg/libavcodec/vp9.c",
958
959    # "//third_party/ffmpeg/libavcodec/vp9_metadata_bsf.c",
960    "//third_party/ffmpeg/libavcodec/vp9_parser.c",
961
962    # "//third_party/ffmpeg/libavcodec/vp9_raw_reorder_bsf.c",
963    "//third_party/ffmpeg/libavcodec/vp9_superframe_bsf.c",
964    "//third_party/ffmpeg/libavcodec/vp9_superframe_split_bsf.c",
965    "//third_party/ffmpeg/libavcodec/vp9block.c",
966    "//third_party/ffmpeg/libavcodec/vp9data.c",
967    "//third_party/ffmpeg/libavcodec/vp9dsp.c",
968    "//third_party/ffmpeg/libavcodec/vp9dsp_10bpp.c",
969    "//third_party/ffmpeg/libavcodec/vp9dsp_12bpp.c",
970    "//third_party/ffmpeg/libavcodec/vp9dsp_8bpp.c",
971    "//third_party/ffmpeg/libavcodec/vp9lpf.c",
972    "//third_party/ffmpeg/libavcodec/vp9mvs.c",
973    "//third_party/ffmpeg/libavcodec/vp9prob.c",
974    "//third_party/ffmpeg/libavcodec/vp9recon.c",
975
976    # "//third_party/ffmpeg/libavcodec/vqavideo.c",
977    # "//third_party/ffmpeg/libavcodec/wavpack.c",
978    # "//third_party/ffmpeg/libavcodec/wavpackdata.c",
979    # "//third_party/ffmpeg/libavcodec/wavpackenc.c",
980    # "//third_party/ffmpeg/libavcodec/webp.c",
981    # "//third_party/ffmpeg/libavcodec/webvttdec.c",
982    # "//third_party/ffmpeg/libavcodec/webvttenc.c",
983    # "//third_party/ffmpeg/libavcodec/wma.c",
984    # "//third_party/ffmpeg/libavcodec/wma_common.c",
985    # "//third_party/ffmpeg/libavcodec/wma_freqs.c",
986    # "//third_party/ffmpeg/libavcodec/wmadec.c",
987    # "//third_party/ffmpeg/libavcodec/wmaenc.c",
988    # "//third_party/ffmpeg/libavcodec/wmalosslessdec.c",
989    # "//third_party/ffmpeg/libavcodec/wmaprodec.c",
990    # "//third_party/ffmpeg/libavcodec/wmavoice.c",
991    # "//third_party/ffmpeg/libavcodec/wmv2.c",
992    # "//third_party/ffmpeg/libavcodec/wmv2data.c",
993    # "//third_party/ffmpeg/libavcodec/wmv2dec.c",
994    # "//third_party/ffmpeg/libavcodec/wmv2dsp.c",
995    # "//third_party/ffmpeg/libavcodec/wmv2enc.c",
996    # "//third_party/ffmpeg/libavcodec/wnv1.c",
997    # "//third_party/ffmpeg/libavcodec/wrapped_avframe.c",
998    # "//third_party/ffmpeg/libavcodec/ws-snd1.c",
999    # "//third_party/ffmpeg/libavcodec/xan.c",
1000    # "//third_party/ffmpeg/libavcodec/xbmdec.c",
1001    # "//third_party/ffmpeg/libavcodec/xbmenc.c",
1002    # "//third_party/ffmpeg/libavcodec/xface.c",
1003    # "//third_party/ffmpeg/libavcodec/xfacedec.c",
1004    # "//third_party/ffmpeg/libavcodec/xfaceenc.c",
1005    "//third_party/ffmpeg/libavcodec/xiph.c",
1006
1007    # "//third_party/ffmpeg/libavcodec/xl.c",
1008    # "//third_party/ffmpeg/libavcodec/xma_parser.c",
1009    # "//third_party/ffmpeg/libavcodec/xpmdec.c",
1010    # "//third_party/ffmpeg/libavcodec/xsubdec.c",
1011    # "//third_party/ffmpeg/libavcodec/xsubenc.c",
1012    "//third_party/ffmpeg/libavcodec/xvididct.c",
1013
1014    # "//third_party/ffmpeg/libavcodec/xwddec.c",
1015    # "//third_party/ffmpeg/libavcodec/xwdenc.c",
1016    # "//third_party/ffmpeg/libavcodec/xxan.c",
1017    # "//third_party/ffmpeg/libavcodec/y41pdec.c",
1018    # "//third_party/ffmpeg/libavcodec/y41penc.c",
1019    # "//third_party/ffmpeg/libavcodec/ylc.c",
1020    # "//third_party/ffmpeg/libavcodec/yop.c",
1021    # "//third_party/ffmpeg/libavcodec/yuv4dec.c",
1022    # "//third_party/ffmpeg/libavcodec/yuv4enc.c",
1023    "//third_party/ffmpeg/libavfilter/allfilters.c",
1024    "//third_party/ffmpeg/libavfilter/audio.c",
1025    "//third_party/ffmpeg/libavfilter/avfilter.c",
1026    "//third_party/ffmpeg/libavfilter/avfiltergraph.c",
1027    "//third_party/ffmpeg/libavfilter/buffersink.c",
1028    "//third_party/ffmpeg/libavfilter/buffersrc.c",
1029    "//third_party/ffmpeg/libavfilter/drawutils.c",
1030    "//third_party/ffmpeg/libavfilter/fifo.c",
1031    "//third_party/ffmpeg/libavfilter/formats.c",
1032    "//third_party/ffmpeg/libavfilter/framepool.c",
1033    "//third_party/ffmpeg/libavfilter/framequeue.c",
1034    "//third_party/ffmpeg/libavfilter/graphdump.c",
1035    "//third_party/ffmpeg/libavfilter/graphparser.c",
1036    "//third_party/ffmpeg/libavfilter/pthread.c",
1037    "//third_party/ffmpeg/libavfilter/transform.c",
1038    "//third_party/ffmpeg/libavfilter/video.c",
1039
1040    # "//third_party/ffmpeg/libavformat/3dostr.c",
1041    # "//third_party/ffmpeg/libavformat/4xm.c",
1042    # "//third_party/ffmpeg/libavformat/a64.c",
1043    "//third_party/ffmpeg/libavformat/aacdec.c",
1044
1045    # "//third_party/ffmpeg/libavformat/aadec.c",
1046    # "//third_party/ffmpeg/libavformat/ac3dec.c",
1047    # "//third_party/ffmpeg/libavformat/acm.c",
1048    # "//third_party/ffmpeg/libavformat/act.c",
1049    # "//third_party/ffmpeg/libavformat/adp.c",
1050    # "//third_party/ffmpeg/libavformat/ads.c",
1051    # "//third_party/ffmpeg/libavformat/adtsenc.c",
1052    # "//third_party/ffmpeg/libavformat/adxdec.c",
1053    # "//third_party/ffmpeg/libavformat/aea.c",
1054    # "//third_party/ffmpeg/libavformat/afc.c",
1055    # "//third_party/ffmpeg/libavformat/aiff.c",
1056    # "//third_party/ffmpeg/libavformat/aiffdec.c",
1057    # "//third_party/ffmpeg/libavformat/aiffenc.c",
1058    # "//third_party/ffmpeg/libavformat/aixdec.c",
1059    "//third_party/ffmpeg/libavformat/allformats.c",
1060    "//third_party/ffmpeg/libavformat/amr.c",
1061
1062    # "//third_party/ffmpeg/libavformat/anm.c",
1063    # "//third_party/ffmpeg/libavformat/apc.c",
1064    "//third_party/ffmpeg/libavformat/ape.c",
1065    "//third_party/ffmpeg/libavformat/apetag.c",
1066
1067    # "//third_party/ffmpeg/libavformat/apngdec.c",
1068    # "//third_party/ffmpeg/libavformat/apngenc.c",
1069    # "//third_party/ffmpeg/libavformat/aptxdec.c",
1070    # "//third_party/ffmpeg/libavformat/aqtitledec.c",
1071    # "//third_party/ffmpeg/libavformat/asf.c",
1072    # "//third_party/ffmpeg/libavformat/asfcrypt.c",
1073    # "//third_party/ffmpeg/libavformat/asfdec_f.c",
1074    # "//third_party/ffmpeg/libavformat/asfdec_o.c",
1075    # "//third_party/ffmpeg/libavformat/asfenc.c",
1076    # "//third_party/ffmpeg/libavformat/assdec.c",
1077    # "//third_party/ffmpeg/libavformat/assenc.c",
1078    # "//third_party/ffmpeg/libavformat/ast.c",
1079    # "//third_party/ffmpeg/libavformat/astdec.c",
1080    # "//third_party/ffmpeg/libavformat/astenc.c",
1081    # "//third_party/ffmpeg/libavformat/async.c",
1082    # "//third_party/ffmpeg/libavformat/au.c",
1083    "//third_party/ffmpeg/libavformat/av1.c",
1084    "//third_party/ffmpeg/libavformat/avc.c",
1085
1086    # "//third_party/ffmpeg/libavformat/avidec.c",
1087    "//third_party/ffmpeg/libavformat/avio.c",
1088    "//third_party/ffmpeg/libavformat/aviobuf.c",
1089
1090    # "//third_party/ffmpeg/libavformat/avlanguage.c",
1091    # "//third_party/ffmpeg/libavformat/avr.c",
1092    # "//third_party/ffmpeg/libavformat/avs.c",
1093    # "//third_party/ffmpeg/libavformat/bethsoftvid.c",
1094    # "//third_party/ffmpeg/libavformat/bfi.c",
1095    # "//third_party/ffmpeg/libavformat/bink.c",
1096    # "//third_party/ffmpeg/libavformat/bintext.c",
1097    # "//third_party/ffmpeg/libavformat/bit.c",
1098    # "//third_party/ffmpeg/libavformat/bmv.c",
1099    # "//third_party/ffmpeg/libavformat/boadec.c",
1100    # "//third_party/ffmpeg/libavformat/brstm.c",
1101    # "//third_party/ffmpeg/libavformat/c93.c",
1102    # "//third_party/ffmpeg/libavformat/cache.c",
1103    # "//third_party/ffmpeg/libavformat/caf.c",
1104    # "//third_party/ffmpeg/libavformat/cafdec.c",
1105    # "//third_party/ffmpeg/libavformat/cafenc.c",
1106    # "//third_party/ffmpeg/libavformat/cdg.c",
1107    # "//third_party/ffmpeg/libavformat/cdxl.c",
1108    # "//third_party/ffmpeg/libavformat/cinedec.c",
1109    # "//third_party/ffmpeg/libavformat/codec2.c",
1110    # "//third_party/ffmpeg/libavformat/concat.c",
1111    # "//third_party/ffmpeg/libavformat/concatdec.c",
1112    # "//third_party/ffmpeg/libavformat/crcenc.c",
1113    # "//third_party/ffmpeg/libavformat/crypto.c",
1114    # "//third_party/ffmpeg/libavformat/dash.c",
1115    # "//third_party/ffmpeg/libavformat/dashenc.c",
1116    # "//third_party/ffmpeg/libavformat/data_uri.c",
1117    # "//third_party/ffmpeg/libavformat/dauddec.c",
1118    # "//third_party/ffmpeg/libavformat/daudenc.c",
1119    # "//third_party/ffmpeg/libavformat/dcstr.c",
1120    # "//third_party/ffmpeg/libavformat/dfa.c",
1121    # "//third_party/ffmpeg/libavformat/dsfdec.c",
1122    # "//third_party/ffmpeg/libavformat/dsicin.c",
1123    # "//third_party/ffmpeg/libavformat/dss.c",
1124    # "//third_party/ffmpeg/libavformat/dtsdec.c",
1125    # "//third_party/ffmpeg/libavformat/dtshddec.c",
1126    "//third_party/ffmpeg/libavformat/dump.c",
1127
1128    # "//third_party/ffmpeg/libavformat/dv.c",
1129    # "//third_party/ffmpeg/libavformat/dvbsub.c",
1130    # "//third_party/ffmpeg/libavformat/dvenc.c",
1131    # "//third_party/ffmpeg/libavformat/dxa.c",
1132    # "//third_party/ffmpeg/libavformat/eacdata.c",
1133    # "//third_party/ffmpeg/libavformat/electronicarts.c",
1134    # "//third_party/ffmpeg/libavformat/epafdec.c",
1135    # "//third_party/ffmpeg/libavformat/ffmetadec.c",
1136    # "//third_party/ffmpeg/libavformat/ffmetaenc.c",
1137    # "//third_party/ffmpeg/libavformat/fifo.c",
1138    # "//third_party/ffmpeg/libavformat/fifo_test.c",
1139    "//third_party/ffmpeg/libavformat/file.c",
1140
1141    # "//third_party/ffmpeg/libavformat/filmstripdec.c",
1142    # "//third_party/ffmpeg/libavformat/filmstripenc.c",
1143    # "//third_party/ffmpeg/libavformat/fitsdec.c",
1144    # "//third_party/ffmpeg/libavformat/fitsenc.c",
1145    "//third_party/ffmpeg/libavformat/flac_picture.c",
1146    "//third_party/ffmpeg/libavformat/flacdec.c",
1147
1148    # "//third_party/ffmpeg/libavformat/flacenc.c",
1149    # "//third_party/ffmpeg/libavformat/flacenc_header.c",
1150    # "//third_party/ffmpeg/libavformat/flic.c",
1151    # "//third_party/ffmpeg/libavformat/flvdec.c",
1152    # "//third_party/ffmpeg/libavformat/flvenc.c",
1153    "//third_party/ffmpeg/libavformat/format.c",
1154
1155    # "//third_party/ffmpeg/libavformat/framecrcenc.c",
1156    # "//third_party/ffmpeg/libavformat/framehash.c",
1157    # "//third_party/ffmpeg/libavformat/frmdec.c",
1158    # "//third_party/ffmpeg/libavformat/fsb.c",
1159    # "//third_party/ffmpeg/libavformat/ftp.c",
1160    # "//third_party/ffmpeg/libavformat/g722.c",
1161    # "//third_party/ffmpeg/libavformat/g723_1.c",
1162    # "//third_party/ffmpeg/libavformat/g726.c",
1163    # "//third_party/ffmpeg/libavformat/g729dec.c",
1164    # "//third_party/ffmpeg/libavformat/gdv.c",
1165    # "//third_party/ffmpeg/libavformat/genh.c",
1166    # "//third_party/ffmpeg/libavformat/gif.c",
1167    # "//third_party/ffmpeg/libavformat/gifdec.c",
1168    # "//third_party/ffmpeg/libavformat/gopher.c",
1169    # "//third_party/ffmpeg/libavformat/gsmdec.c",
1170    # "//third_party/ffmpeg/libavformat/gxf.c",
1171    # "//third_party/ffmpeg/libavformat/gxfenc.c",
1172    # "//third_party/ffmpeg/libavformat/h263dec.c",
1173    # "//third_party/ffmpeg/libavformat/hashenc.c",
1174    # "//third_party/ffmpeg/libavformat/hdsenc.c",
1175    "//third_party/ffmpeg/libavformat/hevc.c",
1176
1177    # "//third_party/ffmpeg/libavformat/hevcdec.c",
1178    # "//third_party/ffmpeg/libavformat/hls.c",
1179    # "//third_party/ffmpeg/libavformat/hlsenc.c",
1180    # "//third_party/ffmpeg/libavformat/hlsplaylist.c",
1181    # "//third_party/ffmpeg/libavformat/hlsproto.c",
1182    # "//third_party/ffmpeg/libavformat/hnm.c",
1183    # "//third_party/ffmpeg/libavformat/http.c",
1184    # "//third_party/ffmpeg/libavformat/httpauth.c",
1185    # "//third_party/ffmpeg/libavformat/icecast.c",
1186    # "//third_party/ffmpeg/libavformat/icodec.c",
1187    # "//third_party/ffmpeg/libavformat/icoenc.c",
1188    "//third_party/ffmpeg/libavformat/id3v1.c",
1189    "//third_party/ffmpeg/libavformat/id3v2.c",
1190
1191    # "//third_party/ffmpeg/libavformat/id3v2enc.c",
1192    # "//third_party/ffmpeg/libavformat/idcin.c",
1193    # "//third_party/ffmpeg/libavformat/idroqdec.c",
1194    # "//third_party/ffmpeg/libavformat/idroqenc.c",
1195    # "//third_party/ffmpeg/libavformat/iff.c",
1196    # "//third_party/ffmpeg/libavformat/ifv.c",
1197    # "//third_party/ffmpeg/libavformat/ilbc.c",
1198    "//third_party/ffmpeg/libavformat/img2.c",
1199
1200    # "//third_party/ffmpeg/libavformat/img2_alias_pix.c",
1201    # "//third_party/ffmpeg/libavformat/img2_brender_pix.c",
1202    # "//third_party/ffmpeg/libavformat/img2dec.c",
1203    # "//third_party/ffmpeg/libavformat/img2enc.c",
1204    # "//third_party/ffmpeg/libavformat/ingenientdec.c",
1205    # "//third_party/ffmpeg/libavformat/ip.c",
1206    # "//third_party/ffmpeg/libavformat/ipmovie.c",
1207    # "//third_party/ffmpeg/libavformat/ircam.c",
1208    # "//third_party/ffmpeg/libavformat/ircamdec.c",
1209    # "//third_party/ffmpeg/libavformat/ircamenc.c",
1210    "//third_party/ffmpeg/libavformat/isom.c",
1211    "//third_party/ffmpeg/libavformat/isom_tags.c",
1212
1213    # "//third_party/ffmpeg/libavformat/iss.c",
1214    # "//third_party/ffmpeg/libavformat/iv8.c",
1215    # "//third_party/ffmpeg/libavformat/ivfdec.c",
1216    # "//third_party/ffmpeg/libavformat/ivfenc.c",
1217    # "//third_party/ffmpeg/libavformat/jacosubdec.c",
1218    # "//third_party/ffmpeg/libavformat/jacosubenc.c",
1219    # "//third_party/ffmpeg/libavformat/jvdec.c",
1220    # "//third_party/ffmpeg/libavformat/latmenc.c",
1221    # "//third_party/ffmpeg/libavformat/lmlm4.c",
1222    # "//third_party/ffmpeg/libavformat/loasdec.c",
1223    # "//third_party/ffmpeg/libavformat/lrc.c",
1224    # "//third_party/ffmpeg/libavformat/lrcdec.c",
1225    # "//third_party/ffmpeg/libavformat/lrcenc.c",
1226    # "//third_party/ffmpeg/libavformat/lvfdec.c",
1227    # "//third_party/ffmpeg/libavformat/lxfdec.c",
1228    # "//third_party/ffmpeg/libavformat/m4vdec.c",
1229    "//third_party/ffmpeg/libavformat/matroska.c",
1230    "//third_party/ffmpeg/libavformat/matroskadec.c",
1231
1232    # "//third_party/ffmpeg/libavformat/matroskaenc.c",
1233    # "//third_party/ffmpeg/libavformat/md5proto.c",
1234    "//third_party/ffmpeg/libavformat/metadata.c",
1235
1236    # "//third_party/ffmpeg/libavformat/mgsts.c",
1237    # "//third_party/ffmpeg/libavformat/microdvddec.c",
1238    # "//third_party/ffmpeg/libavformat/microdvdenc.c",
1239    # "//third_party/ffmpeg/libavformat/mkvtimestamp_v2.c",
1240    # "//third_party/ffmpeg/libavformat/mlpdec.c",
1241    # "//third_party/ffmpeg/libavformat/mlvdec.c",
1242    # "//third_party/ffmpeg/libavformat/mm.c",
1243    # "//third_party/ffmpeg/libavformat/mmf.c",
1244    # "//third_party/ffmpeg/libavformat/mms.c",
1245    # "//third_party/ffmpeg/libavformat/mmsh.c",
1246    # "//third_party/ffmpeg/libavformat/mmst.c",
1247    "//third_party/ffmpeg/libavformat/mov.c",
1248    "//third_party/ffmpeg/libavformat/mov_chan.c",
1249    "//third_party/ffmpeg/libavformat/mov_esds.c",
1250    "//third_party/ffmpeg/libavformat/movenc.c",
1251    "//third_party/ffmpeg/libavformat/movenccenc.c",
1252    "//third_party/ffmpeg/libavformat/movenchint.c",
1253    "//third_party/ffmpeg/libavformat/mp3dec.c",
1254
1255    # "//third_party/ffmpeg/libavformat/mp3enc.c",
1256    # "//third_party/ffmpeg/libavformat/mpc.c",
1257    # "//third_party/ffmpeg/libavformat/mpc8.c",
1258    # "//third_party/ffmpeg/libavformat/mpeg.c",
1259    # "//third_party/ffmpeg/libavformat/mpegenc.c",
1260    "//third_party/ffmpeg/libavformat/mpegts.c",
1261
1262    # "//third_party/ffmpeg/libavformat/mpegtsenc.c",
1263    # "//third_party/ffmpeg/libavformat/mpegvideodec.c",
1264    # "//third_party/ffmpeg/libavformat/mpjpeg.c",
1265    # "//third_party/ffmpeg/libavformat/mpjpegdec.c",
1266    # "//third_party/ffmpeg/libavformat/mpl2dec.c",
1267    # "//third_party/ffmpeg/libavformat/mpsubdec.c",
1268    # "//third_party/ffmpeg/libavformat/msf.c",
1269    # "//third_party/ffmpeg/libavformat/msnwc_tcp.c",
1270    # "//third_party/ffmpeg/libavformat/mtaf.c",
1271    # "//third_party/ffmpeg/libavformat/mtv.c",
1272    # "//third_party/ffmpeg/libavformat/musx.c",
1273    "//third_party/ffmpeg/libavformat/mux.c",
1274
1275    # "//third_party/ffmpeg/libavformat/mvdec.c",
1276    # "//third_party/ffmpeg/libavformat/mvi.c",
1277    # "//third_party/ffmpeg/libavformat/mxf.c",
1278    # "//third_party/ffmpeg/libavformat/mxfdec.c",
1279    # "//third_party/ffmpeg/libavformat/mxfenc.c",
1280    # "//third_party/ffmpeg/libavformat/mxg.c",
1281    # "//third_party/ffmpeg/libavformat/ncdec.c",
1282    # "//third_party/ffmpeg/libavformat/network.c",
1283    # "//third_party/ffmpeg/libavformat/nistspheredec.c",
1284    # "//third_party/ffmpeg/libavformat/nspdec.c",
1285    # "//third_party/ffmpeg/libavformat/nsvdec.c",
1286    # "//third_party/ffmpeg/libavformat/nullenc.c",
1287    # "//third_party/ffmpeg/libavformat/nut.c",
1288    # "//third_party/ffmpeg/libavformat/nutdec.c",
1289    # "//third_party/ffmpeg/libavformat/nutenc.c",
1290    # "//third_party/ffmpeg/libavformat/nuv.c",
1291    "//third_party/ffmpeg/libavformat/oggdec.c",
1292
1293    # "//third_party/ffmpeg/libavformat/oggenc.c",
1294    "//third_party/ffmpeg/libavformat/oggparsecelt.c",
1295    "//third_party/ffmpeg/libavformat/oggparsedirac.c",
1296    "//third_party/ffmpeg/libavformat/oggparseflac.c",
1297    "//third_party/ffmpeg/libavformat/oggparseogm.c",
1298    "//third_party/ffmpeg/libavformat/oggparseopus.c",
1299    "//third_party/ffmpeg/libavformat/oggparseskeleton.c",
1300    "//third_party/ffmpeg/libavformat/oggparsespeex.c",
1301    "//third_party/ffmpeg/libavformat/oggparsetheora.c",
1302    "//third_party/ffmpeg/libavformat/oggparsevorbis.c",
1303    "//third_party/ffmpeg/libavformat/oggparsevp8.c",
1304
1305    # "//third_party/ffmpeg/libavformat/oma.c",
1306    # "//third_party/ffmpeg/libavformat/omadec.c",
1307    # "//third_party/ffmpeg/libavformat/omaenc.c",
1308    "//third_party/ffmpeg/libavformat/options.c",
1309    "//third_party/ffmpeg/libavformat/os_support.c",
1310
1311    # "//third_party/ffmpeg/libavformat/paf.c",
1312    "//third_party/ffmpeg/libavformat/pcm.c",
1313
1314    # "//third_party/ffmpeg/libavformat/pcmdec.c",
1315    # "//third_party/ffmpeg/libavformat/pjsdec.c",
1316    # "//third_party/ffmpeg/libavformat/pmpdec.c",
1317    # "//third_party/ffmpeg/libavformat/prompeg.c",
1318    "//third_party/ffmpeg/libavformat/protocols.c",
1319
1320    # "//third_party/ffmpeg/libavformat/psxstr.c",
1321    # "//third_party/ffmpeg/libavformat/pva.c",
1322    # "//third_party/ffmpeg/libavformat/pvfdec.c",
1323    # "//third_party/ffmpeg/libavformat/qcp.c",
1324    "//third_party/ffmpeg/libavformat/qtpalette.c",
1325
1326    # "//third_party/ffmpeg/libavformat/r3d.c",
1327    "//third_party/ffmpeg/libavformat/rawdec.c",
1328    "//third_party/ffmpeg/libavformat/rawenc.c",
1329    "//third_party/ffmpeg/libavformat/rawutils.c",
1330
1331    # "//third_party/ffmpeg/libavformat/rawvideodec.c",
1332    # "//third_party/ffmpeg/libavformat/rdt.c",
1333    # "//third_party/ffmpeg/libavformat/realtextdec.c",
1334    # "//third_party/ffmpeg/libavformat/redspark.c",
1335    "//third_party/ffmpeg/libavformat/replaygain.c",
1336    "//third_party/ffmpeg/libavformat/riff.c",
1337    "//third_party/ffmpeg/libavformat/riffdec.c",
1338    "//third_party/ffmpeg/libavformat/riffenc.c",
1339
1340    # "//third_party/ffmpeg/libavformat/rl2.c",
1341    # "//third_party/ffmpeg/libavformat/rm.c",
1342    # "//third_party/ffmpeg/libavformat/rmdec.c",
1343    # "//third_party/ffmpeg/libavformat/rmenc.c",
1344    "//third_party/ffmpeg/libavformat/rmsipr.c",
1345
1346    # "//third_party/ffmpeg/libavformat/rpl.c",
1347    # "//third_party/ffmpeg/libavformat/rsd.c",
1348    # "//third_party/ffmpeg/libavformat/rso.c",
1349    # "//third_party/ffmpeg/libavformat/rsodec.c",
1350    # "//third_party/ffmpeg/libavformat/rsoenc.c",
1351    # "//third_party/ffmpeg/libavformat/rtmphttp.c",
1352    "//third_party/ffmpeg/libavformat/rtp.c",
1353
1354    # "//third_party/ffmpeg/libavformat/rtpdec.c",
1355    # "//third_party/ffmpeg/libavformat/rtpdec_ac3.c",
1356    # "//third_party/ffmpeg/libavformat/rtpdec_amr.c",
1357    # "//third_party/ffmpeg/libavformat/rtpdec_asf.c",
1358    # "//third_party/ffmpeg/libavformat/rtpdec_dv.c",
1359    # "//third_party/ffmpeg/libavformat/rtpdec_g726.c",
1360    # "//third_party/ffmpeg/libavformat/rtpdec_h261.c",
1361    # "//third_party/ffmpeg/libavformat/rtpdec_h263.c",
1362    # "//third_party/ffmpeg/libavformat/rtpdec_h263_rfc2190.c",
1363    # "//third_party/ffmpeg/libavformat/rtpdec_h264.c",
1364    # "//third_party/ffmpeg/libavformat/rtpdec_hevc.c",
1365    # "//third_party/ffmpeg/libavformat/rtpdec_ilbc.c",
1366    # "//third_party/ffmpeg/libavformat/rtpdec_jpeg.c",
1367    # "//third_party/ffmpeg/libavformat/rtpdec_latm.c",
1368    # "//third_party/ffmpeg/libavformat/rtpdec_mpa_robust.c",
1369    # "//third_party/ffmpeg/libavformat/rtpdec_mpeg12.c",
1370    # "//third_party/ffmpeg/libavformat/rtpdec_mpeg4.c",
1371    # "//third_party/ffmpeg/libavformat/rtpdec_mpegts.c",
1372    # "//third_party/ffmpeg/libavformat/rtpdec_qcelp.c",
1373    # "//third_party/ffmpeg/libavformat/rtpdec_qdm2.c",
1374    # "//third_party/ffmpeg/libavformat/rtpdec_qt.c",
1375    # "//third_party/ffmpeg/libavformat/rtpdec_rfc4175.c",
1376    # "//third_party/ffmpeg/libavformat/rtpdec_svq3.c",
1377    # "//third_party/ffmpeg/libavformat/rtpdec_vc2hq.c",
1378    # "//third_party/ffmpeg/libavformat/rtpdec_vp8.c",
1379    # "//third_party/ffmpeg/libavformat/rtpdec_vp9.c",
1380    # "//third_party/ffmpeg/libavformat/rtpdec_xiph.c",
1381    # "//third_party/ffmpeg/libavformat/rtpenc.c",
1382    # "//third_party/ffmpeg/libavformat/rtpenc_aac.c",
1383    # "//third_party/ffmpeg/libavformat/rtpenc_amr.c",
1384    "//third_party/ffmpeg/libavformat/rtpenc_chain.c",
1385
1386    # "//third_party/ffmpeg/libavformat/rtpenc_h261.c",
1387    # "//third_party/ffmpeg/libavformat/rtpenc_h263.c",
1388    # "//third_party/ffmpeg/libavformat/rtpenc_h263_rfc2190.c",
1389    # "//third_party/ffmpeg/libavformat/rtpenc_h264_hevc.c",
1390    # "//third_party/ffmpeg/libavformat/rtpenc_jpeg.c",
1391    # "//third_party/ffmpeg/libavformat/rtpenc_latm.c",
1392    # "//third_party/ffmpeg/libavformat/rtpenc_mpegts.c",
1393    # "//third_party/ffmpeg/libavformat/rtpenc_mpv.c",
1394    # "//third_party/ffmpeg/libavformat/rtpenc_vc2hq.c",
1395    # "//third_party/ffmpeg/libavformat/rtpenc_vp8.c",
1396    # "//third_party/ffmpeg/libavformat/rtpenc_vp9.c",
1397    # "//third_party/ffmpeg/libavformat/rtpenc_xiph.c",
1398    # "//third_party/ffmpeg/libavformat/rtpproto.c",
1399    # "//third_party/ffmpeg/libavformat/rtsp.c",
1400    # "//third_party/ffmpeg/libavformat/rtspdec.c",
1401    # "//third_party/ffmpeg/libavformat/rtspenc.c",
1402    # "//third_party/ffmpeg/libavformat/s337m.c",
1403    # "//third_party/ffmpeg/libavformat/samidec.c",
1404    # "//third_party/ffmpeg/libavformat/sapdec.c",
1405    # "//third_party/ffmpeg/libavformat/sapenc.c",
1406    # "//third_party/ffmpeg/libavformat/sauce.c",
1407    # "//third_party/ffmpeg/libavformat/sbcdec.c",
1408    # "//third_party/ffmpeg/libavformat/sbgdec.c",
1409    # "//third_party/ffmpeg/libavformat/sccdec.c",
1410    # "//third_party/ffmpeg/libavformat/sccenc.c",
1411    "//third_party/ffmpeg/libavformat/sdp.c",
1412
1413    # "//third_party/ffmpeg/libavformat/sdr2.c",
1414    # "//third_party/ffmpeg/libavformat/sdsdec.c",
1415    # "//third_party/ffmpeg/libavformat/sdxdec.c",
1416    # "//third_party/ffmpeg/libavformat/segafilm.c",
1417    # "//third_party/ffmpeg/libavformat/segafilmenc.c",
1418    # "//third_party/ffmpeg/libavformat/segment.c",
1419    # "//third_party/ffmpeg/libavformat/serdec.c",
1420    # "//third_party/ffmpeg/libavformat/shortendec.c",
1421    # "//third_party/ffmpeg/libavformat/sierravmd.c",
1422    # "//third_party/ffmpeg/libavformat/siff.c",
1423    # "//third_party/ffmpeg/libavformat/smacker.c",
1424    # "//third_party/ffmpeg/libavformat/smjpeg.c",
1425    # "//third_party/ffmpeg/libavformat/smjpegdec.c",
1426    # "//third_party/ffmpeg/libavformat/smjpegenc.c",
1427    # "//third_party/ffmpeg/libavformat/smoothstreamingenc.c",
1428    # "//third_party/ffmpeg/libavformat/smush.c",
1429    # "//third_party/ffmpeg/libavformat/sol.c",
1430    # "//third_party/ffmpeg/libavformat/soxdec.c",
1431    # "//third_party/ffmpeg/libavformat/soxenc.c",
1432    # "//third_party/ffmpeg/libavformat/spdif.c",
1433    # "//third_party/ffmpeg/libavformat/spdifdec.c",
1434    # "//third_party/ffmpeg/libavformat/spdifenc.c",
1435    # "//third_party/ffmpeg/libavformat/srtdec.c",
1436    # "//third_party/ffmpeg/libavformat/srtenc.c",
1437    # "//third_party/ffmpeg/libavformat/srtp.c",
1438    # "//third_party/ffmpeg/libavformat/srtpproto.c",
1439    # "//third_party/ffmpeg/libavformat/stldec.c",
1440    # "//third_party/ffmpeg/libavformat/subfile.c",
1441    # "//third_party/ffmpeg/libavformat/subtitles.c",
1442    # "//third_party/ffmpeg/libavformat/subviewer1dec.c",
1443    # "//third_party/ffmpeg/libavformat/subviewerdec.c",
1444    # "//third_party/ffmpeg/libavformat/supdec.c",
1445    # "//third_party/ffmpeg/libavformat/supenc.c",
1446    # "//third_party/ffmpeg/libavformat/svag.c",
1447    # "//third_party/ffmpeg/libavformat/swf.c",
1448    # "//third_party/ffmpeg/libavformat/swfdec.c",
1449    # "//third_party/ffmpeg/libavformat/swfenc.c",
1450    # "//third_party/ffmpeg/libavformat/takdec.c",
1451    # "//third_party/ffmpeg/libavformat/tcp.c",
1452    # "//third_party/ffmpeg/libavformat/tedcaptionsdec.c",
1453    # "//third_party/ffmpeg/libavformat/tee.c",
1454    # "//third_party/ffmpeg/libavformat/tee_common.c",
1455    # "//third_party/ffmpeg/libavformat/teeproto.c",
1456    # "//third_party/ffmpeg/libavformat/thp.c",
1457    # "//third_party/ffmpeg/libavformat/tiertexseq.c",
1458    # "//third_party/ffmpeg/libavformat/tmv.c",
1459    # "//third_party/ffmpeg/libavformat/tta.c",
1460    # "//third_party/ffmpeg/libavformat/ttaenc.c",
1461    # "//third_party/ffmpeg/libavformat/tty.c",
1462    # "//third_party/ffmpeg/libavformat/txd.c",
1463    # "//third_party/ffmpeg/libavformat/ty.c",
1464    # "//third_party/ffmpeg/libavformat/udp.c",
1465    # "//third_party/ffmpeg/libavformat/uncodedframecrcenc.c",
1466    # "//third_party/ffmpeg/libavformat/unix.c",
1467    "//third_party/ffmpeg/libavformat/url.c",
1468
1469    # "//third_party/ffmpeg/libavformat/urldecode.c",
1470    "//third_party/ffmpeg/libavformat/utils.c",
1471
1472    # "//third_party/ffmpeg/libavformat/v210.c",
1473    # "//third_party/ffmpeg/libavformat/vag.c",
1474    # "//third_party/ffmpeg/libavformat/vc1dec.c",
1475    # "//third_party/ffmpeg/libavformat/vc1test.c",
1476    # "//third_party/ffmpeg/libavformat/vc1testenc.c",
1477    # "//third_party/ffmpeg/libavformat/vividas.c",
1478    # "//third_party/ffmpeg/libavformat/vivo.c",
1479    # "//third_party/ffmpeg/libavformat/voc.c",
1480    # "//third_party/ffmpeg/libavformat/voc_packet.c",
1481    "//third_party/ffmpeg/libavformat/vorbiscomment.c",
1482    "//third_party/ffmpeg/libavformat/vpcc.c",
1483
1484    # "//third_party/ffmpeg/libavformat/vpk.c",
1485    # "//third_party/ffmpeg/libavformat/vplayerdec.c",
1486    # "//third_party/ffmpeg/libavformat/vqf.c",
1487    # "//third_party/ffmpeg/libavformat/w64.c",
1488    "//third_party/ffmpeg/libavformat/wavdec.c",
1489
1490    # "//third_party/ffmpeg/libavformat/wavenc.c",
1491    # "//third_party/ffmpeg/libavformat/wc3movie.c",
1492    # "//third_party/ffmpeg/libavformat/webm_chunk.c",
1493    # "//third_party/ffmpeg/libavformat/webmdashenc.c",
1494    # "//third_party/ffmpeg/libavformat/webpenc.c",
1495    # "//third_party/ffmpeg/libavformat/webvttdec.c",
1496    # "//third_party/ffmpeg/libavformat/webvttenc.c",
1497    # "//third_party/ffmpeg/libavformat/westwood_aud.c",
1498    # "//third_party/ffmpeg/libavformat/westwood_vqa.c",
1499    # "//third_party/ffmpeg/libavformat/wsddec.c",
1500    # "//third_party/ffmpeg/libavformat/wtv_common.c",
1501    # "//third_party/ffmpeg/libavformat/wtvdec.c",
1502    # "//third_party/ffmpeg/libavformat/wv.c",
1503    # "//third_party/ffmpeg/libavformat/wvdec.c",
1504    # "//third_party/ffmpeg/libavformat/wvedec.c",
1505    # "//third_party/ffmpeg/libavformat/wvenc.c",
1506    # "//third_party/ffmpeg/libavformat/xa.c",
1507    # "//third_party/ffmpeg/libavformat/xmv.c",
1508    # "//third_party/ffmpeg/libavformat/xvag.c",
1509    # "//third_party/ffmpeg/libavformat/xwma.c",
1510    # "//third_party/ffmpeg/libavformat/yop.c",
1511    # "//third_party/ffmpeg/libavformat/yuv4mpegdec.c",
1512    # "//third_party/ffmpeg/libavformat/yuv4mpegenc.c",
1513    "//third_party/ffmpeg/libavutil/adler32.c",
1514    "//third_party/ffmpeg/libavutil/aes.c",
1515    "//third_party/ffmpeg/libavutil/aes_ctr.c",
1516    "//third_party/ffmpeg/libavutil/audio_fifo.c",
1517    "//third_party/ffmpeg/libavutil/avsscanf.c",
1518    "//third_party/ffmpeg/libavutil/avstring.c",
1519    "//third_party/ffmpeg/libavutil/base64.c",
1520    "//third_party/ffmpeg/libavutil/blowfish.c",
1521    "//third_party/ffmpeg/libavutil/bprint.c",
1522    "//third_party/ffmpeg/libavutil/buffer.c",
1523    "//third_party/ffmpeg/libavutil/camellia.c",
1524    "//third_party/ffmpeg/libavutil/cast5.c",
1525    "//third_party/ffmpeg/libavutil/channel_layout.c",
1526    "//third_party/ffmpeg/libavutil/color_utils.c",
1527    "//third_party/ffmpeg/libavutil/cpu.c",
1528    "//third_party/ffmpeg/libavutil/crc.c",
1529    "//third_party/ffmpeg/libavutil/des.c",
1530    "//third_party/ffmpeg/libavutil/dict.c",
1531    "//third_party/ffmpeg/libavutil/display.c",
1532    "//third_party/ffmpeg/libavutil/dovi_meta.c",
1533    "//third_party/ffmpeg/libavutil/downmix_info.c",
1534    "//third_party/ffmpeg/libavutil/encryption_info.c",
1535    "//third_party/ffmpeg/libavutil/error.c",
1536    "//third_party/ffmpeg/libavutil/eval.c",
1537    "//third_party/ffmpeg/libavutil/fifo.c",
1538    "//third_party/ffmpeg/libavutil/file.c",
1539    "//third_party/ffmpeg/libavutil/file_open.c",
1540    "//third_party/ffmpeg/libavutil/film_grain_params.c",
1541    "//third_party/ffmpeg/libavutil/fixed_dsp.c",
1542    "//third_party/ffmpeg/libavutil/float_dsp.c",
1543    "//third_party/ffmpeg/libavutil/frame.c",
1544    "//third_party/ffmpeg/libavutil/hash.c",
1545    "//third_party/ffmpeg/libavutil/hdr_dynamic_metadata.c",
1546    "//third_party/ffmpeg/libavutil/hmac.c",
1547    "//third_party/ffmpeg/libavutil/hwcontext.c",
1548    "//third_party/ffmpeg/libavutil/imgutils.c",
1549    "//third_party/ffmpeg/libavutil/integer.c",
1550    "//third_party/ffmpeg/libavutil/intmath.c",
1551    "//third_party/ffmpeg/libavutil/lfg.c",
1552    "//third_party/ffmpeg/libavutil/lls.c",
1553    "//third_party/ffmpeg/libavutil/log.c",
1554    "//third_party/ffmpeg/libavutil/log2_tab.c",
1555
1556    # "//third_party/ffmpeg/libavutil/lzo.c",
1557    "//third_party/ffmpeg/libavutil/mastering_display_metadata.c",
1558    "//third_party/ffmpeg/libavutil/mathematics.c",
1559    "//third_party/ffmpeg/libavutil/md5.c",
1560    "//third_party/ffmpeg/libavutil/mem.c",
1561    "//third_party/ffmpeg/libavutil/murmur3.c",
1562    "//third_party/ffmpeg/libavutil/opt.c",
1563    "//third_party/ffmpeg/libavutil/parseutils.c",
1564    "//third_party/ffmpeg/libavutil/pixdesc.c",
1565    "//third_party/ffmpeg/libavutil/pixelutils.c",
1566    "//third_party/ffmpeg/libavutil/random_seed.c",
1567    "//third_party/ffmpeg/libavutil/rational.c",
1568    "//third_party/ffmpeg/libavutil/rc4.c",
1569    "//third_party/ffmpeg/libavutil/reverse.c",
1570    "//third_party/ffmpeg/libavutil/ripemd.c",
1571    "//third_party/ffmpeg/libavutil/samplefmt.c",
1572    "//third_party/ffmpeg/libavutil/sha.c",
1573    "//third_party/ffmpeg/libavutil/sha512.c",
1574    "//third_party/ffmpeg/libavutil/slicethread.c",
1575    "//third_party/ffmpeg/libavutil/spherical.c",
1576    "//third_party/ffmpeg/libavutil/stereo3d.c",
1577    "//third_party/ffmpeg/libavutil/tea.c",
1578    "//third_party/ffmpeg/libavutil/threadmessage.c",
1579    "//third_party/ffmpeg/libavutil/time.c",
1580    "//third_party/ffmpeg/libavutil/timecode.c",
1581    "//third_party/ffmpeg/libavutil/tree.c",
1582    "//third_party/ffmpeg/libavutil/twofish.c",
1583    "//third_party/ffmpeg/libavutil/tx.c",
1584    "//third_party/ffmpeg/libavutil/tx_double.c",
1585    "//third_party/ffmpeg/libavutil/tx_float.c",
1586    "//third_party/ffmpeg/libavutil/tx_int32.c",
1587    "//third_party/ffmpeg/libavutil/utils.c",
1588    "//third_party/ffmpeg/libavutil/video_enc_params.c",
1589    "//third_party/ffmpeg/libavutil/xga_font_data.c",
1590    "//third_party/ffmpeg/libavutil/xtea.c",
1591    "//third_party/ffmpeg/libswresample/audioconvert.c",
1592    "//third_party/ffmpeg/libswresample/dither.c",
1593    "//third_party/ffmpeg/libswresample/options.c",
1594    "//third_party/ffmpeg/libswresample/rematrix.c",
1595    "//third_party/ffmpeg/libswresample/resample.c",
1596    "//third_party/ffmpeg/libswresample/resample_dsp.c",
1597    "//third_party/ffmpeg/libswresample/swresample.c",
1598    "//third_party/ffmpeg/libswresample/swresample_frame.c",
1599    "//third_party/ffmpeg/libswscale/alphablend.c",
1600    "//third_party/ffmpeg/libswscale/gamma.c",
1601    "//third_party/ffmpeg/libswscale/hscale.c",
1602    "//third_party/ffmpeg/libswscale/hscale_fast_bilinear.c",
1603    "//third_party/ffmpeg/libswscale/input.c",
1604    "//third_party/ffmpeg/libswscale/options.c",
1605    "//third_party/ffmpeg/libswscale/output.c",
1606    "//third_party/ffmpeg/libswscale/rgb2rgb.c",
1607    "//third_party/ffmpeg/libswscale/slice.c",
1608    "//third_party/ffmpeg/libswscale/swscale.c",
1609    "//third_party/ffmpeg/libswscale/swscale_unscaled.c",
1610    "//third_party/ffmpeg/libswscale/utils.c",
1611    "//third_party/ffmpeg/libswscale/vscale.c",
1612    "//third_party/ffmpeg/libswscale/yuv2rgb.c",
1613  ]
1614  sources += libffmpeg_media_asm_sources  # Assemble sources
1615
1616  include_dirs = [
1617    "//third_party/ffmpeg/",
1618    "//third_party/ffmpeg/libavformat/",
1619    "//third_party/ffmpeg/libavcodec/",
1620    "//third_party/ffmpeg/libswresample/",
1621    "//third_party/ffmpeg/libswscale/",
1622    "//third_party/ffmpeg/libavfilter/",
1623    "${target_gen_dir}/include/",
1624  ]
1625  deps = [ ":gen_config_header" ]
1626  configs = [ ":ffmpeg_config" ]
1627  part_name = "ffmpeg"
1628  subsystem_name = "thirdparty"
1629}
1630
1631action("gen_config_header") {
1632  script = "//third_party/ffmpeg/ohos_config.sh"
1633
1634  if (ffmpeg_selected_platform == "aarch64") {
1635    deps = [ "//third_party/musl:musl_libs" ]
1636  }
1637
1638  ucc = "false"
1639  if (use_clang_coverage) {
1640    ucc = "true"
1641  }
1642
1643  args = [
1644    rebase_path("//third_party/ffmpeg", root_build_dir),
1645    rebase_path("${target_gen_dir}/include/", root_build_dir),
1646    ffmpeg_selected_platform,
1647    rebase_path(default_clang_base_path, root_build_dir),
1648    rebase_path(sysroot, root_build_dir),
1649    ucc,
1650  ]
1651
1652  outputs = [ "${target_gen_dir}/include/config.h" ]
1653}
1654
1655ohos_shared_library("libohosffmpeg") {
1656  sanitize = {
1657    integer_overflow = true
1658    boundary_sanitize = true
1659  }
1660  deps = [ ":ffmpeg_dynamic" ]
1661  public_configs = [ ":libohosffmpeg_public_config" ]
1662  part_name = "ffmpeg"
1663  subsystem_name = "thirdparty"
1664  cflags = [ "-Wno-array-parameter" ]
1665  ldflags = ldflags_asm
1666}
1667