mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/hevc: Add YUV420P10 to vaapi hardware decode - permits hardware decoding of HEVC Main 10 on AMD RX 480
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
449dc25f56
commit
fb37da37ac
|
@ -369,6 +369,9 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps, enum AVPixelFormat pix_fm
|
|||
#endif
|
||||
#if CONFIG_HEVC_D3D11VA_HWACCEL
|
||||
*fmt++ = AV_PIX_FMT_D3D11VA_VLD;
|
||||
#endif
|
||||
#if CONFIG_HEVC_VAAPI_HWACCEL
|
||||
*fmt++ = AV_PIX_FMT_VAAPI;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue