Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/haasn/libplacebo
Official mirror of libplacebo
https://github.com/haasn/libplacebo
It was sampling already sampled pixels when switching between direct and
gather sampling. There ...
Because timeline semaphores are not currently supported.
See-Also: https://github.com/KhronosGr...
e5f7d6aa7dbb8b8b62bb55dd86ea22b154a33a49 authored 10 months ago by Niklas Haas <[email protected]>
Cosmetic change, files like that doesn't make sense anyway. This change
follows ITU-T H.264 and ...
ef135c3a7c0f7d0ae714fbfe25d9a40571ec59d6 authored 10 months ago by Kacper Michajłow <[email protected]>
Fixes UB reported by -fsanitize=function
a3c5563b355e6cb0ea556ac4769235afd3cf40d8 authored 10 months ago by Kacper Michajłow <[email protected]>
The current behavior is very ad-hoc and presents numerous issues to
downstream clients. Make thi...
611a4abbf1e4fe0963c132d46e7dc21f7bb45b72 authored 10 months ago by Niklas Haas <[email protected]>
Analog to pl_frame_clear_rgba. I had to decide carefully whether
I wanted to preserve the symmet...
e987124b516507f4eb71a29b53e288d3c590aa75 authored 10 months ago by Niklas Haas <[email protected]>
This field was doing double duty between marking the alpha mode as
unknown and marking the alpha...
Relaxes some restrictions on this function, but also reduces the
tendency of this pass to introd...
0f0acc157ef3f48d94934ed3466b0700bd9a2273 authored 10 months ago by Philip Sequeira <[email protected]>
Convenience function, we don't care about pl_frame here.
Also deprecate pl_frame_map_avdovi_met...
a9f570492b40500fc848848497fe77c079f8ba9c authored 10 months ago by Kacper Michajłow <[email protected]>
They apparently like to randomly remove them. Just mark them as not
required.
Fixes: https://co...
3ba18d5d84738c663e16d7699342102e30e2fbc5 authored 11 months ago by Niklas Haas <[email protected]>
Fixes warning:
`integer modulus may be much slower, try using uints if possible`
57dac69516b677807ca5b0fcd8093441c2fc2152 authored 11 months ago by Kacper Michajłow <[email protected]>
Fixes: b2b61a75
fab08fb85e18896e4feb43abdc5edacf9571d389 authored 11 months ago by Kacper Michajłow <[email protected]>8da6ce13a75252329389abcce80f72fdf3b4fe27 authored 11 months ago by Kacper Michajłow <[email protected]>
Unrolling fully doesn't bring performance gain and makes shaders huge
and heavy to compile.
Als...
b2b61a755921499e2075d409a9eb667232be194b authored 11 months ago by Kacper Michajłow <[email protected]>
Rather than requiring exact pointer equality. This should enable such
fast paths to work transpa...
Fixes: a5e701025dce2036930b9e049862e5355b07a45f
c320f61e601caef2be081ce61138e5d51c1be21d authored 11 months ago by Niklas Haas <[email protected]>Fixes: a5e701025dce2036930b9e049862e5355b07a45f
6d203e537a92e0144a070e712d34f602c09186de authored 11 months ago by Niklas Haas <[email protected]>Fixes mapping Vulkan P010 frames.
Closes #237
a5e701025dce2036930b9e049862e5355b07a45f authored 11 months ago by David Rosca <[email protected]>Fixes: https://github.com/haasn/libplacebo/issues/234
9e3cc45db36612ddafc6ba2ecac02562b6ca9347 authored 11 months ago by sfan5 <[email protected]>These are part of GLES 3.0, there is no extension for them.
ed175cfd7f70a67c2e41b9ed25252aef98bd947b authored 11 months ago by sfan5 <[email protected]>
This patch prevents a segmentation fault that occurs when size_base is
not a multiple of max_tra...
Fixes mapping frames with padding (eg. 1080p ~ 1088).
34e019bfedaa5a64f268d8f9263db352c0a8f67f authored 12 months ago by David Rosca <[email protected]>84dc7ffbdb826f24210b47015d658f7b0aa0618d authored 12 months ago by dokur0chan <[email protected]>
Not the correct solution, but an improvement on the status quo.
See-Also: https://code.videolan...
52314e0e435fbcb731e326815d4091ed0ba27475 authored about 1 year ago by Niklas Haas <[email protected]>No need to include xxhash dependency in .pc, it is fully inlined.
b453387eb6a0b58dfd36f6f760d47a4712c05126 authored about 1 year ago by Kacper Michajłow <[email protected]>795600a44b03fcd52c055981a403ad60ee5d027a authored about 1 year ago by Kacper Michajłow <[email protected]>
2bdf99e21c0e076810f1b47cd22e390c348aec30 authored about 1 year ago by Kacper Michajłow <[email protected]>
By comparing signature before and after loading.
2385b3674e76431c361806266c54ae6fcaa67031 authored about 1 year ago by Niklas Haas <[email protected]>
This is technically redundant with pl_cache_iterate() and simply
performing the XOR yourself, bu...
Small keys break some statistical assumptions inside the cache layer.
feeb4d1d48975eb1845e0d3c66323718ec73a09c authored about 1 year ago by Niklas Haas <[email protected]>426f346762180e6496e714a087be9561a9a1e236 authored about 1 year ago by Bonnie <[email protected]>
7cbbc764ee6b836568c682e98ca2019cd74a3459 authored about 1 year ago by Kacper Michajłow <[email protected]>
$id@c can collide with another identifier that has larger $id, add extra
_ to avoid collision.
...
79377cd6a76de90aff10192b30de64781c5cfa6c authored about 1 year ago by Niklas Haas <[email protected]>
This was accidentally included once per sample, as a result of the
anti-ringing code.
See-Also:...
c02c40cc3f5eb4fd736eebf6056ae4ec0df2448b authored about 1 year ago by Niklas Haas <[email protected]>
pl_icc_update needs to be called every frame, so if libplacebo is
compiled without lcms support,...
These should have gone through a deprecation period, since they are
a public API.
Fixes: dcd5b7...
716811a3c3d8f7cb4da5cfff083429860b24d2d6 authored about 1 year ago by Niklas Haas <[email protected]>
At least for mpv, if we have a playlist of images, fail opening the ICC
of one image, go forward...
By default, allows for correcting drift/jitter of up to 1 ms per frame,
in line with expected ji...
39b87ed93bee6ac43f657fe8c25261fac21f157e authored about 1 year ago by Zhao Zhili <[email protected]>
3cfe3b67c563a0ac232fba92815e4c59f5dcd31c authored about 1 year ago by Asd-g <[email protected]>
This will never be used uninitialized, guarded by use_dbghelp, but GCC
analysis is too shallow a...
What does it even mean? You can share a vulkan device just fine..
768ffe04e3b18ef09120501c560eef93db9e4409 authored about 1 year ago by Niklas Haas <[email protected]>
Testing an element's truth value will raise an exception in future
versions.
6ba2300ad2801d075347554cfaa344b56a09f176 authored about 1 year ago by Niklas Haas <[email protected]>
Prevent log spam.
425d6802e9084138be3c05d719dfa0d3bac4a77d authored about 1 year ago by Niklas Haas <[email protected]>
Sanity. Don't advertise support for SSBOs/UBOs/etc. if basic buffer
support is not available.
Avoids triggering assertions added by 3bd1c9701.
This is not a very elegant solution, by the wa...
b63864e5cde5254e8d37733744648885a565633a authored about 1 year ago by Niklas Haas <[email protected]>adc9d7fccce5beddbdf20a1aed04eba8bc191046 authored about 1 year ago by Niklas Haas <[email protected]>
Makes this actually check the relevant requirements.
b0d5a82b8803775e0b77bbee984f88f6e3859734 authored about 1 year ago by Niklas Haas <[email protected]>
We only need to use the max SSBO sizee for emulated transfers.
Otherwise, max_buf_size is suffic...
OpenGL has emulated texture formats that don't need texel storage buffer
emulation, so support t...
3bd1c9701b1b2b286430aa746503b0b0bab5da8b authored about 1 year ago by Niklas Haas <[email protected]>
This is an insane case to work around, because no GPU backend enables
emulated format without th...
This helper was failing to account for the pixel stride alignment
requirements.
This accidentally sharpened the frame mixer when the source fps was
below monitor fps.
c9bd42e6109bb516ab9519a1edd25fd33e5a3419 authored about 1 year ago by Niklas Haas <[email protected]>
This will inflate all numbers, but is also more informative.
7ca8418fb83e1d271b9024d935e3ccd53b2c8b9d authored about 1 year ago by Niklas Haas <[email protected]>ee0cf07842fa3eb587c73dafae2c65c573715ae5 authored about 1 year ago by Niklas Haas <[email protected]>
By one that doesn't have such strict requirements on the texture size.
23697d06d20c6d93d361e64f6cbb01cd51ff10d1 authored about 1 year ago by Niklas Haas <[email protected]>
Turn these defines into enums and group them more appropriately, and
make the queue configuratio...
Unceremoniously stolen from multigpu-bench.
3c730da19c9d90f080f648f4142ba0b3def54f58 authored about 1 year ago by Niklas Haas <[email protected]>
Instead of linearly desaturating, use a third-order polynomial
approximation.
Re-use an existing helper and remove a misleading comment.
5bdad146697de9a53f8aa4ea275473434e9ed61f authored about 1 year ago by Niklas Haas <[email protected]>
We can early-dispatch this callback as soon as we're done mempcying the
data into a temporary bu...
Fixes: https://github.com/mpv-player/mpv/issues/12512
8f509a92b0271bf2a078b5ca25a6f62bac514fe6 authored about 1 year ago by Niklas Haas <[email protected]>Fixes: https://github.com/haasn/libplacebo/issues/207
f25dfeb0c7655a02e5316a9bd129db994b4a3cf5 authored about 1 year ago by Kacper Michajłow <[email protected]>
Fortunately, the existence of fast scalers masked this bug to some
extent, except in mpv, where ...
`pt` is already a vec2.
87f98b549a9f957675dd77bab042ab68e3518667 authored about 1 year ago by Niklas Haas <[email protected]>
Regression caused by the #pragma GLSL rewrite, where
sh_const_float/SH_FLOAT was unintentionally...
cb6be98047eb7858bc6b76b7fab8034d59322401 authored about 1 year ago by Niklas Haas <[email protected]>
This was accidentally inverted...
b2ddc5c6780312275a652be45843ec37c9ee6169 authored about 1 year ago by Niklas Haas <[email protected]>
Fixes unnatural black flickering in some scenes where encoding noise
pushes the background betwe...
Will allow me to extend it with conditional branches more easily.
31ee55cc715800d439cc6a7fb29f7022b8a8223e authored about 1 year ago by Niklas Haas <[email protected]>9ece6d8032e5ad3a0bc89c8be58c1205ed4e42bc authored about 1 year ago by Niklas Haas <[email protected]>
9fade50cc059d80f318e73083cb55eae35b7da66 authored about 1 year ago by Niklas Haas <[email protected]>
a8b5e5d04474de5c229c683a5a4715a413237245 authored about 1 year ago by Niklas Haas <[email protected]>
To allow tagging deprecated fields with the specific version that
deprecated them. The argument ...
57e5956a4d805ca55746ce16664bf9062d27a3f0 authored about 1 year ago by Niklas Haas <[email protected]>
24ac7fca18e3e8241c30f81d5ce649638f6152d2 authored about 1 year ago by Niklas Haas <[email protected]>
This would break build because _XOPEN_SOURCE works differently on
FreeBSD than on Linux, so just...
Can I have an AI proofread my code already?
a2f79a4e9988c73fadc88eef83dc1f9b4f1c2806 authored about 1 year ago by Niklas Haas <[email protected]>
This resulted in some confusion, with users possibly expecting
pl_options_reset(opts, NULL) to g...
Not that this really matters given that we use our own PRNG instead of
the spec-defined one, but...
See-Also: http://ffmpeg.org/pipermail/ffmpeg-devel/2023-September/314994.html
02ae650429da4aac184eae48ba2b239d98277ae1 authored about 1 year ago by Niklas Haas <[email protected]>For next release.
d322515433504dedcc3b41384d1a8089d823b4f9 authored about 1 year ago by Niklas Haas <[email protected]>35bab017a6416dd2a8feab6b2ff201557129a16a authored about 1 year ago by Niklas Haas <[email protected]>
"Nearest" is a misnomer when applied to downscaling. To resolve this
confusion, make "nearest" w...
Otherwise, the default settings would not be valid values.
02ab3c6457f64ddb77d74790afc74a5cfc628ee9 authored about 1 year ago by Niklas Haas <[email protected]>
Makes the default values more sane in the face of the ability for users
to override one, but not...
Hue shifting has worked for non-YUV colorspaces for ages.
ecb62e13b073d3dbcc23860ac91738d7dcfbac18 authored about 1 year ago by Niklas Haas <[email protected]>0427a8ac5aaf43f19f4b89e5625985a0aa9ab570 authored about 1 year ago by Niklas Haas <[email protected]>
Makes the options page a bit more readable.
895ec88f7ce9b3b3c6b81ca6441b0aa6fd9224b7 authored about 1 year ago by Niklas Haas <[email protected]>85944663820e81354b27eca843828f18711868a3 authored about 1 year ago by Niklas Haas <[email protected]>
Prevent the options documentation from exploding in size.
409a6bdfc89c676cf81f15063ee7f6bf39844d8a authored about 1 year ago by Niklas Haas <[email protected]>4cadbe71fdb8a7523fcfaccb5e6e41bb8cd95c04 authored about 1 year ago by Niklas Haas <[email protected]>