handle PIX_FMT_BGR32_1; nVidia cards prefer this format

This commit is contained in:
Glenn Maynard
2007-03-22 05:26:09 +00:00
parent b8c7ce382b
commit 0cb0394ad1
@@ -39,6 +39,19 @@ static struct AVPixelFormat_t
true,
PixelFormatYCbCr_YUYV422,
},
{
/* This format is really BGRA, and is affected by endianness, unlike PIX_FMT_RGB24
* and PIX_FMT_BGR24. */
32,
{ 0x0000FF00,
0x00FF0000,
0xFF000000,
0x000000FF },
avcodec::PIX_FMT_BGR32_1,
true,
false,
PixelFormatYCbCr_Invalid,
},
{
/* This format is really ARGB, and is affected by endianness, unlike PIX_FMT_RGB24
* and PIX_FMT_BGR24. */