[vlc-commits] contrib:d3d11: VideoProcessor support needs D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT

Steve Lhomme git at videolan.org
Thu Mar 3 18:15:12 CET 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Mar  3 09:11:35 2016 +0100| [c0d6c69e35cff5811f35e3389865b485e8f94bd6] | committer: Jean-Baptiste Kempf

contrib:d3d11: VideoProcessor support needs D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0d6c69e35cff5811f35e3389865b485e8f94bd6
---

 contrib/src/d3d11/processor_format.patch |   15 +++++++++++++++
 contrib/src/d3d11/rules.mak              |    1 +
 2 files changed, 16 insertions(+)

diff --git a/contrib/src/d3d11/processor_format.patch b/contrib/src/d3d11/processor_format.patch
new file mode 100644
index 0000000..04f98b2
--- /dev/null
+++ b/contrib/src/d3d11/processor_format.patch
@@ -0,0 +1,15 @@
+--- a/d3d11.idl	2016-02-26 09:21:48.019575300 +0100
++++ b/d3d11.idl	2016-02-26 10:41:58.461027900 +0100
+@@ -3199,6 +3199,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 = 0x00000001,
++    D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT = 0x00000002,
++} D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT;
++
+ const UINT D3D11_SDK_VERSION = 7;
+ 
+ cpp_quote("#include <d3d10_1.h>")
diff --git a/contrib/src/d3d11/rules.mak b/contrib/src/d3d11/rules.mak
index 5627013..1cc1a46 100644
--- a/contrib/src/d3d11/rules.mak
+++ b/contrib/src/d3d11/rules.mak
@@ -26,6 +26,7 @@ $(TARBALLS)/dxgidebug.idl:
 .sum-d3d11: $(TARBALLS)/d3d11.idl $(TARBALLS)/dxgidebug.idl
 
 $(DST_D3D11_H): $(TARBALLS)/d3d11.idl .sum-d3d11
+	(cd $(TARBALLS) && patch -fp1) < $(SRC)/d3d11/processor_format.patch
 	mkdir -p -- "$(PREFIX)/include/"
 	$(WIDL) -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
 



More information about the vlc-commits mailing list