Commit 9b9285bb authored by wm4's avatar wm4 Committed by Anton Khirnov

dxva: DXVA2_ModeHEVC_VLD_Main10 does not support Main

This mode apparently does not support decoding of HEVC Main (8 bit).
With D3D11 and Intel drivers on Windows 10 I get green corruption, while
using DXVA2_ModeHEVC_VLD_Main works.
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 48a5c353
...@@ -63,8 +63,7 @@ static const int prof_h264_high[] = {FF_PROFILE_H264_CONSTRAINED_BASELINE, ...@@ -63,8 +63,7 @@ static const int prof_h264_high[] = {FF_PROFILE_H264_CONSTRAINED_BASELINE,
FF_PROFILE_UNKNOWN}; FF_PROFILE_UNKNOWN};
static const int prof_hevc_main[] = {FF_PROFILE_HEVC_MAIN, static const int prof_hevc_main[] = {FF_PROFILE_HEVC_MAIN,
FF_PROFILE_UNKNOWN}; FF_PROFILE_UNKNOWN};
static const int prof_hevc_main10[] = {FF_PROFILE_HEVC_MAIN, static const int prof_hevc_main10[] = {FF_PROFILE_HEVC_MAIN_10,
FF_PROFILE_HEVC_MAIN_10,
FF_PROFILE_UNKNOWN}; FF_PROFILE_UNKNOWN};
static const dxva_mode dxva_modes[] = { static const dxva_mode dxva_modes[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment