整理代码

This commit is contained in:
蒲爽 2026-09-28 21:33:04 +08:00
commit c7b4e178ec
364 changed files with 59691 additions and 0 deletions

51
video/ite/IT66021.h Normal file
View file

@ -0,0 +1,51 @@
#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