From: Brad Smith Subject: UPDATE: aom 3.11.0 To: ports@openbsd.org Date: Sat, 16 Nov 2024 21:13:29 -0500 Here is an update to aom 3.11.0. 2024-10-24 v3.11.0 This release includes perceptual quality improvements, binary size reduction under certain configurations and many bug fixes. This release changes the default encoder configuration for the AOM_USAGE_REALTIME mode. This release is ABI compatible with the last release. - Perceptual Quality Improvements * Visual quality improvements for RTC screen content * Higher quality on scene or slide changes * Faster quality ramp-up for static content after scene change * Quality improvements for screen content with active maps - Speedup * Added and improved Neon SIMD paths for dynamic frame scaling with ~1.5% overall encoding speedup. - Other Improvements * Binary size reduction: 10% compared with last release, with CONFIG_REALTIME_ONLY enabled, CONFIG_AV1_DECODER and CONFIG_AV1_HIGHBITDEPTH disabled. * Update default_extra_cfg for CONFIG_REALTIME_ONLY to provide proper RTC defaults settings * Change the default valuess of the following encoder config options in the AOM_USAGE_REALTIME mode: * rc_overshoot_pct and rc_undershoot_pct are changed from 25 to 50 * rc_buf_sz is changed from 6000 to 1000 * rc_buf_initial_sz is changed from 4000 to 600 * rc_buf_optimal_sz is changed from 5000 to 600 - Bug Fixes * aomedia:363016123: rtc: Fix setting of intra-only frame for set_ref_frame_config and add checks * aomedia:42302583: rtc: Fix for artifacts for screen with active_maps * b:365088425: rtc: Allow for lower-QP on scene/slide changes * b:367285382: Fix to encoder quality max-out too early for screen * b:362936830: rtc: Allow QP to decrease more aggressively for static content * b:361617762: Clamp the calculation of sb64_target_rate to INT_MAX * chromium:362123224: rtc-svc: Reset ref_map_idx for references not used * chromium:367892770: Fix to possible integer overflow in reset_rc * webrtc:369633254: rtc-svc: Fix to reset ref_idx for svc * Fix exit condition in rate correction update Index: Makefile =================================================================== RCS file: /cvs/ports/multimedia/aom/Makefile,v retrieving revision 1.27 diff -u -p -u -p -r1.27 Makefile --- Makefile 29 Oct 2024 12:28:48 -0000 1.27 +++ Makefile 16 Nov 2024 05:54:33 -0000 @@ -1,11 +1,11 @@ COMMENT= Alliance for Open Media AV1 video codec -V= 3.10.0 +V= 3.11.0 DISTNAME= libaom-$V PKGNAME= aom-$V CATEGORIES= multimedia -SHARED_LIBS= aom 4.3 +SHARED_LIBS= aom 5.0 HOMEPAGE= https://aomedia.org/ SITES= https://storage.googleapis.com/aom-releases/ Index: distinfo =================================================================== RCS file: /cvs/ports/multimedia/aom/distinfo,v retrieving revision 1.22 diff -u -p -u -p -r1.22 distinfo --- distinfo 29 Oct 2024 12:28:48 -0000 1.22 +++ distinfo 16 Nov 2024 05:54:33 -0000 @@ -1,2 +1,2 @@ -SHA256 (libaom-3.10.0.tar.gz) = Vcy2gW+0t9UI2WqVtunMPSwK4Ef5+UfbugNyC1bYljE= -SIZE (libaom-3.10.0.tar.gz) = 5445319 +SHA256 (libaom-3.11.0.tar.gz) = z30QPSeY5RKsqcbnNT1+v4ln7pb//plG4BW7mUeQPj4= +SIZE (libaom-3.11.0.tar.gz) = 5478757 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: /cvs/ports/multimedia/aom/patches/patch-CMakeLists_txt,v retrieving revision 1.8 diff -u -p -u -p -r1.8 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt 29 Oct 2024 12:28:48 -0000 1.8 +++ patches/patch-CMakeLists_txt 16 Nov 2024 05:54:33 -0000 @@ -1,7 +1,7 @@ Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -853,7 +853,8 @@ if(BUILD_SHARED_LIBS) +@@ -858,7 +858,8 @@ if(BUILD_SHARED_LIBS) # https://clang.llvm.org/docs/MemorySanitizer.html#usage. if(NOT WIN32 AND NOT APPLE Index: patches/patch-aom_ports_aarch64_cpudetect_c =================================================================== RCS file: /cvs/ports/multimedia/aom/patches/patch-aom_ports_aarch64_cpudetect_c,v retrieving revision 1.4 diff -u -p -u -p -r1.4 patch-aom_ports_aarch64_cpudetect_c --- patches/patch-aom_ports_aarch64_cpudetect_c 21 Aug 2024 05:41:23 -0000 1.4 +++ patches/patch-aom_ports_aarch64_cpudetect_c 16 Nov 2024 05:54:33 -0000 @@ -3,7 +3,7 @@ Add AArch64 CPU feature detection suppor Index: aom_ports/aarch64_cpudetect.c --- aom_ports/aarch64_cpudetect.c.orig +++ aom_ports/aarch64_cpudetect.c -@@ -99,7 +99,7 @@ static int arm_get_cpu_caps(void) { +@@ -127,7 +127,7 @@ static int arm_get_cpu_caps(void) { return flags; } @@ -12,7 +12,7 @@ Index: aom_ports/aarch64_cpudetect.c #include -@@ -114,10 +114,20 @@ static int arm_get_cpu_caps(void) { +@@ -142,10 +142,20 @@ static int arm_get_cpu_caps(void) { static int arm_get_cpu_caps(void) { int flags = 0; #if HAVE_ARM_CRC32 || HAVE_NEON_DOTPROD || HAVE_SVE