整理代码

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

40
video/ite/HDMIFrontend.h Normal file
View file

@ -0,0 +1,40 @@
#ifndef FEFC9D0D_1536_4204_B19D_636AC379D2CA
#define FEFC9D0D_1536_4204_B19D_636AC379D2CA
/*
*******************************************************************************
* INCLUDE
*******************************************************************************
*/
#include "../core/Frontend.h"
#include "IT66021.h"
#include <Poco/Thread.h>
#include <atomic>
namespace Video
{
namespace ITE
{
/*
*******************************************************************************
* CLASS DECLARE
*******************************************************************************
*/
class HDMIFrontend: public Core::Frontend
{
public:
HDMIFrontend(std::string device);
~HDMIFrontend();
public:
virtual void read(MediaInfo& info) override;
private:
IT66021 _it66021;
std::string _path;
Poco::Thread _pollThread;
std::atomic<bool> _pollCancelled;
IT66021::Info _hdmiInfo;
};
}
}
#endif