mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
19 lines
454 B
C++
19 lines
454 B
C++
#include <grabber/directx/DirectXWrapper.h>
|
|
|
|
DirectXWrapper::DirectXWrapper( int updateRate_Hz,
|
|
int display,
|
|
int pixelDecimation,
|
|
int cropLeft, int cropRight, int cropTop, int cropBottom
|
|
)
|
|
: GrabberWrapper("DirectX", &_grabber, updateRate_Hz)
|
|
, _grabber(display, cropLeft, cropRight, cropTop, cropBottom)
|
|
|
|
{
|
|
_grabber.setPixelDecimation(pixelDecimation);
|
|
}
|
|
|
|
void DirectXWrapper::action()
|
|
{
|
|
transferFrame(_grabber);
|
|
}
|