#ifndef C9FA4497_8D5C_418E_9024_63D07C7F6E95 #define C9FA4497_8D5C_418E_9024_63D07C7F6E95 /* ******************************************************************************* * INCLUDE ******************************************************************************* */ #include "util/Device.h" namespace Video { namespace ITE { /* ******************************************************************************* * CLASS DECLARE ******************************************************************************* */ class IT66021: public Util::Device { public: struct Info { bool have_video; uint32_t hactive; uint32_t vactive; uint32_t htotal; uint32_t vtotal; uint64_t pclk; uint32_t hfront_porch; uint32_t hsync_width; uint32_t hback_porch; uint32_t vfront_porch; uint32_t vsync_width; uint32_t vback_porch; uint32_t scanmode; uint32_t vpolarity; uint32_t hpolarity; uint32_t frame_rate; bool have_audio; uint32_t sample_rate; }; public: IT66021(std::string device = "/dev/it66021"); void readInfo(Info& info); }; } } #endif