40 lines
1,010 B
C++
40 lines
1,010 B
C++
#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
|