Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
config::video_t Struct Reference

Video encoder, capture, and color settings loaded from configuration. More...

#include <src/config.h>

Collaboration diagram for config::video_t:

Classes

struct  [struct].amd
struct  [struct].nv_legacy
struct  [struct].qsv
struct  [struct].sw
struct  [struct].vaapi
struct  [struct].vk
struct  [struct].vt
struct  dd_t
 Display-device integration settings. More...

Public Attributes

std::string adapter_name
 Display adapter name selected in configuration.
struct  amd
 AMD AMF encoder options.
int av1_mode
 AV1 support mode advertised to clients.
std::string capture
 Capture backend name selected by configuration.
dd_t dd
 Display-device integration settings.
std::string encoder
 Encoder backend name selected by configuration.
bool fp16_sdr_gamma_encoded
 Treat FP16 captures of SDR displays as already sRGB gamma-encoded (Windows).
int hevc_mode
 HEVC support mode advertised to clients.
int max_bitrate
 Maximum bitrate ceiling in kbps for bitrate requested from the client.
int min_threads
 Minimum number of threads or slices for CPU encoding.
double minimum_fps_target
 Lowest framerate that will be used when streaming. Range 0-1000, 0 = half of client's requested framerate.
nvenc::nvenc_config nv
 NVIDIA NVENC encoder settings.
struct  nv_legacy
 Legacy NVIDIA encoder options kept for config compatibility.
bool nv_opengl_vulkan_on_dxgi
 Prefer NVIDIA OpenGL/Vulkan-on-DXGI interop.
bool nv_realtime_hags
 Enable the NVIDIA realtime HAGS workaround.
bool nv_sunshine_high_power_mode
 Request NVIDIA high-power mode for Sunshine.
std::string output_name
 Display output name selected in configuration.
int qp
 Quantization parameter used by encoders where higher values trade quality for compression.
struct  qsv
 Intel Quick Sync encoder options.
struct  sw
 Software encoder options.
struct  vaapi
 VA-API encoder options.
struct  vk
 Vulkan encoder options.
struct  vt
 VideoToolbox encoder options.

Detailed Description

Video encoder, capture, and color settings loaded from configuration.


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