mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Moved ImageToLedsMap from include to libsrc. Moved instantiation of objects to Hyperion (no JSON required outside this class).
33 lines
415 B
C++
33 lines
415 B
C++
#pragma once
|
|
|
|
// QT includes
|
|
#include <QObject>
|
|
#include <QTimer>
|
|
|
|
// Forward class declaration
|
|
class ImageProcessor;
|
|
class DispmanxFrameGrabber;
|
|
|
|
class DispmanxWrapper: public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
DispmanxWrapper();
|
|
|
|
virtual ~DispmanxWrapper();
|
|
|
|
public slots:
|
|
void start();
|
|
|
|
void action();
|
|
|
|
void stop();
|
|
|
|
private:
|
|
QTimer _timer;
|
|
|
|
DispmanxFrameGrabber* _frameGrabber;
|
|
ImageProcessor* _processor;
|
|
};
|
|
|