Replies: 1 comment 1 reply
-
Hi,
If you aren't doing tone-mapping with dynamic peak detection, there is no GPU->CPU sync inside libplacebo, so it should be as low-latency as the hardware is capable of (*). In particular, the Vulkan interop API is based around the use of Vulkan semaphores, which can avoid host-side synchronization altogether. It's not exactly clear to me what your requirements are; so I'm not sure if libplacebo is "overkill". But at the very least, the functionality is there if you need it (e.g. if you decide later on that you actually want to output in YUV format, or convert colorspaces, or apply an ICC profile or 3DLUT). (*) Excluding zero-copy scan-out paths, which libplacebo does not implement. (They are out-of-scope) |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to render a pipewire stream, on the same host (never leaves the device), through vulkan, with as little overhead as possible. I was hoping to keep it simple and not re-invent the wheel, and in my investigation I stumbled across this library. I'm wondering if it's overkill to use this since:
Can I achieve the above using this, or am I better off writing my own lightweight vulkan renderer (or is there some other library that's better suited)?
Beta Was this translation helpful? Give feedback.
All reactions