pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/libaom
Module Name: pkgsrc
Committed By: ryoon
Date: Sat May 30 12:37:21 UTC 2026
Modified Files:
pkgsrc/multimedia/libaom: Makefile PLIST distinfo
pkgsrc/multimedia/libaom/patches:
patch-build_cmake_aom__configure.cmake
patch-build_cmake_aom__optimization.cmake
patch-build_cmake_exports.cmake patch-build_cmake_version.cmake
patch-examples_svc__encoder__rtc.cc
Log Message:
multimedia/libaom: Update to 3.14.1
Changelog:
2026-05-22 v3.14.1
This release is ABI compatible with the last release. See
https://aomedia.googlesource.com/aom/+log/v3.14.0..v3.14.1 for all the
commits in this release.
- Bug Fixes
* b:513603812: NULL Pointer Dereference in validate_img
(av1_cx_iface.c) with 10-bit monochrome input
* oss-fuzz:514006304: Increase ctx->cx_data_sz to 2.5x uncomp frame
size
2026-05-12 v3.14.0
This release is ABI compatible with the last release.
This release includes significant compression efficiency and
perceptual quality improvements for layered image encoding, in
addition to bug fixes.
The `build` directory in the source tree was removed and the original
build/cmake directory was moved up one level. If you use the CMake
toolchain files in the original build/cmake/toolchains directory,
they are now in the cmake/toolchains directory.
The unsupported aom_img_fmt_t enum constants AOM_IMG_FMT_AOMYV12 and
AOM_IMG_FMT_AOMI420 are deprecated and will be removed in a future
release. Do not use them.
The new codec controls AV1E_SET_EXTERNAL_RATE_CONTROL (including the
new aom_rc_funcs_t struct and the new "aom/aom_ext_ratectrl.h" and
"aom/aom_tpl.h" headers) and AV1E_GET_GOP_INFO (including the new
aom_gop_info_t struct) have the experimental API status and are NOT
part of the stable API. Applications that need the backward
compatibility of the stable API must not use
AV1E_SET_EXTERNAL_RATE_CONTROL and AV1E_GET_GOP_INFO.
- New Features
* Tuning modes AOM_TUNE_IQ and AOM_TUNE_SSIMULACRA2 now work with
inter-frame encoding modes (good-quality and realtime), enabling
efficient layered image encoding.
* Variance Boost (deltaq-mode 6) support has been extended to
include good-quality and realtime modes.
* New value 2 for use_fixed_qp_offsets: disallow the application of
per-frame QP offsets, enabling full control of each frame's QP, by
adjusting rc_cfg.cq_level between each encoded frame.
* Low complexity decode mode (the encoder optimizations that produce
encoded bitstreams that can be decoded at low computational
complexity) now supports good-quality encoding (speed 1 to 3) for
not only vertical videos (608p to 1080p) but also horizontal
videos (720p to 1080p).
* Realtime encoding with non-zero lookahead is supported, for
!REALTME_ONLY_CONFIG.
* New AOM_EFLAG_FREEZE_INTERNAL_STATE flag for aom_codec_encode() to
encode a frame without updating encoder state such as reference
buffers, CDF tables, and rate control state. Useful for
speculative encoding.
* New aom_matrix_coefficients_t enum constants:
- AOM_CICP_MC_IPT_C2 (15): IPT-C2
- AOM_CICP_MC_YCGCO_RE (16): YCgCo-Re
- AOM_CICP_MC_YCGCO_RO (17): YCgCo-Ro
* New aom_metadata_insert_flags_t enum constants for adding
layer-specific metadata OBUs:
- AOM_MIF_NON_KEY_FRAME_LAYER_SPECIFIC: Adds layer-specific
metadata if it's not a keyframe
- AOM_MIF_KEY_FRAME_LAYER_SPECIFIC: Adds layer-specific metadata
only if it's a keyframe
- AOM_MIF_ANY_FRAME_LAYER_SPECIFIC: Adds layer-specific metadata
to any type of frame
* Experimental: New codec control AV1E_SET_EXTERNAL_RATE_CONTROL to
enable an external rate control library. Not part of the stable
API.
* Experimental: New codec control AV1E_GET_GOP_INFO to get the GOP
structure from the encoder. Not part of the stable API.
* New codec control AOME_SET_VALIDATE_HBD_INPUT to validate high
bitdepth (HBD) input and ensure that every pixel is within the
valid range. The corresponding option for aom_codec_set_option()
is "validate-hbd-input".
* New codec control AOMD_SET_FRAME_SIZE_LIMIT to set the maximum
frame size for a decoder
- Compression Efficiency Improvements
* When encoding 2-layered images with AOM_TUNE_IQ vs. AOM_TUNE_SSIM:
- Good-quality mode: up to 15% gains at similar SSIMULACRA 2
scores.
- Realtime mode: up to 30% gains at similar SSIMULACRA 2 scores.
* Enable screen detection mode 2 (anti-aliased text and graphics
aware) in all-intra mode.
* Some minor quantization matrix formula and delta chroma q tweaks
for the AOM_TUNE_SSIMULACRA2 tuning mode, with up to 0.2%
SSIMULACRA 2 score efficiency gains.
* Re-tune and re-work encoder features, achieving coding gains at
each speed level and better coding efficiency vs complexity
tradeoff (an estimated 20-30% encoder time reduction with about
1-5% vmaf gains).
* RTC screen: improvements to quality and scroll detection for high
resolutions.
- Perceptual Quality Improvements
* AOM_TUNE_IQ improves the visual quality of layered image encoding
compared to AOM_TUNE_SSIM.
* Adaptive sharpness: tweak loop filter sharpness threshold to
improve visual quality at QPs 29 and 30.
* Improve encoder algorithms in loop restoration, CDEF, temporal
filter and rate control, delivering better visual quality.
- Speedups
* Make Adaptive CDEF more decoder friendly by limiting CDEF
application to only regions where high filter strengths are
needed.
* Encoder complexity is reduced significantly, especially at speed
1 to 3.
* Further AArch64 SIMD optimization of filtering algorithms,
particularly using Armv8.6 Neon I8MM.
* Additional tweaks to AArch64 Neon paths for quantization, SAD,
subpel variance and intra-predictors.
- Bug Fixes
* Commit 4cc0867f: fix multithreading crashes when loop restoration
filtering is used by the encoder.
* Commit 74aaa1ef: fix AOM_SCALING_MODE crashes when compound mask
prediction modes are used by the encoder.
* b:502030569: Avoid assertion failure in `read_uncompressed_header`
triggered by fuzzed input
* b:503197490: Fix an integer overflow in target bits calculation
* b:503691210: Avoid reference to uninitialized member variables for
multi workers.
* b:504317456: Handle buffer pointer in LAP mode to avoid overflow
* b:502133197: Avoid a bitread assertion failure in
get_av1config_from_obu()
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/multimedia/libaom/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/multimedia/libaom/PLIST
cvs rdiff -u -r1.29 -r1.30 pkgsrc/multimedia/libaom/distinfo
cvs rdiff -u -r1.8 -r1.9 \
pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake
cvs rdiff -u -r1.4 -r1.5 \
pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/multimedia/libaom/patches/patch-build_cmake_exports.cmake \
pkgsrc/multimedia/libaom/patches/patch-build_cmake_version.cmake
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/libaom/Makefile
diff -u pkgsrc/multimedia/libaom/Makefile:1.40 pkgsrc/multimedia/libaom/Makefile:1.41
--- pkgsrc/multimedia/libaom/Makefile:1.40 Thu May 14 17:34:02 2026
+++ pkgsrc/multimedia/libaom/Makefile Sat May 30 12:37:21 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2026/05/14 17:34:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.41 2026/05/30 12:37:21 ryoon Exp $
-DISTNAME= libaom-3.13.3
+DISTNAME= libaom-3.14.1
CATEGORIES= multimedia
MASTER_SITES= https://storage.googleapis.com/aom-releases/
@@ -13,7 +13,7 @@ USE_LANGUAGES= c c++
USE_TOOLS+= perl
SUBST_CLASSES+= version
-SUBST_FILES.version= build/cmake/version.cmake
+SUBST_FILES.version= cmake/version.cmake
SUBST_STAGE.version= pre-configure
SUBST_VARS.version= PKGVERSION_NOREV
@@ -70,8 +70,5 @@ TOOL_DEPENDS+= nasm>=2.13:../../devel/na
BUILDLINK_TRANSFORM+= opt:-Wl,--help:--dummy-error
.endif
-PKGCONFIG_OVERRIDE_STAGE= pre-install
-PKGCONFIG_OVERRIDE+= build/aom.pc
-
.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/multimedia/libaom/PLIST
diff -u pkgsrc/multimedia/libaom/PLIST:1.4 pkgsrc/multimedia/libaom/PLIST:1.5
--- pkgsrc/multimedia/libaom/PLIST:1.4 Thu May 14 17:34:02 2026
+++ pkgsrc/multimedia/libaom/PLIST Sat May 30 12:37:21 2026
@@ -1,14 +1,16 @@
-@comment $NetBSD: PLIST,v 1.4 2026/05/14 17:34:02 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/05/30 12:37:21 ryoon Exp $
bin/aomdec
bin/aomenc
include/aom/aom.h
include/aom/aom_codec.h
include/aom/aom_decoder.h
include/aom/aom_encoder.h
+include/aom/aom_ext_ratectrl.h
include/aom/aom_external_partition.h
include/aom/aom_frame_buffer.h
include/aom/aom_image.h
include/aom/aom_integer.h
+include/aom/aom_tpl.h
include/aom/aomcx.h
include/aom/aomdx.h
lib/cmake/AOM/AOMConfig.cmake
Index: pkgsrc/multimedia/libaom/distinfo
diff -u pkgsrc/multimedia/libaom/distinfo:1.29 pkgsrc/multimedia/libaom/distinfo:1.30
--- pkgsrc/multimedia/libaom/distinfo:1.29 Thu May 14 17:34:02 2026
+++ pkgsrc/multimedia/libaom/distinfo Sat May 30 12:37:21 2026
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.29 2026/05/14 17:34:02 ryoon Exp $
+$NetBSD: distinfo,v 1.30 2026/05/30 12:37:21 ryoon Exp $
-BLAKE2s (libaom-3.13.3.tar.gz) = defdec0aa69ed2fab0d2101dd06984257ecfd978b34db304464f31aa280a2b66
-SHA512 (libaom-3.13.3.tar.gz) = 400bfb048a810d00f16df2c4bb7bd3bfc23265aeba1de48cc691986bf185965989f8d362ccb599f559c00ed6289073568b6738a16283073e225b621156c93c18
-Size (libaom-3.13.3.tar.gz) = 6256836 bytes
+BLAKE2s (libaom-3.14.1.tar.gz) = ffce81672582a5610d297ec05ccf6faa194b1f217883c970b518c4269c1bc289
+SHA512 (libaom-3.14.1.tar.gz) = a4c3427db0bb4cd49b8873ffae0a287570b86d6f0733da52798b08470519755ffe08198222be86d3bc8c9bd0052477017dc595b98bbbd77f76bfe7b9ce48d7fa
+Size (libaom-3.14.1.tar.gz) = 6368868 bytes
SHA1 (patch-aom__ports_ppc__cpudetect.c) = 4a4bce57dd2c1a78f96dcea4b00b99ea4acc673e
-SHA1 (patch-build_cmake_aom__configure.cmake) = 5bf24671f31025dcfaf27a4baf85c52e45c45d09
-SHA1 (patch-build_cmake_aom__optimization.cmake) = a9169020be0e8119a8d5a6ce8dfecfbe85a6e2fd
-SHA1 (patch-build_cmake_exports.cmake) = 1de2b3a5de0e27401726b232799aba21cd670535
-SHA1 (patch-build_cmake_version.cmake) = ec0255b02649b49da92d4fa13450850841aa4a33
-SHA1 (patch-examples_svc__encoder__rtc.cc) = 2e80cfb51b44eebe1a1ee66151f711b631ebbbca
+SHA1 (patch-build_cmake_aom__configure.cmake) = 1ad37c758016f845c59a359c1de9d084146135d9
+SHA1 (patch-build_cmake_aom__optimization.cmake) = 17192b99930b6aa5948c4bea22d4fec6e5ce062d
+SHA1 (patch-build_cmake_exports.cmake) = 8784647bbcc4e502cf4c71b5553eac02000ddc7f
+SHA1 (patch-build_cmake_version.cmake) = 4ebdb611a7d66b22ce67e9abc9c65fe73f54b685
+SHA1 (patch-examples_svc__encoder__rtc.cc) = c4339baaf1acd0ea0470d3954877d94409ae17a3
Index: pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake
diff -u pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.8 pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.9
--- pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.8 Wed Feb 26 15:58:57 2025
+++ pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake Sat May 30 12:37:21 2026
@@ -1,11 +1,11 @@
-$NetBSD: patch-build_cmake_aom__configure.cmake,v 1.8 2025/02/26 15:58:57 ryoon Exp $
+$NetBSD: patch-build_cmake_aom__configure.cmake,v 1.9 2026/05/30 12:37:21 ryoon Exp $
- Don't disable fortify just because it's a release build.
- Set CPU correctly on SunOS.
- Add support for NetBSD/*arm*
---- build/cmake/aom_configure.cmake.orig 2025-02-10 20:59:13.000000000 +0000
-+++ build/cmake/aom_configure.cmake
+--- cmake/aom_configure.cmake.orig 2025-02-10 20:59:13.000000000 +0000
++++ cmake/aom_configure.cmake
@@ -69,11 +69,16 @@ if(NOT AOM_TARGET_CPU)
endif()
elseif(cpu_lowercase STREQUAL "i386" OR cpu_lowercase STREQUAL "x86")
Index: pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake
diff -u pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake:1.4 pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake:1.5
--- pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake:1.4 Thu May 14 17:34:02 2026
+++ pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake Sat May 30 12:37:21 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-build_cmake_aom__optimization.cmake,v 1.4 2026/05/14 17:34:02 ryoon Exp $
+$NetBSD: patch-build_cmake_aom__optimization.cmake,v 1.5 2026/05/30 12:37:21 ryoon Exp $
* Use corrent help option for nasm-3.01.
---- build/cmake/aom_optimization.cmake.orig 2026-04-01 20:41:46.000000000 +0000
-+++ build/cmake/aom_optimization.cmake
+--- cmake/aom_optimization.cmake.orig 2026-04-01 20:41:46.000000000 +0000
++++ cmake/aom_optimization.cmake
@@ -220,7 +220,7 @@ function(test_nasm)
FATAL_ERROR "Unsupported nasm: multipass optimization not supported.")
endif()
Index: pkgsrc/multimedia/libaom/patches/patch-build_cmake_exports.cmake
diff -u pkgsrc/multimedia/libaom/patches/patch-build_cmake_exports.cmake:1.3 pkgsrc/multimedia/libaom/patches/patch-build_cmake_exports.cmake:1.4
--- pkgsrc/multimedia/libaom/patches/patch-build_cmake_exports.cmake:1.3 Wed Sep 6 14:48:01 2023
+++ pkgsrc/multimedia/libaom/patches/patch-build_cmake_exports.cmake Sat May 30 12:37:21 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-build_cmake_exports.cmake,v 1.3 2023/09/06 14:48:01 ryoon Exp $
+$NetBSD: patch-build_cmake_exports.cmake,v 1.4 2026/05/30 12:37:21 ryoon Exp $
Don't use --version-script on SunOS.
---- build/cmake/exports.cmake.orig 2023-08-25 19:06:01.000000000 +0000
-+++ build/cmake/exports.cmake
+--- cmake/exports.cmake.orig 2023-08-25 19:06:01.000000000 +0000
++++ cmake/exports.cmake
@@ -68,7 +68,7 @@ function(setup_exports_target)
APPEND_STRING
PROPERTY LINK_FLAGS "${aom_sym_file}")
Index: pkgsrc/multimedia/libaom/patches/patch-build_cmake_version.cmake
diff -u pkgsrc/multimedia/libaom/patches/patch-build_cmake_version.cmake:1.3 pkgsrc/multimedia/libaom/patches/patch-build_cmake_version.cmake:1.4
--- pkgsrc/multimedia/libaom/patches/patch-build_cmake_version.cmake:1.3 Tue May 17 21:44:11 2022
+++ pkgsrc/multimedia/libaom/patches/patch-build_cmake_version.cmake Sat May 30 12:37:21 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-build_cmake_version.cmake,v 1.3 2022/05/17 21:44:11 nia Exp $
+$NetBSD: patch-build_cmake_version.cmake,v 1.4 2026/05/30 12:37:21 ryoon Exp $
Write the correct version number in the aom.pc file.
---- build/cmake/version.cmake.orig 2022-02-15 07:20:42.000000000 +0000
-+++ build/cmake/version.cmake
+--- cmake/version.cmake.orig 2022-02-15 07:20:42.000000000 +0000
++++ cmake/version.cmake
@@ -23,30 +23,7 @@ include("${AOM_ROOT}/build/cmake/util.cm
# Generate the version string for this run.
Index: pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc
diff -u pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc:1.1 pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc:1.2
--- pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc:1.1 Wed Feb 26 15:58:57 2025
+++ pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc Sat May 30 12:37:21 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-examples_svc__encoder__rtc.cc,v 1.1 2025/02/26 15:58:57 ryoon Exp $
+$NetBSD: patch-examples_svc__encoder__rtc.cc,v 1.2 2026/05/30 12:37:21 ryoon Exp $
---- examples/svc_encoder_rtc.cc.orig 2025-02-13 15:21:06.075305022 +0000
+--- examples/svc_encoder_rtc.cc.orig 2026-05-13 23:13:38.000000000 +0000
+++ examples/svc_encoder_rtc.cc
-@@ -15,7 +15,7 @@
+@@ -14,7 +14,7 @@
+
#include <assert.h>
- #include <inttypes.h>
#include <limits.h>
-#include <math.h>
+#include <cmath>
Home |
Main Index |
Thread Index |
Old Index