Re-Add AC3/EAC3 Support

This commit is contained in:
Alexander Frick 2023-06-17 14:02:26 -05:00
parent b5f4b98cc5
commit 7c9d87357d
25 changed files with 214 additions and 46 deletions

View file

@ -242,6 +242,25 @@ if (use_linux_config && ffmpeg_branding == "ChromeOS") {
} }
if ((is_apple && ffmpeg_branding == "Chrome") || (is_win && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "ChromeOS")) { 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/autorename_libavcodec_bswapdsp.c",
"libavcodec/dovi_rpu.c",
"libavcodec/dynamic_hdr_vivid.c",
"libavcodec/hevc_cabac.c",
"libavcodec/hevc_data.c",
"libavcodec/hevc_filter.c",
"libavcodec/hevc_mvs.c",
"libavcodec/hevc_parse.c",
"libavcodec/hevc_parser.c",
"libavcodec/hevc_ps.c",
"libavcodec/hevc_refs.c",
"libavcodec/hevc_sei.c",
"libavcodec/hevcdec.c",
"libavcodec/hevcdsp.c",
"libavcodec/hevcpred.c"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/atsc_a53.c", "libavcodec/atsc_a53.c",
"libavcodec/cabac.c", "libavcodec/cabac.c",
@ -338,6 +357,22 @@ if ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding
} }
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")) { 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/bswapdsp_init.c",
"libavcodec/x86/hevcdsp_init.c"
]
ffmpeg_asm_sources += [
"libavcodec/x86/bswapdsp.asm",
"libavcodec/x86/hevc_add_res.asm",
"libavcodec/x86/hevc_deblock.asm",
"libavcodec/x86/hevc_idct.asm",
"libavcodec/x86/hevc_mc.asm",
"libavcodec/x86/hevc_sao.asm",
"libavcodec/x86/hevc_sao_10bit.asm"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/x86/h264_qpel.c", "libavcodec/x86/h264_qpel.c",
"libavcodec/x86/h264chroma_init.c", "libavcodec/x86/h264chroma_init.c",
@ -503,6 +538,17 @@ if ((is_apple && current_cpu == "arm64") || (is_win && current_cpu == "arm64") |
} }
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")) { 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/hevcdsp_init_aarch64.c"
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/autorename_libavcodec_aarch64_hevcdsp_idct_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_hevcdsp_sao_neon.S",
"libavcodec/aarch64/hevcdsp_qpel_neon.S"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/aarch64/h264chroma_init_aarch64.c", "libavcodec/aarch64/h264chroma_init_aarch64.c",
"libavcodec/aarch64/h264dsp_init_aarch64.c", "libavcodec/aarch64/h264dsp_init_aarch64.c",
@ -567,6 +613,11 @@ if (use_linux_config && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")
} }
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")) { 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/hevcdsp_init_arm.c"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/arm/h264chroma_init_arm.c", "libavcodec/arm/h264chroma_init_arm.c",
"libavcodec/arm/h264dsp_init_arm.c", "libavcodec/arm/h264dsp_init_arm.c",
@ -578,6 +629,18 @@ if ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding
} }
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")) { 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_c_sources += [
"libavcodec/arm/hevcdsp_init_neon.c"
]
ffmpeg_gas_sources += [
"libavcodec/arm/hevcdsp_deblock_neon.S",
"libavcodec/arm/hevcdsp_idct_neon.S",
"libavcodec/arm/hevcdsp_qpel_neon.S",
"libavcodec/arm/hevcdsp_sao_neon.S"
]
ffmpeg_gas_sources += [ ffmpeg_gas_sources += [
"libavcodec/arm/h264cmc_neon.S", "libavcodec/arm/h264cmc_neon.S",
"libavcodec/arm/h264dsp_neon.S", "libavcodec/arm/h264dsp_neon.S",

View file

@ -634,25 +634,25 @@
%define CONFIG_MUXERS 0 %define CONFIG_MUXERS 0
%define CONFIG_PROTOCOLS 0 %define CONFIG_PROTOCOLS 0
%define CONFIG_AANDCTTABLES 0 %define CONFIG_AANDCTTABLES 0
%define CONFIG_AC3DSP 0 %define CONFIG_AC3DSP 1
%define CONFIG_ADTS_HEADER 1 %define CONFIG_ADTS_HEADER 1
%define CONFIG_ATSC_A53 1 %define CONFIG_ATSC_A53 1
%define CONFIG_AUDIO_FRAME_QUEUE 0 %define CONFIG_AUDIO_FRAME_QUEUE 0
%define CONFIG_AUDIODSP 0 %define CONFIG_AUDIODSP 0
%define CONFIG_BLOCKDSP 0 %define CONFIG_BLOCKDSP 0
%define CONFIG_BSWAPDSP 0 %define CONFIG_BSWAPDSP 1
%define CONFIG_CABAC 1 %define CONFIG_CABAC 1
%define CONFIG_CBS 0 %define CONFIG_CBS 0
%define CONFIG_CBS_AV1 0 %define CONFIG_CBS_AV1 0
%define CONFIG_CBS_H264 0 %define CONFIG_CBS_H264 0
%define CONFIG_CBS_H265 0 %define CONFIG_CBS_H265 0
%define CONFIG_CBS_JPEG 0 %define CONFIG_CBS_JPEG 0
%define CONFIG_CBS_MPEG2 0 %define CONFIG_CBS_MPEG2 1
%define CONFIG_CBS_VP9 0 %define CONFIG_CBS_VP9 0
%define CONFIG_DEFLATE_WRAPPER 0 %define CONFIG_DEFLATE_WRAPPER 0
%define CONFIG_DIRAC_PARSE 1 %define CONFIG_DIRAC_PARSE 1
%define CONFIG_DNN 0 %define CONFIG_DNN 0
%define CONFIG_DOVI_RPU 0 %define CONFIG_DOVI_RPU 1
%define CONFIG_DVPROFILE 0 %define CONFIG_DVPROFILE 0
%define CONFIG_EXIF 0 %define CONFIG_EXIF 0
%define CONFIG_FAANDCT 0 %define CONFIG_FAANDCT 0
@ -670,7 +670,7 @@
%define CONFIG_H264PRED 1 %define CONFIG_H264PRED 1
%define CONFIG_H264QPEL 1 %define CONFIG_H264QPEL 1
%define CONFIG_H264_SEI 1 %define CONFIG_H264_SEI 1
%define CONFIG_HEVCPARSE 0 %define CONFIG_HEVCPARSE 1
%define CONFIG_HEVC_SEI 0 %define CONFIG_HEVC_SEI 0
%define CONFIG_HPELDSP 1 %define CONFIG_HPELDSP 1
%define CONFIG_HUFFMAN 0 %define CONFIG_HUFFMAN 0

View file

@ -650,7 +650,7 @@
#define CONFIG_MUXERS 0 #define CONFIG_MUXERS 0
#define CONFIG_PROTOCOLS 0 #define CONFIG_PROTOCOLS 0
#define CONFIG_AANDCTTABLES 0 #define CONFIG_AANDCTTABLES 0
#define CONFIG_AC3DSP 0 #define CONFIG_AC3DSP 1
#define CONFIG_ADTS_HEADER 1 #define CONFIG_ADTS_HEADER 1
#define CONFIG_ATSC_A53 1 #define CONFIG_ATSC_A53 1
#define CONFIG_AUDIO_FRAME_QUEUE 0 #define CONFIG_AUDIO_FRAME_QUEUE 0

View file

@ -10,7 +10,7 @@
#define CONFIG_DCA_CORE_BSF 0 #define CONFIG_DCA_CORE_BSF 0
#define CONFIG_DTS2PTS_BSF 0 #define CONFIG_DTS2PTS_BSF 0
#define CONFIG_DV_ERROR_MARKER_BSF 0 #define CONFIG_DV_ERROR_MARKER_BSF 0
#define CONFIG_EAC3_CORE_BSF 0 #define CONFIG_EAC3_CORE_BSF 1
#define CONFIG_EXTRACT_EXTRADATA_BSF 0 #define CONFIG_EXTRACT_EXTRADATA_BSF 0
#define CONFIG_FILTER_UNITS_BSF 0 #define CONFIG_FILTER_UNITS_BSF 0
#define CONFIG_H264_METADATA_BSF 0 #define CONFIG_H264_METADATA_BSF 0
@ -337,8 +337,8 @@
#define CONFIG_AAC_DECODER 1 #define CONFIG_AAC_DECODER 1
#define CONFIG_AAC_FIXED_DECODER 0 #define CONFIG_AAC_FIXED_DECODER 0
#define CONFIG_AAC_LATM_DECODER 0 #define CONFIG_AAC_LATM_DECODER 0
#define CONFIG_AC3_DECODER 0 #define CONFIG_AC3_DECODER 1
#define CONFIG_AC3_FIXED_DECODER 0 #define CONFIG_AC3_FIXED_DECODER 1
#define CONFIG_ACELP_KELVIN_DECODER 0 #define CONFIG_ACELP_KELVIN_DECODER 0
#define CONFIG_ALAC_DECODER 0 #define CONFIG_ALAC_DECODER 0
#define CONFIG_ALS_DECODER 0 #define CONFIG_ALS_DECODER 0
@ -369,7 +369,7 @@
#define CONFIG_DSICINAUDIO_DECODER 0 #define CONFIG_DSICINAUDIO_DECODER 0
#define CONFIG_DSS_SP_DECODER 0 #define CONFIG_DSS_SP_DECODER 0
#define CONFIG_DST_DECODER 0 #define CONFIG_DST_DECODER 0
#define CONFIG_EAC3_DECODER 0 #define CONFIG_EAC3_DECODER 1
#define CONFIG_EVRC_DECODER 0 #define CONFIG_EVRC_DECODER 0
#define CONFIG_FASTAUDIO_DECODER 0 #define CONFIG_FASTAUDIO_DECODER 0
#define CONFIG_FFWAVESYNTH_DECODER 0 #define CONFIG_FFWAVESYNTH_DECODER 0
@ -556,11 +556,11 @@
#define CONFIG_WEBVTT_DECODER 0 #define CONFIG_WEBVTT_DECODER 0
#define CONFIG_XSUB_DECODER 0 #define CONFIG_XSUB_DECODER 0
#define CONFIG_AAC_AT_DECODER 0 #define CONFIG_AAC_AT_DECODER 0
#define CONFIG_AC3_AT_DECODER 0 #define CONFIG_AC3_AT_DECODER 1
#define CONFIG_ADPCM_IMA_QT_AT_DECODER 0 #define CONFIG_ADPCM_IMA_QT_AT_DECODER 0
#define CONFIG_ALAC_AT_DECODER 0 #define CONFIG_ALAC_AT_DECODER 0
#define CONFIG_AMR_NB_AT_DECODER 0 #define CONFIG_AMR_NB_AT_DECODER 0
#define CONFIG_EAC3_AT_DECODER 0 #define CONFIG_EAC3_AT_DECODER 1
#define CONFIG_GSM_MS_AT_DECODER 0 #define CONFIG_GSM_MS_AT_DECODER 0
#define CONFIG_ILBC_AT_DECODER 0 #define CONFIG_ILBC_AT_DECODER 0
#define CONFIG_MP1_AT_DECODER 0 #define CONFIG_MP1_AT_DECODER 0
@ -931,7 +931,7 @@
#define CONFIG_WMV3_VDPAU_HWACCEL 0 #define CONFIG_WMV3_VDPAU_HWACCEL 0
#define CONFIG_AAC_PARSER 1 #define CONFIG_AAC_PARSER 1
#define CONFIG_AAC_LATM_PARSER 0 #define CONFIG_AAC_LATM_PARSER 0
#define CONFIG_AC3_PARSER 0 #define CONFIG_AC3_PARSER 1
#define CONFIG_ADX_PARSER 0 #define CONFIG_ADX_PARSER 0
#define CONFIG_AMR_PARSER 0 #define CONFIG_AMR_PARSER 0
#define CONFIG_AV1_PARSER 0 #define CONFIG_AV1_PARSER 0
@ -1577,7 +1577,7 @@
#define CONFIG_AA_DEMUXER 0 #define CONFIG_AA_DEMUXER 0
#define CONFIG_AAC_DEMUXER 1 #define CONFIG_AAC_DEMUXER 1
#define CONFIG_AAX_DEMUXER 0 #define CONFIG_AAX_DEMUXER 0
#define CONFIG_AC3_DEMUXER 0 #define CONFIG_AC3_DEMUXER 1
#define CONFIG_ACE_DEMUXER 0 #define CONFIG_ACE_DEMUXER 0
#define CONFIG_ACM_DEMUXER 0 #define CONFIG_ACM_DEMUXER 0
#define CONFIG_ACT_DEMUXER 0 #define CONFIG_ACT_DEMUXER 0
@ -1659,7 +1659,7 @@
#define CONFIG_DXA_DEMUXER 0 #define CONFIG_DXA_DEMUXER 0
#define CONFIG_EA_DEMUXER 0 #define CONFIG_EA_DEMUXER 0
#define CONFIG_EA_CDATA_DEMUXER 0 #define CONFIG_EA_CDATA_DEMUXER 0
#define CONFIG_EAC3_DEMUXER 0 #define CONFIG_EAC3_DEMUXER 1
#define CONFIG_EPAF_DEMUXER 0 #define CONFIG_EPAF_DEMUXER 0
#define CONFIG_FFMETADATA_DEMUXER 0 #define CONFIG_FFMETADATA_DEMUXER 0
#define CONFIG_FILMSTRIP_DEMUXER 0 #define CONFIG_FILMSTRIP_DEMUXER 0
@ -1687,7 +1687,7 @@
#define CONFIG_H264_DEMUXER 0 #define CONFIG_H264_DEMUXER 0
#define CONFIG_HCA_DEMUXER 0 #define CONFIG_HCA_DEMUXER 0
#define CONFIG_HCOM_DEMUXER 0 #define CONFIG_HCOM_DEMUXER 0
#define CONFIG_HEVC_DEMUXER 0 #define CONFIG_HEVC_DEMUXER 1
#define CONFIG_HLS_DEMUXER 0 #define CONFIG_HLS_DEMUXER 0
#define CONFIG_HNM_DEMUXER 0 #define CONFIG_HNM_DEMUXER 0
#define CONFIG_ICO_DEMUXER 0 #define CONFIG_ICO_DEMUXER 0

View file

@ -17,5 +17,8 @@ static const FFCodec * const codec_list[] = {
&ff_pcm_s32le_decoder, &ff_pcm_s32le_decoder,
&ff_pcm_u8_decoder, &ff_pcm_u8_decoder,
&ff_libopus_decoder, &ff_libopus_decoder,
&ff_ac3_decoder,
&ff_eac3_decoder,
&ff_ac3_fixed_decoder,
&ff_hevc_decoder, &ff_hevc_decoder,
NULL }; NULL };

View file

@ -8,5 +8,6 @@ static const AVCodecParser * const parser_list[] = {
&ff_vp3_parser, &ff_vp3_parser,
&ff_vp8_parser, &ff_vp8_parser,
&ff_vp9_parser, &ff_vp9_parser,
&ff_ac3_parser,
&ff_hevc_parser, &ff_hevc_parser,
NULL }; NULL };

