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:           Thu May 14 17:34:03 UTC 2026

Modified Files:
        pkgsrc/multimedia/libaom: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/multimedia/libaom/patches: patch-aom__ports_ppc__cpudetect.c
            patch-build_cmake_aom__optimization.cmake

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/multimedia/libaom/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/multimedia/libaom/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/multimedia/libaom/buildlink3.mk
cvs rdiff -u -r1.28 -r1.29 pkgsrc/multimedia/libaom/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c \
    pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake

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.39 pkgsrc/multimedia/libaom/Makefile:1.40
--- pkgsrc/multimedia/libaom/Makefile:1.39      Tue Aug 12 12:43:47 2025
+++ pkgsrc/multimedia/libaom/Makefile   Thu May 14 17:34:02 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2025/08/12 12:43:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.40 2026/05/14 17:34:02 ryoon Exp $
 
-DISTNAME=      libaom-3.12.1
+DISTNAME=      libaom-3.13.3
 CATEGORIES=    multimedia
 MASTER_SITES=  https://storage.googleapis.com/aom-releases/
 

Index: pkgsrc/multimedia/libaom/PLIST
diff -u pkgsrc/multimedia/libaom/PLIST:1.3 pkgsrc/multimedia/libaom/PLIST:1.4
--- pkgsrc/multimedia/libaom/PLIST:1.3  Sat Nov 13 11:27:34 2021
+++ pkgsrc/multimedia/libaom/PLIST      Thu May 14 17:34:02 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/11/13 11:27:34 nia Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/05/14 17:34:02 ryoon Exp $
 bin/aomdec
 bin/aomenc
 include/aom/aom.h
@@ -11,6 +11,10 @@ include/aom/aom_image.h
 include/aom/aom_integer.h
 include/aom/aomcx.h
 include/aom/aomdx.h
+lib/cmake/AOM/AOMConfig.cmake
+lib/cmake/AOM/AOMConfigVersion.cmake
+lib/cmake/AOM/AOMTargets-release.cmake
+lib/cmake/AOM/AOMTargets.cmake
 lib/libaom.a
 lib/libaom.so
 lib/libaom.so.3

Index: pkgsrc/multimedia/libaom/buildlink3.mk
diff -u pkgsrc/multimedia/libaom/buildlink3.mk:1.5 pkgsrc/multimedia/libaom/buildlink3.mk:1.6
--- pkgsrc/multimedia/libaom/buildlink3.mk:1.5  Thu Jul  7 10:13:56 2022
+++ pkgsrc/multimedia/libaom/buildlink3.mk      Thu May 14 17:34:02 2026
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2022/07/07 10:13:56 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2026/05/14 17:34:02 ryoon Exp $
 
 BUILDLINK_TREE+=       libaom
 
@@ -8,6 +8,8 @@ LIBAOM_BUILDLINK3_MK:=
 BUILDLINK_API_DEPENDS.libaom+= libaom>=1.0.0
 BUILDLINK_ABI_DEPENDS.libaom+= libaom>=3.3.0nb1
 BUILDLINK_PKGSRCDIR.libaom?=   ../../multimedia/libaom
+BUILDLINK_FILES.libaom+=       bin/aomdec
+BUILDLINK_FILES.libaom+=       bin/aomenc
 .endif # LIBAOM_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -libaom

Index: pkgsrc/multimedia/libaom/distinfo
diff -u pkgsrc/multimedia/libaom/distinfo:1.28 pkgsrc/multimedia/libaom/distinfo:1.29
--- pkgsrc/multimedia/libaom/distinfo:1.28      Sat Nov  8 02:16:58 2025
+++ pkgsrc/multimedia/libaom/distinfo   Thu May 14 17:34:02 2026
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.28 2025/11/08 02:16:58 ryoon Exp $
+$NetBSD: distinfo,v 1.29 2026/05/14 17:34:02 ryoon Exp $
 
