![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "private/qbmphandler_p.h"#include <qimage.h>#include <qlist.h>#include <qvariant.h>#include <algorithm>Go to the source code of this file.
Functions | |
| static QT_BEGIN_NAMESPACE void | swapPixel01 (QImage *imageimage) |
| static QDataStream & | operator>> (QDataStream &ss, BMP_FILEHDR &bf) |
| static QDataStream & | operator<< (QDataStream &ss, const BMP_FILEHDR &bf) |
| static QDataStream & | operator>> (QDataStream &ss, BMP_INFOHDR &bi) |
| static QDataStream & | operator<< (QDataStream &ss, const BMP_INFOHDR &bi) |
| static uint | calc_shift (uint maskmask) |
| static uint | calc_scale (uint low_mask) |
| static uint | apply_scale (uint valuevalue, uint scalescale) |
| static bool | read_dib_fileheader (QDataStream &ss, BMP_FILEHDR &bf) |
| static bool | read_dib_infoheader (QDataStream &ss, BMP_INFOHDR &bi) |
| static bool | read_dib_body (QDataStream &ss, const BMP_INFOHDR &bi, qint64 datapos, qint64 startpos, QImage &imageimage) |
| bool | qt_write_dib (QDataStream &ss, const QImage &imageimage, int bpl, int bpl_bmp, int nbits) |
Variables | |
| const int | BMP_FILEHDR_SIZE = 14 |
| const int | BMP_OLD = 12 |
| const int | BMP_WIN = 40 |
| const int | BMP_OS2 = 64 |
| const int | BMP_WIN4 = 108 |
| const int | BMP_WIN5 = 124 |
| const int | BMP_RGB = 0 |
| const int | BMP_RLE8 = 1 |
| const int | BMP_RLE4 = 2 |
| const int | BMP_BITFIELDS = 3 |
| const int | BMP_ALPHABITFIELDS = 4 |
Definition at line 161 of file qbmphandler.cpp.
Referenced by read_dib_body().
Definition at line 151 of file qbmphandler.cpp.
Referenced by read_dib_body().
Definition at line 141 of file qbmphandler.cpp.
Referenced by read_dib_body().
|
static |
Definition at line 56 of file qbmphandler.cpp.
|
static |
Definition at line 108 of file qbmphandler.cpp.
|
static |
Definition at line 49 of file qbmphandler.cpp.
|
static |
| bool qt_write_dib | ( | QDataStream & | s, |
| const QImage & | image, | ||
| int | bpl, | ||
| int | bpl_bmp, | ||
| int | nbits ) |
Definition at line 604 of file qbmphandler.cpp.
|
static |
Definition at line 211 of file qbmphandler.cpp.
References apply_scale(), BMP_ALPHABITFIELDS, BMP_BITFIELDS, BMP_OLD, BMP_RGB, BMP_RLE4, BMP_RLE8, BMP_WIN4, calc_scale(), calc_shift(), and swapPixel01().
|
static |
Definition at line 177 of file qbmphandler.cpp.
|
static |
Definition at line 190 of file qbmphandler.cpp.
References BMP_BITFIELDS, BMP_RGB, BMP_RLE4, and BMP_RLE8.
|
static |
Definition at line 17 of file qbmphandler.cpp.
Referenced by read_dib_body().
| const int BMP_ALPHABITFIELDS = 4 |
Definition at line 74 of file qbmphandler.cpp.
Referenced by read_dib_body().
| const int BMP_BITFIELDS = 3 |
Definition at line 73 of file qbmphandler.cpp.
Referenced by read_dib_body(), and read_dib_infoheader().
| const int BMP_FILEHDR_SIZE = 14 |
Definition at line 47 of file qbmphandler.cpp.
| const int BMP_OLD = 12 |
Definition at line 64 of file qbmphandler.cpp.
Referenced by read_dib_body().
| const int BMP_OS2 = 64 |
Definition at line 66 of file qbmphandler.cpp.
Referenced by operator>>().
| const int BMP_RGB = 0 |
Definition at line 70 of file qbmphandler.cpp.
Referenced by operator>>(), qt_write_dib(), read_dib_body(), and read_dib_infoheader().
| const int BMP_RLE4 = 2 |
Definition at line 72 of file qbmphandler.cpp.
Referenced by read_dib_body(), and read_dib_infoheader().
| const int BMP_RLE8 = 1 |
Definition at line 71 of file qbmphandler.cpp.
Referenced by read_dib_body(), and read_dib_infoheader().
| const int BMP_WIN = 40 |
Definition at line 65 of file qbmphandler.cpp.
Referenced by operator>>(), and qt_write_dib().
| const int BMP_WIN4 = 108 |
Definition at line 67 of file qbmphandler.cpp.
Referenced by operator<<(), operator>>(), and read_dib_body().
| const int BMP_WIN5 = 124 |
Definition at line 68 of file qbmphandler.cpp.
Referenced by operator<<(), and operator>>().