View file

@ -6,4 +6,6 @@ static const AVInputFormat * const demuxer_list[] = {
&ff_mp3_demuxer, &ff_mp3_demuxer,
&ff_ogg_demuxer, &ff_ogg_demuxer,
&ff_wav_demuxer, &ff_wav_demuxer,
&ff_ac3_demuxer,
&ff_eac3_demuxer,
NULL }; NULL };

View file

@ -634,7 +634,7 @@
%define CONFIG_MUXERS 0 %define CONFIG_MUXERS 0
%define CONFIG_PROTOCOLS 0 %define CONFIG_PROTOCOLS 0
%define CONFIG_AANDCTTABLES 0 %define CONFIG_AANDCTTABLES 0
%define CONFIG_AC3DSP 0 %define CONFIG_AC3DSP 1
%define CONFIG_ADTS_HEADER 1 %define CONFIG_ADTS_HEADER 1
%define CONFIG_ATSC_A53 1 %define CONFIG_ATSC_A53 1
%define CONFIG_AUDIO_FRAME_QUEUE 0 %define CONFIG_AUDIO_FRAME_QUEUE 0
@ -647,7 +647,7 @@
%define CONFIG_CBS_H264 0 %define CONFIG_CBS_H264 0
%define CONFIG_CBS_H265 0 %define CONFIG_CBS_H265 0
%define CONFIG_CBS_JPEG 0 %define CONFIG_CBS_JPEG 0
%define CONFIG_CBS_MPEG2 0 %define CONFIG_CBS_MPEG2 1
%define CONFIG_CBS_VP9 0 %define CONFIG_CBS_VP9 0
%define CONFIG_DEFLATE_WRAPPER 0 %define CONFIG_DEFLATE_WRAPPER 0
%define CONFIG_DIRAC_PARSE 1 %define CONFIG_DIRAC_PARSE 1

