hyperion.ng
DispmanxWrapper.h
1 #pragma once
2 
3 // Utils includes
4 #include <utils/ColorRgba.h>
5 #include <hyperion/GrabberWrapper.h>
6 #include <grabber/DispmanxFrameGrabber.h>
7 
13 {
14  Q_OBJECT
15 public:
23  DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz);
24 
28  virtual ~DispmanxWrapper() {};
29 
30 public slots:
34  virtual void action();
35 
36 private:
38  DispmanxFrameGrabber _grabber;
39 };
virtual ~DispmanxWrapper()
Destructor of this dispmanx frame grabber.
Definition: DispmanxWrapper.h:28
DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz)
Constructs the dispmanx frame grabber with a specified grab size and update rate. ...
Definition: DispmanxWrapper.cpp:3
The DispmanxFrameGrabber is used for creating snapshots of the display (screenshots) with a downsized...
Definition: DispmanxFrameGrabber.h:20
virtual void action()
Performs a single frame grab and computes the led-colors.
Definition: DispmanxWrapper.cpp:10
This class will be inherted by FramebufferWrapper and others which contains the real capture interfac...
Definition: GrabberWrapper.h:23
The DispmanxWrapper uses an instance of the DispmanxFrameGrabber to obtain ImageRgb&#39;s from the displa...
Definition: DispmanxWrapper.h:12