mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-10 09:31:06 +02:00
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
|
#endif
|
||||||
#if CONFIG_HEVC_D3D11VA_HWACCEL
|
#if CONFIG_HEVC_D3D11VA_HWACCEL
|
||||||
*fmt++ = AV_PIX_FMT_D3D11VA_VLD;
|
*fmt++ = AV_PIX_FMT_D3D11VA_VLD;
|
||||||
|
#endif
|
||||||
|
#if CONFIG_HEVC_VAAPI_HWACCEL
|
||||||
|
*fmt++ = AV_PIX_FMT_VAAPI;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user