|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Base interface for hardware or software frame conversion. More...
#include <src/platform/common.h>
Public Member Functions | |
| virtual int | convert (platf::img_t &img)=0 |
| Convert a captured image into the encoder input representation. | |
Public Attributes | |
| video::sunshine_colorspace_t | colorspace |
| Colorspace metadata expected by the encoder. | |
Base interface for hardware or software frame conversion.
|
pure virtual |
Convert a captured image into the encoder input representation.
| img | Image or frame object to read from or populate. |
Implemented in cuda::cuda_ram_t, cuda::cuda_vram_t, cuda::gl_cuda_vram_t, platf::avcodec_encode_device_t, platf::dxgi::d3d_avcodec_encode_device_t, platf::dxgi::d3d_nvenc_encode_device_t, platf::nv12_zero_device, va::va_ram_t, va::va_vram_t, video::avcodec_software_encode_device_t, and vk::vk_vram_t.