MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / pixelFormatFromString

Function pixelFormatFromString

App/UserSettings.cpp:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 CaptureSettings::PixelFormat pixelFormatFromString(const std::string& value) {
67 if (value == "yuv420p") {
68 return CaptureSettings::PixelFormat::Yuv420p;
69 }
70 return CaptureSettings::PixelFormat::Yuv444p;
71 }
72
73 const char* speedColorModeToString(RenderData::SpeedColorMode mode) {
74 switch (mode) {

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected