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:           Sun Apr 28 20:30:35 UTC 2024

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

Log Message:
multimedia/libaom: Update to 3.9.0

Changelog:
2024-04-09 v3.9.0
  This release includes new codec interfaces, compression efficiency and
  perceptual improvements, speedup for RTC for both video and screen content,
  and many bug fixes. This release is ABI compatible with the previous release.

  - New Features
    * New codec control
      * AV1E_SET_SVC_FRAME_DROP_MODE is added to configure the SVC encoder to
        only drop spatial layers or the whole superframe.
    * Active Map is fixed and tested for RTC.
    * CONFIG_QUANT_MATRIX is added to disable quantization matrices when aom
      decoder is disabled with CONFIG_AV1_DECODER. Reduces ~10% binary size when
      both are disabled.
    * libwebm is updated to libwebm-1.0.0.31-1-gaffd7f4.

  - Compression Efficiency Improvements
    * RTC encoding improvements
      * 1-2% BD-rate gain for screen content with temporal layers; 5% BD-rate
        gain on scrolling content.

  - Perceptual Quality Improvements
    * For RTC screen content
      * Reduced color artifacts for RTC screen content
      * Visual quality improved for scene changes for SVC with quality layers.
      * Removed visual artifacts for speed 11

  - Speedups:
    * RTC Speed 11: aggressive speedup setting added for video mode,
      resolutions <= VGA: ~30% faster than speed 10.
    * 5-9% speed up for high bit-depth encoding with good mode on Arm, half of
      which comes from SVE/SVE2 optimizations.

  - Other improvements
    * Further improvements to global motion estimation.
    * Documented minimum required SIMD support: SSE4.1 on x86, Neon on Arm.
    * Remove unneeded SIMD functions, saving >100 KiB from binary size.
    * Cleaned up and improved pattern_search.
    * Added end-to-end c vs SIMD bit-exactness test.
    * Added config flag to calc psnr using libvmaf peak: use a slightly
      different peak value for PSNR (1020 and 2040 for 10- and 12-bit)

  - Bug Fixes
    * Fuzzing bug fixes
      * b/329485898 Null-dereference WRITE in av1_cdef_frame_mt
      * b/329810149 Null-dereference WRITE in av1_cdef_copy_sb8_16
      * b/329813868 Ill in av1_cdef_frame_mt
      * chromium:327882824 Null-dereference WRITE in av1_cdef_init_fb_row
      * b/330014723 Null-dereference WRITE in
        cdef_copy_rect8_16bit_to_16bit_avx2
      * b/310455204 Null-dereference WRITE in prepare_enc_workers
      * b/314858909 Heap-buffer-overflow in aom_variance64x64_avx2
      * oss-fuzz:67132 av1_dec_fuzzer: ASSERT: (pbi->tile_count_minus_1 + 1) <=
        (pbi->output_frame_width_in_tiles_minus_1 + 1)
      * oss-fuzz:67058 av1_dec_fuzzer: ASSERT: i == 0 || tile_w == *w
      * oss-fuzz:67161 av1_dec_fuzzer: ASSERT: i == 0 || tile_h == *h
      * oss-fuzz:67059 av1_dec_fuzzer: Crash in mem_get_varsize
      * oss-fuzz:67162 av1_dec_fuzzer: Use-of-uninitialized-value in
        od_ec_decode_bool_q15
      * oss-fuzz:67184 av1_dec_fuzzer: Heap-buffer-overflow in od_ec_dec_init
      * oss-fuzz:67216 av1_dec_fuzzer: Heap-buffer-overflow in
        od_ec_dec_normalize
      * oss-fuzz:67055 av1_dec_fuzzer: Heap-buffer-overflow in
        get_ls_tile_buffers
    * libaom library
      * aomedia:3510 Large value of duration could cause encoder overflow
      * chromium:328105513 Fix build conflicts between Abseil and libaom/libvpx
        in Win ARM64 builds
      * aomedia:3544 AV1/SharpnessTestLarge.SharpnessPSNRTest failures after
        59c592bb8
      * aomedia:3531 Exception encountered with PSNR calculation
      * aomedia:3541 Can not compile correctly by CYGWIN
      * chromium:41482688 heap-buffer-overflow write in vpx_img_read()
        (tools_common.c) with VPX_IMG_FMT_NV12
      * aomedia:3521 Assertion failures on Arm in CNNTest.* in
        av1_cnn_convolve_no_maxpool_padding_valid_2x2_neon and
        av1_cnn_convolve_no_maxpool_padding_valid_5x5_neon
      * aomedia:3486 C vs NEON mismatch in AV1 encoder
      * aomedia:3536 Over write in highbd_dr_prediction_z3_upsample1_neon()
      * aomedia:3276 Significant progress on ensuring all allocations are
        checked
      * aomedia:3491 heap-buffer-overflow encoding frames of size 256x256,
        512x512 in good quality usage mode using 4 threads
      * aomedia:3322 PSNR number discrepancy
      * aomedia:3493 Cmake generates garbage symbols for libaom_srcs.gni
      * aomedia:3478 GCC 12.2.0 emits a -Wstringop-overflow warning on
        aom/av1/encoder/motion_search_facade.c
      * aomedia:3484 C vs NEON mismatch in AV1 encoder for high-bitdepth case


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/multimedia/libaom/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/multimedia/libaom/distinfo
cvs rdiff -u -r1.6 -r1.7 \
    pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.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.31 pkgsrc/multimedia/libaom/Makefile:1.32
