Sync from SUSE:SLFO:Main libvpl revision 5be051558c6532b1f7a2ae184a417f33

This commit is contained in:
Adrian Schröter 2024-09-13 16:16:32 +02:00
parent c9bdd25178
commit 5ce65458c7
5 changed files with 32 additions and 34 deletions

BIN
libvpl-2.10.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
libvpl-2.13.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Wed Sep 4 18:43:39 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.13.0:
+ Added:
- Intel® VPL API 2.13 support, including new APIs for AV1
screen content tools, encoded picture quality information,
alpha channel encoding, AI-based frame interpolation,
AI-based super resolution, and Battlemage platform
- hello-encode-jpeg example
- Changes from version 2.12.0:
+ Added: Intel® VPL API 2.12 support, including new APIs for
AI-based frame interpolation and Vulkan zero-copy surface
sharing.
-------------------------------------------------------------------
Fri Jun 28 12:13:35 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.11.0
+ Added: Intel® VPL API 2.11 support
+ Removed: Command line tools. They have been moved to a separate
repository (https://github.com/intel/libvpl-tools)
- Drop samples sub-package as the tools have been removed upstream
- Drop u_buildfix-i586.patch, no longer needed nor applies after
removal of tools
- Use ldconfig_scriptlets macro for post(un) handling.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 5 10:46:27 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org> Mon Feb 5 10:46:27 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -20,19 +20,16 @@
%define _distconfdir %{_prefix}%{_sysconfdir} %define _distconfdir %{_prefix}%{_sysconfdir}
%endif %endif
%bcond_without tools
%global sover 2 %global sover 2
Name: libvpl Name: libvpl
%define lname libvpl%{sover} %define lname libvpl%{sover}
Version: 2.10.1 Version: 2.13.0
Release: 0 Release: 0
Summary: oneAPI Video Processing Library (oneVPL) dispatcher, tools, and examples Summary: oneAPI Video Processing Library (oneVPL) dispatcher, tools, and examples
License: MIT License: MIT
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
URL: https://github.com/oneapi-src/oneVPL URL: https://github.com/oneapi-src/oneVPL
Source0: https://github.com/oneapi-src/oneVPL/archive/refs/tags/v%{version}.tar.gz#/libvpl-%{version}.tar.gz Source0: https://github.com/oneapi-src/oneVPL/archive/refs/tags/v%{version}.tar.gz#/libvpl-%{version}.tar.gz
Patch0: u_buildfix-i586.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -67,28 +64,18 @@ Requires: %lname = %version
This package contains the development headers and pkgconfig files for This package contains the development headers and pkgconfig files for
the oneAPI Video Processing Library (oneVPL) dispatcher the oneAPI Video Processing Library (oneVPL) dispatcher
%package samples
Summary: Examples for the oneAPI Video Processing Library (oneVPL) dispatcher
Group: Development/Languages/C and C++
%description samples
This package contains example applications for the oneAPI Video Processing Library (oneVPL) dispatcher.
%prep %prep
%autosetup -p1 -n libvpl-%{version} %autosetup -p1 -n libvpl-%{version}
%build %build
%cmake \ %cmake \
-DBUILD_TOOLS:BOOL=%{?with_tools:ON}%{!?with_tools:OFF} \
%{nil} %{nil}
%cmake_build %cmake_build
%install %install
%cmake_install %cmake_install
%post -n %lname -p /sbin/ldconfig %ldconfig_scriptlets -n %lname
%postun -n %lname -p /sbin/ldconfig
%files %files
%doc README.md third-party-programs.txt %doc README.md third-party-programs.txt
@ -103,11 +90,6 @@ This package contains example applications for the oneAPI Video Processing Libra
%{_libdir}/libvpl.so.%{sover} %{_libdir}/libvpl.so.%{sover}
%{_libdir}/libvpl.so.%{sover}.* %{_libdir}/libvpl.so.%{sover}.*
%if %{with tools}
%files samples
%{_bindir}/*
%endif
%files devel %files devel
%doc %doc
%{_includedir}/vpl/ %{_includedir}/vpl/

View File

@ -1,11 +0,0 @@
--- libvpl-2.10.1.orig/tools/legacy/sample_common/src/vaapi_utils.cpp 2024-01-20 09:55:42.622941953 +0000
+++ libvpl-2.10.1/tools/legacy/sample_common/src/vaapi_utils.cpp 2024-01-20 09:57:05.012571878 +0000
@@ -348,7 +348,7 @@ VAStatus CLibVA::AcquireVASurface(void**
MSDK_ZERO_MEMORY(extsrf);
MSDK_ZERO_MEMORY(bufferInfo);
extsrf.num_buffers = 1;
- extsrf.buffers = &handle;
+ extsrf.buffers = (uintptr_t*) &handle;
attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType;
attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE;