| 290 | } |
| 291 | |
| 292 | struct 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 | }; |
| 302 | struct EndpointFormats { |
| 303 | // These are the 3 (already encoded) formats openhd understands |
| 304 | std::vector<EndpointFormat> formats_h264; |
nothing calls this directly
no outgoing calls
no test coverage detected