]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dxva2.h
DirectDraw Surface image decoder
[ffmpeg] / libavcodec / dxva2.h
index c06f1f333271e6f9ceb39611e46f2093fce7df8e..d9017c6b8db59306ef5cf7915e08b2dc4d634203 100644 (file)
  * Public libavcodec DXVA2 header.
  */
 
-#include <stdint.h>
+#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0600
+#endif
 
+#include <stdint.h>
 #include <d3d9.h>
 #include <dxva2api.h>
 
@@ -42,6 +46,7 @@
  */
 
 #define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards
+#define FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO    2 ///< Work around for DXVA2 and old Intel GPUs with ClearVideo interface
 
 /**
  * This structure is used to provides the necessary configurations and data