-BLAKE2s (libaom-3.12.1.tar.gz) = abb1cefaffe89efed88dc4b42a1410d0fdcd87443ffc38a1890d4a51bb26c4ac
-SHA512 (libaom-3.12.1.tar.gz) = 27521fe1cffd89a8875552f1758de89c19a47aa1640ee20930ac420a03d964eb9ae10c4b0f55e518c37d4d59f06657aee2bfa84eedad35683648bd658e06da73
-Size (libaom-3.12.1.tar.gz) = 5497367 bytes
-SHA1 (patch-aom__ports_ppc__cpudetect.c) = 5b34032e3530a3ba65755e7faefb2f1f97855d98
+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
+SHA1 (patch-aom__ports_ppc__cpudetect.c) = 4a4bce57dd2c1a78f96dcea4b00b99ea4acc673e
 SHA1 (patch-build_cmake_aom__configure.cmake) = 5bf24671f31025dcfaf27a4baf85c52e45c45d09
-SHA1 (patch-build_cmake_aom__optimization.cmake) = eb11eed3fb80561a010175b78f7cfb14a1fd7888
+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

Index: pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c
diff -u pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c:1.3 pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c:1.4
--- pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c:1.3      Tue May 17 21:44:11 2022
+++ pkgsrc/multimedia/libaom/patches/patch-aom__ports_ppc__cpudetect.c  Thu May 14 17:34:02 2026
@@ -1,25 +1,18 @@
-$NetBSD: patch-aom__ports_ppc__cpudetect.c,v 1.3 2022/05/17 21:44:11 nia Exp $
+$NetBSD: patch-aom__ports_ppc__cpudetect.c,v 1.4 2026/05/14 17:34:02 ryoon Exp $
 
 Make this at least build on NetBSD.
 So far no dynamic CPU feature detection on NetBSD.
 
---- aom_ports/ppc_cpudetect.c.orig     2022-02-15 07:20:42.000000000 +0000
+--- aom_ports/ppc_cpudetect.c.orig     2026-04-01 20:41:46.000000000 +0000
 +++ aom_ports/ppc_cpudetect.c
-@@ -12,14 +12,16 @@
- #include <fcntl.h>
- #include <unistd.h>
- #include <stdint.h>
+@@ -18,8 +18,10 @@
+ #include "aom_ports/ppc.h"
+ 
+ #if CONFIG_RUNTIME_CPU_DETECT
 +#ifdef __linux
  #include <asm/cputable.h>
  #include <linux/auxvec.h>
 +#endif
  
- #include "config/aom_config.h"
- 
- #include "aom_ports/ppc.h"
- 
--#if CONFIG_RUNTIME_CPU_DETECT
-+#if (CONFIG_RUNTIME_CPU_DETECT && defined(__linux))
  static int cpu_env_flags(int *flags) {
    char *env;
-   env = getenv("AOM_SIMD_CAPS");
Index: pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake
diff -u pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake:1.3 pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake:1.4
--- pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake:1.3      Sat Nov  8 02:16:58 2025
+++ pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__optimization.cmake  Thu May 14 17:34:02 2026
@@ -1,15 +1,15 @@
-$NetBSD: patch-build_cmake_aom__optimization.cmake,v 1.3 2025/11/08 02:16:58 ryoon Exp $
+$NetBSD: patch-build_cmake_aom__optimization.cmake,v 1.4 2026/05/14 17:34:02 ryoon Exp $
 
 * Use corrent help option for nasm-3.01.
 
---- build/cmake/aom_optimization.cmake.orig    2025-11-08 02:08:28.608211708 +0000
+--- build/cmake/aom_optimization.cmake.orig    2026-04-01 20:41:46.000000000 +0000
 +++ build/cmake/aom_optimization.cmake
-@@ -212,7 +212,7 @@ endfunction()
- # Currently checks only for presence of required object formats and support for
- # the -Ox argument (multipass optimization).
- function(test_nasm)
+@@ -220,7 +220,7 @@ function(test_nasm)
+       FATAL_ERROR "Unsupported nasm: multipass optimization not supported.")
+   endif()
+ 
 -  execute_process(COMMAND ${CMAKE_ASM_NASM_COMPILER} -hf
 +  execute_process(COMMAND ${CMAKE_ASM_NASM_COMPILER} -h all
                    OUTPUT_VARIABLE nasm_helptext)
- 
-   if(NOT "${nasm_helptext}" MATCHES "-Ox")
+   if("${AOM_TARGET_CPU}" STREQUAL "x86")
+     if("${AOM_TARGET_SYSTEM}" STREQUAL "Darwin")



Home | Main Index | Thread Index | Old Index