mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-26 01:59:31 +08:00
QImage::Format_RGBX8888 is added in Qt5.2
This commit is contained in:
@@ -377,7 +377,9 @@ static const struct {
|
||||
{ PIXFMT_NE(ARGB32, BGRA32), QImage::Format_ARGB32 },
|
||||
{ VideoFormat::Format_RGB32, QImage::Format_ARGB32 },
|
||||
{ VideoFormat::Format_RGB32, QImage::Format_RGB32 },
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
|
||||
{ VideoFormat::Format_RGBA32, QImage::Format_RGBA8888 }, //be 0xRRGGBBAA, le 0xAABBGGRR
|
||||
#endif
|
||||
{ VideoFormat::Format_RGB565, QImage::Format_RGB16 },
|
||||
{ VideoFormat::Format_RGB555, QImage::Format_RGB555 },
|
||||
{ VideoFormat::Format_RGB24, QImage::Format_RGB888 },
|
||||
|
||||
Reference in New Issue
Block a user