From 33fae772f5f211ef0c4219197ac02168d1ae61f834c7ea1188653807cd3f009f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 31 Oct 2021 14:23:19 +0000 Subject: [PATCH] Update to version 0.5.0 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=34 --- _service | 2 +- ...646d70fba8e265d436103a73520eb7adec8c.patch | 42 ------------------- rav1e-0.4.1.tar.gz | 3 -- rav1e-0.5.0.tar.gz | 3 ++ rav1e.changes | 6 +++ rav1e.spec | 5 +-- vendor.tar.xz | 4 +- 7 files changed, 13 insertions(+), 52 deletions(-) delete mode 100644 f553646d70fba8e265d436103a73520eb7adec8c.patch delete mode 100644 rav1e-0.4.1.tar.gz create mode 100644 rav1e-0.5.0.tar.gz diff --git a/_service b/_service index c444f09..09baceb 100644 --- a/_service +++ b/_service @@ -1,5 +1,5 @@ - rav1e-0.4.1 + rav1e-0.5.0 diff --git a/f553646d70fba8e265d436103a73520eb7adec8c.patch b/f553646d70fba8e265d436103a73520eb7adec8c.patch deleted file mode 100644 index 06c5479..0000000 --- a/f553646d70fba8e265d436103a73520eb7adec8c.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f553646d70fba8e265d436103a73520eb7adec8c Mon Sep 17 00:00:00 2001 -From: David Michael Barr -Date: Thu, 8 Jul 2021 13:39:59 +0900 -Subject: [PATCH] Initialise residual when less than the transform width is - visible - -The input stride for forward transforms did not match the output -stride of residual computation in this case. Extend the residual -stride to the transform width and zero the non-visible portion. -Fixes #2662. Fixes #2757. ---- - src/encoder.rs | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -diff --git a/src/encoder.rs b/src/encoder.rs -index 564d78d7e..1ccf8c831 100644 ---- a/src/encoder.rs -+++ b/src/encoder.rs -@@ -1209,12 +1209,20 @@ pub fn encode_tx_block( - residual, - &ts.input_tile.planes[p].subregion(area), - &rec.subregion(area), -- visible_tx_w, -+ tx_size.width(), - visible_tx_h, - ); -+ if visible_tx_w < tx_size.width() { -+ for row in residual.chunks_mut(tx_size.width()).take(visible_tx_h) { -+ for a in &mut row[visible_tx_w..] { -+ *a = 0; -+ } -+ } -+ } - } -- let visible_area = visible_tx_w * visible_tx_h; -- for a in residual[visible_area..].iter_mut() { -+ let initialized_area = -+ if visible_tx_w == 0 { 0 } else { tx_size.width() * visible_tx_h }; -+ for a in residual[initialized_area..].iter_mut() { - *a = 0; - } - diff --git a/rav1e-0.4.1.tar.gz b/rav1e-0.4.1.tar.gz deleted file mode 100644 index a021358..0000000 --- a/rav1e-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0be59435a40e03b973ecc551ca7e632e03190b5a20f944818afa3c2ecf4852d -size 4536093 diff --git a/rav1e-0.5.0.tar.gz b/rav1e-0.5.0.tar.gz new file mode 100644 index 0000000..4807839 --- /dev/null +++ b/rav1e-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee56c49dbb50a0810257445e434edb99da01c968da0635403f31bd9677886871 +size 2697707 diff --git a/rav1e.changes b/rav1e.changes index 1c78b53..0f070c1 100644 --- a/rav1e.changes +++ b/rav1e.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Oct 31 14:16:20 UTC 2021 - Andreas Schneider + +- Update to version 0.5.0 + * https://github.com/xiph/rav1e/releases/tag/v0.5.0 + ------------------------------------------------------------------- Tue Sep 28 04:37:57 UTC 2021 - William Brown diff --git a/rav1e.spec b/rav1e.spec index 5c297bd..b2153a4 100644 --- a/rav1e.spec +++ b/rav1e.spec @@ -18,7 +18,7 @@ Name: rav1e -Version: 0.4.1 +Version: 0.5.0 Release: 0 Summary: Fastest and safest AV1 encoder License: BSD-2-Clause @@ -31,9 +31,6 @@ Source2: cargo_config Source98: README.suse-maint Source99: baselibs.conf # -# Fix squared artefacts on image when converting to AVIF -Patch0: https://github.com/xiph/rav1e/commit/f553646d70fba8e265d436103a73520eb7adec8c.patch -# BuildRequires: cargo-c BuildRequires: cargo-packaging BuildRequires: nasm diff --git a/vendor.tar.xz b/vendor.tar.xz index 2f0b7e6..0b899db 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cc962cdae054eea09f102ecae6d34e8a14e4daac5dc76a0923bc1024c2fce1ff -size 15053860 +oid sha256:498cce3edb73e7df7d0c8bf0e9b82c59d39a429772422c2201e9e5d0a9c40239 +size 17564144