[PATCH] VideoProcessor support needs D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT
Steve Lhomme <[email protected]> Tue, 17 Dec 2019 11:51:34 +0100
| Newsgroups | gmane.comp.emulators.wine.patches |
|---|---|
| Message-ID | <[email protected]> |
We have ID3D11VideoProcessorEnumerator::CheckVideoProcessorFormat() but not the matching values to use. https://docs.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11videoprocessorenumerator-checkvideoprocessorformat https://docs.microsoft.com/en-us/windows/win32/api/d3d11/ne-d3d11-d3d11_video_processor_format_support Signed-off-by: Steve Lhomme <[email protected]> --- include/d3d11.idl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/d3d11.idl b/include/d3d11.idl index 78b4f33467..9ecb3af091 100644 --- a/include/d3d11.idl +++ b/include/d3d11.idl @@ -3793,6 +3793,12 @@ typedef enum D3D11_CREATE_DEVICE_FLAG { D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x0800 } D3D11_CREATE_DEVICE_FLAG; +typedef enum D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT +{ + D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT = 0x0001, + D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT = 0x0002, +} D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT; + const UINT D3D11_SDK_VERSION = 7; cpp_quote("#include <d3d10_1.h>") -- 2.17.1