DirectX9 Grabber (#1039)

This commit is contained in:
Paulchen Panther
2020-10-26 21:13:13 +01:00
committed by GitHub
parent 65a036dfc0
commit 1d35338b83
15 changed files with 474 additions and 16 deletions

View 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);
}