View file

@ -650,7 +650,7 @@
#define CONFIG_MUXERS 0 #define CONFIG_MUXERS 0
#define CONFIG_PROTOCOLS 0 #define CONFIG_PROTOCOLS 0
#define CONFIG_AANDCTTABLES 0 #define CONFIG_AANDCTTABLES 0
#define CONFIG_AC3DSP 0 #define CONFIG_AC3DSP 1
#define CONFIG_ADTS_HEADER 1 #define CONFIG_ADTS_HEADER 1
#define CONFIG_ATSC_A53 1 #define CONFIG_ATSC_A53 1
#define CONFIG_AUDIO_FRAME_QUEUE 0 #define CONFIG_AUDIO_FRAME_QUEUE 0

View file

@ -10,7 +10,7 @@
#define CONFIG_DCA_CORE_BSF 0 #define CONFIG_DCA_CORE_BSF 0
#define CONFIG_DTS2PTS_BSF 0 #define CONFIG_DTS2PTS_BSF 0
#define CONFIG_DV_ERROR_MARKER_BSF 0 #define CONFIG_DV_ERROR_MARKER_BSF 0
#define CONFIG_EAC3_CORE_BSF 0 #define CONFIG_EAC3_CORE_BSF 1
#define CONFIG_EXTRACT_EXTRADATA_BSF 0 #define CONFIG_EXTRACT_EXTRADATA_BSF 0
#define CONFIG_FILTER_UNITS_BSF 0 #define CONFIG_FILTER_UNITS_BSF 0
#define CONFIG_H264_METADATA_BSF 0 #define CONFIG_H264_METADATA_BSF 0
@ -337,8 +337,8 @@
#define CONFIG_AAC_DECODER 1 #define CONFIG_AAC_DECODER 1
#define CONFIG_AAC_FIXED_DECODER 0 #define CONFIG_AAC_FIXED_DECODER 0
#define CONFIG_AAC_LATM_DECODER 0 #define CONFIG_AAC_LATM_DECODER 0
#define CONFIG_AC3_DECODER 0 #define CONFIG_AC3_DECODER 1
#define CONFIG_AC3_FIXED_DECODER 0 #define CONFIG_AC3_FIXED_DECODER 1
#define CONFIG_ACELP_KELVIN_DECODER 0 #define CONFIG_ACELP_KELVIN_DECODER 0
#define CONFIG_ALAC_DECODER 0 #define CONFIG_ALAC_DECODER 0
#define CONFIG_ALS_DECODER 0 #define CONFIG_ALS_DECODER 0
@ -369,7 +369,7 @@
#define CONFIG_DSICINAUDIO_DECODER 0 #define CONFIG_DSICINAUDIO_DECODER 0
#define CONFIG_DSS_SP_DECODER 0 #define CONFIG_DSS_SP_DECODER 0
#define CONFIG_DST_DECODER 0 #define CONFIG_DST_DECODER 0
#define CONFIG_EAC3_DECODER 0 #define CONFIG_EAC3_DECODER 1
#define CONFIG_EVRC_DECODER 0 #define CONFIG_EVRC_DECODER 0
#define CONFIG_FASTAUDIO_DECODER 0 #define CONFIG_FASTAUDIO_DECODER 0
#define CONFIG_FFWAVESYNTH_DECODER 0 #define CONFIG_FFWAVESYNTH_DECODER 0
@ -556,11 +556,11 @@
#define CONFIG_WEBVTT_DECODER 0 #define CONFIG_WEBVTT_DECODER 0
#define CONFIG_XSUB_DECODER 0 #define CONFIG_XSUB_DECODER 0
#define CONFIG_AAC_AT_DECODER 0 #define CONFIG_AAC_AT_DECODER 0
#define CONFIG_AC3_AT_DECODER 0 #define CONFIG_AC3_AT_DECODER 1
#define CONFIG_ADPCM_IMA_QT_AT_DECODER 0 #define CONFIG_ADPCM_IMA_QT_AT_DECODER 0
#define CONFIG_ALAC_AT_DECODER 0 #define CONFIG_ALAC_AT_DECODER 0
#define CONFIG_AMR_NB_AT_DECODER 0 #define CONFIG_AMR_NB_AT_DECODER 0
#define CONFIG_EAC3_AT_DECODER 0 #define CONFIG_EAC3_AT_DECODER 1
#define CONFIG_GSM_MS_AT_DECODER 0 #define CONFIG_GSM_MS_AT_DECODER 0
#define CONFIG_ILBC_AT_DECODER 0 #define CONFIG_ILBC_AT_DECODER 0
#define CONFIG_MP1_AT_DECODER 0 #define CONFIG_MP1_AT_DECODER 0
@ -931,7 +931,7 @@
#define CONFIG_WMV3_VDPAU_HWACCEL 0 #define CONFIG_WMV3_VDPAU_HWACCEL 0
#define CONFIG_AAC_PARSER 1 #define CONFIG_AAC_PARSER 1
#define CONFIG_AAC_LATM_PARSER 0 #define CONFIG_AAC_LATM_PARSER 0
#define CONFIG_AC3_PARSER 0 #define CONFIG_AC3_PARSER 1
#define CONFIG_ADX_PARSER 0 #define CONFIG_ADX_PARSER 0
#define CONFIG_AMR_PARSER 0 #define CONFIG_AMR_PARSER 0
#define CONFIG_AV1_PARSER 0 #define CONFIG_AV1_PARSER 0
@ -1577,7 +1577,7 @@
#define CONFIG_AA_DEMUXER 0 #define CONFIG_AA_DEMUXER 0
#define CONFIG_AAC_DEMUXER 1 #define CONFIG_AAC_DEMUXER 1
#define CONFIG_AAX_DEMUXER 0 #define CONFIG_AAX_DEMUXER 0
#define CONFIG_AC3_DEMUXER 0 #define CONFIG_AC3_DEMUXER 1
#define CONFIG_ACE_DEMUXER 0 #define CONFIG_ACE_DEMUXER 0
#define CONFIG_ACM_DEMUXER 0 #define CONFIG_ACM_DEMUXER 0
#define CONFIG_ACT_DEMUXER 0 #define CONFIG_ACT_DEMUXER 0
@ -1659,7 +1659,7 @@
#define CONFIG_DXA_DEMUXER 0 #define CONFIG_DXA_DEMUXER 0
#define CONFIG_EA_DEMUXER 0 #define CONFIG_EA_DEMUXER 0
#define CONFIG_EA_CDATA_DEMUXER 0 #define CONFIG_EA_CDATA_DEMUXER 0
#define CONFIG_EAC3_DEMUXER 0 #define CONFIG_EAC3_DEMUXER 1
#define CONFIG_EPAF_DEMUXER 0 #define CONFIG_EPAF_DEMUXER 0
#define CONFIG_FFMETADATA_DEMUXER 0 #define CONFIG_FFMETADATA_DEMUXER 0
#define CONFIG_FILMSTRIP_DEMUXER 0 #define CONFIG_FILMSTRIP_DEMUXER 0
@ -1687,7 +1687,7 @@
#define CONFIG_H264_DEMUXER 0 #define CONFIG_H264_DEMUXER 0
#define CONFIG_HCA_DEMUXER 0 #define CONFIG_HCA_DEMUXER 0
#define CONFIG_HCOM_DEMUXER 0 #define CONFIG_HCOM_DEMUXER 0
#define CONFIG_HEVC_DEMUXER 0 #define CONFIG_HEVC_DEMUXER 1
#define CONFIG_HLS_DEMUXER 0 #define CONFIG_HLS_DEMUXER 0
#define CONFIG_HNM_DEMUXER 0 #define CONFIG_HNM_DEMUXER 0
#define CONFIG_ICO_DEMUXER 0 #define CONFIG_ICO_DEMUXER 0

