summaryrefslogtreecommitdiffstats
path: root/video/decode/d3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/d3d.h')
-rw-r--r--video/decode/d3d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/decode/d3d.h b/video/decode/d3d.h
index 15c423ab8c..16a8dc0258 100644
--- a/video/decode/d3d.h
+++ b/video/decode/d3d.h
@@ -19,6 +19,9 @@
#define MPV_DECODE_D3D_H
#include <windows.h>
+#include <d3d11.h>
+
+#include <stdbool.h>
#include <inttypes.h>
struct mp_image;
@@ -62,4 +65,6 @@ BOOL is_clearvideo(const GUID *mode_guid);
void copy_nv12(struct mp_image *dest, uint8_t *src_bits,
unsigned src_pitch, unsigned surf_height);
+bool d3d11_check_decoding(ID3D11Device *dev);
+
#endif