mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
12 lines
380 B
C++
12 lines
380 B
C++
#include <grabber/FramebufferWrapper.h>
|
|
|
|
FramebufferWrapper::FramebufferWrapper(const QString & device, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz)
|
|
: GrabberWrapper("FrameBuffer", &_grabber, grabWidth, grabHeight, updateRate_Hz)
|
|
, _grabber(device, grabWidth, grabHeight)
|
|
{}
|
|
|
|
void FramebufferWrapper::action()
|
|
{
|
|
transferFrame(_grabber);
|
|
}
|