summaryrefslogtreecommitdiff
path: root/libavcodec/dxva2.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2014-03-04 08:28:39 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-07 00:33:34 +0100
commit8b2a130d3fe61e348092714dffa425b63c4d796c (patch)
tree0e20426485c8808f7fafa22150b457ac4be68129 /libavcodec/dxva2.h
parent276839b8de7ff836a529bbd6221f615a343b23e1 (diff)
downloadffmpeg-8b2a130d3fe61e348092714dffa425b63c4d796c.tar.gz
dxva2_h264: add a workaround for old intel GPUs
Old Intel GPUs expect the reference frame index to the actual surface, instead of the index into RefFrameList as specified by the spec. This workaround should be set when using one of the "ClearVideo" decoder devices. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dxva2.h')
-rw-r--r--libavcodec/dxva2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h
index ac39e06917..2639d89d90 100644
--- a/libavcodec/dxva2.h
+++ b/libavcodec/dxva2.h
@@ -49,6 +49,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