This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathffmpeg_generated.gni
677 lines (634 loc) · 42.5 KB
/
ffmpeg_generated.gni
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# NOTE: this file is autogenerated by ffmpeg/chromium/scripts/generate_gyp.py
import("//build/config/arm.gni")
import("ffmpeg_options.gni")
# Declare empty versions of each variable for easier +=ing later.
ffmpeg_c_sources = []
ffmpeg_gas_sources = []
ffmpeg_yasm_sources = []
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chromium")) {
ffmpeg_c_sources += [
"libavcodec/allcodecs.c",
"libavcodec/autorename_libavcodec_utils.c",
"libavcodec/avdct.c",
"libavcodec/avfft.c",
"libavcodec/avpacket.c",
"libavcodec/avpicture.c",
"libavcodec/bitstream.c",
"libavcodec/bitstream_filter.c",
"libavcodec/codec_desc.c",
"libavcodec/d3d11va.c",
"libavcodec/dirac.c",
"libavcodec/dv_profile.c",
"libavcodec/fft_fixed.c",
"libavcodec/fft_fixed_32.c",
"libavcodec/fft_float.c",
"libavcodec/fft_init_table.c",
"libavcodec/golomb.c",
"libavcodec/imgconvert.c",
"libavcodec/mathtables.c",
"libavcodec/mdct_fixed.c",
"libavcodec/mdct_fixed_32.c",
"libavcodec/mdct_float.c",
"libavcodec/mpeg12data.c",
"libavcodec/mpeg4audio.c",
"libavcodec/mpegaudiodata.c",
"libavcodec/options.c",
"libavcodec/opus.c",
"libavcodec/opus_parser.c",
"libavcodec/parser.c",
"libavcodec/pcm.c",
"libavcodec/profiles.c",
"libavcodec/pthread.c",
"libavcodec/pthread_frame.c",
"libavcodec/pthread_slice.c",
"libavcodec/qsv_api.c",
"libavcodec/raw.c",
"libavcodec/rdft.c",
"libavcodec/vorbis.c",
"libavcodec/vorbis_data.c",
"libavcodec/vorbis_parser.c",
"libavcodec/vorbisdec.c",
"libavcodec/vorbisdsp.c",
"libavcodec/xiph.c",
"libavformat/allformats.c",
"libavformat/autorename_libavformat_options.c",
"libavformat/autorename_libavformat_pcm.c",
"libavformat/autorename_libavformat_utils.c",
"libavformat/avio.c",
"libavformat/aviobuf.c",
"libavformat/cutils.c",
"libavformat/dump.c",
"libavformat/flac_picture.c",
"libavformat/format.c",
"libavformat/id3v1.c",
"libavformat/id3v2.c",
"libavformat/isom.c",
"libavformat/matroska.c",
"libavformat/matroskadec.c",
"libavformat/metadata.c",
"libavformat/mux.c",
"libavformat/oggdec.c",
"libavformat/oggparsecelt.c",
"libavformat/oggparsedaala.c",
"libavformat/oggparsedirac.c",
"libavformat/oggparseflac.c",
"libavformat/oggparseogm.c",
"libavformat/oggparseopus.c",
"libavformat/oggparseskeleton.c",
"libavformat/oggparsespeex.c",
"libavformat/oggparsetheora.c",
"libavformat/oggparsevorbis.c",
"libavformat/oggparsevp8.c",
"libavformat/os_support.c",
"libavformat/qtpalette.c",
"libavformat/replaygain.c",
"libavformat/riff.c",
"libavformat/riffdec.c",
"libavformat/rmsipr.c",
"libavformat/url.c",
"libavformat/vorbiscomment.c",
"libavformat/wavdec.c",
"libavutil/aes.c",
"libavutil/aes_ctr.c",
"libavutil/autorename_libavutil_cpu.c",
"libavutil/avstring.c",
"libavutil/base64.c",
"libavutil/bprint.c",
"libavutil/buffer.c",
"libavutil/camellia.c",
"libavutil/channel_layout.c",
"libavutil/color_utils.c",
"libavutil/crc.c",
"libavutil/dict.c",
"libavutil/display.c",
"libavutil/downmix_info.c",
"libavutil/error.c",
"libavutil/eval.c",
"libavutil/fifo.c",
"libavutil/file_open.c",
"libavutil/fixed_dsp.c",
"libavutil/float_dsp.c",
"libavutil/frame.c",
"libavutil/imgutils.c",
"libavutil/integer.c",
"libavutil/intmath.c",
"libavutil/lfg.c",
"libavutil/log.c",
"libavutil/log2_tab.c",
"libavutil/mathematics.c",
"libavutil/md5.c",
"libavutil/mem.c",
"libavutil/opt.c",
"libavutil/parseutils.c",
"libavutil/pixdesc.c",
"libavutil/pixelutils.c",
"libavutil/random_seed.c",
"libavutil/rational.c",
"libavutil/reverse.c",
"libavutil/samplefmt.c",
"libavutil/sha.c",
"libavutil/stereo3d.c",
"libavutil/tea.c",
"libavutil/threadmessage.c",
"libavutil/time.c",
"libavutil/timecode.c",
"libavutil/twofish.c",
"libavutil/utils.c",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chromium")) {
ffmpeg_c_sources += [
"libavcodec/h264pred.c",
"libavcodec/hpeldsp.c",
"libavcodec/videodsp.c",
"libavcodec/vp3.c",
"libavcodec/vp3_parser.c",
"libavcodec/vp3dsp.c",
"libavcodec/vp56rac.c",
"libavcodec/vp8.c",
"libavcodec/vp8_parser.c",
"libavcodec/vp8dsp.c",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome")) {
ffmpeg_c_sources += [
"libavformat/rawdec.c",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome")) {
ffmpeg_c_sources += [
"libavcodec/aac_ac3_parser.c",
"libavcodec/aac_parser.c",
"libavcodec/aacadtsdec.c",
"libavcodec/aacps_float.c",
"libavcodec/aacpsdsp_float.c",
"libavcodec/aacsbr.c",
"libavcodec/aactab.c",
"libavcodec/ac3tab.c",
"libavcodec/autorename_libavcodec_aacdec.c",
"libavcodec/autorename_libavcodec_mpegaudiodsp.c",
"libavcodec/dct.c",
"libavcodec/dct32_fixed.c",
"libavcodec/dct32_float.c",
"libavcodec/imdct15.c",
"libavcodec/kbdwin.c",
"libavcodec/mpegaudio.c",
"libavcodec/mpegaudio_parser.c",
"libavcodec/mpegaudiodec_fixed.c",
"libavcodec/mpegaudiodecheader.c",
"libavcodec/mpegaudiodsp_data.c",
"libavcodec/mpegaudiodsp_fixed.c",
"libavcodec/mpegaudiodsp_float.c",
"libavcodec/sbrdsp.c",
"libavcodec/sinewin.c",
"libavcodec/sinewin_fixed.c",
"libavformat/aacdec.c",
"libavformat/apetag.c",
"libavformat/img2.c",
"libavformat/mov.c",
"libavformat/mov_chan.c",
"libavformat/mp3dec.c",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chromium")) {
ffmpeg_c_sources += [
"compat/strtod.c",
]
}
if ((is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chromium")) {
ffmpeg_c_sources += [
"libavcodec/x86/autorename_libavcodec_x86_vorbisdsp_init.c",
"libavcodec/x86/constants.c",
"libavcodec/x86/fft_init.c",
"libavutil/x86/autorename_libavutil_x86_cpu.c",
"libavutil/x86/autorename_libavutil_x86_float_dsp_init.c",
"libavutil/x86/lls_init.c",
]
}
if ((is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chromium")) {
ffmpeg_yasm_sources += [
"libavcodec/x86/fft.asm",
"libavcodec/x86/vorbisdsp.asm",
"libavutil/x86/cpuid.asm",
"libavutil/x86/float_dsp.asm",
"libavutil/x86/lls.asm",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome")) {
ffmpeg_c_sources += [
"libavcodec/cabac.c",
"libavcodec/h264.c",
"libavcodec/h264_cabac.c",
"libavcodec/h264_cavlc.c",
"libavcodec/h264_direct.c",
"libavcodec/h264_loopfilter.c",
"libavcodec/h264_mb.c",
"libavcodec/h264_parser.c",
"libavcodec/h264_picture.c",
"libavcodec/h264_ps.c",
"libavcodec/h264_refs.c",
"libavcodec/h264_sei.c",
"libavcodec/h264_slice.c",
"libavcodec/h264chroma.c",
"libavcodec/h264dsp.c",
"libavcodec/h264idct.c",
"libavcodec/h264qpel.c",
"libavcodec/startcode.c",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/fft_fixed_init_arm.c",
"libavcodec/arm/fft_init_arm.c",
"libavcodec/arm/vorbisdsp_init_arm.c",
"libavutil/arm/autorename_libavutil_arm_cpu.c",
"libavutil/arm/float_dsp_init_arm.c",
"libavutil/arm/float_dsp_init_vfp.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/fft_vfp.S",
"libavcodec/arm/mdct_vfp.S",
"libavutil/arm/float_dsp_vfp.S",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/flac.c",
"libavcodec/flac_parser.c",
"libavcodec/flacdata.c",
"libavcodec/flacdec.c",
"libavcodec/flacdsp.c",
"libavformat/autorename_libavformat_flacdec.c",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/h264pred_init_arm.c",
"libavcodec/arm/hpeldsp_init_arm.c",
"libavcodec/arm/hpeldsp_init_armv6.c",
"libavcodec/arm/videodsp_init_arm.c",
"libavcodec/arm/videodsp_init_armv5te.c",
"libavcodec/arm/vp3dsp_init_arm.c",
"libavcodec/arm/vp8dsp_init_arm.c",
"libavcodec/arm/vp8dsp_init_armv6.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/hpeldsp_arm.S",
"libavcodec/arm/hpeldsp_armv6.S",
"libavcodec/arm/videodsp_armv5te.S",
"libavcodec/arm/vp8_armv6.S",
"libavcodec/arm/vp8dsp_armv6.S",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavutil/arm/float_dsp_init_neon.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/autorename_libavcodec_arm_fft_neon.S",
"libavcodec/arm/autorename_libavcodec_arm_mdct_neon.S",
"libavcodec/arm/autorename_libavcodec_arm_vorbisdsp_neon.S",
"libavcodec/arm/fft_fixed_neon.S",
"libavcodec/arm/mdct_fixed_neon.S",
"libavcodec/arm/rdft_neon.S",
"libavutil/arm/autorename_libavutil_arm_float_dsp_neon.S",
]
}
if ((is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chromium")) {
ffmpeg_c_sources += [
"libavcodec/x86/autorename_libavcodec_x86_videodsp_init.c",
"libavcodec/x86/h264_intrapred_init.c",
"libavcodec/x86/hpeldsp_init.c",
"libavcodec/x86/vp3dsp_init.c",
"libavcodec/x86/vp8dsp_init.c",
]
ffmpeg_yasm_sources += [
"libavcodec/x86/fpel.asm",
"libavcodec/x86/h264_intrapred.asm",
"libavcodec/x86/h264_intrapred_10bit.asm",
"libavcodec/x86/hpeldsp.asm",
"libavcodec/x86/videodsp.asm",
"libavcodec/x86/vp3dsp.asm",
"libavcodec/x86/vp8dsp.asm",
"libavcodec/x86/vp8dsp_loopfilter.asm",
]
}
if ((is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chromium") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavutil/mips/float_dsp_mips.c",
]
}
if ((is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome")) {
ffmpeg_c_sources += [
"libavcodec/x86/aacpsdsp_init.c",
"libavcodec/x86/dct_init.c",
"libavcodec/x86/mpegaudiodsp.c",
"libavcodec/x86/sbrdsp_init.c",
]
}
if ((is_android && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome")) {
ffmpeg_yasm_sources += [
"libavcodec/x86/aacpsdsp.asm",
"libavcodec/x86/dct32.asm",
"libavcodec/x86/imdct36.asm",
"libavcodec/x86/sbrdsp.asm",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/aacpsdsp_init_arm.c",
"libavcodec/arm/mpegaudiodsp_init_arm.c",
"libavcodec/arm/sbrdsp_init_arm.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/mpegaudiodsp_fixed_armv6.S",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/acelp_filters.c",
"libavcodec/acelp_pitch_delay.c",
"libavcodec/acelp_vectors.c",
"libavcodec/amrnbdec.c",
"libavcodec/amrwbdec.c",
"libavcodec/autorename_libavcodec_gsmdec.c",
"libavcodec/autorename_libavcodec_mpegvideo.c",
"libavcodec/autorename_libavcodec_mpegvideodsp.c",
"libavcodec/autorename_libavcodec_simple_idct.c",
"libavcodec/blockdsp.c",
"libavcodec/celp_filters.c",
"libavcodec/celp_math.c",
"libavcodec/error_resilience.c",
"libavcodec/exif.c",
"libavcodec/faandct.c",
"libavcodec/faanidct.c",
"libavcodec/fdctdsp.c",
"libavcodec/flvdec.c",
"libavcodec/gsm_parser.c",
"libavcodec/gsmdec_data.c",
"libavcodec/h263.c",
"libavcodec/h263_parser.c",
"libavcodec/h263data.c",
"libavcodec/h263dec.c",
"libavcodec/h263dsp.c",
"libavcodec/idctdsp.c",
"libavcodec/intelh263dec.c",
"libavcodec/ituh263dec.c",
"libavcodec/jfdctfst.c",
"libavcodec/jfdctint.c",
"libavcodec/jrevdct.c",
"libavcodec/lsp.c",
"libavcodec/me_cmp.c",
"libavcodec/mpeg4video.c",
"libavcodec/mpeg4video_parser.c",
"libavcodec/mpeg4videodec.c",
"libavcodec/mpeg_er.c",
"libavcodec/mpegpicture.c",
"libavcodec/mpegutils.c",
"libavcodec/mpegvideo_motion.c",
"libavcodec/mpegvideodata.c",
"libavcodec/msgsmdec.c",
"libavcodec/pixblockdsp.c",
"libavcodec/qpeldsp.c",
"libavcodec/rl.c",
"libavcodec/tiff_common.c",
"libavcodec/xvididct.c",
"libavformat/amr.c",
"libavformat/avidec.c",
"libavformat/gsmdec.c",
]
}
if ((is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/mips/h264pred_init_mips.c",
"libavcodec/mips/hpeldsp_init_mips.c",
"libavcodec/mips/vp8dsp_init_mips.c",
]
}
if ((is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/aarch64/fft_init_aarch64.c",
"libavcodec/aarch64/vorbisdsp_init.c",
"libavutil/aarch64/cpu.c",
"libavutil/aarch64/float_dsp_init.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/fft_neon.S",
"libavcodec/aarch64/mdct_neon.S",
"libavcodec/aarch64/vorbisdsp_neon.S",
"libavutil/aarch64/float_dsp_neon.S",
]
}
if ((is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/aarch64/h264pred_init.c",
"libavcodec/aarch64/hpeldsp_init_aarch64.c",
"libavcodec/aarch64/videodsp_init.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/autorename_libavcodec_aarch64_h264pred_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_hpeldsp_neon.S",
"libavcodec/aarch64/videodsp.S",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/flacdsp_init_arm.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/flacdsp_arm.S",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/h264chroma_init_arm.c",
"libavcodec/arm/h264dsp_init_arm.c",
"libavcodec/arm/h264qpel_init_arm.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/startcode_armv6.S",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chromium") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/hpeldsp_init_neon.c",
"libavcodec/arm/vp8dsp_init_neon.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/h264pred_neon.S",
"libavcodec/arm/hpeldsp_neon.S",
"libavcodec/arm/vp3dsp_neon.S",
"libavcodec/arm/vp8dsp_neon.S",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS")) {
ffmpeg_gas_sources += [
"libavcodec/arm/aacpsdsp_neon.S",
"libavcodec/arm/sbrdsp_neon.S",
]
}
if ((is_linux && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_mac && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome")) {
ffmpeg_c_sources += [
"libavcodec/x86/h264_qpel.c",
"libavcodec/x86/h264chroma_init.c",
"libavcodec/x86/h264dsp_init.c",
]
ffmpeg_yasm_sources += [
"libavcodec/x86/h264_chromamc.asm",
"libavcodec/x86/h264_chromamc_10bit.asm",
"libavcodec/x86/h264_deblock.asm",
"libavcodec/x86/h264_deblock_10bit.asm",
"libavcodec/x86/h264_idct.asm",
"libavcodec/x86/h264_idct_10bit.asm",
"libavcodec/x86/h264_qpel_10bit.asm",
"libavcodec/x86/h264_qpel_8bit.asm",
"libavcodec/x86/h264_weight.asm",
"libavcodec/x86/h264_weight_10bit.asm",
"libavcodec/x86/qpel.asm",
]
}
if ((is_android && current_cpu == "mips64el" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/mips/aacdec_mips.c",
"libavcodec/mips/aacpsdsp_mips.c",
"libavcodec/mips/aacsbr_mips.c",
"libavcodec/mips/sbrdsp_mips.c",
]
}
if ((is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromiumOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromiumOS")) {
ffmpeg_c_sources += [
"libavcodec/x86/flacdsp_init.c",
]
ffmpeg_yasm_sources += [
"libavcodec/x86/flacdsp.asm",
]
}
if ((is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chromium")) {
ffmpeg_c_sources += [
"compat/msvcrt/snprintf.c",
]
}
if ((is_linux && current_cpu == "mipsel" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/mips/h264chroma_init_mips.c",
"libavcodec/mips/h264dsp_init_mips.c",
"libavcodec/mips/h264qpel_init_mips.c",
]
}
if ((is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/aarch64/imdct15_init.c",
"libavcodec/aarch64/mpegaudiodsp_init.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/imdct15_neon.S",
"libavcodec/aarch64/mpegaudiodsp_neon.S",
]
}
if ((is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/aarch64/h264chroma_init_aarch64.c",
"libavcodec/aarch64/h264dsp_init_aarch64.c",
"libavcodec/aarch64/h264qpel_init_aarch64.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/autorename_libavcodec_aarch64_h264cmc_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_h264dsp_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_h264idct_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_h264qpel_neon.S",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/blockdsp_init_arm.c",
"libavcodec/arm/idctdsp_init_arm.c",
"libavcodec/arm/idctdsp_init_armv5te.c",
"libavcodec/arm/idctdsp_init_armv6.c",
"libavcodec/arm/me_cmp_init_arm.c",
"libavcodec/arm/mpegvideo_arm.c",
"libavcodec/arm/mpegvideo_armv5te.c",
"libavcodec/arm/pixblockdsp_init_arm.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/idctdsp_arm.S",
"libavcodec/arm/idctdsp_armv6.S",
"libavcodec/arm/jrevdct_arm.S",
"libavcodec/arm/me_cmp_armv6.S",
"libavcodec/arm/mpegvideo_armv5te_s.S",
"libavcodec/arm/pixblockdsp_armv6.S",
"libavcodec/arm/simple_idct_arm.S",
"libavcodec/arm/simple_idct_armv5te.S",
"libavcodec/arm/simple_idct_armv6.S",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/neon/autorename_libavcodec_neon_mpegvideo.c",
]
}
if ((is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS")) {
ffmpeg_gas_sources += [
"libavcodec/arm/h264cmc_neon.S",
"libavcodec/arm/h264dsp_neon.S",
"libavcodec/arm/h264idct_neon.S",
"libavcodec/arm/h264qpel_neon.S",
]
}
if ((is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chromium")) {
ffmpeg_yasm_sources += [
"libavutil/x86/emms.asm",
]
}
if ((is_linux && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "x86" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/x86/blockdsp_init.c",
"libavcodec/x86/fdct.c",
"libavcodec/x86/fdctdsp_init.c",
"libavcodec/x86/h263dsp_init.c",
"libavcodec/x86/idctdsp_init.c",
"libavcodec/x86/me_cmp_init.c",
"libavcodec/x86/mpegvideo.c",
"libavcodec/x86/mpegvideodsp.c",
"libavcodec/x86/pixblockdsp_init.c",
"libavcodec/x86/qpeldsp_init.c",
"libavcodec/x86/simple_idct.c",
"libavcodec/x86/xvididct_init.c",
]
ffmpeg_yasm_sources += [
"libavcodec/x86/blockdsp.asm",
"libavcodec/x86/h263_loopfilter.asm",
"libavcodec/x86/idctdsp.asm",
"libavcodec/x86/me_cmp.asm",
"libavcodec/x86/pixblockdsp.asm",
"libavcodec/x86/qpeldsp.asm",
"libavcodec/x86/simple_idct10.asm",
"libavcodec/x86/xvididct.asm",
]
}
if (is_linux && current_cpu == "mipsel" && ffmpeg_branding == "ChromeOS") {
ffmpeg_c_sources += [
"libavcodec/mips/blockdsp_init_mips.c",
"libavcodec/mips/h263dsp_init_mips.c",
"libavcodec/mips/idctdsp_init_mips.c",
"libavcodec/mips/me_cmp_init_mips.c",
"libavcodec/mips/mpegvideo_init_mips.c",
"libavcodec/mips/pixblockdsp_init_mips.c",
"libavcodec/mips/qpeldsp_init_mips.c",
"libavcodec/mips/xvididct_init_mips.c",
]
}
if (is_linux && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") {
ffmpeg_c_sources += [
"libavcodec/arm/blockdsp_init_neon.c",
"libavcodec/arm/idctdsp_init_neon.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/blockdsp_neon.S",
"libavcodec/arm/idctdsp_neon.S",
"libavcodec/arm/mpegvideo_neon.S",
"libavcodec/arm/simple_idct_neon.S",
]
}