Add PIX_FMT_RGBA32.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user