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:           Wed Feb 26 15:58:58 UTC 2025

Modified Files:
        pkgsrc/multimedia/libaom: Makefile distinfo
        pkgsrc/multimedia/libaom/patches:
            patch-build_cmake_aom__configure.cmake
Added Files:
        pkgsrc/multimedia/libaom/patches: patch-examples_svc__encoder__rtc.cc

Log Message:
multimedia/libaom: Update to 3.12.0

Changelog:
2025-02-10 v3.12.0
  This release includes new codec interfaces, compression efficiency and
  perceptual improvements, speedup and memory optimizations, and bug
  fixes. This release is ABI compatible with the last release.

  Five internal functions (aom_free, aom_malloc, aom_wb_bytes_written,
  aom_wb_write_bit, aom_wb_write_literal) that were exported by mistake
  are no longer exported from the libaom shared library. The removal of
  these internal functions from the ABI is a bug fix and does not break
  ABI compatibility.

  Acknowledgments: The image quality optimizations in the new tuning
  mode AOM_TUNE_IQ were originally developed for SVT-AV1-PSY by
  Cole Ogaard, Gianni Rosato, Julio Barba, and Zakaria Djebrouni.

  - New Features
    * New tuning mode AOM_TUNE_IQ (image quality) for the
      AOME_SET_TUNING codec control (--tune=iq) in all-intra mode. The
      feature detection macro AOM_HAVE_TUNE_IQ, if defined, indicates
      that AOM_TUNE_IQ is available. The image quality optimizations in
      AOM_TUNE_IQ were developed by using the SSIMULACRA 2 metric for
      guidance and validated with subjective visual quality checks.
    * New value 6 for the AV1E_SET_DELTAQ_MODE codec control
      (--deltaq-mode): use modulation for all intra using Variance
      Boost. Variance Boost is a variance adaptive quantization
      implementation that modulates qindex depending on the ratio of
      low-variance to high-variance 8x8 subblocks within a 64x64
      superblock, as well as the actual variance of the subblocks
      themselves.
    * New value 3 for the AV1E_SET_ENABLE_CDEF codec control
      (--enable-cdef): Enable CDEF adaptively based on frame qindex.
    * In all-intra mode, the AOME_SET_SHARPNESS codec control now also
      sets the loop_filter_sharpness syntax element in the bitstream.
      Larger values increasingly reduce how much the filtering can
      change the sample values on block edges to favor perceived
      sharpness.
    * In all-intra mode, the default value of the AV1E_SET_QM_MIN codec
      control is decreased to 4, and the default value of the
      AV1E_SET_QM_MAX codec control is increased to 10. The default
      values in good-quality and realtime modes remain unchanged (5 and
      9, respectively).

  - Compression Efficiency Improvements
    * Tuning mode AOM_TUNE_IQ improves image compression efficiency on
      the CLIC dataset by up to 12% for the same SSIMULACRA 2 score, up
      to 14% for the same DSSIM score, and up to 17% for the same
      Butteraugli score.
    * ~3% BD-rate gains for speed 11 VGA camera mode.
    * ~5% BD-rate gains for speed 11 on scroll clips screen mode.

  - Perceptual Quality Improvements
    * Adjust temporal filter strength for better visual quality.
    * RTC screen: visual quality improvements for scrolling and for
      scene/slide changes.
    * RTC camera mode: visual quality improvements for speed 11 VGA.

  - Speedup and Memory Optimizations
    * Optimize the Arm Neon implementation of the loop filter functions
      with an average uplift of 15 - 25% in microbenchmarks.
    * Add the CDEF optimization for RISC-V.
    * Help the compiler generate better vectorized code for variance
      calculation and warped motion in generic CPU builds.
    * Make several arrays const.

  - Other Improvements
    * Binary size reduction: 1 - 2% compared with last release, with
      CONFIG_REALTIME_ONLY enabled, CONFIG_AV1_DECODER and
      CONFIG_AV1_HIGHBITDEPTH disabled.
    * Build: compile source files in parallel under MSVC.

  - Bug Fixes
    * Fix bug where metadata added with aom_img_add_metadata was lost
      when frame scaling was used.
    * Bug b:383306740: RTC: Fix to issues with scrolling for screen
      content.
    * Bug b:382465458: RTC: Fix to artifact for grayscale input.
    * Bug b:380247338: RTC: Fix to encode_time spikes on scene/slide
      changes.
    * RTC: Fix to rate correction factor update for VBR screen mode.
      https://groups.google.com/a/aomedia.org/g/av1-discuss/c/nJxECdg-7P8
    * Bug b:378401081: RTC: Fix to cyclic refresh update for external RC
      (rate control).


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/multimedia/libaom/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/multimedia/libaom/distinfo
cvs rdiff -u -r1.7 -r1.8 \
    pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake
cvs rdiff -u -r0 -r1.1 \
    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.37 pkgsrc/multimedia/libaom/Makefile:1.38
