|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Video encoder, capture, and color settings loaded from configuration. More...
#include <src/config.h>
Classes | |
| struct | dd_t |
| Display-device integration settings. More... | |
Public Attributes | ||
| std::string | adapter_name | |
| Display adapter name selected in configuration. | ||
| struct { | ||
| int amd_coder | ||
| std::optional< int > amd_enforce_hrd | ||
| std::optional< int > amd_preanalysis | ||
| std::optional< int > amd_quality_av1 | ||
| std::optional< int > amd_quality_h264 | ||
| std::optional< int > amd_quality_hevc | ||
| std::optional< int > amd_rc_av1 | ||
| std::optional< int > amd_rc_h264 | ||
| std::optional< int > amd_rc_hevc | ||
| std::optional< int > amd_usage_av1 | ||
| std::optional< int > amd_usage_h264 | ||
| std::optional< int > amd_usage_hevc | ||
| std::optional< int > amd_vbaq | ||
| } | amd | |
| AMD AMF encoder options. | ||
| int | av1_mode | |
| AV1 support mode advertised to clients. | ||
| std::string | capture | |
| Capture backend name selected by configuration. | ||
| struct config::video_t::dd_t | dd | |
| Display-device integration settings. | ||
| std::string | encoder | |
| Encoder backend name selected by configuration. | ||
| 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 { | ||
| int aq | ||
| int h264_coder | ||
| int multipass | ||
| int preset | ||
| int vbv_percentage_increase | ||
| } | 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 { | ||
| std::optional< int > qsv_cavlc | ||
| std::optional< int > qsv_preset | ||
| bool qsv_slow_hevc | ||
| } | qsv | |
| Intel Quick Sync encoder options. | ||
| struct { | ||
| std::optional< int > svtav1_preset | ||
| std::string sw_preset | ||
| std::string sw_tune | ||
| } | sw | |
| Software encoder options. | ||
| struct { | ||
| bool strict_rc_buffer | ||
| } | vaapi | |
| VA-API encoder options. | ||
| struct { | ||
| int rc_mode | ||
| int tune | ||
| } | vk | |
| Vulkan encoder options. | ||
| struct { | ||
| int vt_allow_sw | ||
| int vt_coder | ||
| int vt_realtime | ||
| int vt_require_sw | ||
| } | vt | |
| VideoToolbox encoder options. | ||
Video encoder, capture, and color settings loaded from configuration.