Go to the source code of this file.
|
enum | BmpHeaderType {
kInfoV1_BmpHeaderType
, kInfoV2_BmpHeaderType
, kInfoV3_BmpHeaderType
, kInfoV4_BmpHeaderType
,
kInfoV5_BmpHeaderType
, kOS2V1_BmpHeaderType
, kOS2VX_BmpHeaderType
, kUnknown_BmpHeaderType
} |
|
enum | BmpCompressionMethod {
kNone_BmpCompressionMethod = 0
, k8BitRLE_BmpCompressionMethod = 1
, k4BitRLE_BmpCompressionMethod = 2
, kBitMasks_BmpCompressionMethod = 3
,
kJpeg_BmpCompressionMethod = 4
, kPng_BmpCompressionMethod = 5
, kAlphaBitMasks_BmpCompressionMethod = 6
, kCMYK_BmpCompressionMethod = 11
,
kCMYK8BitRLE_BmpCompressionMethod = 12
, kCMYK4BitRLE_BmpCompressionMethod = 13
} |
|
enum | BmpInputFormat { kStandard_BmpInputFormat
, kRLE_BmpInputFormat
, kBitMask_BmpInputFormat
, kUnknown_BmpInputFormat
} |
|
◆ BmpCompressionMethod
Enumerator |
---|
kNone_BmpCompressionMethod | |
k8BitRLE_BmpCompressionMethod | |
k4BitRLE_BmpCompressionMethod | |
kBitMasks_BmpCompressionMethod | |
kJpeg_BmpCompressionMethod | |
kPng_BmpCompressionMethod | |
kAlphaBitMasks_BmpCompressionMethod | |
kCMYK_BmpCompressionMethod | |
kCMYK8BitRLE_BmpCompressionMethod | |
kCMYK4BitRLE_BmpCompressionMethod | |
Definition at line 45 of file SkBmpCodec.cpp.
45 {
56};
@ kCMYK8BitRLE_BmpCompressionMethod
@ kAlphaBitMasks_BmpCompressionMethod
@ k8BitRLE_BmpCompressionMethod
@ k4BitRLE_BmpCompressionMethod
@ kCMYK_BmpCompressionMethod
@ kBitMasks_BmpCompressionMethod
@ kJpeg_BmpCompressionMethod
@ kNone_BmpCompressionMethod
@ kPng_BmpCompressionMethod
@ kCMYK4BitRLE_BmpCompressionMethod
◆ BmpHeaderType
Enumerator |
---|
kInfoV1_BmpHeaderType | |
kInfoV2_BmpHeaderType | |
kInfoV3_BmpHeaderType | |
kInfoV4_BmpHeaderType | |
kInfoV5_BmpHeaderType | |
kOS2V1_BmpHeaderType | |
kOS2VX_BmpHeaderType | |
kUnknown_BmpHeaderType | |
Definition at line 31 of file SkBmpCodec.cpp.
◆ BmpInputFormat
Enumerator |
---|
kStandard_BmpInputFormat | |
kRLE_BmpInputFormat | |
kBitMask_BmpInputFormat | |
kUnknown_BmpInputFormat | |
Definition at line 61 of file SkBmpCodec.cpp.
61 {
66};
@ kUnknown_BmpInputFormat
@ kBitMask_BmpInputFormat
@ kStandard_BmpInputFormat
◆ get_header_type()
Definition at line 108 of file SkBmpCodec.cpp.
108 {
110
111 switch (infoBytes) {
122 case 16:
123 case 20:
124 case 24:
125 case 28:
126 case 32:
127 case 36:
128 case 42:
129 case 46:
130 case 48:
131 case 60:
134 default:
137 }
139
141 } else {
142
143 SkCodecPrintf(
"Error: second bitmap header size is invalid.\n");
145 }
146}
static constexpr uint32_t kBmpInfoV2Bytes
static constexpr uint32_t kBmpInfoV3Bytes
static constexpr uint32_t kBmpOS2V1Bytes
static constexpr uint32_t kBmpInfoBaseBytes
static constexpr uint32_t kBmpOS2V2Bytes
static constexpr uint32_t kBmpInfoV4Bytes
static constexpr uint32_t kBmpInfoV5Bytes
static constexpr uint32_t kBmpInfoV1Bytes
#define SkCodecPrintf(...)
◆ kBmpHeaderBytes
constexpr uint32_t kBmpHeaderBytes = 14 |
|
staticconstexpr |
◆ kBmpHeaderBytesPlusFour
◆ kBmpInfoBaseBytes
constexpr uint32_t kBmpInfoBaseBytes = 16 |
|
staticconstexpr |
◆ kBmpInfoV1Bytes
constexpr uint32_t kBmpInfoV1Bytes = 40 |
|
staticconstexpr |
◆ kBmpInfoV2Bytes
constexpr uint32_t kBmpInfoV2Bytes = 52 |
|
staticconstexpr |
◆ kBmpInfoV3Bytes
constexpr uint32_t kBmpInfoV3Bytes = 56 |
|
staticconstexpr |
◆ kBmpInfoV4Bytes
constexpr uint32_t kBmpInfoV4Bytes = 108 |
|
staticconstexpr |
◆ kBmpInfoV5Bytes
constexpr uint32_t kBmpInfoV5Bytes = 124 |
|
staticconstexpr |
◆ kBmpMaskBytes
constexpr uint32_t kBmpMaskBytes = 12 |
|
staticconstexpr |
◆ kBmpOS2V1Bytes
constexpr uint32_t kBmpOS2V1Bytes = 12 |
|
staticconstexpr |
◆ kBmpOS2V2Bytes
constexpr uint32_t kBmpOS2V2Bytes = 64 |
|
staticconstexpr |