[MPlayer-cvslog] r34644 - trunk/libvo/vo_kva.c
komh
subversion at mplayerhq.hu
Thu Feb 2 03:55:02 CET 2012
Author: komh
Date: Thu Feb 2 03:55:02 2012
New Revision: 34644
Log:
Add IMGFMT_BGR32 supports
Modified:
trunk/libvo/vo_kva.c
Modified: trunk/libvo/vo_kva.c
==============================================================================
--- trunk/libvo/vo_kva.c Tue Jan 31 19:17:17 2012 (r34643)
+++ trunk/libvo/vo_kva.c Thu Feb 2 03:55:02 2012 (r34644)
@@ -184,6 +184,13 @@ static int query_format_info(int format,
nChromaShift = 2;
break;
+ case IMGFMT_BGR32:
+ fHWAccel = m_int.kvac.ulInputFormatFlags & KVAF_BGR32;
+ fcc = FOURCC_BGR4;
+ bpp = 3;
+ nChromaShift = 0;
+ break;
+
case IMGFMT_BGR24:
fHWAccel = m_int.kvac.ulInputFormatFlags & KVAF_BGR24;
fcc = FOURCC_BGR3;
@@ -701,6 +708,8 @@ static int config(uint32_t width, uint32
dstFormat = IMGFMT_YUY2;
else if (m_int.kvac.ulInputFormatFlags & KVAF_YVU9)
dstFormat = IMGFMT_YVU9;
+ else if (m_int.kvac.ulInputFormatFlags & KVAF_BGR32)
+ dstFormat = IMGFMT_BGR32;
else if (m_int.kvac.ulInputFormatFlags & KVAF_BGR24)
dstFormat = IMGFMT_BGR24;
else if (m_int.kvac.ulInputFormatFlags & KVAF_BGR16)
More information about the MPlayer-cvslog
mailing list