Re: UPDATE: libvpx 1.13.0

2023-04-09 Thread Rafael Sadowski
On Sat Apr 08, 2023 at 06:31:47AM -0400, Brad Smith wrote:
> Here is an update to libvpx 1.13.0.
> 
> 
> 2023-01-31 v1.13.0 "Ugly Duckling"
>   This release includes more Neon and AVX2 optimizations, adds a new codec
>   control to set per frame QP, upgrades GoogleTest to v1.12.1, and includes
>   numerous bug fixes.
> 
>   - Upgrading:
> This release is ABI incompatible with the previous release.
> 
> New codec control VP9E_SET_QUANTIZER_ONE_PASS to set per frame QP.
> 
> GoogleTest is upgraded to v1.12.1.
> 
> .clang-format is upgraded to clang-format-11.
> 
> VPX_EXT_RATECTRL_ABI_VERSION was bumped due to incompatible changes to the
> feature of using external rate control models for vp9.
> 
>   - Enhancement:
> Numerous improvements on Neon optimizations.
> Numerous improvements on AVX2 optimizations.
> Additional ARM targets added for Visual Studio.
> 
>   - Bug fixes:
> Fix to calculating internal stats when frame dropped.
> Fix to segfault for external resize test in vp9.
> Fix to build system with replacing egrep with grep -E.
> Fix to a few bugs with external RTC rate control library.
> Fix to make SVC work with VBR.
> Fix to key frame setting in VP9 external RC.
> Fix to -Wimplicit-int (Clang 16).
> Fix to VP8 external RC for buffer levels.
> Fix to VP8 external RC for dynamic update of layers.
> Fix to VP9 auto level.
> Fix to off-by-one error of max w/h in validate_config.
> Fix to make SVC work for Profile 1.
> 

Committed, thanks!

> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
> retrieving revision 1.50
> diff -u -p -u -p -r1.50 Makefile
> --- Makefile  4 Oct 2022 11:30:19 -   1.50
> +++ Makefile  14 Feb 2023 06:17:29 -
> @@ -2,11 +2,11 @@ COMMENT=Google VP8/VP9 video codec
>  
>  GH_ACCOUNT=  webmproject
>  GH_PROJECT=  libvpx
> -GH_TAGNAME=  v1.12.0
> +GH_TAGNAME=  v1.13.0
>  EPOCH=   0
>  CATEGORIES=  multimedia
>  
> -SHARED_LIBS= vpx 15.0
> +SHARED_LIBS= vpx 16.0
>  
>  HOMEPAGE=https://www.webmproject.org/
>  
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
> retrieving revision 1.21
> diff -u -p -u -p -r1.21 distinfo
> --- distinfo  4 Oct 2022 11:30:19 -   1.21
> +++ distinfo  14 Feb 2023 06:16:48 -
> @@ -1,2 +1,2 @@
> -SHA256 (libvpx-1.12.0.tar.gz) = 8azBXQ/Qy0MfS/bqwy1eky5A6hGG/njgdCVNbQA5V7s=
> -SIZE (libvpx-1.12.0.tar.gz) = 5465627
> +SHA256 (libvpx-1.13.0.tar.gz) = yyo5PJwfrnq6drlQuwrTk7oQVAn+GhR8zWGwqqFQEGY=
> +SIZE (libvpx-1.13.0.tar.gz) = 5515327
> Index: patches/patch-configure
> ===
> RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-configure,v
> retrieving revision 1.24
> diff -u -p -u -p -r1.24 patch-configure
> --- patches/patch-configure   4 Oct 2022 11:30:19 -   1.24
> +++ patches/patch-configure   14 Feb 2023 06:16:57 -
> @@ -1,7 +1,7 @@
>  Index: configure
>  --- configure.orig
>  +++ configure
> -@@ -118,7 +118,9 @@ all_platforms="${all_platforms} loongarch32-linux-gcc"
> +@@ -123,7 +123,9 @@ all_platforms="${all_platforms} loongarch32-linux-gcc"
>   all_platforms="${all_platforms} loongarch64-linux-gcc"
>   all_platforms="${all_platforms} mips32-linux-gcc"
>   all_platforms="${all_platforms} mips64-linux-gcc"
> @@ -11,7 +11,7 @@ Index: configure
>   all_platforms="${all_platforms} sparc-solaris-gcc"
>   all_platforms="${all_platforms} x86-android-gcc"
>   all_platforms="${all_platforms} x86-darwin8-gcc"
> -@@ -177,7 +179,7 @@ for t in ${all_targets}; do
> +@@ -183,7 +185,7 @@ for t in ${all_targets}; do
>   [ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
>   done
>   
> @@ -20,7 +20,7 @@ Index: configure
> die "diff missing: Try installing diffutils via your package manager."
>   fi
>   
> -@@ -192,19 +194,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
> +@@ -198,19 +200,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
> fi
>   fi
>   
> @@ -40,7 +40,7 @@ Index: configure
>   # disable codecs when their source directory does not exist
>   [ -d "${source_path}/vp8" ] || disable_codec vp8
>   [ -d "${source_path}/vp9" ] || disable_codec vp9
> -@@ -542,7 +531,7 @@ process_detect() {
> +@@ -548,7 +537,7 @@ process_detect() {
>   # here rather than at option parse time because the target 
> auto-detect
>   # magic happens after the command line has been parsed.
>   case "${tgt_os}" in
> 



UPDATE: libvpx 1.13.0

2023-04-08 Thread Brad Smith
Here is an update to libvpx 1.13.0.


2023-01-31 v1.13.0 "Ugly Duckling"
  This release includes more Neon and AVX2 optimizations, adds a new codec
  control to set per frame QP, upgrades GoogleTest to v1.12.1, and includes
  numerous bug fixes.

  - Upgrading:
This release is ABI incompatible with the previous release.

New codec control VP9E_SET_QUANTIZER_ONE_PASS to set per frame QP.

GoogleTest is upgraded to v1.12.1.

.clang-format is upgraded to clang-format-11.

VPX_EXT_RATECTRL_ABI_VERSION was bumped due to incompatible changes to the
feature of using external rate control models for vp9.

  - Enhancement:
Numerous improvements on Neon optimizations.
Numerous improvements on AVX2 optimizations.
Additional ARM targets added for Visual Studio.

  - Bug fixes:
Fix to calculating internal stats when frame dropped.
Fix to segfault for external resize test in vp9.
Fix to build system with replacing egrep with grep -E.
Fix to a few bugs with external RTC rate control library.
Fix to make SVC work with VBR.
Fix to key frame setting in VP9 external RC.
Fix to -Wimplicit-int (Clang 16).
Fix to VP8 external RC for buffer levels.
Fix to VP8 external RC for dynamic update of layers.
Fix to VP9 auto level.
Fix to off-by-one error of max w/h in validate_config.
Fix to make SVC work for Profile 1.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 Makefile
--- Makefile4 Oct 2022 11:30:19 -   1.50
+++ Makefile14 Feb 2023 06:17:29 -
@@ -2,11 +2,11 @@ COMMENT=  Google VP8/VP9 video codec
 
 GH_ACCOUNT=webmproject
 GH_PROJECT=libvpx
-GH_TAGNAME=v1.12.0
+GH_TAGNAME=v1.13.0
 EPOCH= 0
 CATEGORIES=multimedia
 
-SHARED_LIBS=   vpx 15.0
+SHARED_LIBS=   vpx 16.0
 
 HOMEPAGE=  https://www.webmproject.org/
 
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 distinfo
--- distinfo4 Oct 2022 11:30:19 -   1.21
+++ distinfo14 Feb 2023 06:16:48 -
@@ -1,2 +1,2 @@
-SHA256 (libvpx-1.12.0.tar.gz) = 8azBXQ/Qy0MfS/bqwy1eky5A6hGG/njgdCVNbQA5V7s=
-SIZE (libvpx-1.12.0.tar.gz) = 5465627
+SHA256 (libvpx-1.13.0.tar.gz) = yyo5PJwfrnq6drlQuwrTk7oQVAn+GhR8zWGwqqFQEGY=
+SIZE (libvpx-1.13.0.tar.gz) = 5515327
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-configure,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 patch-configure
--- patches/patch-configure 4 Oct 2022 11:30:19 -   1.24
+++ patches/patch-configure 14 Feb 2023 06:16:57 -
@@ -1,7 +1,7 @@
 Index: configure
 --- configure.orig
 +++ configure
-@@ -118,7 +118,9 @@ all_platforms="${all_platforms} loongarch32-linux-gcc"
+@@ -123,7 +123,9 @@ all_platforms="${all_platforms} loongarch32-linux-gcc"
  all_platforms="${all_platforms} loongarch64-linux-gcc"
  all_platforms="${all_platforms} mips32-linux-gcc"
  all_platforms="${all_platforms} mips64-linux-gcc"
@@ -11,7 +11,7 @@ Index: configure
  all_platforms="${all_platforms} sparc-solaris-gcc"
  all_platforms="${all_platforms} x86-android-gcc"
  all_platforms="${all_platforms} x86-darwin8-gcc"
-@@ -177,7 +179,7 @@ for t in ${all_targets}; do
+@@ -183,7 +185,7 @@ for t in ${all_targets}; do
  [ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
  done
  
@@ -20,7 +20,7 @@ Index: configure
die "diff missing: Try installing diffutils via your package manager."
  fi
  
-@@ -192,19 +194,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
+@@ -198,19 +200,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
fi
  fi
  
@@ -40,7 +40,7 @@ Index: configure
  # disable codecs when their source directory does not exist
  [ -d "${source_path}/vp8" ] || disable_codec vp8
  [ -d "${source_path}/vp9" ] || disable_codec vp9
-@@ -542,7 +531,7 @@ process_detect() {
+@@ -548,7 +537,7 @@ process_detect() {
  # here rather than at option parse time because the target auto-detect
  # magic happens after the command line has been parsed.
  case "${tgt_os}" in