[vlc-commits] dxgi_fmt: move the manufacturer IDs in dxgi_fmt.h

Steve Lhomme git at videolan.org
Mon Dec 4 00:09:03 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Dec  1 09:55:10 2017 +0100| [9aadaa056ca72e2add3eb2b004c448e07db8289a] | committer: Jean-Baptiste Kempf

dxgi_fmt: move the manufacturer IDs in dxgi_fmt.h

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_chroma/d3d11_fmt.h | 7 -------
 modules/video_chroma/dxgi_fmt.h  | 7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/video_chroma/d3d11_fmt.h b/modules/video_chroma/d3d11_fmt.h
index 663cc99203..68d02b9fe5 100644
--- a/modules/video_chroma/d3d11_fmt.h
+++ b/modules/video_chroma/d3d11_fmt.h
@@ -97,13 +97,6 @@ int D3D11_Create(vlc_object_t *, d3d11_handle_t *);
 
 void D3D11_Destroy(d3d11_handle_t *);
 
-#define GPU_MANUFACTURER_AMD           0x1002
-#define GPU_MANUFACTURER_NVIDIA        0x10DE
-#define GPU_MANUFACTURER_VIA           0x1106
-#define GPU_MANUFACTURER_INTEL         0x8086
-#define GPU_MANUFACTURER_S3            0x5333
-#define GPU_MANUFACTURER_QUALCOMM  0x4D4F4351
-
 /* see https://msdn.microsoft.com/windows/hardware/commercialize/design/compatibility/device-graphics */
 struct wdmm_version
 {
diff --git a/modules/video_chroma/dxgi_fmt.h b/modules/video_chroma/dxgi_fmt.h
index 4961cd4a08..71dd65cdf2 100644
--- a/modules/video_chroma/dxgi_fmt.h
+++ b/modules/video_chroma/dxgi_fmt.h
@@ -29,6 +29,13 @@
 #include <vlc_common.h>
 #include <vlc_fourcc.h>
 
+#define GPU_MANUFACTURER_AMD           0x1002
+#define GPU_MANUFACTURER_NVIDIA        0x10DE
+#define GPU_MANUFACTURER_VIA           0x1106
+#define GPU_MANUFACTURER_INTEL         0x8086
+#define GPU_MANUFACTURER_S3            0x5333
+#define GPU_MANUFACTURER_QUALCOMM  0x4D4F4351
+
 #define D3D11_MAX_SHADER_VIEW  3
 
 typedef struct



More information about the vlc-commits mailing list