代码拉取完成,页面将自动刷新
# Copyright 2023 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_gn.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_asm_sources = []
use_linux_config = is_linux || is_chromeos || is_fuchsia
if ((is_android && current_cpu == "arm" && arm_use_neon) || (is_android && current_cpu == "arm64") || (is_android && current_cpu == "x64") || (is_android && current_cpu == "x86") || (is_apple) || (is_win) || (use_linux_config)) {
ffmpeg_c_sources += [
"libavcodec/ac3_channel_layout_tab.c",
"libavcodec/ac3_parser.c",
"libavcodec/adts_parser.c",
"libavcodec/allcodecs.c",
"libavcodec/autorename_libavcodec_flacdsp.c",
"libavcodec/autorename_libavcodec_mpegaudiodsp.c",
"libavcodec/autorename_libavcodec_vorbisdsp.c",
"libavcodec/avcodec.c",
"libavcodec/avdct.c",
"libavcodec/avfft.c",
"libavcodec/avpacket.c",
"libavcodec/bitstream.c",
"libavcodec/bitstream_filters.c",
"libavcodec/bsf.c",
"libavcodec/codec_desc.c",
"libavcodec/codec_par.c",
"libavcodec/d3d11va.c",
"libavcodec/dct32_fixed.c",
"libavcodec/dct32_float.c",
"libavcodec/decode.c",
"libavcodec/dirac.c",
"libavcodec/dv_profile.c",
"libavcodec/encode.c",
"libavcodec/flac.c",
"libavcodec/flac_parser.c",
"libavcodec/flacdata.c",
"libavcodec/flacdec.c",
"libavcodec/get_buffer.c",
"libavcodec/golomb.c",
"libavcodec/imgconvert.c",
"libavcodec/jni.c",
"libavcodec/libopus.c",
"libavcodec/libopusdec.c",
"libavcodec/mathtables.c",
"libavcodec/mediacodec.c",
"libavcodec/mpeg12framerate.c",
"libavcodec/mpeg4audio.c",
"libavcodec/mpeg4audio_sample_rates.c",
"libavcodec/mpegaudio.c",
"libavcodec/mpegaudio_parser.c",
"libavcodec/mpegaudiodata.c",
"libavcodec/mpegaudiodec_common.c",
"libavcodec/mpegaudiodec_fixed.c",
"libavcodec/mpegaudiodecheader.c",
"libavcodec/mpegaudiodsp_data.c",
"libavcodec/mpegaudiodsp_fixed.c",
"libavcodec/mpegaudiodsp_float.c",
"libavcodec/mpegaudiotabs.c",
"libavcodec/options.c",
"libavcodec/opus_parse.c",
"libavcodec/opus_parser.c",
"libavcodec/parser.c",
"libavcodec/parsers.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/refstruct.c",
"libavcodec/to_upper4.c",
"libavcodec/utils.c",
"libavcodec/version.c",
"libavcodec/vlc.c",
"libavcodec/vorbis.c",
"libavcodec/vorbis_data.c",
"libavcodec/vorbis_parser.c",
"libavcodec/vorbisdec.c",
"libavcodec/vp9_parser.c",
"libavcodec/xiph.c",
"libavformat/allformats.c",
"libavformat/autorename_libavformat_flacdec.c",
"libavformat/autorename_libavformat_options.c",
"libavformat/autorename_libavformat_pcm.c",
"libavformat/autorename_libavformat_utils.c",
"libavformat/autorename_libavformat_version.c",
"libavformat/avformat.c",
"libavformat/avio.c",
"libavformat/aviobuf.c",
"libavformat/demux.c",
"libavformat/demux_utils.c",
"libavformat/dovi_isom.c",
"libavformat/dump.c",
"libavformat/dv.c",
"libavformat/flac_picture.c",
"libavformat/format.c",
"libavformat/id3v1.c",
"libavformat/id3v2.c",
"libavformat/isom.c",
"libavformat/isom_tags.c",
"libavformat/matroska.c",
"libavformat/matroskadec.c",
"libavformat/metadata.c",
"libavformat/mov.c",
"libavformat/mov_chan.c",
"libavformat/mov_esds.c",
"libavformat/mp3dec.c",
"libavformat/mux.c",
"libavformat/mux_utils.c",
"libavformat/oggdec.c",
"libavformat/oggparseflac.c",
"libavformat/oggparseogm.c",
"libavformat/oggparseopus.c",
"libavformat/oggparseskeleton.c",
"libavformat/oggparsetheora.c",
"libavformat/oggparsevorbis.c",
"libavformat/oggparsevp8.c",
"libavformat/os_support.c",
"libavformat/protocols.c",
"libavformat/qtpalette.c",
"libavformat/rawdec.c",
"libavformat/replaygain.c",
"libavformat/riff.c",
"libavformat/riffdec.c",
"libavformat/rmsipr.c",
"libavformat/seek.c",
"libavformat/url.c",
"libavformat/vorbiscomment.c",
"libavformat/wavdec.c",
"libavutil/aes.c",
"libavutil/aes_ctr.c",
"libavutil/ambient_viewing_environment.c",
"libavutil/autorename_libavutil_cpu.c",
"libavutil/autorename_libavutil_fixed_dsp.c",
"libavutil/autorename_libavutil_float_dsp.c",
"libavutil/autorename_libavutil_imgutils.c",
"libavutil/autorename_libavutil_tx_float.c",
"libavutil/autorename_libavutil_utils.c",
"libavutil/autorename_libavutil_version.c",
"libavutil/avstring.c",
"libavutil/base64.c",
"libavutil/bprint.c",
"libavutil/buffer.c",
"libavutil/camellia.c",
"libavutil/channel_layout.c",
"libavutil/crc.c",
"libavutil/csp.c",
"libavutil/detection_bbox.c",
"libavutil/dict.c",
"libavutil/display.c",
"libavutil/dovi_meta.c",
"libavutil/downmix_info.c",
"libavutil/encryption_info.c",
"libavutil/error.c",
"libavutil/eval.c",
"libavutil/executor.c",
"libavutil/fifo.c",
"libavutil/file_open.c",
"libavutil/film_grain_params.c",
"libavutil/frame.c",
"libavutil/hdr_dynamic_metadata.c",
"libavutil/hdr_dynamic_vivid_metadata.c",
"libavutil/hwcontext.c",
"libavutil/hwcontext_stub.c",
"libavutil/integer.c",
"libavutil/intmath.c",
"libavutil/lfg.c",
"libavutil/log.c",
"libavutil/log2_tab.c",
"libavutil/lzo.c",
"libavutil/mastering_display_metadata.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/slicethread.c",
"libavutil/spherical.c",
"libavutil/stereo3d.c",
"libavutil/tea.c",
"libavutil/threadmessage.c",
"libavutil/time.c",
"libavutil/timecode.c",
"libavutil/twofish.c",
"libavutil/tx.c",
"libavutil/uuid.c",
"libavutil/video_enc_params.c",
"libavutil/video_hint.c",
]
}
if (use_linux_config && ffmpeg_branding == "ChromeOS") {
ffmpeg_c_sources += [
"libavcodec/autorename_libavcodec_blockdsp.c",
"libavcodec/autorename_libavcodec_idctdsp.c",
"libavcodec/autorename_libavcodec_me_cmp.c",
"libavcodec/autorename_libavcodec_mpeg4videodsp.c",
"libavcodec/autorename_libavcodec_mpegvideo.c",
"libavcodec/autorename_libavcodec_qpeldsp.c",
"libavcodec/autorename_libavcodec_simple_idct.c",
"libavcodec/autorename_libavcodec_xvididct.c",
"libavcodec/error_resilience.c",
"libavcodec/exif.c",
"libavcodec/h263.c",
"libavcodec/h263_parser.c",
"libavcodec/h263data.c",
"libavcodec/h263dec.c",
"libavcodec/h263dsp.c",
"libavcodec/ituh263dec.c",
"libavcodec/jrevdct.c",
"libavcodec/mpeg4video.c",
"libavcodec/mpeg4video_parser.c",
"libavcodec/mpeg4videodec.c",
"libavcodec/mpeg_er.c",
"libavcodec/mpegpicture.c",
"libavcodec/mpegutils.c",
"libavcodec/mpegvideo_dec.c",
"libavcodec/mpegvideo_motion.c",
"libavcodec/mpegvideodata.c",
"libavcodec/rl.c",
"libavcodec/tiff_common.c",
"libavformat/avidec.c",
]
}
if ((is_apple && ffmpeg_branding == "Chrome") || (is_win && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/atsc_a53.c",
"libavcodec/cabac.c",
"libavcodec/h2645_parse.c",
"libavcodec/h2645_sei.c",
"libavcodec/h2645_vui.c",
"libavcodec/h2645data.c",
"libavcodec/h264_cabac.c",
"libavcodec/h264_cavlc.c",
"libavcodec/h264_direct.c",
"libavcodec/h264_loopfilter.c",
"libavcodec/h264_mb.c",
"libavcodec/h264_parse.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/h264data.c",
"libavcodec/h264dec.c",
"libavcodec/h264dsp.c",
"libavcodec/h264idct.c",
"libavcodec/h264qpel.c",
"libavcodec/h274.c",
"libavcodec/startcode.c",
]
}
if ((current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_apple && ffmpeg_branding == "Chrome") || (is_win && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/aac_ac3_parser.c",
"libavcodec/aac_parser.c",
"libavcodec/aacdec.c",
"libavcodec/aacdec_common.c",
"libavcodec/aacps_common.c",
"libavcodec/aacps_float.c",
"libavcodec/aacpsdsp_float.c",
"libavcodec/aacsbr.c",
"libavcodec/aactab.c",
"libavcodec/adts_header.c",
"libavcodec/autorename_libavcodec_sbrdsp.c",
"libavcodec/cbrt_data.c",
"libavcodec/kbdwin.c",
"libavcodec/sinewin.c",
"libavformat/apetag.c",
"libavformat/autorename_libavformat_aacdec.c",
"libavformat/img2.c",
]
}
if ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (use_linux_config && 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",
]
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/simple_idct_arm.S",
"libavcodec/arm/simple_idct_armv5te.S",
"libavcodec/arm/simple_idct_armv6.S",
]
}
if ((is_apple && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "x64" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/x86/h264_qpel.c",
"libavcodec/x86/h264chroma_init.c",
"libavcodec/x86/h264dsp_init.c",
]
ffmpeg_asm_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 ((use_linux_config && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/x86/autorename_libavcodec_x86_mpegvideo.c",
"libavcodec/x86/blockdsp_init.c",
"libavcodec/x86/h263dsp_init.c",
"libavcodec/x86/idctdsp_init.c",
"libavcodec/x86/me_cmp_init.c",
"libavcodec/x86/mpeg4videodsp.c",
"libavcodec/x86/qpeldsp_init.c",
"libavcodec/x86/xvididct_init.c",
]
ffmpeg_asm_sources += [
"libavcodec/x86/blockdsp.asm",
"libavcodec/x86/h263_loopfilter.asm",
"libavcodec/x86/idctdsp.asm",
"libavcodec/x86/me_cmp.asm",
"libavcodec/x86/qpeldsp.asm",
"libavcodec/x86/xvididct.asm",
]
}
if ((is_apple && current_cpu == "x64") || (is_win && current_cpu == "x64") || (is_win && current_cpu == "x86") || (use_linux_config && current_cpu == "x64") || (use_linux_config && current_cpu == "x86")) {
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_asm_sources += [
"libavcodec/x86/autorename_libavcodec_x86_hpeldsp.asm",
"libavcodec/x86/autorename_libavcodec_x86_videodsp.asm",
"libavcodec/x86/autorename_libavcodec_x86_vp3dsp.asm",
"libavcodec/x86/autorename_libavcodec_x86_vp8dsp.asm",
"libavcodec/x86/fpel.asm",
"libavcodec/x86/h264_intrapred.asm",
"libavcodec/x86/h264_intrapred_10bit.asm",
"libavcodec/x86/vp8dsp_loopfilter.asm",
]
}
if ((use_linux_config && current_cpu == "arm" && arm_use_neon) || (use_linux_config && current_cpu == "arm")) {
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_apple) || (is_win) || (use_linux_config)) {
ffmpeg_c_sources += [
"libavcodec/autorename_libavcodec_videodsp.c",
"libavcodec/h264pred.c",
"libavcodec/hpeldsp.c",
"libavcodec/jpegquanttables.c",
"libavcodec/vp3.c",
"libavcodec/vp3_parser.c",
"libavcodec/vp3dsp.c",
"libavcodec/vp8.c",
"libavcodec/vp8_parser.c",
"libavcodec/vp8data.c",
"libavcodec/vp8dsp.c",
"libavcodec/vpx_rac.c",
]
}
if ((is_android && current_cpu == "x64") || (is_apple && current_cpu == "x64") || (is_win && current_cpu == "x64") || (is_win && current_cpu == "x86") || (use_linux_config && current_cpu == "x64") || (use_linux_config && current_cpu == "x86")) {
ffmpeg_c_sources += [
"libavutil/x86/autorename_libavutil_x86_tx_float_init.c",
]
ffmpeg_asm_sources += [
"libavcodec/x86/dct32.asm",
"libavcodec/x86/flacdsp.asm",
"libavcodec/x86/imdct36.asm",
"libavcodec/x86/vorbisdsp.asm",
"libavutil/x86/cpuid.asm",
"libavutil/x86/fixed_dsp.asm",
"libavutil/x86/float_dsp.asm",
"libavutil/x86/imgutils.asm",
"libavutil/x86/lls.asm",
"libavutil/x86/tx_float.asm",
]
}
if ((is_android && current_cpu == "x64") || (is_android && current_cpu == "x86") || (is_apple && current_cpu == "x64") || (is_win && current_cpu == "x64") || (is_win && current_cpu == "x86") || (use_linux_config && current_cpu == "x64") || (use_linux_config && current_cpu == "x86")) {
ffmpeg_c_sources += [
"libavcodec/x86/autorename_libavcodec_x86_vorbisdsp_init.c",
"libavcodec/x86/constants.c",
"libavcodec/x86/flacdsp_init.c",
"libavcodec/x86/mpegaudiodsp.c",
"libavutil/x86/autorename_libavutil_x86_cpu.c",
"libavutil/x86/autorename_libavutil_x86_float_dsp_init.c",
"libavutil/x86/fixed_dsp_init.c",
"libavutil/x86/imgutils_init.c",
"libavutil/x86/lls_init.c",
]
}
if ((is_android && current_cpu == "arm64") || (is_apple && current_cpu == "arm64") || (is_win && current_cpu == "arm64") || (use_linux_config && current_cpu == "arm64")) {
ffmpeg_c_sources += [
"libavcodec/aarch64/mpegaudiodsp_init.c",
"libavcodec/aarch64/vorbisdsp_init.c",
"libavutil/aarch64/autorename_libavutil_aarch64_cpu.c",
"libavutil/aarch64/float_dsp_init.c",
"libavutil/aarch64/tx_float_init.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/autorename_libavcodec_aarch64_vorbisdsp_neon.S",
"libavcodec/aarch64/mpegaudiodsp_neon.S",
"libavutil/aarch64/autorename_libavutil_aarch64_float_dsp_neon.S",
"libavutil/aarch64/tx_float_neon.S",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon) || (use_linux_config && current_cpu == "arm" && arm_use_neon) || (use_linux_config && current_cpu == "arm")) {
ffmpeg_c_sources += [
"libavcodec/arm/flacdsp_init_arm.c",
"libavcodec/arm/mpegaudiodsp_init_arm.c",
"libavcodec/arm/vorbisdsp_init_arm.c",
"libavutil/arm/cpu.c",
"libavutil/arm/float_dsp_init_arm.c",
"libavutil/arm/float_dsp_init_vfp.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/flacdsp_arm.S",
"libavcodec/arm/mpegaudiodsp_fixed_armv6.S",
"libavutil/arm/float_dsp_vfp.S",
]
}
if ((is_apple && current_cpu == "arm64") || (is_win && current_cpu == "arm64") || (use_linux_config && current_cpu == "arm64")) {
ffmpeg_c_sources += [
"libavcodec/aarch64/h264pred_init.c",
"libavcodec/aarch64/hpeldsp_init_aarch64.c",
"libavcodec/aarch64/videodsp_init.c",
"libavcodec/aarch64/vp8dsp_init_aarch64.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/autorename_libavcodec_aarch64_h264pred_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_hpeldsp_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_vp8dsp_neon.S",
"libavcodec/aarch64/videodsp.S",
]
}
if ((is_apple && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (use_linux_config && 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 (use_linux_config && 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/autorename_libavcodec_arm_idctdsp_neon.S",
"libavcodec/arm/autorename_libavcodec_arm_simple_idct_neon.S",
"libavcodec/arm/blockdsp_neon.S",
"libavcodec/arm/mpegvideo_neon.S",
]
}
if (use_linux_config && current_cpu == "arm" && arm_use_neon) {
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 (use_linux_config && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") {
ffmpeg_c_sources += [
"libavcodec/aarch64/idctdsp_init_aarch64.c",
"libavcodec/aarch64/me_cmp_init_aarch64.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/idctdsp_neon.S",
"libavcodec/aarch64/me_cmp_neon.S",
"libavcodec/aarch64/simple_idct_neon.S",
]
}
if ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (use_linux_config && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (use_linux_config && 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 ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (use_linux_config && 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 ((current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/aarch64/aacpsdsp_init_aarch64.c",
"libavcodec/aarch64/sbrdsp_init_aarch64.c",
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/autorename_libavcodec_aarch64_aacpsdsp_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_sbrdsp_neon.S",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon) || (use_linux_config && current_cpu == "arm" && arm_use_neon)) {
ffmpeg_c_sources += [
"libavutil/arm/float_dsp_init_neon.c",
]
ffmpeg_gas_sources += [
"libavcodec/arm/vorbisdsp_neon.S",
"libavutil/arm/float_dsp_neon.S",
]
}
if ((current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/x86/aacpsdsp_init.c",
"libavcodec/x86/sbrdsp_init.c",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (use_linux_config && current_cpu == "arm" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/arm/aacpsdsp_init_arm.c",
"libavcodec/arm/sbrdsp_init_arm.c",
]
}
if ((current_cpu == "x64" && ffmpeg_branding == "Chrome") || (is_win && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") || (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_asm_sources += [
"libavcodec/x86/aacpsdsp.asm",
"libavcodec/x86/sbrdsp.asm",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "Chrome") || (use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS")) {
ffmpeg_gas_sources += [
"libavcodec/arm/aacpsdsp_neon.S",
"libavcodec/arm/sbrdsp_neon.S",
]
}
if ((is_android && current_cpu == "arm" && arm_use_neon) || (is_android && current_cpu == "arm64") || (is_android && current_cpu == "x64") || (is_android && current_cpu == "x86")) {
ffmpeg_c_sources += [
"compat/strtod.c",
]
}
if ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding == "ChromeOS") || (use_linux_config && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
"libavcodec/neon/mpegvideo.c",
]
}
if (use_linux_config && current_cpu == "x86" && ffmpeg_branding == "ChromeOS") {
ffmpeg_asm_sources += [
"libavcodec/x86/simple_idct.asm",
]
}
if (use_linux_config && current_cpu == "x64" && ffmpeg_branding == "ChromeOS") {
ffmpeg_asm_sources += [
"libavcodec/x86/simple_idct10.asm",
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。