arm64 ac3 patch

This commit is contained in:
Alexander Frick 2023-03-05 06:27:49 -06:00
parent 050e9acbdb
commit f6da5f568a
8 changed files with 2713 additions and 21 deletions

View file

@ -551,7 +551,7 @@ config("compiler") {
ldflags += [ "-Wl,-mllvm,-instcombine-lower-dbg-declare=0" ]
}
}
# TODO(crbug.com/1235145): Investigate why/if this should be needed.
if (is_win) {
cflags += [ "/clang:-ffp-contract=off" ]
@ -954,7 +954,7 @@ config("thinlto_optimize_max") {
# tweak code generation for a particular CPU do not belong here!
# See "compiler_codegen", below.
config("compiler_cpu_abi") {
cflags = [ "-O3", ]
cflags = []
ldflags = []
defines = []

2686
arm/raspi_BUILD.gn Normal file

File diff suppressed because it is too large Load diff

View file

@ -4,13 +4,13 @@ google_default_client_secret = ""
target_os = "linux"
target_cpu = "arm64"
v8_target_cpu = "arm64"
#arm_version = 8
#arm_arch = "armv8-a"
#arm_fpu = "neon-vfpv4"
#arm_tune = "cortex-a72"
#arm_use_neon = true
#arm_optionally_use_neon = true
#arm_use_thumb = true
arm_version = 8
arm_arch = "armv8-a"
arm_fpu = "neon-vfpv4"
arm_tune = "cortex-a72"
arm_use_neon = true
arm_optionally_use_neon = true
arm_use_thumb = true
v8_target_cpu = "arm64"
use_system_minigbm = false
use_vc4_minigbm = true
@ -87,4 +87,4 @@ use_text_section_splitting = true
use_thin_lto = true
thin_lto_enable_optimizations = true
chrome_pgo_phase = 2
pgo_data_path = "/home/alex/chromium/src/chrome/build/pgo_profiles/chrome-linux-main-1651730035-7c2bc9c754f16e0cb15fef8a61ff068912477ab5.profdata"
pgo_data_path = "/media/alex/4f370af3-b251-4d0c-9750-cdf6a5b127b1/home/alex/chromium/src/chrome/build/pgo_profiles/chrome-linux-5481-1675874756-8f0cc1ffc14aaa364c4901d505c8293825229435.profdata"

View file

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

View file

@ -10,7 +10,7 @@
#define CONFIG_DCA_CORE_BSF 0
#define CONFIG_DTS2PTS_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_FILTER_UNITS_BSF 0
#define CONFIG_H264_METADATA_BSF 0
@ -335,8 +335,8 @@
#define CONFIG_AAC_DECODER 1
#define CONFIG_AAC_FIXED_DECODER 0
#define CONFIG_AAC_LATM_DECODER 0
#define CONFIG_AC3_DECODER 0
#define CONFIG_AC3_FIXED_DECODER 0
#define CONFIG_AC3_DECODER 1
#define CONFIG_AC3_FIXED_DECODER 1
#define CONFIG_ACELP_KELVIN_DECODER 0
#define CONFIG_ALAC_DECODER 0
#define CONFIG_ALS_DECODER 0
@ -367,7 +367,7 @@
#define CONFIG_DSICINAUDIO_DECODER 0
#define CONFIG_DSS_SP_DECODER 0
#define CONFIG_DST_DECODER 0
#define CONFIG_EAC3_DECODER 0
#define CONFIG_EAC3_DECODER 1
#define CONFIG_EVRC_DECODER 0
#define CONFIG_FASTAUDIO_DECODER 0
#define CONFIG_FFWAVESYNTH_DECODER 0
@ -550,11 +550,11 @@
#define CONFIG_WEBVTT_DECODER 0
#define CONFIG_XSUB_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_ALAC_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_ILBC_AT_DECODER 0
#define CONFIG_MP1_AT_DECODER 0
@ -918,7 +918,7 @@
#define CONFIG_WMV3_VDPAU_HWACCEL 0
#define CONFIG_AAC_PARSER 1
#define CONFIG_AAC_LATM_PARSER 0
#define CONFIG_AC3_PARSER 0
#define CONFIG_AC3_PARSER 1
#define CONFIG_ADX_PARSER 0
#define CONFIG_AMR_PARSER 0
#define CONFIG_AV1_PARSER 0
@ -1553,7 +1553,7 @@
#define CONFIG_AA_DEMUXER 0
#define CONFIG_AAC_DEMUXER 1
#define CONFIG_AAX_DEMUXER 0
#define CONFIG_AC3_DEMUXER 0
#define CONFIG_AC3_DEMUXER 1
#define CONFIG_ACE_DEMUXER 0
#define CONFIG_ACM_DEMUXER 0
#define CONFIG_ACT_DEMUXER 0
@ -1635,7 +1635,7 @@
#define CONFIG_DXA_DEMUXER 0
#define CONFIG_EA_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_FFMETADATA_DEMUXER 0
#define CONFIG_FILMSTRIP_DEMUXER 0
@ -1663,7 +1663,7 @@
#define CONFIG_H264_DEMUXER 0
#define CONFIG_HCA_DEMUXER 0
#define CONFIG_HCOM_DEMUXER 0
#define CONFIG_HEVC_DEMUXER 0
#define CONFIG_HEVC_DEMUXER 1
#define CONFIG_HLS_DEMUXER 0
#define CONFIG_HNM_DEMUXER 0
#define CONFIG_ICO_DEMUXER 0

View file

@ -18,4 +18,7 @@ static const FFCodec * const codec_list[] = {
&ff_pcm_u8_decoder,
&ff_libopus_decoder,
&ff_hevc_decoder,
&ff_ac3_decoder,
&ff_eac3_decoder,
&ff_ac3_fixed_decoder,
NULL };

View file

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

View file

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