View file

@ -17,5 +17,8 @@ static const FFCodec * const codec_list[] = {
&ff_pcm_s32le_decoder, &ff_pcm_s32le_decoder,
&ff_pcm_u8_decoder, &ff_pcm_u8_decoder,
&ff_libopus_decoder, &ff_libopus_decoder,
&ff_ac3_decoder,
&ff_eac3_decoder,
&ff_ac3_fixed_decoder,
&ff_hevc_decoder, &ff_hevc_decoder,
NULL }; NULL };

View file

@ -8,5 +8,6 @@ static const AVCodecParser * const parser_list[] = {
&ff_vp3_parser, &ff_vp3_parser,
&ff_vp8_parser, &ff_vp8_parser,
&ff_vp9_parser, &ff_vp9_parser,
&ff_ac3_parser,
&ff_hevc_parser, &ff_hevc_parser,
NULL }; NULL };

View file

@ -6,4 +6,6 @@ static const AVInputFormat * const demuxer_list[] = {
&ff_mp3_demuxer, &ff_mp3_demuxer,
&ff_ogg_demuxer, &ff_ogg_demuxer,
&ff_wav_demuxer, &ff_wav_demuxer,
&ff_ac3_demuxer,
&ff_eac3_demuxer,
NULL }; NULL };

