2014-02-07 21:11:50 +01:00
|
|
|
#include <grabber/DispmanxWrapper.h>
|
2013-08-17 16:12:42 +02:00
|
|
|
|
2016-08-11 07:13:55 +02:00
|
|
|
DispmanxWrapper::DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz, const int priority)
|
2017-08-12 07:55:32 +02:00
|
|
|
: GrabberWrapper("Dispmanx", &_grabber, grabWidth, grabHeight, updateRate_Hz, priority, hyperion::COMP_GRABBER)
|
|
|
|
, _grabber(grabWidth, grabHeight)
|
2013-08-13 11:10:45 +02:00
|
|
|
{
|
2017-08-12 07:55:32 +02:00
|
|
|
setImageProcessorEnabled(false);
|
2013-08-13 11:10:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void DispmanxWrapper::action()
|
|
|
|
{
|
2017-08-12 07:55:32 +02:00
|
|
|
transferFrame(_grabber);
|
2016-05-18 11:26:25 +02:00
|
|
|
}
|