Commit f0d71e07 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

KVA: Add VLC_CODEC_RGB32 supports

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 31bec657c7f944aa1798688f10df3177c0a804d9)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2dcf4b20
......@@ -573,6 +573,12 @@ static int OpenDisplay( vout_display_t *vd, video_format_t *fmt )
i_chroma_shift = 2;
break;
case VLC_CODEC_RGB32:
b_hw_accel = sys->kvac.ulInputFormatFlags & KVAF_BGR32;
i_kva_fourcc = FOURCC_BGR4;
i_chroma_shift = 0;
break;
case VLC_CODEC_RGB24:
b_hw_accel = sys->kvac.ulInputFormatFlags & KVAF_BGR24;
i_kva_fourcc = FOURCC_BGR3;
......
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