View file

@ -558,7 +558,7 @@
%define CONFIG_MUXERS 0 %define CONFIG_MUXERS 0
%define CONFIG_PROTOCOLS 0 %define CONFIG_PROTOCOLS 0
%define CONFIG_AANDCTTABLES 0 %define CONFIG_AANDCTTABLES 0
%define CONFIG_AC3DSP 0 %define CONFIG_AC3DSP 1
%define CONFIG_ADTS_HEADER 1 %define CONFIG_ADTS_HEADER 1
%define CONFIG_AUDIO_FRAME_QUEUE 0 %define CONFIG_AUDIO_FRAME_QUEUE 0
%define CONFIG_AUDIODSP 0 %define CONFIG_AUDIODSP 0
@ -568,7 +568,7 @@
%define CONFIG_CBS 0 %define CONFIG_CBS 0
%define CONFIG_CBS_H264 0 %define CONFIG_CBS_H264 0
%define CONFIG_CBS_H265 0 %define CONFIG_CBS_H265 0
%define CONFIG_CBS_MPEG2 0 %define CONFIG_CBS_MPEG2 1
%define CONFIG_DIRAC_PARSE 1 %define CONFIG_DIRAC_PARSE 1
%define CONFIG_DVPROFILE 0 %define CONFIG_DVPROFILE 0
%define CONFIG_EXIF 0 %define CONFIG_EXIF 0

View file

@ -573,7 +573,7 @@
#define CONFIG_MUXERS 0 #define CONFIG_MUXERS 0
#define CONFIG_PROTOCOLS 0 #define CONFIG_PROTOCOLS 0
#define CONFIG_AANDCTTABLES 0 #define CONFIG_AANDCTTABLES 0
#define CONFIG_AC3DSP 0 #define CONFIG_AC3DSP 1
#define CONFIG_ADTS_HEADER 1 #define CONFIG_ADTS_HEADER 1
#define CONFIG_AUDIO_FRAME_QUEUE 0 #define CONFIG_AUDIO_FRAME_QUEUE 0
#define CONFIG_AUDIODSP 0 #define CONFIG_AUDIODSP 0

