[vlc-commits] KVA: Add VLC_CODEC_RGB32 supports
KO Myung-Hun
git at videolan.org
Fri Mar 2 16:37:26 CET 2012
vlc/vlc-2.0 | branch: master | KO Myung-Hun <komh78 at gmail.com> | Thu Feb 2 14:03:08 2012 +0900| [f0d71e071fd0ac8b591b4f48dce2dc2abe867b0d] | committer: Jean-Baptiste Kempf
KVA: Add VLC_CODEC_RGB32 supports
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 31bec657c7f944aa1798688f10df3177c0a804d9)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=f0d71e071fd0ac8b591b4f48dce2dc2abe867b0d
---
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