[PATCH] VideoProcessor support needs D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT

Steve Lhomme robux4 at gmail.com
Tue Dec 17 04:51:34 CST 2019


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 <robux4 at gmail.com>
---
 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




More information about the wine-patches mailing list