[vlc-commits] KVA: Add VLC_CODEC_RGB32 supports
KO Myung-Hun
git at videolan.org
Thu Feb 2 15:00:41 CET 2012
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Thu Feb 2 14:03:08 2012 +0900| [31bec657c7f944aa1798688f10df3177c0a804d9] | committer: Jean-Baptiste Kempf
KVA: Add VLC_CODEC_RGB32 supports
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=31bec657c7f944aa1798688f10df3177c0a804d9
---
modules/video_output/kva.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c
index 1f6be5f..3aaaf05 100644
--- a/modules/video_output/kva.c
+++ b/modules/video_output/kva.c
@@ -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;
More information about the vlc-commits
mailing list