commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2024-07-03 20:29:25 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.18349 (New) Package is "libplacebo" Wed Jul 3 20:29:25 2024 rev:32 rq:1184881 version:7.349.0 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2024-03-27 20:41:48.175428597 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.18349/libplacebo.changes 2024-07-03 20:29:50.732066435 +0200 @@ -1,0 +2,6 @@ +Tue Jul 2 13:43:01 UTC 2024 - llyyr + +- Update libplacebo to version 7.349.0. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v7.349.0 + +--- Old: libplacebo-v6.338.2.tar.bz2 New: libplacebo-v7.349.0.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.kwOhXY/_old 2024-07-03 20:29:51.292086933 +0200 +++ /var/tmp/diff_new_pack.kwOhXY/_new 2024-07-03 20:29:51.296087079 +0200 @@ -15,10 +15,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?sle15_python_module_pythons} -%define sover 338 +%define sover 349 Name: libplacebo -Version:6.338.2 +Version:7.349.0 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later @@ -28,16 +29,16 @@ Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/c512ac886425f6b6b6c816d67f4cb1385cd4cc53/nuklear.h Source9:baselibs.conf %if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150200 -BuildRequires: gcc13-c++ BuildRequires: gcc13 +BuildRequires: gcc13-c++ %else BuildRequires: c++_compiler BuildRequires: c_compiler %endif -BuildRequires: meson >= 0.63.0 -BuildRequires: pkgconfig BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module glad2} +BuildRequires: meson >= 0.63.0 +BuildRequires: pkgconfig BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(dovi) BuildRequires: pkgconfig(glfw3) ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.kwOhXY/_old 2024-07-03 20:29:51.328088250 +0200 +++ /var/tmp/diff_new_pack.kwOhXY/_new 2024-07-03 20:29:51.332088397 +0200 @@ -1,2 +1,2 @@ -libplacebo338 +libplacebo349 ++ libplacebo-v6.338.2.tar.bz2 -> libplacebo-v7.349.0.tar.bz2 ++ 9105 lines of diff (skipped)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-10-19 22:47:02 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.1945 (New) Package is "libplacebo" Thu Oct 19 22:47:02 2023 rev:29 rq:1118324 version:6.338.1 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2023-09-28 00:37:15.342185298 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.1945/libplacebo.changes 2023-10-19 22:49:27.287078866 +0200 @@ -1,0 +2,6 @@ +Tue Oct 17 13:20:06 UTC 2023 - llyyr + +- Update libplacebo to version 6.338.1. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v6.338.1 + +--- Old: libplacebo-v6.338.0.tar.bz2 New: libplacebo-v6.338.1.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.e5nEWs/_old 2023-10-19 22:49:28.007104981 +0200 +++ /var/tmp/diff_new_pack.e5nEWs/_new 2023-10-19 22:49:28.007104981 +0200 @@ -18,7 +18,7 @@ %define sover 338 Name: libplacebo -Version:6.338.0 +Version:6.338.1 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later ++ libplacebo-v6.338.0.tar.bz2 -> libplacebo-v6.338.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v6.338.0/demos/multigpu-bench.c new/libplacebo-v6.338.1/demos/multigpu-bench.c --- old/libplacebo-v6.338.0/demos/multigpu-bench.c 2023-09-26 00:14:49.0 +0200 +++ new/libplacebo-v6.338.1/demos/multigpu-bench.c 2023-10-17 14:24:39.0 +0200 @@ -26,7 +26,7 @@ COMPS = 1, // Queue configuration -NUM_QUEUES = 16, +NUM_QUEUES = NUM_TEX, ASYNC_TX = 1, ASYNC_COMP = 1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v6.338.0/demos/plplay.c new/libplacebo-v6.338.1/demos/plplay.c --- old/libplacebo-v6.338.0/demos/plplay.c 2023-09-26 00:14:49.0 +0200 +++ new/libplacebo-v6.338.1/demos/plplay.c 2023-10-17 14:24:39.0 +0200 @@ -383,7 +383,7 @@ // Update ICC profile parameters dynamically float target_luma = 0.0f; -if (p->use_icc_luma) { +if (!p->use_icc_luma) { pl_color_space_nominal_luma_ex(pl_nominal_luma_params( .metadata = PL_HDR_METADATA_HDR10, // use only static HDR nits .scaling = PL_HDR_NITS, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v6.338.0/meson.build new/libplacebo-v6.338.1/meson.build --- old/libplacebo-v6.338.0/meson.build 2023-09-26 00:14:49.0 +0200 +++ new/libplacebo-v6.338.1/meson.build 2023-10-17 14:24:39.0 +0200 @@ -353,7 +353,7 @@ '1': '', }.keys().length(), # Fix version -0) +1) ) ### Version number and configuration @@ -388,8 +388,8 @@ cxx = meson.get_compiler('cpp') c_opts = [ - '-D_ISOC99_SOURCE', '-D_ISOC11_SOURCE', '-D_GNU_SOURCE', '-D_XOPEN_SOURCE=700', - '-U__STRICT_ANSI__', '-Wmissing-prototypes', + '-D_ISOC99_SOURCE', '-D_ISOC11_SOURCE', '-D_GNU_SOURCE', '-U__STRICT_ANSI__', + '-Wmissing-prototypes', # Warnings to ignore '-Wno-sign-compare', '-Wno-unused-parameter', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v6.338.0/src/colorspace.c new/libplacebo-v6.338.1/src/colorspace.c --- old/libplacebo-v6.338.0/src/colorspace.c2023-09-26 00:14:49.0 +0200 +++ new/libplacebo-v6.338.1/src/colorspace.c2023-10-17 14:24:39.0 +0200 @@ -955,16 +955,15 @@ pl_matrix3x3 out = {{{0}}}; float S[3], X[4], Z[4]; -// Convert from CIE xyY to XYZ. Note that Y=1 holds true for all primaries -X[0] = prim->red.x / prim->red.y; -X[1] = prim->green.x / prim->green.y; -X[2] = prim->blue.x / prim->blue.y; -X[3] = prim->white.x / prim->white.y; +X[0] = pl_cie_X(prim->red); +X[1] = pl_cie_X(prim->green); +X[2] = pl_cie_X(prim->blue); +X[3] = pl_cie_X(prim->white); -Z[0] = (1 - prim->red.x - prim->red.y) / prim->red.y; -Z[1] = (1 - prim->green.x - prim->green.y) / prim->green.y; -Z[2] = (1 - prim->blue.x - prim->blue.y) / prim->blue.y; -Z[3] = (1 - prim->white.x - prim->white.y) / prim->white.y; +Z[0] = pl_cie_Z(prim->red); +Z[1] = pl_cie_Z(prim->green); +Z[2] = pl_cie_Z(prim->blue); +Z[3] = pl_cie_Z(prim->white); // S =
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-09-28 00:24:34 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.23327 (New) Package is "libplacebo" Thu Sep 28 00:24:34 2023 rev:28 rq:1113669 version:6.338.0 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2023-08-05 12:54:56.100589853 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.23327/libplacebo.changes 2023-09-28 00:37:15.342185298 +0200 @@ -1,0 +2,6 @@ +Tue Sep 26 11:24:32 UTC 2023 - llyyr + +- Update libplacebo to version 6.338.0. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v6.338.0 + +--- Old: libplacebo-v6.292.1.tar.bz2 New: libplacebo-v6.338.0.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.yGYtkt/_old 2023-09-28 00:37:17.426261107 +0200 +++ /var/tmp/diff_new_pack.yGYtkt/_new 2023-09-28 00:37:17.442261689 +0200 @@ -16,9 +16,9 @@ # -%define sover 292 +%define sover 338 Name: libplacebo -Version:6.292.1 +Version:6.338.0 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later @@ -41,6 +41,7 @@ BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libunwind) +BuildRequires: pkgconfig(libxxhash) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(shaderc) BuildRequires: pkgconfig(vulkan) ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.yGYtkt/_old 2023-09-28 00:37:17.698271002 +0200 +++ /var/tmp/diff_new_pack.yGYtkt/_new 2023-09-28 00:37:17.730272166 +0200 @@ -1,2 +1,2 @@ -libplacebo292 +libplacebo338 ++ libplacebo-v6.292.1.tar.bz2 -> libplacebo-v6.338.0.tar.bz2 ++ 24441 lines of diff (skipped)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-08-05 12:54:46 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.22712 (New) Package is "libplacebo" Sat Aug 5 12:54:46 2023 rev:27 rq:1102340 version:6.292.1 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2023-08-02 16:48:06.392497257 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.22712/libplacebo.changes 2023-08-05 12:54:56.100589853 +0200 @@ -1,0 +2,6 @@ +Fri Aug 4 04:01:37 UTC 2023 - llyyr + +- Update libplacebo to version 6.292.1. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v6.292.1 + +--- Old: libplacebo-v6.292.0.tar.bz2 New: libplacebo-v6.292.1.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.JY6Rbo/_old 2023-08-05 12:54:56.756594048 +0200 +++ /var/tmp/diff_new_pack.JY6Rbo/_new 2023-08-05 12:54:56.760594074 +0200 @@ -18,7 +18,7 @@ %define sover 292 Name: libplacebo -Version:6.292.0 +Version:6.292.1 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later ++ libplacebo-v6.292.0.tar.bz2 -> libplacebo-v6.292.1.tar.bz2 ++ 2678 lines of diff (skipped)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-08-02 16:47:58 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.22712 (New) Package is "libplacebo" Wed Aug 2 16:47:58 2023 rev:26 rq:1097449 version:6.292.0 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2023-03-24 15:16:44.353727565 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.22712/libplacebo.changes 2023-08-02 16:48:06.392497257 +0200 @@ -1,0 +2,6 @@ +Thu Jul 6 21:43:07 UTC 2023 - Niklas Haas + +- Update libplacebo to version 6.292.0. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v6.292.0 + +--- Old: libplacebo-v5.264.1.tar.bz2 New: libplacebo-v6.292.0.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.4cmfHT/_old 2023-08-02 16:48:07.580504483 +0200 +++ /var/tmp/diff_new_pack.4cmfHT/_new 2023-08-02 16:48:07.584504507 +0200 @@ -16,9 +16,9 @@ # -%define sover 264 +%define sover 292 Name: libplacebo -Version:5.264.1 +Version:6.292.0 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.4cmfHT/_old 2023-08-02 16:48:07.628504775 +0200 +++ /var/tmp/diff_new_pack.4cmfHT/_new 2023-08-02 16:48:07.636504824 +0200 @@ -1,2 +1,2 @@ -libplacebo264 +libplacebo292 ++ libplacebo-v5.264.1.tar.bz2 -> libplacebo-v6.292.0.tar.bz2 ++ 21523 lines of diff (skipped)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-03-24 15:16:42 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.31432 (New) Package is "libplacebo" Fri Mar 24 15:16:42 2023 rev:25 rq:1074110 version:5.264.1 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2023-03-17 17:02:24.849099370 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.31432/libplacebo.changes 2023-03-24 15:16:44.353727565 +0100 @@ -1,0 +2,12 @@ +Thu Mar 23 15:01:17 UTC 2023 - Niklas Haas + +- Update libplacebo to version 5.264.1. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0 +- Bump meson dependency to 0.63 + +--- +Sun Mar 19 09:56:56 UTC 2023 - Jan Engelhardt + +- Add baselibs.conf (for the sake of ffmpeg) + +--- Old: libplacebo-v5.264.0.tar.bz2 New: baselibs.conf libplacebo-v5.264.1.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.fBfJxN/_old 2023-03-24 15:16:44.857730255 +0100 +++ /var/tmp/diff_new_pack.fBfJxN/_new 2023-03-24 15:16:44.857730255 +0100 @@ -18,7 +18,7 @@ %define sover 264 Name: libplacebo -Version:5.264.0 +Version:5.264.1 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later @@ -26,9 +26,10 @@ URL:https://code.videolan.org/videolan/libplacebo Source0: https://code.videolan.org/videolan/libplacebo/-/archive/v%{version}/libplacebo-v%{version}.tar.bz2 Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/c512ac886425f6b6b6c816d67f4cb1385cd4cc53/nuklear.h +Source9:baselibs.conf BuildRequires: c++_compiler BuildRequires: c_compiler -BuildRequires: meson >= 0.59.0 +BuildRequires: meson >= 0.63.0 BuildRequires: pkgconfig BuildRequires: python3-Jinja2 BuildRequires: python3-glad2 ++ baselibs.conf ++ libplacebo264 ++ libplacebo-v5.264.0.tar.bz2 -> libplacebo-v5.264.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.264.0/README.md new/libplacebo-v5.264.1/README.md --- old/libplacebo-v5.264.0/README.md 2023-03-13 13:07:23.0 +0100 +++ new/libplacebo-v5.264.1/README.md 2023-03-23 15:53:00.0 +0100 @@ -246,10 +246,6 @@ ## Installing -### Gentoo - -An ebuild is available as `media-libs/libplacebo` in the gentoo repository. - ### Obtaining When cloning libplacebo, make sure to provide the `--recursive``` flag: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.264.0/meson.build new/libplacebo-v5.264.1/meson.build --- old/libplacebo-v5.264.0/meson.build 2023-03-13 13:07:23.0 +0100 +++ new/libplacebo-v5.264.1/meson.build 2023-03-23 15:53:00.0 +0100 @@ -6,7 +6,7 @@ 'c_std=c11', 'cpp_std=c++11', ], - meson_version: '>=0.59', + meson_version: '>=0.63', version: '@0@.@1@.@2@'.format( # Major version 5, @@ -278,7 +278,7 @@ '1': '', }.keys().length(), # Fix version -0) +1) ) ### Version number and configuration diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.264.0/src/colorspace.c new/libplacebo-v5.264.1/src/colorspace.c --- old/libplacebo-v5.264.0/src/colorspace.c2023-03-13 13:07:23.0 +0100 +++ new/libplacebo-v5.264.1/src/colorspace.c2023-03-23 15:53:00.0 +0100 @@ -597,6 +597,8 @@ avg_luma = pl_hdr_rescale(PL_HDR_PQ, scaling, csp->hdr.avg_pq_y); } +if (min_luma < 0) +min_luma = 0; // sanity if (max_luma && min_luma > max_luma) // sanity min_luma = max_luma = 0; @@ -644,8 +646,9 @@ .color = space, .metadata = PL_HDR_METADATA_HDR10, .scaling= PL_HDR_NITS, -.out_min= >hdr.min_luma, .out_max= >hdr.max_luma, +// Preserve tagged minimum +.out_min= space->hdr.min_luma ? NULL : >hdr.min_luma, )); // Default the signal color space based on the nominal raw primaries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.264.0/src/opengl/context.c new/libplacebo-v5.264.1/src/opengl/context.c --- old/libplacebo-v5.264.0/src/opengl/context.c2023-03-13 13:07:23.0 +0100 +++
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-03-17 17:02:04 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.31432 (New) Package is "libplacebo" Fri Mar 17 17:02:04 2023 rev:24 rq:1071217 version:5.264.0 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2023-03-08 14:52:08.938537638 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.31432/libplacebo.changes 2023-03-17 17:02:24.849099370 +0100 @@ -1,0 +2,6 @@ +Mon Mar 13 17:16:12 UTC 2023 - llyyr + +- Update libplacebo to version 5.264.0. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0 + +--- Old: libplacebo-v5.229.2.tar.bz2 New: libplacebo-v5.264.0.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.cYYPZj/_old 2023-03-17 17:02:25.433102429 +0100 +++ /var/tmp/diff_new_pack.cYYPZj/_new 2023-03-17 17:02:25.437102450 +0100 @@ -16,23 +16,24 @@ # -%define sover 229 +%define sover 264 Name: libplacebo -Version:5.229.2 +Version:5.264.0 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL:https://code.videolan.org/videolan/libplacebo Source0: https://code.videolan.org/videolan/libplacebo/-/archive/v%{version}/libplacebo-v%{version}.tar.bz2 -Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/3e91905e82c3cad01435d4a8a660a30e7f73c94a/nuklear.h +Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/c512ac886425f6b6b6c816d67f4cb1385cd4cc53/nuklear.h BuildRequires: c++_compiler BuildRequires: c_compiler BuildRequires: meson >= 0.59.0 BuildRequires: pkgconfig -BuildRequires: python3-glad2 BuildRequires: python3-Jinja2 +BuildRequires: python3-glad2 BuildRequires: pkgconfig(dav1d) +BuildRequires: pkgconfig(dovi) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libavcodec) ++ libplacebo-v5.229.2.tar.bz2 -> libplacebo-v5.264.0.tar.bz2 ++ 22822 lines of diff (skipped) ++ nuklear.h ++ --- /var/tmp/diff_new_pack.cYYPZj/_old 2023-03-17 17:02:25.921104986 +0100 +++ /var/tmp/diff_new_pack.cYYPZj/_new 2023-03-17 17:02:25.929105028 +0100 @@ -147,7 +147,7 @@ /// NK_ASSERT | If you don't define this, nuklear will use with assert(). /// NK_MEMSET | You can define this to 'memset' or your own memset implementation replacement. If not nuklear will use its own version. /// NK_MEMCPY | You can define this to 'memcpy' or your own memcpy implementation replacement. If not nuklear will use its own version. -/// NK_SQRT | You can define this to 'sqrt' or your own sqrt implementation replacement. If not nuklear will use its own slow and not highly accurate version. +/// NK_INV_SQRT | You can define this to your own inverse sqrt implementation replacement. If not nuklear will use its own slow and not highly accurate version. /// NK_SIN | You can define this to 'sinf' or your own sine implementation replacement. If not nuklear will use its own approximation implementation. /// NK_COS | You can define this to 'cosf' or your own cosine implementation replacement. If not nuklear will use its own approximation implementation. /// NK_STRTOD | You can define this to `strtod` or your own string to double conversion implementation replacement. If not defined nuklear will use its own imprecise and possibly unsafe version (does not handle nan or infinity!). @@ -372,7 +372,7 @@ #elif (defined(_WIN32) || defined(WIN32)) && defined(_MSC_VER) #define NK_SIZE_TYPE unsigned __int32 #elif defined(__GNUC__) || defined(__clang__) - #if defined(__x86_64__) || defined(__ppc64__) + #if defined(__x86_64__) || defined(__ppc64__) || defined(__aarch64__) #define NK_SIZE_TYPE unsigned long #else #define NK_SIZE_TYPE unsigned int @@ -387,7 +387,7 @@ #elif (defined(_WIN32) || defined(WIN32)) && defined(_MSC_VER) #define NK_POINTER_TYPE unsigned __int32 #elif defined(__GNUC__) || defined(__clang__) - #if defined(__x86_64__) || defined(__ppc64__) + #if defined(__x86_64__) || defined(__ppc64__) || defined(__aarch64__) #define NK_POINTER_TYPE unsigned long #else #define NK_POINTER_TYPE unsigned int @@ -1127,7 +1127,7 @@ /// cfg.curve_segment_count = 22; /// cfg.arc_segment_count = 22; ///
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-03-08 14:52:07 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.31432 (New) Package is "libplacebo" Wed Mar 8 14:52:07 2023 rev:23 rq:1069954 version:5.229.2 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2023-01-05 15:00:34.452932146 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.31432/libplacebo.changes 2023-03-08 14:52:08.938537638 +0100 @@ -1,0 +2,6 @@ +Tue Feb 28 16:40:45 UTC 2023 - Callum Farmer + +- Correct BR from python3-jinja2 to python3-Jinja2, fixes + dependency resolving on older distro + +--- Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.sNnJUT/_old 2023-03-08 14:52:09.442540382 +0100 +++ /var/tmp/diff_new_pack.sNnJUT/_new 2023-03-08 14:52:09.446540405 +0100 @@ -31,7 +31,7 @@ BuildRequires: meson >= 0.59.0 BuildRequires: pkgconfig BuildRequires: python3-glad2 -BuildRequires: python3-jinja2 +BuildRequires: python3-Jinja2 BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(lcms2)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2023-01-05 15:00:21 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.1563 (New) Package is "libplacebo" Thu Jan 5 15:00:21 2023 rev:22 rq:1055955 version:5.229.2 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2022-11-27 12:52:59.239192379 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.1563/libplacebo.changes 2023-01-05 15:00:34.452932146 +0100 @@ -1,0 +2,6 @@ +Wed Jan 4 16:22:00 UTC 2023 - Niklas Haas + +- Update libplacebo to version 5.229.2. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.2 + +--- Old: libplacebo-v5.229.1.tar.bz2 New: libplacebo-v5.229.2.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.kWVBXv/_old 2023-01-05 15:00:34.976934908 +0100 +++ /var/tmp/diff_new_pack.kWVBXv/_new 2023-01-05 15:00:34.980934929 +0100 @@ -1,7 +1,7 @@ # # spec file for package libplacebo # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define sover 229 Name: libplacebo -Version:5.229.1 +Version:5.229.2 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later ++ libplacebo-v5.229.1.tar.bz2 -> libplacebo-v5.229.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.229.1/demos/meson.build new/libplacebo-v5.229.2/demos/meson.build --- old/libplacebo-v5.229.1/demos/meson.build 2022-11-01 19:29:44.0 +0100 +++ new/libplacebo-v5.229.2/demos/meson.build 2023-01-04 17:18:14.0 +0100 @@ -35,6 +35,7 @@ conf_demos = configuration_data() conf_demos.set('HAVE_NUKLEAR', nuklear.found()) +conf_demos.set('HAVE_EGL', cc.check_header('EGL/egl.h', required: false)) apis = [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.229.1/demos/window_glfw.c new/libplacebo-v5.229.2/demos/window_glfw.c --- old/libplacebo-v5.229.1/demos/window_glfw.c 2022-11-01 19:29:44.0 +0100 +++ new/libplacebo-v5.229.2/demos/window_glfw.c 2023-01-04 17:18:14.0 +0100 @@ -32,6 +32,11 @@ #include +#if defined(USE_GL) && defined(HAVE_EGL) +#define GLFW_EXPOSE_NATIVE_EGL +#include +#endif + #ifdef USE_D3D11 #define GLFW_EXPOSE_NATIVE_WIN32 #include @@ -194,6 +199,9 @@ for (int i = 0; i < PL_ARRAY_SIZE(gl_vers); i++) { glfwWindowHint(GLFW_CLIENT_API, gl_vers[i].api); +#ifdef HAVE_EGL +glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API); +#endif glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, gl_vers[i].major); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, gl_vers[i].minor); glfwWindowHint(GLFW_OPENGL_PROFILE, gl_vers[i].profile); @@ -280,6 +288,10 @@ p->gl = pl_opengl_create(log, pl_opengl_params( .allow_software = true, .debug = DEBUG, +#ifdef HAVE_EGL +.egl_display = glfwGetEGLDisplay(), +.egl_context = glfwGetEGLContext(p->win), +#endif .make_current = make_current, .release_current = release_current, .get_proc_addr = glfwGetProcAddress, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.229.1/meson.build new/libplacebo-v5.229.2/meson.build --- old/libplacebo-v5.229.1/meson.build 2022-11-01 19:29:44.0 +0100 +++ new/libplacebo-v5.229.2/meson.build 2023-01-04 17:18:14.0 +0100 @@ -243,7 +243,7 @@ '1': '', }.keys().length(), # Fix version -0) +2) ) ### Version number and configuration diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v5.229.1/src/include/libplacebo/shaders/custom.h new/libplacebo-v5.229.2/src/include/libplacebo/shaders/custom.h --- old/libplacebo-v5.229.1/src/include/libplacebo/shaders/custom.h 2022-11-01 19:29:44.0 +0100 +++ new/libplacebo-v5.229.2/src/include/libplacebo/shaders/custom.h 2023-01-04 17:18:14.0 +0100 @@ -117,7 +117,7 @@ PL_HOOK_RGB = 1 << 8, // After conversion to RGB (resizable) PL_HOOK_LINEAR = 1 << 9, // After linearization but before scaling PL_HOOK_SIGMOID = 1 << 10, //
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2022-11-27 12:52:51 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.1597 (New) Package is "libplacebo" Sun Nov 27 12:52:51 2022 rev:21 rq:1038004 version:5.229.1 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2022-07-21 11:33:16.878942272 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.1597/libplacebo.changes 2022-11-27 12:52:59.239192379 +0100 @@ -1,0 +2,12 @@ +Tue Nov 1 20:08:38 UTC 2022 - Niklas Haas + +- Update libplacebo to version 5.229.1. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.1 + +--- +Thu Oct 27 12:50:14 UTC 2022 - Niklas Haas + +- Update libplacebo to version 5.229.0. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.0 + +--- Old: libplacebo-v4.208.0.tar.bz2 New: libplacebo-v5.229.1.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.8Epe4x/_old 2022-11-27 12:52:59.871196046 +0100 +++ /var/tmp/diff_new_pack.8Epe4x/_new 2022-11-27 12:52:59.879196093 +0100 @@ -16,9 +16,9 @@ # -%define sover 208 +%define sover 229 Name: libplacebo -Version:4.208.0 +Version:5.229.1 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later @@ -28,11 +28,11 @@ Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/3e91905e82c3cad01435d4a8a660a30e7f73c94a/nuklear.h BuildRequires: c++_compiler BuildRequires: c_compiler -BuildRequires: meson >= 0.54.0 +BuildRequires: meson >= 0.59.0 BuildRequires: pkgconfig -BuildRequires: python3-mako +BuildRequires: python3-glad2 +BuildRequires: python3-jinja2 BuildRequires: pkgconfig(dav1d) -BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libavcodec) ++ libplacebo-v4.208.0.tar.bz2 -> libplacebo-v5.229.1.tar.bz2 ++ 13053 lines of diff (skipped)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2022-07-21 11:32:54 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.1523 (New) Package is "libplacebo" Thu Jul 21 11:32:54 2022 rev:20 rq:989512 version:4.208.0 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2022-02-03 23:17:27.460215008 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.1523/libplacebo.changes 2022-07-21 11:33:16.878942272 +0200 @@ -1,0 +2,6 @@ +Fri Jul 15 23:31:37 UTC 2022 - Niklas Haas + +- Update libplacebo to version 4.208.0. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v4.208.0 + +--- Old: libplacebo-v4.192.1.tar.bz2 New: libplacebo-v4.208.0.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.ha5NqK/_old 2022-07-21 11:33:17.458942772 +0200 +++ /var/tmp/diff_new_pack.ha5NqK/_new 2022-07-21 11:33:17.462942775 +0200 @@ -16,9 +16,9 @@ # -%define sover 192 +%define sover 208 Name: libplacebo -Version:4.192.1 +Version:4.208.0 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later ++ libplacebo-v4.192.1.tar.bz2 -> libplacebo-v4.208.0.tar.bz2 ++ 7804 lines of diff (skipped)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2022-02-03 23:16:33 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.1898 (New) Package is "libplacebo" Thu Feb 3 23:16:33 2022 rev:19 rq:951344 version:4.192.1 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2022-01-21 01:25:27.418572052 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.1898/libplacebo.changes 2022-02-03 23:17:27.460215008 +0100 @@ -1,0 +2,12 @@ +Thu Feb 3 15:59:08 UTC 2022 - Niklas Haas + +- Update libplacebo to version 4.192.1. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v4.192.1 + +--- +Sun Jan 30 17:08:01 UTC 2022 - Enrico Belleri + +- Update nuklear.h to 4.9.5 +- Add dav1d dependency + +--- Old: libplacebo-v4.192.0.tar.bz2 New: libplacebo-v4.192.1.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.XYYpSc/_old 2022-02-03 23:17:28.024211158 +0100 +++ /var/tmp/diff_new_pack.XYYpSc/_new 2022-02-03 23:17:28.024211158 +0100 @@ -18,20 +18,20 @@ %define sover 192 Name: libplacebo -Version:4.192.0 +Version:4.192.1 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL:https://code.videolan.org/videolan/libplacebo Source0: https://code.videolan.org/videolan/libplacebo/-/archive/v%{version}/libplacebo-v%{version}.tar.bz2 -Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/6e80e2a646f35be4afc157a932f2936392ec8f74/nuklear.h +Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/3e91905e82c3cad01435d4a8a660a30e7f73c94a/nuklear.h BuildRequires: c++_compiler BuildRequires: c_compiler BuildRequires: meson >= 0.54.0 BuildRequires: pkgconfig BuildRequires: python3-mako -BuildRequires: shaderc-devel +BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(lcms2) @@ -40,6 +40,7 @@ BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libunwind) BuildRequires: pkgconfig(sdl2) +BuildRequires: pkgconfig(shaderc) BuildRequires: pkgconfig(vulkan) %description @@ -67,6 +68,7 @@ renderer. It is based on the core rendering algorithms and ideas of mpv. +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400 %package -n plplay Summary:Example video player based on %{name} Group: Productivity/Multimedia/Video/Players @@ -75,13 +77,20 @@ A small example video player based on %{name} and FFmpeg. This provides little more than the ability to display video files, and rather serves as a tool to help understand and demonstrate the various options provided by %{name}. +%endif %prep %setup -q -n %{name}-v%{version} cp %{SOURCE1} ./demos/3rdparty/nuklear/ %build -%meson -Dglslang=disabled -Dd3d11=disabled -Dtests=true -Ddemos=true +%meson -Dglslang=disabled -Dd3d11=disabled -Dtests=true \ +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400 + -Ddemos=true \ +%else + -Ddemos=false \ +%endif + %meson_build %install @@ -105,7 +114,9 @@ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400 %files -n plplay %{_bindir}/plplay +%endif %changelog ++ libplacebo-v4.192.0.tar.bz2 -> libplacebo-v4.192.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v4.192.0/meson.build new/libplacebo-v4.192.1/meson.build --- old/libplacebo-v4.192.0/meson.build 2022-01-19 13:01:24.0 +0100 +++ new/libplacebo-v4.192.1/meson.build 2022-02-03 16:30:55.0 +0100 @@ -50,7 +50,7 @@ '192': 'add pl_map_avframe_ex', }.keys().length(), # Fix version -0) +1) ) # Version number diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v4.192.0/src/colorspace.c new/libplacebo-v4.192.1/src/colorspace.c --- old/libplacebo-v4.192.0/src/colorspace.c2022-01-19 13:01:24.0 +0100 +++ new/libplacebo-v4.192.1/src/colorspace.c2022-02-03 16:30:55.0 +0100 @@ -178,7 +178,7 @@ scale *= ((1LL << tex_bits) - 1.) / ((1LL << col_bits) - 1.); } -bits->sample_depth = bits->color_depth; +bits->color_depth = bits->sample_depth; return scale;
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2022-01-21 01:25:09 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.1938 (New) Package is "libplacebo" Fri Jan 21 01:25:09 2022 rev:18 rq:947404 version:4.192.0 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2021-09-09 23:07:21.136817594 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.1938/libplacebo.changes 2022-01-21 01:25:27.418572052 +0100 @@ -1,0 +2,8 @@ +Wed Jan 19 12:10:24 UTC 2022 - Niklas Haas + +- Update libplacebo to version 4.192.0. See details in: +https://code.videolan.org/videolan/libplacebo/-/tags/v4.192.0 +- Add libunwind dependency +- Bump meson dependency version to match upstream + +--- Old: libplacebo-v4.157.0.tar.bz2 New: libplacebo-v4.192.0.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.WhA0fB/_old 2022-01-21 01:25:27.926568569 +0100 +++ /var/tmp/diff_new_pack.WhA0fB/_new 2022-01-21 01:25:27.930568543 +0100 @@ -1,7 +1,7 @@ # # spec file for package libplacebo # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define sover 157 +%define sover 192 Name: libplacebo -Version:4.157.0 +Version:4.192.0 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later @@ -28,7 +28,7 @@ Source1: https://github.com/Immediate-Mode-UI/Nuklear/raw/6e80e2a646f35be4afc157a932f2936392ec8f74/nuklear.h BuildRequires: c++_compiler BuildRequires: c_compiler -BuildRequires: meson >= 0.47.0 +BuildRequires: meson >= 0.54.0 BuildRequires: pkgconfig BuildRequires: python3-mako BuildRequires: shaderc-devel @@ -38,6 +38,7 @@ BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) +BuildRequires: pkgconfig(libunwind) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(vulkan) ++ libplacebo-v4.157.0.tar.bz2 -> libplacebo-v4.192.0.tar.bz2 ++ 24336 lines of diff (skipped)
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2021-09-09 23:07:18 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.1899 (New) Package is "libplacebo" Thu Sep 9 23:07:18 2021 rev:17 rq:917233 version:4.157.0 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2021-05-10 15:39:01.993649403 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.1899/libplacebo.changes 2021-09-09 23:07:21.136817594 +0200 @@ -1,0 +2,167 @@ +Tue Sep 7 09:09:22 UTC 2021 - Niklas Haas + +- Update libplacebo to version 4.157.0: + +This is a major new release involving a significant overhaul of the +public API, full thread safety, support for Direct3D 11 / Win32 / +MSVC, native HDR output, and more. + +The primary way of accessing most libplacebo objects has been revamped. +Rather than writing e.g. `const struct pl_tex *image`, users now simply +write `pl_tex image`. In addition, the `struct pl_context *ctx` was +universally refactored and replaced by `pl_log log`, with no concern +besides logging. + +Direct3D 11 is now natively supported by libplacebo, and compiling on +Windows in general has been made more straightforward. + +The entire API was revamped to be thread safe by default, even when +using OpenGL (assuming the user provides the appropriate context binding +callbacks). Accompanying this change, the `pl_queue` has been rewritten +with multi-threaded decoding loops in mind. See the accompanying +`plplay` demo for an illustration. + +Finally, this release brings with it a lot of features for feature +parity with mpv, such as the ability to get pass stats / timings, +oversample scaling, and more. + +Additions: +- add a `void *user_data` field to `pl_frame`, with no further + interpretation by libplacebo +- add `pl_queue_push_block`, useful for multi-threaded decoding loops +- add a `uint64_t timeout` to `pl_queue_update`, allowing it to + block until frames are available even when not using a `get_frame` + callback +- make `pl_queue_update` also return valid data when failing with + PL_QUEUE_MORE, allowing access to partial/incomplete mix outputs +- allow calling `pl_render_image` on `image == NULL`, to render overlays + only +- add `pl_get_buffer2`, API-compatible with AVCodecContext.get_buffer2 +- add support for blitting from/to several obscure formats such as + a1rgb5 or 64-bit integer formats +- add `pl_tex_clear_ex` to support clearing integer textures +- add `pl_render_params.ignore_icc_profiles`, for debugging +- add `pl_queue_params.interpolation_threshold`, to allow disabling + frame mixing when the source FPS approximately matches the display FPS +- always accept DRM_FORMAT_MOD_INVALID for texture imports +- add extra windowing functions to +- add the `pl_fmt.gatherable` capability +- add `pl_shader_sample_oversample`, a variant of nearest-neighbour + that preserves pixel aspect ratios - good for pixel art +- add `pl_scale_filters` alongside `pl_frame_mixers` +- add support for compile-time specialization constants (`pl_constant`), + and use them to speed up recompilation of shaders with hard-coded + constants +- add `pl_render_params.dynamic_constants`, which lifts hard-coded + constants to dynamic variables - useful for scenarios in which render + parameters are expected to change very frequently +- add more PL_COLOR_TRC_GAMMAxx definitions +- implement full black point adaptation, even when not using ICC + profiles, and infer this black-point-adapted BT.1886 instead of gamma + 2.2 as the default gamma curve for SDR files. +- add `pl_shader_res.description` and `pl_shader_res.steps`, containing + more friendly names for shaders plus a detailed list of operations + that shader is performing +- add callbacks to `pl_dispatch` and `pl_renderer` for informing users + of executed passes and their execution times +- add support for the Direct3D 11 graphics API +- add `pl_swapchain_colorspace_hint`, replacing + `pl_swapchain_hdr_metadata` as the new way to update swapchain + colorspace metadata at runtime. This can be used to e.g. switch + between HDR and SDR mode, for supported swapchains +- add `pl_peak_detect_params.minimum_peak`, allowing users to constrain + the detected peak values to only be sensible (e.g. above 1.0) + +Changes: +- simplify the `shaderc` pkg-config check - rather than querying for + `shaderc_shared.pc`, `shaderc_combined.pc` etc, simply check for + `shaderc.pc`, matching upstream +- make almost everything thread-safe, and document the parts that + aren't. In particular, almost all GPU state access is now thread safe, + freeing up users to access `pl_gpu` instances from multiple threads, + even when the underlying API is OpenGL +-
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2021-05-10 15:36:38 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.2988 (New) Package is "libplacebo" Mon May 10 15:36:38 2021 rev:16 rq:891306 version:3.120.3 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2021-04-22 18:04:01.610512369 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.2988/libplacebo.changes 2021-05-10 15:39:01.993649403 +0200 @@ -1,0 +2,23 @@ +Fri May 7 09:51:50 UTC 2021 - Niklas Haas + +- Update libplacebo to version 3.120.3: + +This minor release fixes a number of regressions surrounding memory +imports and DRM modifiers, specifically aimed at issues that arose with +mpv's --hwdec=vaapi. + +Changes: +- `pl_fmt.modifiers` now always includes DRM_FORMAT_MOD_INVALID on + OpenGL, which instructs the implementation to not specify modifiers +- passing a DRM modifier not in the list of supported modifiers is now + considered a hard error, to rule out non-working hwaccel formats + +Fixes: +- fix a crash when using sampling shaders on textures with unknown formats +- fix improperly specified SDL header imports in the demos +- fix an issue where the vulkan texture handle capabilities were testing + for presence of the wrong extension +- fix an issue where non-enabled DRM modifier structs were accidentally + linked into the pNext chain, causing issues with some drivers + +--- Old: libplacebo-v3.120.2.tar.bz2 New: libplacebo-v3.120.3.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.V40Xmb/_old 2021-05-10 15:39:02.513647274 +0200 +++ /var/tmp/diff_new_pack.V40Xmb/_new 2021-05-10 15:39:02.517647258 +0200 @@ -18,7 +18,7 @@ %define sover 120 Name: libplacebo -Version:3.120.2 +Version:3.120.3 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later ++ libplacebo-v3.120.2.tar.bz2 -> libplacebo-v3.120.3.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v3.120.2/demos/sdlimage.c new/libplacebo-v3.120.3/demos/sdlimage.c --- old/libplacebo-v3.120.2/demos/sdlimage.c2021-04-19 10:14:26.0 +0200 +++ new/libplacebo-v3.120.3/demos/sdlimage.c2021-05-07 11:44:16.0 +0200 @@ -4,7 +4,7 @@ * License: CC0 / Public Domain */ -#include +#include #include "common.h" #include "window.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v3.120.2/demos/window_sdl.c new/libplacebo-v3.120.3/demos/window_sdl.c --- old/libplacebo-v3.120.2/demos/window_sdl.c 2021-04-19 10:14:26.0 +0200 +++ new/libplacebo-v3.120.3/demos/window_sdl.c 2021-05-07 11:44:16.0 +0200 @@ -7,11 +7,11 @@ #include "common.h" #include "window.h" -#include +#include #ifdef USE_VK #include -#include +#include #define WINFLAG_API SDL_WINDOW_VULKAN #define IMPL win_impl_sdl_vk #define IMPL_NAME "SDL2 (vulkan)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v3.120.2/meson.build new/libplacebo-v3.120.3/meson.build --- old/libplacebo-v3.120.2/meson.build 2021-04-19 10:14:26.0 +0200 +++ new/libplacebo-v3.120.3/meson.build 2021-05-07 11:44:16.0 +0200 @@ -2,7 +2,7 @@ license: 'LGPL2.1+', default_options: ['c_std=c99', 'cpp_std=c++11', 'warning_level=2'], meson_version: '>=0.51', - version: '3.120.2', + version: '3.120.3', ) # Version number diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v3.120.2/src/gpu.c new/libplacebo-v3.120.3/src/gpu.c --- old/libplacebo-v3.120.2/src/gpu.c 2021-04-19 10:14:26.0 +0200 +++ new/libplacebo-v3.120.3/src/gpu.c 2021-05-07 11:44:16.0 +0200 @@ -507,30 +507,21 @@ return NULL; } -static bool warned_mods = false; - -static inline void check_mod(const struct pl_gpu *gpu, const struct pl_fmt *fmt, +static inline bool check_mod(const struct pl_gpu *gpu, const struct pl_fmt *fmt, uint64_t mod) { -if (warned_mods) -return; - for (int i = 0; i < fmt->num_modifiers; i++) { if (fmt->modifiers[i] == mod) -return; +return true; } -// This is not a hard error because modifier support is fickle at best, -// in both libplacebo and other APIs. So just be somewhat annoying in this -
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2021-04-22 18:03:38 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.12324 (New) Package is "libplacebo" Thu Apr 22 18:03:38 2021 rev:15 rq:886609 version:3.120.2 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2021-04-08 21:03:00.949955741 +0200 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.12324/libplacebo.changes 2021-04-22 18:04:01.610512369 +0200 @@ -1,0 +2,30 @@ +Mon Apr 19 08:27:57 UTC 2021 - Niklas Haas + +- Update libplacebo to version 3.120.2: + +This minor release fixes a number of additional bugs related to the +thread queue, included demos, included helpers, and build system. + +Changes: +- replace the `shaderc` library checks by pkg-config checks +- `pl_dispatch` no longer grows infinitely, but prunes stale cache + entries after a certain threshold +- improve logging of GPU capabilities (including format capabilities) + +Fixes and performance improvements: +- fix a typo on an error message +- fix a use-after-free edge case in `plplay` +- filter out Infinity, NaN and other values from fps/vps estimates +- add several warnings for suspected frame queue API misuses +- fix a crash when combining pl_render_image_mix with cropped frames +- fix a crash on AV_PIX_FMT_NONE in the libav helpers +- fix the loading of overlays in the `sdlimage` demo +- fix a number of potential overflows on 32-bit platforms +- omit redundant identity matrices in pl_shader_decode_color +- fix crash in frame queue with certain out-of-order PTS sequences +- add missing link to vulkan dependency in the `video-filtering` demo +- correctly shift overlays when drawing to subsampled YCbCr planes +- add missing check for PL_GPU_CAP_CALLBACKS in `utils/{libav,dav1d}.h` +- improve handling of asynchronous texture uploads in `utils/libav.h` + +--- Old: libplacebo-v3.120.1.tar.bz2 New: libplacebo-v3.120.2.tar.bz2 Other differences: -- ++ libplacebo.spec ++ --- /var/tmp/diff_new_pack.XFNRjS/_old 2021-04-22 18:04:02.134513180 +0200 +++ /var/tmp/diff_new_pack.XFNRjS/_new 2021-04-22 18:04:02.138513186 +0200 @@ -18,7 +18,7 @@ %define sover 120 Name: libplacebo -Version:3.120.1 +Version:3.120.2 Release:0 Summary:Library for GPU-accelerated video/image rendering primitives License:LGPL-2.1-or-later ++ libplacebo-v3.120.1.tar.bz2 -> libplacebo-v3.120.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libplacebo-v3.120.1/.gitlab-ci.yml new/libplacebo-v3.120.2/.gitlab-ci.yml --- old/libplacebo-v3.120.1/.gitlab-ci.yml 2021-04-06 08:47:44.0 +0200 +++ new/libplacebo-v3.120.2/.gitlab-ci.yml 2021-04-19 10:14:26.0 +0200 @@ -96,6 +96,7 @@ - env CC=clang meson build --buildtype debugoptimized --werror -Dtests=true + -Ddemos=true -Dbench=true -Dshaderc=enabled -Dglslang=enabled @@ -111,6 +112,7 @@ - meson build --buildtype release --werror -Dtests=true + -Ddemos=false -Dc_args='-DCI_ALLOW_SW' -Dshaderc=enabled -Dglslang=enabled @@ -126,6 +128,7 @@ - meson build --buildtype release --werror -Dtests=true + -Ddemos=false -Dshaderc=disabled -Db_coverage=true - ninja -C build @@ -154,6 +157,7 @@ script: - meson build --buildtype debugoptimized -Dtests=true + -Ddemos=false -Dshaderc=disabled -Db_sanitize=address - ninja -C build @@ -169,6 +173,7 @@ script: - env CC=clang meson build --buildtype debugoptimized -Dtests=true + -Ddemos=false -Dc_args='-DMSAN' -Dglslang=disabled -Db_sanitize=memory @@ -186,6 +191,7 @@ script: - env CC=clang meson build --buildtype debugoptimized -Dtests=true +
commit libplacebo for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libplacebo for openSUSE:Factory checked in at 2021-04-08 21:02:54 Comparing /work/SRC/openSUSE:Factory/libplacebo (Old) and /work/SRC/openSUSE:Factory/.libplacebo.new.2401 (New) Package is "libplacebo" Thu Apr 8 21:02:54 2021 rev:14 rq:883169 version:3.120.1 Changes: --- /work/SRC/openSUSE:Factory/libplacebo/libplacebo.changes2021-01-02 21:30:53.567430099 +0100 +++ /work/SRC/openSUSE:Factory/.libplacebo.new.2401/libplacebo.changes 2021-04-08 21:03:00.949955741 +0200 @@ -1,0 +2,144 @@ +Tue Apr 6 06:57:44 UTC 2021 - Niklas Haas + +- Update libplacebo to version 3.120.1: + +This hotfix release fixes a number of minor issues with the v3.120.0 +release, and also modularizes the included demo programs to cut down on +the number of compiled binaries. + +Changes: +- hexadecimal strings in custom shaders may now include whitespace +- added 16-bit half float formats to the dummy pl_gpu +- significantly reduced verbosity of the included demo programs +- merged all of the demo program variants into a single binary that + picks the best windowing system / graphical API at runtime +- install `plplay` when demos are enabled + +Fixes and performance improvements: +- fixed an integer overflow in a texture bounds check +- fixed a false positive error in the test framework on 32-bit platforms +- fixed some minor issues with various outdated comments +- fixed a potential use-after-free in the `plplay` demo program when + playing files containing embedded ICC profiles + +--- +Fri Apr 2 13:21:38 UTC 2021 - Niklas Haas + +- Update libplacebo to version 3.120.0. (Upstream changelog appended) +- Create a new package `plplay` for the included demo program. This requires + bundling a copy of `nuklear.h`, which is single-header library not included + as part of the libplacebo source distribution. + +This is a feature release, introducing frame mixing, DRM format +modifiers, and support for custom LUTs -, while also greatly expanding +the available demo programs, in particular the `plplay` video player. + +The main highlight is the new `pl_queue` abstraction living in +. This greatly simplifies the core of a +libplacebo-based video renderer by translating a stream of input frames +into an array of GPU-mapped textures suitable for frame mixing, given a +corresponding vsync timestamp. New frames can be delivered to this API +using a push or pull model, and they are lazily uploaded on an as-needed +basis as well as internally garbage collected when no longer needed. +This abstraction also contains all needed machinery for estimating +source/display framerates by comparing and averaging timestamps, freeing +users from the burden of having to accurately determine this information +a priori. + +Also worth mentioning is the addition of support for custom LUTs, +currently only in Adobe's .cube format. They can be applied flexibly at +a number of locations in the video processing pipeline, including as a +replacement for YUV<->RGB conversion or tone/gamut mapping, and fed with +either normalized linear light or native-gamma values. + +Among the included demo programs, the `plplay` example video player has +been greatly expanded - adding support for a settings GUI (based on +nuklear), frame timing and mixing, custom shaders, and more. This +example video player now serves as a convenient platform to demonstrate +all of libplacebo's advanced rendering features. + +Finally, all of libplacebo now contains only code written entirely from +scratch (rather than deriving from mpv), opening up the possibility to +explore different licenses besides the current LGPLv2.1+. In particular, +permissive (MIT/BSD-style) licenses are being considered. + +Additions: +- add asynchronous GPU callbacks, specifically to `pl_tex_transfer`, + allowing for non-blocking host memory transfer operations +- add `pl_shared_mem.stride_w/h` to control dmabuf pitch +- add `pl_render_image_mix` to blend multiple frames into a single + output image, given relative timestamp information +- add the `pl_filter_mitchell_clamp` filter preset +- add `pl_render_params.preserve_mixing_cache` to speed up redraws after + renderer size changes when frame mixing is active +- add to help with Dav1dPicture mapping +- implement `PL_HANDLE_HOST_PTR` for the OpenGL backend +- implement drm format modifiers for vulkan +- add a new field `pl_fmt.modifiers` for DRM format modifier negotiation +- add new header to load custom LUTs + (currently only supporting the .cube format) +- add `index_data/buf` to `pl_pass_run_params`, adding support for + indexed vertex data when dispatching shader passes +- add `pl_dispatch_vertex` to allow dispatching fragment