#ifndef D1EA41B1_FDDE_44D4_BDD5_2BA3EEBAC3B5 #define D1EA41B1_FDDE_44D4_BDD5_2BA3EEBAC3B5 /* ******************************************************************************* * INCLUDE ******************************************************************************* */ #include "Capture.h" namespace Video { namespace V4L2 { /* ******************************************************************************* * CLASS DECLARE ******************************************************************************* */ struct InputFormat { struct Resolution { uint32_t width; uint32_t height; uint32_t fps; }; using Collection = std::list; uint32_t pixelFormat; std::string description; std::list resolutions; public: static void enumerate(const std::string& deviceName, Collection& c); }; } } #endif