diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2014-04-22 15:22:51 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-04-28 20:21:59 +0200 |
commit | ed4b757177f9b563412cdbc8ee3405d82e10fc05 (patch) | |
tree | b6a6cec91ba2837a7f1faa90565087305e510f51 /libavcodec/dxva2.h | |
parent | 2fcef90bee98bffeff1d95b7197738f50c450d86 (diff) | |
download | ffmpeg-ed4b757177f9b563412cdbc8ee3405d82e10fc05.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: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/dxva2.h')
-rw-r--r-- | libavcodec/dxva2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h index d161eb9f5e..78939be961 100644 --- a/libavcodec/dxva2.h +++ b/libavcodec/dxva2.h @@ -42,6 +42,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 |