View file

@ -17,5 +17,8 @@ static const AVCodec * const codec_list[] = {
&ff_pcm_s32le_decoder, &ff_pcm_s32le_decoder,
&ff_pcm_u8_decoder, &ff_pcm_u8_decoder,
&ff_libopus_decoder, &ff_libopus_decoder,
&ff_ac3_decoder,
&ff_eac3_decoder,
&ff_ac3_fixed_decoder,
&ff_hevc_decoder, &ff_hevc_decoder,
NULL }; NULL };

View file

@ -7,5 +7,6 @@ static const AVCodecParser * const parser_list[] = {
&ff_vorbis_parser, &ff_vorbis_parser,
&ff_vp3_parser, &ff_vp3_parser,
&ff_vp8_parser, &ff_vp8_parser,
&ff_ac3_parser,
&ff_hevc_parser, &ff_hevc_parser,
NULL }; NULL };

View file

@ -6,4 +6,6 @@ static const AVInputFormat * const demuxer_list[] = {
&ff_mp3_demuxer, &ff_mp3_demuxer,
&ff_ogg_demuxer, &ff_ogg_demuxer,
&ff_wav_demuxer, &ff_wav_demuxer,
&ff_ac3_demuxer,
&ff_eac3_demuxer,
NULL }; NULL };

View file

@ -634,7 +634,7 @@
%define CONFIG_MUXERS 0 %define CONFIG_MUXERS 0
%define CONFIG_PROTOCOLS 0 %define CONFIG_PROTOCOLS 0
%define CONFIG_AANDCTTABLES 0 %define CONFIG_AANDCTTABLES 0
%define CONFIG_AC3DSP 0 %define CONFIG_AC3DSP 1
%define CONFIG_ADTS_HEADER 1 %define CONFIG_ADTS_HEADER 1
%define CONFIG_ATSC_A53 1 %define CONFIG_ATSC_A53 1
%define CONFIG_AUDIO_FRAME_QUEUE 0 %define CONFIG_AUDIO_FRAME_QUEUE 0
@ -647,7 +647,7 @@
%define CONFIG_CBS_H264 0 %define CONFIG_CBS_H264 0
%define CONFIG_CBS_H265 0 %define CONFIG_CBS_H265 0
%define CONFIG_CBS_JPEG 0 %define CONFIG_CBS_JPEG 0
%define CONFIG_CBS_MPEG2 0 %define CONFIG_CBS_MPEG2 1
%define CONFIG_CBS_VP9 0 %define CONFIG_CBS_VP9 0
%define CONFIG_DEFLATE_WRAPPER 0 %define CONFIG_DEFLATE_WRAPPER 0
%define CONFIG_DIRAC_PARSE 1 %define CONFIG_DIRAC_PARSE 1

View file

@ -650,7 +650,7 @@
#define CONFIG_MUXERS 0 #define CONFIG_MUXERS 0
#define CONFIG_PROTOCOLS 0 #define CONFIG_PROTOCOLS 0
#define CONFIG_AANDCTTABLES 0 #define CONFIG_AANDCTTABLES 0
#define CONFIG_AC3DSP 0 #define CONFIG_AC3DSP 1
#define CONFIG_ADTS_HEADER 1 #define CONFIG_ADTS_HEADER 1
#define CONFIG_ATSC_A53 1 #define CONFIG_ATSC_A53 1
#define CONFIG_AUDIO_FRAME_QUEUE 0 #define CONFIG_AUDIO_FRAME_QUEUE 0

View file

