2015-01-18 00:04:45 +01:00
|
|
|
#include <grabber/FramebufferWrapper.h>
|
|
|
|
|
2017-03-04 22:17:42 +01:00
|
|
|
FramebufferWrapper::FramebufferWrapper(const QString & device, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz, const int priority)
|
2017-08-12 07:55:32 +02:00
|
|
|
: GrabberWrapper("FrameBuffer", &_grabber, grabWidth, grabHeight, updateRate_Hz, priority, hyperion::COMP_GRABBER)
|
|
|
|
, _grabber(device, grabWidth, grabHeight)
|
|
|
|
{}
|
2015-01-18 00:04:45 +01:00
|
|
|
|
|
|
|
void FramebufferWrapper::action()
|
|
|
|
{
|
2017-08-12 07:55:32 +02:00
|
|
|
transferFrame(_grabber);
|
2015-01-18 00:04:45 +01:00
|
|
|
}
|