Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libpisp for openSUSE:Factory checked in at 2026-11-06 19:57:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpisp (Old) and /work/SRC/openSUSE:Factory/.libpisp.new.3759290 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpisp" Fri Nov 6 19:57:24 2026 rev:4 rq:1395781 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libpisp/libpisp.changes 2026-09-10 16:40:09.351794485 +0200 +++ /work/SRC/openSUSE:Factory/.libpisp.new.3759290/libpisp.changes 2026-11-06 20:03:32.135223640 +0100 @@ -1,0 +2,12 @@ +Fri Nov 6 09:24:32 UTC 2026 - Martin Hauke <[email protected]> + +- Fix build for Leap 16.1 + +------------------------------------------------------------------- +Fri Nov 6 07:26:05 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 1.8.0 + * gst: Always set the smart resize and crop when configuring. + * helpers: buffer: Add the missing <string> include. + +------------------------------------------------------------------- Old: ---- libpisp-1.7.0.tar.gz New: ---- libpisp-1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpisp.spec ++++++ --- /var/tmp/diff_new_pack.fsg00K/_old 2026-11-06 20:03:33.786292783 +0100 +++ /var/tmp/diff_new_pack.fsg00K/_new 2026-11-06 20:03:33.790292950 +0100 @@ -18,7 +18,7 @@ %define soversion 1 Name: libpisp -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: RPi ISP helper library Group: System/Libraries @@ -27,7 +27,7 @@ Source: https://github.com/raspberrypi/libpisp/archive/refs/tags/v%{version}.tar.gz#/libpisp-%{version}.tar.gz BuildRequires: c++_compiler BuildRequires: libboost_log-devel -%if 0%{?suse_version} <= 1600 +%if 0%{?suse_version} <= 1610 BuildRequires: libboost_system-devel %endif BuildRequires: libboost_thread-devel ++++++ libpisp-1.7.0.tar.gz -> libpisp-1.8.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpisp-1.7.0/meson.build new/libpisp-1.8.0/meson.build --- old/libpisp-1.7.0/meson.build 2026-08-07 11:06:54.000000000 +0200 +++ new/libpisp-1.8.0/meson.build 2026-11-04 14:16:15.000000000 +0100 @@ -3,7 +3,7 @@ project('libpisp', 'c', 'cpp', meson_version : '>= 0.58.0', - version : '1.7.0', + version : '1.8.0', default_options : [ 'werror=true', 'warning_level=2', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpisp-1.7.0/src/gst/gstpispconvert.cpp new/libpisp-1.8.0/src/gst/gstpispconvert.cpp --- old/libpisp-1.7.0/src/gst/gstpispconvert.cpp 2026-08-07 11:06:54.000000000 +0200 +++ new/libpisp-1.8.0/src/gst/gstpispconvert.cpp 2026-11-04 14:16:15.000000000 +0100 @@ -1027,21 +1027,16 @@ GST_INFO_OBJECT(self, "Crop%u: offset=(%u,%u) size=%ux%u", i, crop.offset_x, crop.offset_y, crop.width, crop.height); - /* Only call SetCrop if parameters changed */ - if (memcmp(&crop, &self->priv->applied_crop[i], sizeof(crop)) != 0) - { - self->priv->backend->SetCrop(i, crop); - self->priv->applied_crop[i] = crop; - } + self->priv->backend->SetCrop(i, crop); - /* Only call SetSmartResize if parameters changed */ + /* Always set the smart resize: the global config above resets rgb_enables to the + * input and outputs only, and libpisp re-enables the downscale/resample blocks only + * when the smart resize is dirty. Skipping it when the output size is unchanged left + * the resampler off after a reconfigure, so a new input format (or frame rate) at + * the same output size was shown unscaled, cropped and tiled wrongly. */ libpisp::BackEnd::SmartResize smart_resize = { (uint16_t)output_cfg[i].image.width, (uint16_t)output_cfg[i].image.height }; - if (memcmp(&smart_resize, &self->priv->applied_smart_resize[i], sizeof(smart_resize)) != 0) - { - self->priv->backend->SetSmartResize(i, smart_resize); - self->priv->applied_smart_resize[i] = smart_resize; - } + self->priv->backend->SetSmartResize(i, smart_resize); } /* Prepare the hardware configuration */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpisp-1.7.0/src/gst/gstpispconvert.h new/libpisp-1.8.0/src/gst/gstpispconvert.h --- old/libpisp-1.7.0/src/gst/gstpispconvert.h 2026-08-07 11:06:54.000000000 +0200 +++ new/libpisp-1.8.0/src/gst/gstpispconvert.h 2026-11-04 14:16:15.000000000 +0100 @@ -63,10 +63,6 @@ /* Crop settings per output */ pisp_be_crop_config crop[PISP_NUM_OUTPUTS]; - /* Cached crop/resize settings (to avoid redundant API calls) */ - pisp_be_crop_config applied_crop[PISP_NUM_OUTPUTS]; - libpisp::BackEnd::SmartResize applied_smart_resize[PISP_NUM_OUTPUTS]; - /* Input format info */ guint in_width; guint in_height; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpisp-1.7.0/src/helpers/buffer.cpp new/libpisp-1.8.0/src/helpers/buffer.cpp --- old/libpisp-1.7.0/src/helpers/buffer.cpp 2026-08-07 11:06:54.000000000 +0200 +++ new/libpisp-1.8.0/src/helpers/buffer.cpp 2026-11-04 14:16:15.000000000 +0100 @@ -11,6 +11,7 @@ #include <errno.h> #include <stdexcept> #include <string.h> +#include <string> #include <sys/ioctl.h> #include <sys/mman.h> #include <unistd.h>
