Update to version 0.5.0
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=34
This commit is contained in:
parent
31ad6128f8
commit
33fae772f5
2
_service
2
_service
@ -1,5 +1,5 @@
|
||||
<services>
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srcdir">rav1e-0.4.1</param>
|
||||
<param name="srcdir">rav1e-0.5.0</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,42 +0,0 @@
|
||||
From f553646d70fba8e265d436103a73520eb7adec8c Mon Sep 17 00:00:00 2001
|
||||
From: David Michael Barr <b@rr-dav.id.au>
|
||||
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<T: Pixel, W: Writer>(
|
||||
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;
|
||||
}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b0be59435a40e03b973ecc551ca7e632e03190b5a20f944818afa3c2ecf4852d
|
||||
size 4536093
|
3
rav1e-0.5.0.tar.gz
Normal file
3
rav1e-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee56c49dbb50a0810257445e434edb99da01c968da0635403f31bd9677886871
|
||||
size 2697707
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 31 14:16:20 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- 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 <william.brown@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc962cdae054eea09f102ecae6d34e8a14e4daac5dc76a0923bc1024c2fce1ff
|
||||
size 15053860
|
||||
oid sha256:498cce3edb73e7df7d0c8bf0e9b82c59d39a429772422c2201e9e5d0a9c40239
|
||||
size 17564144
|
||||
|
Loading…
Reference in New Issue
Block a user