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
I forgot why I originally added such harsh limits on the clamp, but
after the recent refactors t...
Also mark those functions deprecated
2b3079a4bcc5856cca18f1391d60706b5f6176e9 authored almost 2 years agoFixes #255
04769b5e8aaaa80a99f6a17a9432921098572c00 authored almost 2 years agoaa584199b1a45bcc31e99f8112f1ac3f9d6779f1 authored almost 2 years ago
ad098144bbcc62ae7d97a3d3a7939ac03ddc4933 authored almost 2 years ago
2dea081ce7bed545a2dfd9fe02b145753751a9a8 authored almost 2 years ago
Further iterates on the previous `spline` slope tuning changes in order
to force the slope to be...
3a6fa5405242d0f819bef16c6dd8fea828837f0f authored almost 2 years ago
Instead of the current logic, pick a slope with a tunable contrast
(steepness), designed to meet...
Avoid hard-coding constant brightness altogether, and instead treat the
knee point as a relative...
e26eb836b64136167fdd379bda88655f014aa4ef authored almost 2 years ago
In the luna-based tone-mapping modes, we should also tune this constant
to hit 0.0f as dst_max -...
Avoids sudden discontinuity as a result of tone-mapping modes when
jumping between frames that r...
2836ded2254c400e7fb7b93435c588474947c828 authored almost 2 years ago
9e95b1ab07dccbd541aac1fcaabc7c3cbd538110 authored almost 2 years ago
I didn't test it enough after changes apparently...
13f15c034144414db980bdcaa54b5dccbd5a2563 authored almost 2 years agoMark values as "Auto" and show one from swapchain if available.
Controls are visible only if ta...
290fd563bc7e430afd7e572d1f62e0915cb25c2a authored almost 2 years ago
It was impossible to change "zero" value which is 1e-7 and calculated
step was very small.
`pl_color_space_nominal_luma` resets `min_luma` to 0 for PQ output. Even
though our HDR override...
Removes the support for the custom peak detection object, and instead
merely displays the averag...
Do this logic in PQ space instead of raw nits, to make it more tunable
and perceptually accurate...
Scraps the old 2D LUT design by a naive approach which simply updates
the detected HDR metadata ...
The default BPC is good enough for overlays, no need to generate a full
LUT here. Inverse tone-m...
When only scene brightness metadata is available, pick the new spline
instead of HDR10+.
Insteaed of using a hard-coded knee point with slope 1, infer the knee
point from brightness met...
f828c43b292edb4bdb70a998fdadc04b2f6965fd authored almost 2 years ago
Mostly for debugging purposes to see how slow display reacts to metadata
changes.
This allow `vk_sw_recreate(sw, 0, 0)` to correctly recreate swapchain
when needed with previous ...
cd722badf52468c8b339c0cb9064d855088272ad authored almost 2 years ago
84af94e257ab9f3681a7bc2c7310656210a6bc25 authored almost 2 years ago
Replace the "Auto" label by a more informative label than "unknown" if
the colorspace informatio...
It makes no sense to re-return HDR metadata that we never signalled to
the display, so strip it ...
Instead of these complicated bools and structs that get updated from
different places at diferen...
Due to a multitude of problems and corner cases, I became very unhappy
with the way this field w...
Until we support signalling this to the display, we need to whitelist
here to prevent returning ...
Instead of just blindly taking the PL_MAX3() of this array. This should
serve to hopefully fix a...
A smarter man would probably disable testing older GLSL versions on
llvmpipe.
As these can change due to dynamic metadata etc.
d9a1482dbf6f0e82080298dbc820e4eb5cd80e3d authored almost 2 years agoParallels to SH_FLOAT for stuff we expect to be dynamic.
a03e9228d0220e5e9ea2353e55982a3449b33b64 authored almost 2 years ago
Using 0.5 here is ambiguous as it falls exactly in between 0x7F and
0x80. This test was effectiv...
This was never actually tested before now.
7727af762f7daf8fed293600d7d02f58dc27c48b authored almost 2 years ago
Formats arguments directly from memory. Useful for wrapping printf-style
calls into a pl_str_bui...
Instead of building a pl_str directly. This opens up the opportunity to
avoid having to template...
Not much exciting happening in this commit, since it doesn't actually
save any work yet. That wi...
Will replace `pl_str` inside `pl_shader`, with the ultimate goal of
making shader construction m...
When re-using existing shaders, we now ignore the string builders, and
defer execution to the ca...
And also condense the logic slightly by coalescing these calls into a
common base case for most ...
To avoid overhead of adding a bunch of redundant \0 terminators in cases
when we want to frequen...
To fix warnings during vf_libplacebo build
1127fafcbef06d3789c75468cc6e53e5dc4bd6b8 authored almost 2 years agoIt is not used anywhere else.
e28337a1fe65ab715fc0df19aa3e77ec95060e09 authored almost 2 years ago56498fbe578d1e492b87426c0612fc7d261ea86d authored almost 2 years ago
Puts compound literals data into read only section. No need to bloat
.data.
Inside MinGW env things from within this env should be preferred to
avoid issues with mixing dif...
9c3f8ccd42fea682b3fbd0f2765288ba510bdb33 authored almost 2 years ago
The current code called `pl_gpu_destroy`, which implieed `vk_wait_idle`,
*before* printing the m...
Unused in the current version of vulkan/command.c
6267d56c6b4ee1beb5cafeb55485fb241e379c8f authored almost 2 years agoMissed by 615ae1b639524f8835d3ff2c95e9e25bc7c35400.
Following the convention set by pl_gpu, we ...
6dd8725bee15a525314fcedfe1caabf8b91809dc authored almost 2 years ago
As the reshaping is not done, setting the brightness metadata causes
issues as the image still h...
Prevents the cache from growing infinitely large when users keep opening
and re-saving the same ...
This is definitely useful for creating bug reports, so maybe its removal
was premature.
With the introduction of the mandatory dependency on timeline
semaphores, we can actually stop k...
In preparation for allowing us to re-use these semaphores to handle all
object synchronization.
Hopefully the new semaphores will fix the llvmpipe regression.
b8de54ddf03e5ec42fcd333043ba1e6ca7db6944 authored almost 2 years agoWithout 3D textures and pretty limited 2D size, LUTs don't fit.
2ee71bc32cb880a5be01a142f80fb9483d5bbdd5 authored almost 2 years ago78b1cf902cd9ae20c70444a0e305335d46216142 authored almost 2 years ago
8fbd336f4969efaa54562b694e63eaf1cb648de9 authored almost 2 years ago
Actually we can sample from integer textures. This fixes AV1 grain
synthesis on d3d11 where inte...
To catch more incorrect substitutions errors.
4e9596835bf04410028d583480820d21b0da4ad1 authored almost 2 years agof87cde095b70debc97c82de047c7f10f71301c7c authored almost 2 years ago
This fixes error check when LUT fails to create. Do not try to format
NULL as a string.
Dynamic LUTs are logged only in PL_LOG_TRACE after 3dd50923.
788e6bfdbb5f3a57c8fb150a519cbe28aefa46ef authored almost 2 years agoFixes 32-bit build
8206a0bab12dcc7bf88d1cfe9b1f1a1ed9cc9d59 authored almost 2 years agoCurrent default is to do various funky types of UB.
2f48906f9cb3cae10c5c000a5d3a2a246c08e368 authored almost 2 years ago1ede8595957227df850ad99efb32a77a61910ef9 authored almost 2 years ago
This version of the headers adds support for the vulkansc API, which
pulls in a bunch of definit...
When the RPU is available, we can infer the brightness metadata for now.
fe8b830926a009c6688e7c2a0e47a4cddd21222b authored almost 2 years ago
So that we can use simple Dolby Vision RPU buffers to infer whatever
metadata that can be useful...
cb62007c83dbf315f456b01329b5d393d0ad0ea8 authored almost 2 years ago
As a helper for adding DOVI metadata to a `pl_frame`.
958a9395f591760422d1a4cd940485573624d2a8 authored almost 2 years ago05430610a389a619e11683e63fbafd8cd170c51a authored almost 2 years ago
This allows disabling hooks more selectively instead disabling all as a
bulk.
9b707d2ea1f91ac016ff02e7dc2a42d57347004a authored almost 2 years ago
This provides feedback about renderer state.
0115d7c17c1bbdfb68338544da61b669245df2b6 authored almost 2 years ago8c00fd1d11703805a5f1ec7146e1d7817dae3870 authored almost 2 years ago
Compositor may resize window if it doesn't like our requested values.
For example if it is bigge...
3c32b8c4e17dd903e701ff0e60c6de28efa3eb35 authored almost 2 years ago
40562638ace04195f2fff9639a533dbd0c7e5519 authored almost 2 years ago
This makes it work nicer with color speace hint and dynamic metadata.
- Always show nominal min...
6791ceb5c1d4f2951a18f521616b251677427bb0 authored almost 2 years ago10b23faea4775858b3751ce20d7caadcdbc20b8c authored almost 2 years ago
a44d91d6acba7d88b93cd675515d004b49158ed9 authored almost 2 years ago
Cosmetic change to make symbol name more descriptive in binary.
69c601cff25e2a74f15cdb93e4a4d172ceaec4c3 authored almost 2 years agoab214d6815efc9b5f9ec85da6c23861065e18e2d authored almost 2 years ago
Fixes: 790e3c78d3a0a4d98226e0f37af89dcea634fa34
2c946e6808651d2b389826bcca6163a1e55fc0c8 authored almost 2 years agoac47b8322f653422e280de65ed6b55244b08bd97 authored almost 2 years ago
d661bf0c8451aaaed753083d62a1ffb28dfbf2e3 authored almost 2 years ago
A LUT marked dynamic is *expected* to change frequently, no need to nag
PL_LOG_DEBUG about it. D...
Inside vk_buf_barrier, we also need to make host-writes available, even
for coherent memory, and...
This needs to be properly defined as well even after removal of the
pragma before global include...
Mostly for stylistic reasons, and to avoid drowning in global header
includes as libplacebo grow...
Allows us to avoid having to include every header file here.
82023b9e9d683499329b2d5c502eafaf5f6c8ef2 authored almost 2 years ago