pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/libplacebo
Module Name: pkgsrc
Committed By: ryoon
Date: Thu Jul 23 15:31:44 UTC 2026
Modified Files:
pkgsrc/multimedia/libplacebo: Makefile PLIST buildlink3.mk distinfo
Log Message:
multimedia/libplacebo: Update to 7.360.1
Changelog:
7.360.1:
This release fixes a few issues with the Vulkan and OpenGL renderers.
Fixes:
- fix sync object leak on OpenGL
- suppress compiler warnings on benchmark test
- disable deferred memory allocation on Nvidia altogether
- workaround timeline semaphore bugs on MoltenVK
7.360.0:
This release introduces some new features, alongside a bunch of miscellaneous
bug fixes across the board, in particular, major improvements to the Vulkan
renderer.
Additions:
- add pl_gpu_limits.host_ptr_slow to notify if host pointer import is slow
- add PL_DEINTERLACE_BWDIF
- add PL_CLEAR_BLUR and pl_render_params.blur_radius to allow clearing with a
blurred copy of image
- add pl_daylight_from_temp, pl_blackbody_from_temp
- add PL_COLOR_SYSTEM_YCGCO_{RE,RO}
- add pl_vulkan_swapchain_params.{alpha,color}_bits
- add pl_d3d11_swapchain_params.{alpha,color}_bits
Changes:
- pl_shader_{encode,decode}_color no longer (de)linearizes XYZ
- pl_avframe_set_repr now sets frame.alpha_mode
- pl_white_from_temp now computes a blend of the daylight and blackbody
temperatures (old behavior can be achieved with pl_daylight_from_temp)
Fixes and enhancements:
- fix double application of alpha mode
- fix math in pl_primaries_compatible
- refactor and fix host-visible VRAM limit for Vulkan
- fix unsigned integer overflow with complex overlays
- fix many issues with frame_queue, mostly for interlaced sources and other
esoteric files
- fix internal primaries/transfer function mapping of Vulkan color spaces
- Vulkan swapchain improvements by using VK_KHR_swapchain_maintenance1 when
available
- switch to extended HLG gamma formula
- fix issues with SDR output in HDR mode on Windows with d3d11
- fix pl_filter_config_eq when comparing tunable with not tunable
- improve surface format and colorspace selection for Vulkan swapchains
- use deferred memory allocation for Vulkan swapchains
- render overlays with the same colorspace as source image
- convert background color to target and use infinite contrast for them
- prefer Vulkan formats that can be used for direct-to-display output on Apple
7.351.0:
This release mainly introduces a variety of miscellaneous bug fixes,
alongside two minor / maintenance changes.
Additions:
- add pl_{opengl,vulkan,d3d11}_params.no_compute to suppress the use of
compute shaders
- add pl_cache_{set,get}_file()
Changes:
- libav vulkan interop now requires lavu 58.11.100+ and vulkan 1.2.175+
- "sinc" filter preset radius dropped from 3 to 2
Fixes and performance enhancements:
- fix compilation of fuzzer test
- fix shader variable renaming loop
- fix error when the same gpu descriptor is used twice in one shader
- don't expose unsupported d3d11 formats
- fix rendering with flipped planes and user shaders
- fix rendering of textures with unusual channel order
- don't apply sigmoidization to alpha channel
- attach correctly normalized extension list to vulkan device creation
- fix orthogonal scaling fast path leaking garbage pixels
- some GLES 2.0 fixes
- fix DCDM XYZ decoding into DCI-P3
- fix build with glslang 15
- fix compilation without nuklear
- fix backwards compatibility with pl_render_params.skip_target_clearing
- correctly output requested alpha mode
- preserve alpha channel when blending subsampled formats
- multiply plane scale even when not scaling
- propagate correct plane format after plane merging
- fix build with instrumentation enabled
- fix bug where layout transitions happened too early in some cases
- fix handling of promoted extension and function names
- don't scale alpha when blending low bit depth YUV planes
- fix build error with recent libavformat
- fix plane channel order when merging planes
- invalidate shader cache when GL version strings change
- fix compute shader promotion for flipped outputs
- fix upload of YUVA formats with reduced bit depths
7.349.0:
This release introduces a number of minor and maintenance changes, and
bumps the major version to v7 in order to clean up old deprecations. The
main focus was on bug fixing and performance improvements, with some new
API additions as a side product of that.
Additions:
- add pl_peak_detect_params.black_cutoff, fixing unnatural flickering from
encoding noise near black
- add pl_queue_params.drift_compensation (and PL_QUEUE_DEFAULTS), to help
adjust for slight discrepencancies due to e.g. 0.1% differences between 60.00
Hz and 59.94 Hz.
- add pl_cache_signature() to test if a cache object needs to be updated
- add pl_map_avdovi_metadata()
- add PL_ALPHA_NONE, distinguishing itself from PL_ALPHA_UNKNOWN
- add pl_frame_clear_tiles()
- add pl_gpu_limits.max_mapped_vram
- add pl_color_linearize() and pl_color_delinearize()
- add pl_color_{primaries,system,transfer}_name(s)
- add fourcc codes for AB48 and AR48
- add support for dovi extension block parsing in utils/libav.h
Changes:
- remove fields deprecated in libplacebo v5
- deprecate pl_frame_map_avdovi_metadata(), see pl_map_avdovi_metadata() for
a replacement
- deprecate pl_render_params.skip_target_clearing and .blend_against_tiles,
instead introduce new fields pl_render_params.background and .border, which
can be set to an explicit value to control how the background and border are
drawn (respectively).
- ICC profiles with well-known transfer functions are now identified as such
- White point adaptation is now done using CAT16, replacing CAT97.
Fixes and performance enhancements:
- fix accidentally removed symbols (cubic samplers)
- improve cache efficiency of plplay
- fix segfault when writing to oddly sized vulkan buffers under some
circumstances
- fix various extension checks for GLES
- fix rgba8 not being marked host-readable on GLES
- fix bit shift of vulkan P010 frames
- also allow built-in fast paths for custom filters which are equivalent to
built-in filters
- massively improve compilation time of large ortho samplers, by not unrolling
past a certain point
- fix build issues past certain versions of glslang
- slightly modify debanding algorithm to reduce some blurring and increase
performance
- fix wrong primaries being selected for linear light BT.709 swapchains
- fix non-compute polar sampling fallback
- allow polar sampling up to 64x64, up from 32x32
- make polar compute shader more flexible w.r.t hardware limits
- avoid compute shaders on very large polar radius
- fix exhausting mapped VRAM on non-resizable BAR devices
- fix use-after-free race when using download callbacks
- prefer peak detection over static metadata when inferring tone mapping state
- fix use as meson subproject
- clean up ICC metadata reporting to conform to normal libplacebo style
- allow timer queries to work on GL (ES) 3.0+
- fix GLSL version detection on GLES
- fix cache coherency issues on d3d11
- fix accidental rounding of sub-pixel offsets inside renderer
- allow using xxhash as subproject
- improve texture format sorting preference
- add support for 16hf formats on GL
- fix 32/64-bit cache mismatch on windows+d3d11
- fix superfluous function load warning on vulkan
7.349.0-rc1:
This release introduces a number of minor and maintenance changes, and
bumps the major version to v7 in order to clean up old deprecations. The
main focus was on bug fixing and performance improvements, with some new
API additions as a side product of that.
Additions:
- add pl_peak_detect_params.black_cutoff, fixing unnatural flickering from
encoding noise near black
- add pl_queue_params.drift_compensation (and PL_QUEUE_DEFAULTS), to help
adjust for slight discrepencancies due to e.g. 0.1% differences between 60.00
Hz and 59.94 Hz.
- add pl_cache_signature() to test if a cache object needs to be updated
- add pl_map_avdovi_metadata()
- add PL_ALPHA_NONE, distinguishing itself from PL_ALPHA_UNKNOWN
- add pl_frame_clear_tiles()
- add pl_gpu_limits.max_mapped_vram
- add pl_color_linearize() and pl_color_delinearize()
- add pl_color_{primaries,system,transfer}_name(s)
- add fourcc codes for AB48 and AR48
- add support for dovi extension block parsing in utils/libav.h
Changes:
- remove fields deprecated in libplacebo v5
- deprecate pl_frame_map_avdovi_metadata(), see pl_map_avdovi_metadata() for
a replacement
- deprecate pl_render_params.skip_target_clearing and .blend_against_tiles,
instead introduce new fields pl_render_params.background and .border, which
can be set to an explicit value to control how the background and border are
drawn (respectively).
- ICC profiles with well-known transfer functions are now identified as such
Fixes and performance enhancements:
- fix accidentally removed symbols (cubic samplers)
- improve cache efficiency of plplay
- fix segfault when writing to oddly sized vulkan buffers under some
circumstances
- fix various extension checks for GLES
- fix rgba8 not being marked host-readable on GLES
- fix bit shift of vulkan P010 frames
- also allow built-in fast paths for custom filters which are equivalent to
built-in filters
- massively improve compilation time of large ortho samplers, by not unrolling
past a certain point
- fix build issues past certain versions of glslang
- slightly modify debanding algorithm to reduce some blurring and increase
performance
- fix wrong primaries being selected for linear light BT.709 swapchains
- fix non-compute polar sampling fallback
- allow polar sampling up to 64x64, up from 32x32
- make polar compute shader more flexible w.r.t hardware limits
- avoid compute shaders on very large polar radius
- fix exhausting mapped VRAM on non-resizable BAR devices
- fix use-after-free race when using download callbacks
- prefer peak detection over static metadata when inferring tone mapping state
- fix use as meson subproject
- clean up ICC metadata reporting to conform to normal libplacebo style
- allow timer queries to work on GL (ES) 3.0+
- fix GLSL version detection on GLES
- fix cache coherency issues on d3d11
- fix accidental rounding of sub-pixel offsets inside renderer
- allow using xxhash as subproject
- improve texture format sorting preference
- add support for 16hf formats on GL
6.338.2:
This release fixes a number of minor issues with v6.338.1, in particular
a fix for the new caching subsystem when using custom cache callbacks.
Fixes and performance improvements:
- properly align AVFrame planes when using oddly-sized pixels
- correct some reported GPU buffer size limits
- properly report texture transfer failures
- avoid ICC-related error spam
- avoid using some deprecated APIs and syntax
- fix pl_find_filter_* missing symbols
- fix duplicate initialization of vulkan debug layers
- fix assertion when using custom cache allocator API
- avoid redundant scale shader variable declarations
- avoid redundant linearization step when using sigmoid scaling
- avoid generating redundant dependency on xxhash
- fix possible integer overflow on 32-bit textures
- fix cropped frame dimensions when using vulkan hwframes
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/multimedia/libplacebo/Makefile \
pkgsrc/multimedia/libplacebo/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/multimedia/libplacebo/PLIST \
pkgsrc/multimedia/libplacebo/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/libplacebo/Makefile
diff -u pkgsrc/multimedia/libplacebo/Makefile:1.3 pkgsrc/multimedia/libplacebo/Makefile:1.4
--- pkgsrc/multimedia/libplacebo/Makefile:1.3 Wed May 15 20:34:16 2024
+++ pkgsrc/multimedia/libplacebo/Makefile Thu Jul 23 15:31:44 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2024/05/15 20:34:16 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/07/23 15:31:44 ryoon Exp $
-DISTNAME= libplacebo-v6.338.2
+DISTNAME= libplacebo-v7.360.1
PKGNAME= ${DISTNAME:S/-v/-/}
CATEGORIES= multimedia
MASTER_SITES= https://code.videolan.org/videolan/libplacebo/-/archive/v${PKGVERSION_NOREV}/
@@ -13,7 +13,7 @@ DISTFILES= ${DEFAULT_DISTFILES} ${FAST_
DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://code.videolan.org/videolan/libplacebo
+HOMEPAGE= https://libplacebo.org/
COMMENT= GPU-accelerated image/video processing primitives and shaders
LICENSE= gnu-lgpl-v2.1
Index: pkgsrc/multimedia/libplacebo/distinfo
diff -u pkgsrc/multimedia/libplacebo/distinfo:1.3 pkgsrc/multimedia/libplacebo/distinfo:1.4
--- pkgsrc/multimedia/libplacebo/distinfo:1.3 Wed May 15 20:34:16 2024
+++ pkgsrc/multimedia/libplacebo/distinfo Thu Jul 23 15:31:44 2026
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2024/05/15 20:34:16 wiz Exp $
+$NetBSD: distinfo,v 1.4 2026/07/23 15:31:44 ryoon Exp $
-BLAKE2s (libplacebo-6.338.2/fast_float.h) = dc9754b685f47fc6d6e0cba321b804829b6dda01f30f47c676374172bff12baf
-SHA512 (libplacebo-6.338.2/fast_float.h) = 85d4b85e03bdf42fe2f6d6ba40dfc2e85552c3367272e57469a274e7b9a283fc5953e1554dfe668be45bb08334e60ae91623faa4375fdea63d86a8c3b393e00f
-Size (libplacebo-6.338.2/fast_float.h) = 128947 bytes
-BLAKE2s (libplacebo-6.338.2/libplacebo-v6.338.2.tar.gz) = 460f4c9f8fcbfcbc41ff14b2d570b9444ec922a0a132a5b8aa695f55ea9b5c47
-SHA512 (libplacebo-6.338.2/libplacebo-v6.338.2.tar.gz) = 0f20ae47bc2a7cd128d667ec2dd750a2d6ad5f16be6ab97122c2dda1ebf239958ee4bf453a7f835bea2dafb60a2e27b795801532aad994e002854c190aa6bbd8
-Size (libplacebo-6.338.2/libplacebo-v6.338.2.tar.gz) = 841212 bytes
+BLAKE2s (libplacebo-7.360.1/fast_float.h) = dc9754b685f47fc6d6e0cba321b804829b6dda01f30f47c676374172bff12baf
+SHA512 (libplacebo-7.360.1/fast_float.h) = 85d4b85e03bdf42fe2f6d6ba40dfc2e85552c3367272e57469a274e7b9a283fc5953e1554dfe668be45bb08334e60ae91623faa4375fdea63d86a8c3b393e00f
+Size (libplacebo-7.360.1/fast_float.h) = 128947 bytes
+BLAKE2s (libplacebo-7.360.1/libplacebo-v7.360.1.tar.gz) = f86673a867ba45208e3af334b3cd2dba281a92b8274bfcf38e29d3cd61e188fb
+SHA512 (libplacebo-7.360.1/libplacebo-v7.360.1.tar.gz) = ea41f3852a5d877313d1969d771b0ba38338906a2a872abc67d2990f50c68848757616dc21cde1dbaa7e0fd46282e455bc7b3b14bfea14079935ff3afe7096e1
+Size (libplacebo-7.360.1/libplacebo-v7.360.1.tar.gz) = 862303 bytes
SHA1 (patch-src_dither.c) = dd1b7bf8c7797a25e2c3fe4aef39e6490a4b1428
Index: pkgsrc/multimedia/libplacebo/PLIST
diff -u pkgsrc/multimedia/libplacebo/PLIST:1.1 pkgsrc/multimedia/libplacebo/PLIST:1.2
--- pkgsrc/multimedia/libplacebo/PLIST:1.1 Mon Jan 1 15:43:25 2024
+++ pkgsrc/multimedia/libplacebo/PLIST Thu Jul 23 15:31:44 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2024/01/01 15:43:25 leot Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/07/23 15:31:44 ryoon Exp $
include/libplacebo/cache.h
include/libplacebo/colorspace.h
include/libplacebo/common.h
@@ -34,5 +34,5 @@ include/libplacebo/utils/libav_internal.
include/libplacebo/utils/upload.h
include/libplacebo/vulkan.h
lib/libplacebo.so
-lib/libplacebo.so.338
+lib/libplacebo.so.360
lib/pkgconfig/libplacebo.pc
Index: pkgsrc/multimedia/libplacebo/buildlink3.mk
diff -u pkgsrc/multimedia/libplacebo/buildlink3.mk:1.1 pkgsrc/multimedia/libplacebo/buildlink3.mk:1.2
--- pkgsrc/multimedia/libplacebo/buildlink3.mk:1.1 Mon Jan 1 15:43:26 2024
+++ pkgsrc/multimedia/libplacebo/buildlink3.mk Thu Jul 23 15:31:44 2026
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2024/01/01 15:43:26 leot Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2026/07/23 15:31:44 ryoon Exp $
BUILDLINK_TREE+= libplacebo
.if !defined(LIBPLACEBO_BUILDLINK3_MK)
LIBPLACEBO_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.libplacebo+= libplacebo>=6.338.1
+BUILDLINK_API_DEPENDS.libplacebo+= libplacebo>=7.360.1
BUILDLINK_PKGSRCDIR.libplacebo?= ../../multimedia/libplacebo
.include "../../devel/xxhash/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index