hyperion.ng/libsrc/grabber/framebuffer/FramebufferWrapper.cpp
2020-08-08 13:09:15 +02:00

12 lines
362 B
C++

#include <grabber/FramebufferWrapper.h>
FramebufferWrapper::FramebufferWrapper(const QString & device, unsigned grabWidth, unsigned grabHeight, unsigned updateRate_Hz)
: GrabberWrapper("FrameBuffer", &_grabber, grabWidth, grabHeight, updateRate_Hz)
, _grabber(device, grabWidth, grabHeight)
{}
void FramebufferWrapper::action()
{
transferFrame(_grabber);
}