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
This `if` would never succeed. No idea what it was doing there.
a307eae12c7d4a6adf37848433ece8f4c19cee59 authored almost 2 years ago by Niklas Haas <[email protected]>
"Ignoring" makes it sound like we're ignoring the profile, which we're
not.
5b01068653cddfd51d37418884be0c47af795f9b authored almost 2 years ago by Niklas Haas <[email protected]>
No idea why it wasn't here before.
2359dc538cb91a3212a8ea63182f53ccbc9ec9d3 authored almost 2 years ago by Niklas Haas <[email protected]>
To avoid spam in src/tests directory. Meson doesn't allow to output to
subdirectory from configu...
Build them as static library, all we want is to test if headers would
compile. To avoid linking ...
This is not GLES2, but any GLES context (we require GLES3...)
83593520d132811f1ba544374da64fa1acd6361a authored almost 2 years ago by Niklas Haas <[email protected]>Implied by our minimum version requirements
5a8c9dd9d571d67b2ef7380ca478b57e1650e492 authored almost 2 years ago by Niklas Haas <[email protected]>Removes large swathes of backwards compatibility code
e2fd6fd2d3c87773c658b1f3da2b778d94520469 authored almost 2 years ago by Niklas Haas <[email protected]>Only used for back-compat with older GLSL
a9c6614c2c2326b09ffd5384eb7f74a6be4dd9ac authored almost 2 years ago by Niklas Haas <[email protected]>Only used for back-compat with GLSL pre-130
0b79d97488c8923c0b60c0c4af9de68eb135ac46 authored almost 2 years ago by Niklas Haas <[email protected]>5d38ad8029546ca3679244b33114928a57628b51 authored almost 2 years ago by Niklas Haas <[email protected]>
And also add a variety of checks to ensure this is the case.
This allows us to delete large, la...
173afc91cc4de5adfa93d6047338d9f86c73734b authored almost 2 years ago by Niklas Haas <[email protected]>5da025adf2d2ee8e4f76c43898d678227e5984f5 authored almost 2 years ago by Niklas Haas <[email protected]>
No reason to prefer this distro over others, they all have packages.
a98e6dc836b5206f81929bc790165254be1f7b7d authored almost 2 years ago by Niklas Haas <[email protected]>
Keep the platform- or vendor-specific checks, as well as the check for
the beta extensions.
No longer needed now that we depend on 1.3
0d97b03323377e08c401e6d7539255e2cf27b6f3 authored almost 2 years ago by Niklas Haas <[email protected]>80c8fa1aed270a98adf759e2c491429986746944 authored almost 2 years ago by Niklas Haas <[email protected]>
bb71b44e7cfcb175247b2e3cd68914bfbf218d87 authored almost 2 years ago by Niklas Haas <[email protected]>
acd5e44afe33e44490babcba4d37304d8556291d authored almost 2 years ago by Niklas Haas <[email protected]>
bc0fcb9689c282cd631fc37d1b6a67715cfd5fa0 authored almost 2 years ago by Niklas Haas <[email protected]>
8ae0648b459d8215bde7772501d5cba17e28bf53 authored almost 2 years ago by Niklas Haas <[email protected]>
This got incorrectly printed even if `dither_params` was NULL, in which
case no dithering was pe...
fb5548c739e308b148be363af8baddf2efb86a40 authored almost 2 years ago by Kacper Michajłow <[email protected]>
Requested by users.
Closes: https://github.com/mpv-player/mpv/issues/11433
7b0e73a6a4bea520bd21c44a01c7d38bb5d16bbf authored almost 2 years ago by Niklas Haas <[email protected]>Some integrators may need this for IP reasons.
3bdfb692ec4ba732f6791b1330bf96df7a1c99fb authored almost 2 years ago by rcombs <[email protected]>VK_VERSION_1_2 is the minimum header dependency
420985346c2884ff5c8a1d5d02317d8773181516 authored almost 2 years ago by Niklas Haas <[email protected]>Closes: https://github.com/mpv-player/mpv/issues/11433
a6e5078a61d89ab3bbdf68ce711f4810412c31ff authored almost 2 years ago by Niklas Haas <[email protected]>
We attached this to vkCreateInstance but never enabled the actual
instance extension it's tied t...
For completeness' sake.
3beb86c6f7978ef050533fd00d1745e76304bfbe authored almost 2 years ago by Niklas Haas <[email protected]>
This requires synchronizing against VK_ACCESS_COLOR_ATTACHMENT_READ in
addition to _WRITE. Caugh...
No longer required in vulkan header ver 1.2, which is our minimum header
dependency.
ICC profile was not saved in cached_frame struct which caused mismatch
on each frame making fram...
d1a6349078048b3fbb756f5db1eb7fdf6c74c3c4 authored almost 2 years ago by Niklas Haas <[email protected]>
For PL_TONE_MAP_HYBRID, it's debatable whether or not we should count
RGB-clipped regions as "cl...
Clamping the input *RGB* values to the input *luminance* is an obvious
no-no. I'm not sure what ...
As pointed out by d5b6bb5cd6, `dst_max` can dynamically vary based on
the input brightness.
We only use this to refine the measured peak value, to filter out
outlier pixels that are much b...
8fb1b5972c870237e337509b79a39f4267f3ab79 authored almost 2 years ago by Kacper Michajłow <[email protected]>
clock_gettime() was added in macOS 10.12, and the default warnings require a __builtin_available...
296c801819f7109f9a50dc719f829b6af9c4cb21 authored almost 2 years ago by rcombs <[email protected]>
This factor was accidentally off by an order of magnitude. It was also
too high, as a result of ...
Prevents a high smoothing period from masking changes to these
parameters.
This was accidentally ignored by the peak detection rewrite.
Fixes: https://github.com/haasn/li...
e43bb79dfd043a6c85fb806dde290f9340aae260 authored almost 2 years ago by Niklas Haas <[email protected]>This reverts commit f61d10941402a47a334e690465809d554a7758e6.
This commit caused significant is...
7d685eb2e938279f749fc05a24f996e9b1941cf0 authored almost 2 years ago by Niklas Haas <[email protected]>
After the change in alpha handling as a result of splitting up
pass_output_target, we broke a fe...
Affords users some control over where to play the tone-mapping
visualization. This is not an exa...
In pl_color_space_infer. This is used in several places to ensure
correctness of metadata.
Allo...
04b961261569d50c7fc1fde9093b190a8a1b569a authored almost 2 years ago by Niklas Haas <[email protected]>Fixes: https://github.com/haasn/libplacebo/issues/160
0ca2f5c245566ed5e23374f910166c3159dac035 authored almost 2 years ago by Niklas Haas <[email protected]>0fbda592a800770740c5dcc3fc6b9aad3d062a63 authored almost 2 years ago by Niklas Haas <[email protected]>
It was requested to allow e.g. ignoring DoVi metadata in favor of HDR10+
metadata when tone-mapp...
Instead of HDR10+ fields, which are semantically distinct.
fc5ad50f09b82b2f92ee5a5d9e193002bbd7dc9e authored almost 2 years ago by Niklas Haas <[email protected]>Left over.
f003a3d3f49deca3982c46b401b29c81fd56bf0d authored almost 2 years ago by Niklas Haas <[email protected]>
Even if allow_delayed is true, because as of the peak detection refactor
it no longer allows ski...
Expand the list of peak detection skip conditions to include "HDR10+
dynamic metadata already pr...
e6f9d59a83e70fbb02b19ecebd2905638f5e09b8 authored almost 2 years ago by Niklas Haas <[email protected]>
Useful for debugging purposes.
116b416687c898a0be73dd56bc07281d0512bcce authored almost 2 years ago by Niklas Haas <[email protected]>
Provide better error message. Also check for GLSL version before
attempting to enable compute.
18316815be40858f6e79756e811117383e848d0d authored almost 2 years ago by Niklas Haas <[email protected]>
Does not require an API break because tone_mapping.h already included
colorspace.h.
I've decided that these (luma-based) values, which come from e.g. DV
(and soon, our own peak det...
Use this instead of hard-coding `pl_hdr_metadata.scene_avg` when
determing the source input aver...
Decided to split this off from a larger commit in order to make the
history more readable, at th...
This is not a straightforward 1:1 translation, because we want to take
care not to use dynamic m...
Essentially switches from PL_HDR_METADATA_HDR10PLUS to
PL_HDR_METADATA_CIE_Y. The latter is more...
This more flexible version of pl_color_space_nominal_luma allows users
to configure the output s...
cd6385220aefe2dd9addf3af3eaa490eb2e20a05 authored almost 2 years ago by Niklas Haas <[email protected]>
When we don't anticipate a high render load (i.e. only mixing a single
frame, such as a still im...
Solves several issues:
1. Avoids re-running tone mapping shader when nothing about MT params ch...
8f64b3d10d6906bdd66a9fd71aef1b087d05c569 authored almost 2 years ago by Niklas Haas <[email protected]>
It is not used almost anywhere and duplicates pl_assert for the most
part.
83db52ae0bc2b5960809e788f02dc941ce7dc92b authored almost 2 years ago by Kacper Michajłow <[email protected]>
1a99e806be26038985be0638bbc80c0db1a00796 authored almost 2 years ago by Kacper Michajłow <[email protected]>
tv_nsec is long
44adbc54fc6641fe98b702624820f79b6f9b9c56 authored almost 2 years ago by Kacper Michajłow <[email protected]>c242b1d7321123ea190b7e250d9a14b8607f1d25 authored almost 2 years ago by Kacper Michajłow <[email protected]>
1cb65071874fd446625d2563a62dde83f0d50f19 authored almost 2 years ago by Kacper Michajłow <[email protected]>
To make it separate from common.h and safe to use in C++ files.
73085dd9b19e37638dea89a6e914225d28863c25 authored almost 2 years ago by Kacper Michajłow <[email protected]>Fixes crashes caused by symbol shadowing.
980f2574aa0f1ab8323f8063d09821babb08c63b authored almost 2 years ago by Kacper Michajłow <[email protected]>1030d61d2af85a00ea334deeffa392d6165f6896 authored almost 2 years ago by Kacper Michajłow <[email protected]>
To not depend on common.h which make it safe to include form C++.
ac084c55cbdf02fc72cda1fc826b47311a5428fe authored almost 2 years ago by Kacper Michajłow <[email protected]>
This allows us to move to LocalSizeId execution mode from using the
Workgroup built-in which SPI...
79e5a397c54b4b1e16051cef09f508d422a8ccf0 authored almost 2 years ago by Kacper Michajłow <[email protected]>
If dst_max > src_max, it is clamped and can dynamically change. Avoid
shader recompilations in t...
161f0b96139bb07649d8a79009cc608ff6f6360a authored almost 2 years ago by Niklas Haas <[email protected]>
This is essentially a driver bug, but one we shouldn't pester users
about.
Fixes: https://code....
806b081c2a4c9200185e4e088ec72e6199e1d693 authored almost 2 years ago by Niklas Haas <[email protected]>
The rewrite to peak detection made this logic happen on PQ, when it was
clearly intended to be c...
Since the significant refactors to the metadata-dependent tone-mapping,
sudden changes in the pe...
During the rewrite of the peak detection shader, we unintentionally
switched to doing averaging,...
There are many scenes even at lower brightness where the default
LUMA-based tone-mapping method ...
This reverts commit ac01feb4793d948aab4a9cf88b84776e2d66056c.
This change gave worse results in...
5ffddc07fb5c1992b05f22166b4a70a7d70582ff authored almost 2 years ago by Niklas Haas <[email protected]>This reverts commit 94d8293164cfc1ea0af310a5974bec024d314559.
This functionality was removed in...
4f28d5a74ef91b784af02017cf8043c86b157569 authored almost 2 years ago by Niklas Haas <[email protected]>
Remove is_file_hdr as it doesn't always work, when the file is not
tagged.
pl_color_space_from_avframe doesn't map dovi metadata and we already
have the pl_frame at head, ...
Possibly interesting to keep track of what slabs were left lying around
at program end.
Use this for rreporting malloc errors, as well as keeping track of what
GPU objects slabs get us...
No reason to printf this to stderr when we have a proper logging system
and all that. Also, add ...
A previous fix accidentally removed the branch where the peak detection
buffer gets destroyed up...
Replaces pl_get_detected_peak by an extensible API which will be capable
of outputting any field...
Since it can now be made to affect whether `pl_shader_detect_peak` ->
`pl_shader_get_detected_pe...
As a result of the significant refactors to the peak detection logic,
it's now possible for us t...
Rather than always hard-coding this for BPC. The reasoning here is that
many tone-mapping functi...
Instead of using linear BPC for inverse tone-mapping functions without
map_inverse, simply const...