MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / EndpointFormat

Class EndpointFormat

OpenHD/ohd_video/src/camera_discovery.cpp:292–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292struct EndpointFormat {
293 // pixel format as string, never empty
294 std::string format;
295 int width;
296 int height;
297 int fps;
298 std::string debug() const {
299 return fmt::format("{}|{}x{}@{}", format, width, height, fps);
300 }
301};
302struct EndpointFormats {
303 // These are the 3 (already encoded) formats openhd understands
304 std::vector<EndpointFormat> formats_h264;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected