summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_ddagrab.c
Commit message (Collapse)AuthorAge
* all: use designated initializers for AVOption.unitAnton Khirnov2024-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Makes it robust against adding fields before it, which will be useful in following commits. Majority of the patch generated by the following Coccinelle script: @@ typedef AVOption; identifier arr_name; initializer list il; initializer list[8] il1; expression tail; @@ AVOption arr_name[] = { il, { il1, - tail + .unit = tail }, ... }; with some manual changes, as the script: * has trouble with options defined inside macros * sometimes does not handle options under an #else branch * sometimes swallows whitespace
* avfilter/ddagrab: only use acquired texture on valid updatesTimo Rothenpieler2024-02-09
|
* lavfi/vsrc_ddagrab: add an option to avoid duplicating framesAnton Khirnov2024-01-30
| | | | Tested-by: Jiří Eliášek, Misha Aizatulin
* avfilter/ddagrab: create secondary xor mouse textureTimo Rothenpieler2023-10-09
|
* avfilter/ddagrab: actually use provided texture pointerTimo Rothenpieler2023-10-09
|
* all: Use av_frame_replace() where appropriateAndreas Rheinhardt2023-09-10
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* configure: Set WIN32_LEAN_AND_MEAN at configure timeL. E. Segovia2023-08-14
| | | | | | | | | | | | | Including winsock2.h or windows.h without WIN32_LEAN_AND_MEAN cause bzlib.h to parse as nonsense, due to an instance of #define char small in rpcndr.h. See: https://stackoverflow.com/a/27794577 Signed-off-by: L. E. Segovia <amy@amyspark.me> Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter: Remove unnecessary formats.h inclusionsAndreas Rheinhardt2023-08-07
| | | | | | | | | | | | | A filter needs formats.h iff it uses FILTER_QUERY_FUNC(); since lots of filters have been switched to use something else than FILTER_QUERY_FUNC, they don't need it any more, but removing this header has been forgotten. This commit does this; files with formats.h inclusion went down from 304 to 139 here (it were 449 before the preceding commit). While just at it, also improve the other headers a bit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vsrc_ddagrab: calculate pointer position on rotated screensTimo Rothenpieler2023-07-15
|
* avfilter/vsrc_ddagrab: account for mouse-only frames during probingTimo Rothenpieler2023-07-15
|
* lavfi: add a flag for filters able to work with hw_device_ctxAnton Khirnov2023-03-24
| | | | | This way the caller can set it just on the filters that can make use of it.
* avfilter/vsrc_ddagrab: add options for more control over output format fallbackTimo Rothenpieler2022-08-13
|
* avfilter/vsrc_ddagrab: add rgbaf16 output supportTimo Rothenpieler2022-08-13
|
* avfilter/vsrc_ddagrab: set sRGB color information on output framesTimo Rothenpieler2022-08-06
| | | | | | According to MSDN, all integer pixel formats contains sRGB compliant pixel data, so set the color information on our output frames accordingly.
* avfilter/vsrc_ddagrab: make output format user configurableTimo Rothenpieler2022-08-06
|
* avfilter/vsrc_ddagrab: move most of init to config_propsTimo Rothenpieler2022-08-05
| | | | Most notably, the input hw_device_ctx is not set at init time, so using it was impossible.
* avfilter/vsrc_ddagrab: fix mouse cursor render initTimo Rothenpieler2022-08-05
|
* avfilter/vsrc_ddagrab: check for existence of DPI_AWARENESS_CONTEXTTimo Rothenpieler2022-07-19
| | | | | | Apparently some (broken?) Windows SDK versions define IDXGIOutput5 but not DPI_AWARENESS_CONTEXT. So we need to explicitly check for its existence.
* avfilter/vsrc_ddagrab: dynamically load SetThreadDpiAwarenessContextTimo Rothenpieler2022-07-19
| | | | | It's a Windows 10 only function, and its presence alone prevents the binary from loading on older Windows versions.
* avfilter: add vsrc_ddagrabTimo Rothenpieler2022-07-18