Sunshine latest
Self-hosted game stream host for Moonlight.
video::encoder_platform_formats_avcodec Struct Reference
Inheritance diagram for video::encoder_platform_formats_avcodec:
[legend]
Collaboration diagram for video::encoder_platform_formats_avcodec:
[legend]

Public Types

using init_buffer_function_t = std::function<util::Either<avcodec_buffer_t, int>(platf::avcodec_encode_device_t *)>
 

Public Member Functions

 encoder_platform_formats_avcodec (const AVHWDeviceType &avcodec_base_dev_type, const AVHWDeviceType &avcodec_derived_dev_type, const AVPixelFormat &avcodec_dev_pix_fmt, const AVPixelFormat &avcodec_pix_fmt_8bit, const AVPixelFormat &avcodec_pix_fmt_10bit, const AVPixelFormat &avcodec_pix_fmt_yuv444_8bit, const AVPixelFormat &avcodec_pix_fmt_yuv444_10bit, const init_buffer_function_t &init_avcodec_hardware_input_buffer_function)
 

Public Attributes

AVHWDeviceType avcodec_base_dev_type
 
AVHWDeviceType avcodec_derived_dev_type
 
AVPixelFormat avcodec_dev_pix_fmt
 
AVPixelFormat avcodec_pix_fmt_10bit
 
AVPixelFormat avcodec_pix_fmt_8bit
 
AVPixelFormat avcodec_pix_fmt_yuv444_10bit
 
AVPixelFormat avcodec_pix_fmt_yuv444_8bit
 
init_buffer_function_t init_avcodec_hardware_input_buffer
 
- Public Attributes inherited from video::encoder_platform_formats_t
platf::mem_type_e dev_type
 
platf::pix_fmt_e pix_fmt_10bit
 
platf::pix_fmt_e pix_fmt_8bit
 
platf::pix_fmt_e pix_fmt_yuv444_10bit
 
platf::pix_fmt_e pix_fmt_yuv444_8bit
 

The documentation for this struct was generated from the following file: