[packages/libyuv] up to 0.1832 (20220629 snap)
atler
atler at pld-linux.org
Sat Jul 9 18:23:11 CEST 2022
commit b95fefd992791a3d9d247cc2ffebb0bb28883676
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jul 9 18:21:39 2022 +0200
up to 0.1832 (20220629 snap)
libyuv-simd.patch | 11 -----------
libyuv.spec | 10 +++++-----
2 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/libyuv.spec b/libyuv.spec
index bfc12e5..74f2d12 100644
--- a/libyuv.spec
+++ b/libyuv.spec
@@ -6,10 +6,10 @@ Summary: YUV conversion and scaling functionality library
Summary(pl.UTF-8): Biblioteka do konwersji i skalowania YUV
Name: libyuv
# see include/libyuv/version.h
-%define yuv_ver 1788
-%define gitref d19f69d9df7a54eae9cfae0b650921f675d9f01a
-%define snap 20210611
-%define rel 2
+%define yuv_ver 1832
+%define gitref 6900494d90ae095d44405cd4cc3f346971fa69c9
+%define snap 20220629
+%define rel 1
Version: 0.%{yuv_ver}
Release: 0.%{snap}.%{rel}
License: BSD
@@ -17,7 +17,7 @@ Group: Development/Libraries
# tarball is recreated on each download, so use dropin
#Source0: https://chromium.googlesource.com/libyuv/libyuv/+archive/%{gitref}.tar.gz?/%{name}-%{snap}.tar.gz
Source0: %{name}-%{snap}.tar.gz
-# Source0-md5: 9783a72e05ef548dd6f6ff7c1775e744
+# Source0-md5: 73337a2054c180a82106dc9b9bfa9d7e
Source1: %{name}.pc
Patch0: shared-lib.patch
Patch1: %{name}-simd.patch
diff --git a/libyuv-simd.patch b/libyuv-simd.patch
index 43fbdc7..d07bb74 100644
--- a/libyuv-simd.patch
+++ b/libyuv-simd.patch
@@ -6,17 +6,6 @@ Fix ScaleUVRowUp2_{Linear,Bilinear}_16_SSE2 to use SSE2 SIMD instead of SSE4.1
--- libyuv-0.1788/source/scale_gcc.cc.orig 2021-06-28 18:31:31.000000000 +0200
+++ libyuv-0.1788/source/scale_gcc.cc 2021-06-29 20:14:04.119069725 +0200
-@@ -1283,8 +1283,8 @@ void ScaleRowUp2_Linear_SSSE3(const uint
- "paddw %%xmm4,%%xmm2 \n" // 3*near+far+2 (hi)
- "psrlw $2,%%xmm0 \n" // 3/4*near+1/4*far (lo)
- "psrlw $2,%%xmm2 \n" // 3/4*near+1/4*far (hi)
-- "vpackuswb %%xmm2,%%xmm0,%%xmm0 \n"
-- "vmovdqu %%xmm0,(%1) \n"
-+ "packuswb %%xmm2,%%xmm0 \n"
-+ "movdqu %%xmm0,(%1) \n"
-
- "lea 0x8(%0),%0 \n"
- "lea 0x10(%1),%1 \n" // 8 sample to 16 sample
@@ -2699,9 +2699,14 @@ void ScaleUVRowUp2_Linear_16_SSE2(const
"paddd %%xmm2,%%xmm0 \n" // 3*near+far+2 (lo)
"paddd %%xmm3,%%xmm1 \n" // 3*near+far+2 (hi)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libyuv.git/commitdiff/0b0f27b07cd3bff61cd3999fc7d680c6ddc56b45
More information about the pld-cvs-commit
mailing list