mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 11:55:42 +00:00
bgr24 and bgr32 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25396 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
068f218e67
commit
0dabe9f877
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user