Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
video::encoder_t Struct Reference
Collaboration diagram for video::encoder_t:
[legend]

Classes

struct  option_t
struct  codec_t

Public Types

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

Public Member Functions

const codec_t & codec_from_config (const config_t &config) const

Static Public Member Functions

static std::string_view from_flag (flag_e flag)

Public Attributes

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

Detailed Description

Definition at line 147 of file video.h.

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.

Definition at line 150 of file video.h.

Member Function Documentation

◆ codec_from_config()

const codec_t & video::encoder_t::codec_from_config ( const config_t & config) const
inline

Definition at line 211 of file video.h.

◆ from_flag()

std::string_view video::encoder_t::from_flag ( flag_e flag)
inlinestatic

Definition at line 159 of file video.h.

Member Data Documentation

◆ flags

uint32_t video::encoder_t::flags

Definition at line 229 of file video.h.

◆ name

std::string_view video::encoder_t::name

Definition at line 148 of file video.h.

◆ platform_formats

const std::unique_ptr<const encoder_platform_formats_t> video::encoder_t::platform_formats

Definition at line 189 of file video.h.


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