@ -10,7 +10,7 @@
#define CONFIG_DCA_CORE_BSF 0 #define CONFIG_DCA_CORE_BSF 0
#define CONFIG_DTS2PTS_BSF 0 #define CONFIG_DTS2PTS_BSF 0
#define CONFIG_DV_ERROR_MARKER_BSF 0 #define CONFIG_DV_ERROR_MARKER_BSF 0
#define CONFIG_EAC3_CORE_BSF 0 #define CONFIG_EAC3_CORE_BSF 1
#define CONFIG_EXTRACT_EXTRADATA_BSF 0 #define CONFIG_EXTRACT_EXTRADATA_BSF 0
#define CONFIG_FILTER_UNITS_BSF 0 #define CONFIG_FILTER_UNITS_BSF 0
#define CONFIG_H264_METADATA_BSF 0 #define CONFIG_H264_METADATA_BSF 0
@ -337,8 +337,8 @@
#define CONFIG_AAC_DECODER 1 #define CONFIG_AAC_DECODER 1
#define CONFIG_AAC_FIXED_DECODER 0 #define CONFIG_AAC_FIXED_DECODER 0
#define CONFIG_AAC_LATM_DECODER 0 #define CONFIG_AAC_LATM_DECODER 0
#define CONFIG_AC3_DECODER 0 #define CONFIG_AC3_DECODER 1
#define CONFIG_AC3_FIXED_DECODER 0 #define CONFIG_AC3_FIXED_DECODER 1
#define CONFIG_ACELP_KELVIN_DECODER 0 #define CONFIG_ACELP_KELVIN_DECODER 0
#define CONFIG_ALAC_DECODER 0 #define CONFIG_ALAC_DECODER 0
#define CONFIG_ALS_DECODER 0 #define CONFIG_ALS_DECODER 0
@ -369,7 +369,7 @@
#define CONFIG_DSICINAUDIO_DECODER 0 #define CONFIG_DSICINAUDIO_DECODER 0
#define CONFIG_DSS_SP_DECODER 0 #define CONFIG_DSS_SP_DECODER 0
#define CONFIG_DST_DECODER 0 #define CONFIG_DST_DECODER 0
#define CONFIG_EAC3_DECODER 0 #define CONFIG_EAC3_DECODER 1
#define CONFIG_EVRC_DECODER 0 #define CONFIG_EVRC_DECODER 0
#define CONFIG_FASTAUDIO_DECODER 0 #define CONFIG_FASTAUDIO_DECODER 0
#define CONFIG_FFWAVESYNTH_DECODER 0 #define CONFIG_FFWAVESYNTH_DECODER 0
@ -556,11 +556,11 @@
#define CONFIG_WEBVTT_DECODER 0 #define CONFIG_WEBVTT_DECODER 0
#define CONFIG_XSUB_DECODER 0 #define CONFIG_XSUB_DECODER 0
#define CONFIG_AAC_AT_DECODER 0 #define CONFIG_AAC_AT_DECODER 0
#define CONFIG_AC3_AT_DECODER 0 #define CONFIG_AC3_AT_DECODER 1
#define CONFIG_ADPCM_IMA_QT_AT_DECODER 0 #define CONFIG_ADPCM_IMA_QT_AT_DECODER 0
#define CONFIG_ALAC_AT_DECODER 0 #define CONFIG_ALAC_AT_DECODER 0
#define CONFIG_AMR_NB_AT_DECODER 0 #define CONFIG_AMR_NB_AT_DECODER 0
#define CONFIG_EAC3_AT_DECODER 0 #define CONFIG_EAC3_AT_DECODER 1
#define CONFIG_GSM_MS_AT_DECODER 0 #define CONFIG_GSM_MS_AT_DECODER 0
#define CONFIG_ILBC_AT_DECODER 0 #define CONFIG_ILBC_AT_DECODER 0
#define CONFIG_MP1_AT_DECODER 0 #define CONFIG_MP1_AT_DECODER 0
@ -931,7 +931,7 @@
#define CONFIG_WMV3_VDPAU_HWACCEL 0 #define CONFIG_WMV3_VDPAU_HWACCEL 0
#define CONFIG_AAC_PARSER 1 #define CONFIG_AAC_PARSER 1
#define CONFIG_AAC_LATM_PARSER 0 #define CONFIG_AAC_LATM_PARSER 0
#define CONFIG_AC3_PARSER 0 #define CONFIG_AC3_PARSER 1
#define CONFIG_ADX_PARSER 0 #define CONFIG_ADX_PARSER 0
#define CONFIG_AMR_PARSER 0 #define CONFIG_AMR_PARSER 0
#define CONFIG_AV1_PARSER 0 #define CONFIG_AV1_PARSER 0
@ -1577,7 +1577,7 @@
#define CONFIG_AA_DEMUXER 0 #define CONFIG_AA_DEMUXER 0
#define CONFIG_AAC_DEMUXER 1 #define CONFIG_AAC_DEMUXER 1
#define CONFIG_AAX_DEMUXER 0 #define CONFIG_AAX_DEMUXER 0
#define CONFIG_AC3_DEMUXER 0 #define CONFIG_AC3_DEMUXER 1
#define CONFIG_ACE_DEMUXER 0 #define CONFIG_ACE_DEMUXER 0
#define CONFIG_ACM_DEMUXER 0 #define CONFIG_ACM_DEMUXER 0
#define CONFIG_ACT_DEMUXER 0 #define CONFIG_ACT_DEMUXER 0
@ -1659,7 +1659,7 @@
#define CONFIG_DXA_DEMUXER 0 #define CONFIG_DXA_DEMUXER 0
#define CONFIG_EA_DEMUXER 0 #define CONFIG_EA_DEMUXER 0
#define CONFIG_EA_CDATA_DEMUXER 0 #define CONFIG_EA_CDATA_DEMUXER 0
#define CONFIG_EAC3_DEMUXER 0 #define CONFIG_EAC3_DEMUXER 1
#define CONFIG_EPAF_DEMUXER 0 #define CONFIG_EPAF_DEMUXER 0
#define CONFIG_FFMETADATA_DEMUXER 0 #define CONFIG_FFMETADATA_DEMUXER 0
#define CONFIG_FILMSTRIP_DEMUXER 0 #define CONFIG_FILMSTRIP_DEMUXER 0
@ -1687,7 +1687,7 @@
#define CONFIG_H264_DEMUXER 0 #define CONFIG_H264_DEMUXER 0
#define CONFIG_HCA_DEMUXER 0 #define CONFIG_HCA_DEMUXER 0
#define CONFIG_HCOM_DEMUXER 0 #define CONFIG_HCOM_DEMUXER 0
#define CONFIG_HEVC_DEMUXER 0 #define CONFIG_HEVC_DEMUXER 1
#define CONFIG_HLS_DEMUXER 0 #define CONFIG_HLS_DEMUXER 0
#define CONFIG_HNM_DEMUXER 0 #define CONFIG_HNM_DEMUXER 0
#define CONFIG_ICO_DEMUXER 0 #define CONFIG_ICO_DEMUXER 0

View file

@ -17,5 +17,8 @@ static const FFCodec * const codec_list[] = {
&ff_pcm_s32le_decoder, &ff_pcm_s32le_decoder,
&ff_pcm_u8_decoder, &ff_pcm_u8_decoder,
&ff_libopus_decoder, &ff_libopus_decoder,
&ff_ac3_decoder,
&ff_eac3_decoder,
&ff_ac3_fixed_decoder,
&ff_hevc_decoder, &ff_hevc_decoder,
NULL }; NULL };

View file

@ -8,5 +8,6 @@ static const AVCodecParser * const parser_list[] = {
&ff_vp3_parser, &ff_vp3_parser,
&ff_vp8_parser, &ff_vp8_parser,
&ff_vp9_parser, &ff_vp9_parser,
&ff_ac3_parser,
&ff_hevc_parser, &ff_hevc_parser,
NULL }; NULL };

View file

@ -6,4 +6,6 @@ static const AVInputFormat * const demuxer_list[] = {
&ff_mp3_demuxer, &ff_mp3_demuxer,
&ff_ogg_demuxer, &ff_ogg_demuxer,
&ff_wav_demuxer, &ff_wav_demuxer,
&ff_ac3_demuxer,
&ff_eac3_demuxer,
NULL }; NULL };

View file

@ -242,6 +242,25 @@ if (use_linux_config && ffmpeg_branding == "ChromeOS") {
} }
if ((is_apple && ffmpeg_branding == "Chrome") || (is_win && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "Chrome") || (use_linux_config && ffmpeg_branding == "ChromeOS")) { 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/autorename_libavcodec_bswapdsp.c",
"libavcodec/dovi_rpu.c",
"libavcodec/dynamic_hdr_vivid.c",
"libavcodec/hevc_cabac.c",
"libavcodec/hevc_data.c",
"libavcodec/hevc_filter.c",
"libavcodec/hevc_mvs.c",
"libavcodec/hevc_parse.c",
"libavcodec/hevc_parser.c",
"libavcodec/hevc_ps.c",
"libavcodec/hevc_refs.c",
"libavcodec/hevc_sei.c",
"libavcodec/hevcdec.c",
"libavcodec/hevcdsp.c",
"libavcodec/hevcpred.c"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/atsc_a53.c", "libavcodec/atsc_a53.c",
"libavcodec/cabac.c", "libavcodec/cabac.c",
@ -338,6 +357,22 @@ if ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding
} }
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")) { 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/bswapdsp_init.c",
"libavcodec/x86/hevcdsp_init.c"
]
ffmpeg_asm_sources += [
"libavcodec/x86/bswapdsp.asm",
"libavcodec/x86/hevc_add_res.asm",
"libavcodec/x86/hevc_deblock.asm",
"libavcodec/x86/hevc_idct.asm",
"libavcodec/x86/hevc_mc.asm",
"libavcodec/x86/hevc_sao.asm",
"libavcodec/x86/hevc_sao_10bit.asm"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/x86/h264_qpel.c", "libavcodec/x86/h264_qpel.c",
"libavcodec/x86/h264chroma_init.c", "libavcodec/x86/h264chroma_init.c",
@ -484,6 +519,24 @@ if ((is_apple) || (is_win) || (use_linux_config)) {
"libavcodec/vp8_parser.c", "libavcodec/vp8_parser.c",
"libavcodec/vp8dsp.c", "libavcodec/vp8dsp.c",
"libavcodec/vpx_rac.c", "libavcodec/vpx_rac.c",
"libavformat/avc.c",
"libavcodec/x86/ac3dsp_init.c",
"libavcodec/ac3dsp.c",
"libavcodec/fmtconvert.c",
"libavcodec/ac3tab.c",
"libavcodec/ac3dec_float.c",
"libavcodec/ac3.c",
"libavcodec/x86/fmtconvert_init.c",
"libavcodec/ac3dec_data.c",
"libavcodec/eac3dec.c",
"libavcodec/eac3_data.c",
"libavcodec/ac3dec_fixed.c",
"libavformat/ac3dec.c",
]
ffmpeg_asm_sources += [
"libavcodec/x86/ac3dsp.asm",
"libavcodec/x86/ac3dsp_downmix.asm",
"libavcodec/x86/fmtconvert.asm",
] ]
} }
@ -503,6 +556,17 @@ if ((is_apple && current_cpu == "arm64") || (is_win && current_cpu == "arm64") |
} }
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")) { 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/hevcdsp_init_aarch64.c"
]
ffmpeg_gas_sources += [
"libavcodec/aarch64/autorename_libavcodec_aarch64_hevcdsp_idct_neon.S",
"libavcodec/aarch64/autorename_libavcodec_aarch64_hevcdsp_sao_neon.S",
"libavcodec/aarch64/hevcdsp_qpel_neon.S"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/aarch64/h264chroma_init_aarch64.c", "libavcodec/aarch64/h264chroma_init_aarch64.c",
"libavcodec/aarch64/h264dsp_init_aarch64.c", "libavcodec/aarch64/h264dsp_init_aarch64.c",
@ -567,6 +631,11 @@ if (use_linux_config && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")
} }
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")) { 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/hevcdsp_init_arm.c"
]
ffmpeg_c_sources += [ ffmpeg_c_sources += [
"libavcodec/arm/h264chroma_init_arm.c", "libavcodec/arm/h264chroma_init_arm.c",
"libavcodec/arm/h264dsp_init_arm.c", "libavcodec/arm/h264dsp_init_arm.c",
@ -578,6 +647,18 @@ if ((use_linux_config && current_cpu == "arm" && arm_use_neon && ffmpeg_branding
} }
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")) { 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_c_sources += [
"libavcodec/arm/hevcdsp_init_neon.c"
]
ffmpeg_gas_sources += [
"libavcodec/arm/hevcdsp_deblock_neon.S",
"libavcodec/arm/hevcdsp_idct_neon.S",
"libavcodec/arm/hevcdsp_qpel_neon.S",
"libavcodec/arm/hevcdsp_sao_neon.S"
]
ffmpeg_gas_sources += [ ffmpeg_gas_sources += [
"libavcodec/arm/h264cmc_neon.S", "libavcodec/arm/h264cmc_neon.S",
"libavcodec/arm/h264dsp_neon.S", "libavcodec/arm/h264dsp_neon.S",