--- pkgsrc/multimedia/libaom/Makefile:1.37      Mon Oct 14 19:08:03 2024
+++ pkgsrc/multimedia/libaom/Makefile   Wed Feb 26 15:58:57 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2024/10/14 19:08:03 gdt Exp $
+# $NetBSD: Makefile,v 1.38 2025/02/26 15:58:57 ryoon Exp $
 
-DISTNAME=      libaom-3.10.0
-PKGREVISION=   1
+DISTNAME=      libaom-3.12.0
 CATEGORIES=    multimedia
 MASTER_SITES=  https://storage.googleapis.com/aom-releases/
 

Index: pkgsrc/multimedia/libaom/distinfo
diff -u pkgsrc/multimedia/libaom/distinfo:1.25 pkgsrc/multimedia/libaom/distinfo:1.26
--- pkgsrc/multimedia/libaom/distinfo:1.25      Wed Oct  9 04:32:35 2024
+++ pkgsrc/multimedia/libaom/distinfo   Wed Feb 26 15:58:57 2025
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.25 2024/10/09 04:32:35 ryoon Exp $
+$NetBSD: distinfo,v 1.26 2025/02/26 15:58:57 ryoon Exp $
 
-BLAKE2s (libaom-3.10.0.tar.gz) = e9feeef9ae443287df48bb1d2f1a075a1558f8c483cbe66635ee0764711db7da
-SHA512 (libaom-3.10.0.tar.gz) = 70ceb4385032bdac5e892ed78f10878ef54faeabdd042d4a3b92f838146a61baa69d4d4e2576dcf8223918f79b6db72485fd95b5c05a20d41634310cc6b44c44
-Size (libaom-3.10.0.tar.gz) = 5445319 bytes
+BLAKE2s (libaom-3.12.0.tar.gz) = ec549dfc035c12d5e3aeb52ff081d505af3805b6ce185cae698f5480d965b23c
+SHA512 (libaom-3.12.0.tar.gz) = bc944bd6650842d70b5f85d495cdfc52af20f577b07df1e98f886efc3360cc18be0e7c0545dadb77afe07c584c466e75f5bc0502cb1df0f26a648f2bd08f2b72
+Size (libaom-3.12.0.tar.gz) = 5496350 bytes
 SHA1 (patch-aom__ports_ppc__cpudetect.c) = 5b34032e3530a3ba65755e7faefb2f1f97855d98
-SHA1 (patch-build_cmake_aom__configure.cmake) = c259d0545e7c9e6cffd213811c3a85e6d5decb77
+SHA1 (patch-build_cmake_aom__configure.cmake) = 5bf24671f31025dcfaf27a4baf85c52e45c45d09
 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-build_cmake_aom__configure.cmake
diff -u pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.7 pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.8
--- pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.7 Sun Apr 28 20:30:34 2024
+++ pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake     Wed Feb 26 15:58:57 2025
@@ -1,10 +1,10 @@
-$NetBSD: patch-build_cmake_aom__configure.cmake,v 1.7 2024/04/28 20:30:34 ryoon Exp $
+$NetBSD: patch-build_cmake_aom__configure.cmake,v 1.8 2025/02/26 15:58:57 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       2024-04-22 14:47:56.000000000 +0000
+--- build/cmake/aom_configure.cmake.orig       2025-02-10 20:59:13.000000000 +0000
 +++ build/cmake/aom_configure.cmake
 @@ -69,11 +69,16 @@ if(NOT AOM_TARGET_CPU)
      endif()
@@ -23,9 +23,9 @@ $NetBSD: patch-build_cmake_aom__configur
 -  elseif(cpu_lowercase MATCHES "^ppc")
 +  elseif(cpu_lowercase MATCHES "^(ppc|powerpc)")
      set(AOM_TARGET_CPU "ppc")
-   else()
-     message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not "
-@@ -392,9 +397,6 @@ else()
+   elseif(cpu_lowercase MATCHES "^riscv")
+     set(AOM_TARGET_CPU "riscv")
+@@ -398,9 +403,6 @@ else()
      add_compiler_flag_if_supported("-Werror")
    endif()
  

Added files:

Index: pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc
diff -u /dev/null pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc:1.1
--- /dev/null   Wed Feb 26 15:58:58 2025
+++ pkgsrc/multimedia/libaom/patches/patch-examples_svc__encoder__rtc.cc        Wed Feb 26 15:58:57 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-examples_svc__encoder__rtc.cc,v 1.1 2025/02/26 15:58:57 ryoon Exp $
+
+--- examples/svc_encoder_rtc.cc.orig   2025-02-13 15:21:06.075305022 +0000
++++ examples/svc_encoder_rtc.cc
+@@ -15,7 +15,7 @@
+ #include <assert.h>
+ #include <inttypes.h>
+ #include <limits.h>
+-#include <math.h>
++#include <cmath>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>



Home | Main Index | Thread Index | Old Index