Hello community, here is the log from the commit of package libxcam for openSUSE:Factory checked in at 2020-07-27 17:45:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxcam (Old) and /work/SRC/openSUSE:Factory/.libxcam.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libxcam" Mon Jul 27 17:45:26 2020 rev:5 rq:822926 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libxcam/libxcam.changes 2020-05-28 09:19:20.821211861 +0200 +++ /work/SRC/openSUSE:Factory/.libxcam.new.3592/libxcam.changes 2020-07-27 17:47:49.851418680 +0200 @@ -1,0 +2,33 @@ +Thu Jul 23 18:18:37 UTC 2020 - Stefan BrĂ¼ns <stefan.bru...@rwth-aachen.de> + +- Update to version 1.4.0: + * 360 stitching supports processing YUV420p pixel format + * 360 degree image stitching quality tuning + - support json parse to apply OpenCV fisheye camera calibration parameters + * 8K 360 degree image stitching performance improvement + - optimized AVX pixel data loading instructions + * Simplify configure.ac + - extract macros to m4 file + * Remove Beignet dependence + * Limit OpenCV version to [3.0.0, 4.0.0) + * Extend the functionality of capi module + - support soft/GLES/Vulkan image stitching + - implement new FFmpeg xcam video filter +- Update to version 1.3.0: + * 8K 360 degree image stitching performance improvement + - enable AVX512 intrinsic instructions to increase performance + * 3 cameras 8K stitching enabling (CPU/GLES) + - support disable feature match in runtime + - support specify the pyramid levels of blender + - stitching quality tuning + * 2 cameras 1080p stitching enabling (CPU/GLES) + * DNN inference support processing video stream + * Use Intel open source graphics compute runtime for OpenCL (NEO) + - will not support Beignet driver +- Remove obsolete allow-newer-opencv.patch +- Add Fix-build-with-Vulkan-1.2.140.patch +- Removed obsolete or irrelevant build dependencies +- Enable build for all architectures, disable DRM for everything + but Intel. + +------------------------------------------------------------------- Old: ---- allow-newer-opencv.patch release_1.2.2.tar.gz New: ---- Fix-build-with-Vulkan-1.2.140.patch release_1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxcam.spec ++++++ --- /var/tmp/diff_new_pack.hnRQLN/_old 2020-07-27 17:47:54.675423995 +0200 +++ /var/tmp/diff_new_pack.hnRQLN/_new 2020-07-27 17:47:54.679424000 +0200 @@ -19,36 +19,31 @@ %define sover 1 %define libname %{name}%{sover} Name: libxcam -Version: 1.2.2 +Version: 1.4.0 Release: 0 Summary: Image processing library for extended camera features and video analysis License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://github.com/01org/libxcam Source0: https://github.com/01org/libxcam/archive/release_%{version}.tar.gz -# From https://github.com/intel/libxcam/commit/a7ad68cf32079f297b9a210ad81b99207877437f.patch, rebased. -Patch0: allow-newer-opencv.patch +# PATCH-FIX-UPSTREAM +Patch0: Fix-build-with-Vulkan-1.2.140.patch +BuildRequires: Mesa-libGLESv3-devel BuildRequires: autoconf BuildRequires: automake -BuildRequires: beignet-devel >= 1.2.0 BuildRequires: gcc-c++ BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libdrm-devel BuildRequires: libtool BuildRequires: ocl-icd-devel BuildRequires: opencl-headers BuildRequires: pkgconfig -BuildRequires: pkgconfig(egl) -BuildRequires: pkgconfig(glesv2) +%ifarch %{ix86} x86_64 BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libdrm_intel) -BuildRequires: pkgconfig(libv4l2) -BuildRequires: pkgconfig(libva-x11) -BuildRequires: pkgconfig(opencv) +%endif +BuildRequires: pkgconfig(opencv) <= 4.0 BuildRequires: pkgconfig(vulkan) -# Intel graphics hardware only available on these platforms -ExclusiveArch: %{ix86} x86_64 %description libXCam is a project for extended camera features and focus on image quality @@ -87,16 +82,19 @@ --disable-static \ --with-package-name="Libxcam (openSUSE)" \ --with-package-origin="http://www.opensuse.org/" \ +%ifarch %{ix86} x86_64 --enable-drm \ +%endif --disable-aiq \ --enable-gst \ + --enable-gles \ --enable-libcl \ --enable-vulkan \ --enable-opencv \ --enable-capi \ --disable-3alib \ --enable-smartlib -make %{?_smp_mflags} V=1 +%make_build %install %make_install @@ -106,11 +104,11 @@ %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} -%defattr(-,root,root) %doc README.md NOTICE %license COPYING %{_libdir}/%{name}_capi.so.%{sover}* %{_libdir}/%{name}_core.so.%{sover}* +%{_libdir}/%{name}_gles.so.%{sover}* %{_libdir}/%{name}_ocl.so.%{sover}* %{_libdir}/%{name}_soft.so.%{sover}* %{_libdir}/%{name}_vulkan.so.%{sover}* @@ -118,11 +116,11 @@ %{_libdir}/gstreamer-1.0/libgstxcamfilter.so %files devel -%defattr(-,root,root) %{_includedir}/xcam %{_libdir}/pkgconfig/libxcam.pc %{_libdir}/libxcam_capi.so %{_libdir}/libxcam_core.so +%{_libdir}/libxcam_gles.so %{_libdir}/libxcam_ocl.so %{_libdir}/libxcam_soft.so %{_libdir}/libxcam_vulkan.so ++++++ Fix-build-with-Vulkan-1.2.140.patch ++++++ >From ebd4d0e034c6536b8a365f5a079749041ab6a7b7 Mon Sep 17 00:00:00 2001 From: StefanBruens <stefan.bru...@rwth-aachen.de> Date: Thu, 23 Jul 2020 22:03:06 +0200 Subject: [PATCH] Fix build with Vulkan 1.2.140 and later 1.2.140 removed the various _BEGIN_RANGE, _END_RANGE and _RANGE_SIZE macros, see e.g. https://gitlab.freedesktop.org/mesa/mesa/-/commit/b0cb38f36085ccee6e71b6e50cb4f094d7f03c58#b04a2be508b96c4286a9f20523ba531cd4f7176a_1050_1032 --- modules/vulkan/vk_instance.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/vulkan/vk_instance.cpp b/modules/vulkan/vk_instance.cpp index e856be64..6bc2c38c 100644 --- a/modules/vulkan/vk_instance.cpp +++ b/modules/vulkan/vk_instance.cpp @@ -131,14 +131,14 @@ VKInstance::query_physical_info () dev_num = XCAM_MIN (dev_num, MAX_DEV_NUM); vkEnumeratePhysicalDevices (_instance_id, &dev_num, devs); - VkPhysicalDevice gpu_dev[VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE] = {}; + VkPhysicalDevice gpu_dev[VK_PHYSICAL_DEVICE_TYPE_CPU + 1] = {}; VkPhysicalDeviceProperties dev_prop; for (uint32_t i = 0; i < dev_num; ++i) { vkGetPhysicalDeviceProperties (devs[i], &dev_prop); - if (dev_prop.deviceType < VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE || - dev_prop.deviceType > VK_PHYSICAL_DEVICE_TYPE_END_RANGE) { + if (dev_prop.deviceType < VK_PHYSICAL_DEVICE_TYPE_OTHER || + dev_prop.deviceType > VK_PHYSICAL_DEVICE_TYPE_CPU) { continue; } if (gpu_dev[dev_prop.deviceType]) { ++++++ release_1.2.2.tar.gz -> release_1.4.0.tar.gz ++++++ ++++ 450320 lines of diff (skipped)