Add PIX_FMT_RGBA32.

This commit is contained in:
Glenn Maynard
2003-09-03 04:25:07 +00:00
parent 6c2b2291d4
commit 09cfe7f3b8
@@ -30,6 +30,18 @@ struct AVPixelFormat_t
bool HighColor;
bool ByteSwapOnLittleEndian;
} AVPixelFormats[] = {
{
/* This format is really ARGB, and is affected by endianness, unlike PIX_FMT_RGB24
* and PIX_FMT_BGR24. */
32,
{ 0x00FF0000,
0x0000FF00,
0x000000FF,
0xFF000000 },
avcodec::PIX_FMT_RGBA32,
true,
false
},
{
24,
{ 0xFF0000,