diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-14 18:19:50 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-14 18:19:50 +0000 |
commit | 0dabe9f877a88be9e66786aa0b59100a0e8d9f0f (patch) | |
tree | c2f695a255b78673126ce115793fd192d1b797f6 /vidix/savage_vid.c | |
parent | 068f218e67f10028c2eb72e22fa9c48a1c8468b0 (diff) |
bgr24 and bgr32 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25396 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/savage_vid.c')
-rw-r--r-- | vidix/savage_vid.c | 7 |
1 files changed, 6 insertions, 1 deletions
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; |