From 0dabe9f877a88be9e66786aa0b59100a0e8d9f0f Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 14 Dec 2007 18:19:50 +0000 Subject: [PATCH] bgr24 and bgr32 support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25396 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/savage_vid.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vidix/savage_vid.c b/vidix/savage_vid.c index 00a49a47fe..48837e34f0 100644 --- a/vidix/savage_vid.c +++ b/vidix/savage_vid.c @@ -287,6 +287,10 @@ unsigned int GetBlendForFourCC( int id ) return 3; case IMGFMT_BGR16: return 5; + case IMGFMT_BGR24: + return 6; + case IMGFMT_BGR32: + return 7; default: return 1; } @@ -1057,7 +1061,8 @@ is_supported_fourcc (uint32_t fourcc) case IMGFMT_Y211: case IMGFMT_RGB15: case IMGFMT_RGB16: -// case IMGFMT_BGR32: + case IMGFMT_BGR24: + case IMGFMT_BGR32: return 1; default: return 0;