From c6414773cf0e8a8fc6cedbd54001fcfeb33a395cb26ae5419d0133a4c74ce76e Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Fri, 11 Oct 2019 11:03:50 +0000 Subject: [PATCH] Accepting request 737447 from home:alois:branches:multimedia:libs update to 0.5.0 OBS-URL: https://build.opensuse.org/request/show/737447 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=24 --- arm64_ipred_symbols_aligned.patch | 34 +++++++++++++++++++++++++++++++ baselibs.conf | 2 +- dav1d-0.4.0.tar.gz | 3 --- dav1d-0.5.0.tar.gz | 3 +++ dav1d.changes | 31 +++++++++++++++++++++++++++- dav1d.spec | 6 ++++-- 6 files changed, 72 insertions(+), 7 deletions(-) create mode 100644 arm64_ipred_symbols_aligned.patch delete mode 100644 dav1d-0.4.0.tar.gz create mode 100644 dav1d-0.5.0.tar.gz diff --git a/arm64_ipred_symbols_aligned.patch b/arm64_ipred_symbols_aligned.patch new file mode 100644 index 0000000..55566c7 --- /dev/null +++ b/arm64_ipred_symbols_aligned.patch @@ -0,0 +1,34 @@ +From 27601dbec97acb4f757b8c878a30fcdb6168b44d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Martin=20Storsj=C3=B6?= +Date: Fri, 11 Oct 2019 13:17:36 +0300 +Subject: [PATCH] arm64: ipred: Make sure all symbols are aligned + +Some (newer?) binutils versions error out if there are symbols in +the text section, that point to unaligned addresses. +--- + src/arm/64/ipred.S | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/arm/64/ipred.S b/src/arm/64/ipred.S +index 41b3c1c..9513212 100644 +--- a/src/arm/64/ipred.S ++++ b/src/arm/64/ipred.S +@@ -2244,6 +2244,7 @@ L(ipred_cfl_ac_420_tbl): + .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w16) + .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w8) + .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w4) ++ .hword 0 + + L(ipred_cfl_ac_420_w16_tbl): + .hword L(ipred_cfl_ac_420_w16_tbl) - L(ipred_cfl_ac_420_w16_wpad0) +@@ -2432,6 +2433,7 @@ L(ipred_cfl_ac_422_tbl): + .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w16) + .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w8) + .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w4) ++ .hword 0 + + L(ipred_cfl_ac_422_w16_tbl): + .hword L(ipred_cfl_ac_422_w16_tbl) - L(ipred_cfl_ac_422_w16_wpad0) +-- +2.22.0 + diff --git a/baselibs.conf b/baselibs.conf index e223b57..7920bfe 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libdav1d2 +libdav1d3 diff --git a/dav1d-0.4.0.tar.gz b/dav1d-0.4.0.tar.gz deleted file mode 100644 index c91b40b..0000000 --- a/dav1d-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3a825bce590778b4959807470cd853bbcbd0d3c10d98958a3a1eea09ce64544 -size 634776 diff --git a/dav1d-0.5.0.tar.gz b/dav1d-0.5.0.tar.gz new file mode 100644 index 0000000..5825b64 --- /dev/null +++ b/dav1d-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb770d60891e6199bf2be13fdbb0fbdea78586b40fd672bed9e84b68167f832d +size 693943 diff --git a/dav1d.changes b/dav1d.changes index ce6eb4c..424555f 100644 --- a/dav1d.changes +++ b/dav1d.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Fri Oct 11 09:43:36 UTC 2019 - Luigi Baldoni + +- Update to version 0.5.0 + Medium release fixing regressions and minor issues, and + improving speed significantly: + * Export ITU T.35 metadata + * Speed improvements on blend_ on ARM + * Speed improvements on decode_coef and MSAC + * NEON optimizations for blend*, w_mask_, ipred functions for + ARM64 + * NEON optimizations for CDEF and warp on ARM32 + * SSE2 optimizations for MSAC hi_tok decoding + * SSSE3 optimizations for deblocking loopfilters and + warp_affine + * AVX-2 optimizations for film grain and ipred_z2 + * SSE4 optimizations for warp_affine + * VSX optimizations for wiener + * Fix inverse transform overflows in x86 and NEON asm + * Fix integer overflows with large frames + * Improve film grain generation to match reference code + * Improve compatibility with older binutils for ARM + * More advanced Player example in tools + +- Bump soversion to 3 + +- Added arm64_ipred_symbols_aligned.patch to fix aarch64 + build + ------------------------------------------------------------------- Mon Aug 5 14:55:40 UTC 2019 - Luigi Baldoni @@ -61,7 +90,7 @@ Tue Apr 2 06:43:21 UTC 2019 - Dominique Leuenberger produces -32bit packages that would be uninstallable otherwise. ------------------------------------------------------------------- -Tue Mar 12 22:23:22 UTC 2019 - klaatu +Tue Mar 12 22:23:22 UTC 2019 - Luigi Baldoni - Update to version 0.2.1 * SSSE3 optimization for cdef_dir diff --git a/dav1d.spec b/dav1d.spec index c9c497a..32fbc9f 100644 --- a/dav1d.spec +++ b/dav1d.spec @@ -16,9 +16,9 @@ # -%define sover 2 +%define sover 3 Name: dav1d -Version: 0.4.0 +Version: 0.5.0 Release: 0 Summary: An AV1 decoder License: BSD-2-Clause @@ -26,6 +26,8 @@ Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://code.videolan.org/videolan/dav1d Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/dav1d-%{version}.tar.gz Source99: baselibs.conf +# PATCH-FIX-UPSTREAM arm64_ipred_symbols_aligned.patch +Patch0: arm64_ipred_symbols_aligned.patch BuildRequires: meson >= 0.47.0 BuildRequires: nasm BuildRequires: pkgconfig