mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
12 lines
395 B
C++
12 lines
395 B
C++
|
#include <grabber/DirectXWrapper.h>
|
||
|
|
||
|
DirectXWrapper::DirectXWrapper(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, int display, const unsigned updateRate_Hz)
|
||
|
: GrabberWrapper("DirectX", &_grabber, 0, 0, updateRate_Hz)
|
||
|
, _grabber(cropLeft, cropRight, cropTop, cropBottom, pixelDecimation, display)
|
||
|
{}
|
||
|
|
||
|
void DirectXWrapper::action()
|
||
|
{
|
||
|
transferFrame(_grabber);
|
||
|
}
|