|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Encoder name and feature flags advertised by Sunshine. More...
#include <src/video.h>
Classes | |
| struct | codec_t |
| Codec capabilities for AV1, HEVC, or H.264. More... | |
| struct | option_t |
| Runtime encoder option exposed to configuration parsing. More... | |
Public Types | |
| enum | flag_e { PASSED , REF_FRAMES_RESTRICT , DYNAMIC_RANGE , YUV444 , DYNAMIC_RANGE_YUV444 , VUI_PARAMETERS , MAX_FLAGS } |
| Capability flags that describe which stream modes an encoder supports. More... | |
Public Member Functions | |
| const codec_t & | codec_from_config (const config_t &config) const |
| Select the codec descriptor requested by a stream configuration. | |
Static Public Member Functions | |
| static std::string_view | from_flag (flag_e flag) |
| Convert an encoder capability flag to its diagnostic string. | |
Public Attributes | |
| codec_t | av1 |
| AV1 codec capability and option set. | |
| uint32_t | flags |
| Encoder flags advertised to clients through GameStream capability responses. | |
| codec_t | h264 |
| H.264 codec capability and option set. | |
| codec_t | hevc |
| HEVC codec capability and option set. | |
| std::string_view | name |
| Encoder name used in logs, configuration, and capability probes. | |
| const std::unique_ptr< const encoder_platform_formats_t > | platform_formats |
| Platform-specific memory and pixel formats accepted by the encoder. | |
Encoder name and feature flags advertised by Sunshine.
Capability flags that describe which stream modes an encoder supports.
Select the codec descriptor requested by a stream configuration.
| config | Configuration values to apply. |
|
inlinestatic |
Convert an encoder capability flag to its diagnostic string.
| flag | Feature flag to name. |