--- pkgsrc/multimedia/libaom/Makefile:1.31      Mon Mar 18 15:48:12 2024
+++ pkgsrc/multimedia/libaom/Makefile   Sun Apr 28 20:30:34 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2024/03/18 15:48:12 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2024/04/28 20:30:34 ryoon Exp $
 
-DISTNAME=      libaom-3.8.2
+DISTNAME=      libaom-3.9.0
 CATEGORIES=    multimedia
 MASTER_SITES=  https://storage.googleapis.com/aom-releases/
 

Index: pkgsrc/multimedia/libaom/distinfo
diff -u pkgsrc/multimedia/libaom/distinfo:1.22 pkgsrc/multimedia/libaom/distinfo:1.23
--- pkgsrc/multimedia/libaom/distinfo:1.22      Mon Mar 18 15:48:12 2024
+++ pkgsrc/multimedia/libaom/distinfo   Sun Apr 28 20:30:34 2024
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.22 2024/03/18 15:48:12 ryoon Exp $
+$NetBSD: distinfo,v 1.23 2024/04/28 20:30:34 ryoon Exp $
 
-BLAKE2s (libaom-3.8.2.tar.gz) = 2012f8b3b3aca70cf9073e92c286d4a618ce01f1b32648263fd1cf32a7e97ceb
-SHA512 (libaom-3.8.2.tar.gz) = 539cb86645f1675e3f2d45c7c10d5d66ef7d36eaddf0c2d50f1a532287c70f780c8ce6dd8959f4bb112fd74e2b63501652e8e1eba5d18bf03a926ad158f6cfb0
-Size (libaom-3.8.2.tar.gz) = 5455275 bytes
+BLAKE2s (libaom-3.9.0.tar.gz) = 92728ec02d6566295adaba61cb01c906d96f3d51a3526c2fe8ee4573b5f17fb5
+SHA512 (libaom-3.9.0.tar.gz) = 0793e0801be72d35144162141a180ff5e3ae11186f734af738b1eb2d81bff1364be7741cc34ae2507d2b88de11f840609a09f8b05b75e8d853aa80626241bf95
+Size (libaom-3.9.0.tar.gz) = 5518815 bytes
 SHA1 (patch-aom__ports_ppc__cpudetect.c) = 5b34032e3530a3ba65755e7faefb2f1f97855d98
-SHA1 (patch-build_cmake_aom__configure.cmake) = 912cf6dca48897ff95a0697cc5c76304284070be
+SHA1 (patch-build_cmake_aom__configure.cmake) = c259d0545e7c9e6cffd213811c3a85e6d5decb77
 SHA1 (patch-build_cmake_exports.cmake) = 1de2b3a5de0e27401726b232799aba21cd670535
 SHA1 (patch-build_cmake_version.cmake) = ec0255b02649b49da92d4fa13450850841aa4a33

Index: pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake
diff -u pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.6 pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.7
--- pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake:1.6 Wed Sep  6 14:48:01 2023
+++ pkgsrc/multimedia/libaom/patches/patch-build_cmake_aom__configure.cmake     Sun Apr 28 20:30:34 2024
@@ -1,12 +1,12 @@
-$NetBSD: patch-build_cmake_aom__configure.cmake,v 1.6 2023/09/06 14:48:01 ryoon Exp $
+$NetBSD: patch-build_cmake_aom__configure.cmake,v 1.7 2024/04/28 20:30:34 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       2023-08-25 19:06:01.000000000 +0000
+--- build/cmake/aom_configure.cmake.orig       2024-04-22 14:47:56.000000000 +0000
 +++ build/cmake/aom_configure.cmake
-@@ -71,11 +71,16 @@ if(NOT AOM_TARGET_CPU)
+@@ -69,11 +69,16 @@ if(NOT AOM_TARGET_CPU)
      endif()
    elseif(cpu_lowercase STREQUAL "i386" OR cpu_lowercase STREQUAL "x86")
      set(AOM_TARGET_CPU "x86")
@@ -25,7 +25,7 @@ $NetBSD: patch-build_cmake_aom__configur
      set(AOM_TARGET_CPU "ppc")
    else()
      message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not "
-@@ -389,9 +394,6 @@ else()
+@@ -392,9 +397,6 @@ else()
      add_compiler_flag_if_supported("-Werror")
    endif()
  
@@ -34,4 +34,4 @@ $NetBSD: patch-build_cmake_aom__configur
 -  endif()
    add_compiler_flag_if_supported("-D_LARGEFILE_SOURCE")
    add_compiler_flag_if_supported("-D_FILE_OFFSET_BITS=64")
- endif()
+ 



Home | Main Index | Thread Index | Old Index