34 bool is_preferred_video_mode(
const VIDEO_MODE &candidateVideoMode,
const VIDEO_MODE ¤tBestVideoMode);
42 VIDEO_MODE choose_best_video_mode(
const std::vector<VIDEO_MODE> &availableVideoModes);
54 std::vector<VIDEO_MODE> stream_resolution_presets(
int bpp = 32,
int refresh = 60);
67 std::vector<VIDEO_MODE> filter_stream_video_modes_for_encoder_settings(
const std::vector<VIDEO_MODE> &availableVideoModes,
unsigned long encoderSettings);
77 VIDEO_MODE choose_default_stream_video_mode(
const VIDEO_MODE &outputVideoMode);
86 VIDEO_MODE choose_default_stream_video_mode(
const std::vector<VIDEO_MODE> &availableVideoModes,
const VIDEO_MODE &outputVideoMode);
95 VideoModeSelection select_best_video_mode(
int bpp = 32,
int refresh = REFRESH_DEFAULT);
103 std::vector<std::string> format_video_mode_lines(
const VideoModeSelection &selection);
110 void log_video_modes(
const VideoModeSelection &selection);
Represents the set of available video modes and the chosen best mode.
Definition video_mode.h:19
std::vector< VIDEO_MODE > availableVideoModes
Detected video modes supported by the platform.
Definition video_mode.h:20
VIDEO_MODE bestVideoMode
Best candidate selected from the detected modes.
Definition video_mode.h:21