[vlc-devel] [PATCH 08/12] KVA: Add VLC_CODEC_RGB32 supports

KO Myung-Hun komh78 at gmail.com
Fri Mar 2 15:57:58 CET 2012


From: KO Myung-Hun <komh78 at gmail.com>

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 31bec657c7f944aa1798688f10df3177c0a804d9)

Signed-off-by: KO Myung-Hun <komh at chollian.net>
---
 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;
-- 
1.7.3.2




More information about the vlc-devel mailing list