|
Hermes 0.7.0
Linux game streaming host
|
GPU conversion for the experimental PyroWave codec. More...
Go to the source code of this file.
GPU conversion for the experimental PyroWave codec.
PyroWave reads its input straight from GPU images, so a captured DMA-BUF can reach the encoder without a trip through system memory. The conversion from the captured RGB to YCbCr is the same OpenGL pass the VAAPI path uses; what differs is the target. Here it is a pair of GBM buffers - luma, and the two chroma planes interleaved at half resolution - that the encoder's Vulkan device imports once and samples every frame.
Definition in file pyrowave.h.