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

Classes

struct  codec_t
 
struct  option_t
 

Public Types

enum  flag_e {
  PASSED , REF_FRAMES_RESTRICT , DYNAMIC_RANGE , YUV444 ,
  VUI_PARAMETERS , MAX_FLAGS
}
 

Public Member Functions

const codec_tcodec_from_config (const config_t &config) const
 

Static Public Member Functions

static std::string_view from_flag (flag_e flag)
 

Public Attributes

struct video::encoder_t::codec_t av1
 
uint32_t flags
 
struct video::encoder_t::codec_t h264
 
struct video::encoder_t::codec_t hevc
 
std::string_view name
 
const std::unique_ptr< const encoder_platform_formats_tplatform_formats
 

Member Enumeration Documentation

◆ flag_e

Enumerator
PASSED 

Indicates the encoder is supported.

REF_FRAMES_RESTRICT 

Set maximum reference frames.

DYNAMIC_RANGE 

HDR support.

YUV444 

YUV 4:4:4 support.

VUI_PARAMETERS 

AMD encoder with VAAPI doesn't add VUI parameters to SPS.

MAX_FLAGS 

Maximum number of flags.


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