| 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) { |