MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / parse_resolution_string

Function parse_resolution_string

src/display_device.cpp:193–220  ·  view source on GitHub ↗

* @brief Parse resolution value from the string. * @param input String to be parsed. * @param output Reference to output variable to fill in. * @returns True on successful parsing (empty string allowed), false otherwise. * * @examples * std::optional resolution; * if (parse_resolution_string("1920x1080", resolution)) { * if (resolution) {

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

parse_resolution_optionFunction · 0.85
parse_remapping_entryFunction · 0.85

Calls 2

stouFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected