- Jan 29, 2024
-
-
Niklas Haas authored
Fixes: a5e70102
-
Niklas Haas authored
Fixes: a5e70102
-
David Rosca authored
Fixes mapping Vulkan P010 frames. Closes #237
-
sfan5 authored
Fixes: https://github.com/haasn/libplacebo/issues/234
-
sfan5 authored
These are part of GLES 3.0, there is no extension for them.
-
- Jan 26, 2024
-
-
Leo Izen authored
This patch prevents a segmentation fault that occurs when size_base is not a multiple of max_transfer. If size_base is larger than the max_transfer value but is not a multiple of it, the last iteration of the loop will transfer too much. It needs to transfer how much is remaining of size_base. Note that the PL_MIN behaves identically when size_base is less than max_transfer, because xfer will never be nonzero in that scenario. Signed-off-by:
Leo Izen <leo.izen@gmail.com>
-
- Jan 10, 2024
-
-
Fixes mapping frames with padding (eg. 1080p ~ 1088).
-
-
- Dec 04, 2023
-
-
Niklas Haas authored
Not the correct solution, but an improvement on the status quo. See-Also: videolan/libplacebo#319
-
- Nov 30, 2023
-
-
Kacper Michajłow authored
No need to include xxhash dependency in .pc, it is fully inlined.
-
- Nov 22, 2023
-
-
Kacper Michajłow authored
-
Kacper Michajłow authored
-
- Nov 18, 2023
-
-
Niklas Haas authored
By comparing signature before and after loading.
-
Niklas Haas authored
This is technically redundant with pl_cache_iterate() and simply performing the XOR yourself, but much more efficient and convenient.
-
Niklas Haas authored
Small keys break some statistical assumptions inside the cache layer.
-
- Nov 17, 2023
-
-
Bonnie authored
-
- Nov 13, 2023
-
-
- Nov 12, 2023
-
-
Niklas Haas authored
This was accidentally included once per sample, as a result of the anti-ringing code. See-Also: https://github.com/haasn/libplacebo/issues/217
-
Niklas Haas authored
$id@c can collide with another identifier that has larger $id, add extra _ to avoid collision. Fixes: https://github.com/haasn/libplacebo/issues/217
-
- Nov 06, 2023
-
-
Dudemanguy authored
pl_icc_update needs to be called every frame, so if libplacebo is compiled without lcms support, this leads to spam. There's no need to warn more than once so just keep track of it in a bool.
-
- Nov 05, 2023
-
-
Niklas Haas authored
These should have gone through a deprecation period, since they are a public API. Fixes: dcd5b75b Fixes: vlc#28417
-
- Nov 03, 2023
-
-
Dudemanguy authored
At least for mpv, if we have a playlist of images, fail opening the ICC of one image, go forward and then back to the image with the ICC failure, it'll hit this assertion failure. Not so nice. If there's no ICC information, it just does nothing so display the image as usual.
-
- Oct 31, 2023
-
-
Niklas Haas authored
By default, allows for correcting drift/jitter of up to 1 ms per frame, in line with expected jitter from e.g. Matroska sources. This is enough to cover the mismatch between 23.976 Hz and 24.000 Hz, but not the mismatch between 24 and 25 Hz (which is just over 1ms per frame). There are two use cases in which this code will be useful: 1. Displaying 23.976 Hz video files on e.g. 60.000 Hz monitor (or any other near-miss), in display-timed mode. Given the usual 3:2 cadence, after five vsyncs (three source frames), we will have: Vsync (wallclock) PTS = 83.33333333333334 Frame PTS = 83.41675008341676 This is a difference of 0.1ms, and will therefore be fixed by this code, adjusting all future wallclock PTS up by the cumulative drift (0.1ms). 2. Displaying any video with some amount of jitter on the PTS measurements. This avoids some situation where we have frames with weights 0.999 and 0.001 for example. Normally this should get rounded away by the frame mixing code anyway, but it's better to have an exact match.
-
- Oct 30, 2023
-
-
Zhao Zhili authored
-
- Oct 29, 2023
-
-
Asd-g authored
-
This will never be used uninitialized, guarded by use_dbghelp, but GCC analysis is too shallow and fails to see that.
-
Niklas Haas authored
What does it even mean? You can share a vulkan device just fine..
-
- Oct 22, 2023
-
-
m154k1 authored
Testing an element's truth value will raise an exception in future versions.
-
Niklas Haas authored
-
Niklas Haas authored
Prevent log spam.
-
- Oct 21, 2023
-
-
Niklas Haas authored
Sanity. Don't advertise support for SSBOs/UBOs/etc. if basic buffer support is not available.
-
Niklas Haas authored
Avoids triggering assertions added by 3bd1c970. This is not a very elegant solution, by the way. Actually, it would be better to query the maximum buffer size specifically for use as UBOs etc, e.g. by allocating a test buffer and querying the driver for its allowed memory types, then looking at only those memory types.
-
- Oct 19, 2023
-
-
Niklas Haas authored
-
Niklas Haas authored
Makes this actually check the relevant requirements.
-
Niklas Haas authored
This is an insane case to work around, because no GPU backend enables emulated format without the corresponding buffer support. I'd rather pl_assert() it than return it as an error to the caller. (Note that we already hit the slice_w assertion in this case)
-
Niklas Haas authored
OpenGL has emulated texture formats that don't need texel storage buffer emulation, so support this case also. Note that this change does not actually do anything yet, but I plan on re-using this helper in the (near) future.
-
Niklas Haas authored
We only need to use the max SSBO sizee for emulated transfers. Otherwise, max_buf_size is sufficient.
-
Niklas Haas authored
-
Niklas Haas authored
This helper was failing to account for the pixel stride alignment requirements.
-
- Oct 17, 2023
-
-
Niklas Haas authored
This accidentally sharpened the frame mixer when the source fps was below monitor fps.
-