Windows: Add a DDA grabber for much better performance (#1745)

* Add a DXDI DDA grabber

* Change all names to camel case

* Handle cropping and pixel decimation

* Try more persistently to restart capture after an error occurred.

These can happen when changing resolution, or resuming from sleep.
This commit is contained in:
David Sansome
2024-05-30 21:39:46 +10:00
committed by GitHub
parent c0ddca3c5b
commit 8c303c8b9c
16 changed files with 535 additions and 9 deletions

View File

@@ -592,6 +592,10 @@ QJsonArray JsonInfo::discoverScreenInputs(const QJsonObject& params) const
discoverGrabber<DirectXGrabber>(screenInputs, params);
#endif
#ifdef ENABLE_DDA
discoverGrabber<DDAGrabber>(screenInputs, params);
#endif
#ifdef ENABLE_X11
discoverGrabber<X11Grabber>(screenInputs, params);
#endif