Up to [cvs.NetBSD.org] / pkgsrc / multimedia / libaom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
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()
multimedia/libaom: Update to 3.13.3
* Add aomenc and aomdec commands to buildlinked commands.
Newly installed .cmake files require them.
Changelog:
2026-04-02 v3.13.3
This release includes several bug fixes. This release is ABI
compatible with the last release. See
https://aomedia.googlesource.com/aom/+log/v3.13.2..v3.13.3 for all the
commits in this release.
- 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.
2026-03-17 v3.13.2
This release includes several bug fixes. This release is ABI
compatible with the last release. See
https://aomedia.googlesource.com/aom/+log/v3.13.1..v3.13.2 for all the
commits in this release.
- Bug Fixes
* x86: enable SSE4.2 in x86_simd_caps
https://aomedia-review.googlesource.com/206481
* b:448994065: Working nasm-3.0.0 is not detected with libaom on
3.13.1
* b:480978101: Heap buffer overflow in av1_copy_and_extend_frame
during encode triggered by NV12/bordered image with size_align
* b:487259772: Out-of-bounds heap read in VP9 encoder via WebCodecs
VideoEncoder dimension reconfiguration
* b:489473886: Invalid memory read access in aom_sse_avx2 (Mozilla
report)
2025-09-05 v3.13.1
This release is ABI compatible with the last release.
This release fixes two issues with the newly installed cmake files in 3.13.0,
there are no changes to the library except for the version number.
- Bug Fixes
* b:441135035#comment9: the version number in AOMConfig.cmake is now
correct and AOM_LIBRARIES now contains only one libaom reference; there
is a AOM_STATIC_LIBRARIES variable for the static target.
2025-09-02 v3.13.0
This release is ABI compatible with the last release.
The aom_roi_map_t struct, used only by the codec control
AOME_SET_ROI_MAP, was modified in this release. Since AOME_SET_ROI_MAP
was unimplemented, aom_roi_map_t was effectively an unused struct.
Therefore aom_roi_map_t is to be considered as a new struct added in
this release and this change does not break ABI compatibility.
- New Features
* New tuning mode AOM_TUNE_SSIMULACRA2 for the AOME_SET_TUNING codec
control (--tune=ssimulacra2) in all-intra mode. The feature
detection macro AOM_HAVE_TUNE_SSIMULACRA2, if defined, indicates
that AOM_TUNE_SSIMULACRA2 is available. AOM_TUNE_SSIMULACRA2 was
developed to maximize SSIMULACRA 2 scores.
* New codec control AV1E_SET_SCREEN_CONTENT_DETECTION_MODE
(--screen-detection-mode).
This codec control helps select between two screen detection modes:
* Mode 1: standard (default)
* Mode 2: anti-aliased text and graphics aware
* New codec control AV1E_SET_ENABLE_ADAPTIVE_SHARPNESS
(--enable-adaptive-sharpness). When enabled, it modulates sharpness
based on frame QP, which helps mitigate blocking artifacts in the
low to medium quality range.
* Added low complexity decode mode for 720p vertical videos.
* ROI feature implemented for RTC: for delta QP, skip encoding, and
reference selection.
* External scaling feature for SVC: allow downscaled images to be
passed into encoder for spatial layers without reconfiguring it.
* Allow per-frame calculation of PSNR (contribution from Meta).
- Compression Efficiency Improvements
* Variance Boost is now enabled for tuning modes AOM_TUNE_IQ and
AOM_TUNE_SSIMULACRA2 at speeds 8 and 9 (2-5% SSIMULACRA 2 BD-Rate
gains)
* Several quality/time tradeoff improvements and bug fixes for all
intra mode speeds 8 and 9.
* Up to 6.9% SSIMULACRA 2 BD-Rate gains for speed 8
* Up to 2.2% SSIMULACRA 2 BD-Rate gains for speed 9
- Perceptual Quality Improvements
* RTC: Visual quality improvements for screen content mode.
* RTC: Visual quality improvements for video mode for resolutions >=
720p.
- Speedups
* Optimize intraBC search for better speed/efficiency tradeoffs for
all intra mode speeds >= 1
* Optimize intraBC block hashing process
* RTC Screen: speed feature added to speed 12 for ~2x speedup on
slide/scene changes, for resolutions >= 720p.
* ML based speedup improvement on the partition pruning for speed <= 2
- Other Improvements
* Fixes for RPS (reference picture selection) for RTC: Based on
av1_discuss issue:
https://groups.google.com/a/aomedia.org/g/av1-discuss/c/sqFad980SsA
- Bug Fixes
* b:421196988: all intra speed 8: overuse of palette mode
unnecessarily inflating file sizes
* b:423804955: Improve quality for 4K Screencast
* webrtc:388070060: Allow per-frame calculation of PSNR
* b:433046392, b:432035817: Fix to SVC crash triggered with Jitsi
video conference app.
* b:419622699: Fix integer overflow in update_buffer_level
* b:407813259: Fix to update seq_params for number of layers change
* b:400885218: External scaling for AV1
* b:391849810: High AV1 frame encode time on slide changes
* b:399575647: Too aggressive QP backoff at scene changes
* b:383306740: Quality degradation at horizontal scrolling
libaom: update to 3.2.0 2021-10-13 v3.2.0 This release includes compression efficiency and perceptual quality improvements, speedup and memory optimizations, as well as some new features.
libaom: update to 3.1.3 This includes various bug fixes and improvements to the encoder.
Add libaom version 1.0.0 AOMedia Video 1 (AV1), is an open, royalty-free video coding format designed for video transmissions over the Internet. AV1 is intended to be able to be used together with the audio format Opus in a future version of the WebM container format for HTML5 web video and WebRTC.