Mercurial > mplayer.hg
changeset 34556:7e3b96b760ae
Add IMGFMT_BGR32 supports
author | komh |
---|---|
date | Thu, 02 Feb 2012 02:55:02 +0000 |
parents | da67e2df97be |
children | 8ae9ca41186d |
files | libvo/vo_kva.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_kva.c Tue Jan 31 18:17:17 2012 +0000 +++ b/libvo/vo_kva.c Thu Feb 02 02:55:02 2012 +0000 @@ -184,6 +184,13 @@ 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 @@ 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)