mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
17 lines
315 B
C++
17 lines
315 B
C++
#include <grabber/osx/OsxWrapper.h>
|
|
|
|
OsxWrapper::OsxWrapper( int updateRate_Hz,
|
|
int display,
|
|
int pixelDecimation
|
|
)
|
|
: GrabberWrapper("OSX", &_grabber, updateRate_Hz)
|
|
, _grabber(display)
|
|
{
|
|
_grabber.setPixelDecimation(pixelDecimation);
|
|
}
|
|
|
|
void OsxWrapper::action()
|
|
{
|
|
transferFrame(_grabber);
|
|
}
|