mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
DirectX9 Grabber (#1039)
This commit is contained in:
11
libsrc/grabber/directx/DirectXWrapper.cpp
Normal file
11
libsrc/grabber/directx/DirectXWrapper.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#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);
|
||||
}
|
Reference in New Issue
Block a user