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

Function v4l2_capability_to_string

OpenHD/ohd_video/src/camera_discovery.cpp:278–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278static std::string v4l2_capability_to_string(const v4l2_capability caps) {
279 return fmt::format("driver:{},bus_info:{}", (const char *)caps.driver,
280 (const char *)caps.bus_info);
281}
282
283static std::optional<v4l2_capability> get_capabilities(
284 std::unique_ptr<openhd::v4l2::V4l2FPHolder> &v4l2_fp_holder) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected