Lines Matching defs:infoBytes
99 static BmpHeaderType get_header_type(size_t infoBytes) {
100 if (infoBytes >= kBmpInfoBaseBytes) {
102 switch (infoBytes) {
129 } if (infoBytes >= kBmpOS2V1Bytes) {
148 uint32_t infoBytes;
169 // read the first four infoBytes.
170 infoBytes = get_int(hBuffer, 14);
171 if (infoBytes < kBmpOS2V1Bytes) {
192 infoBytes = get_int(hBuffer, 0);
193 if (infoBytes < kBmpOS2V1Bytes) {
200 const BmpHeaderType headerType = get_header_type(infoBytes);
206 const uint32_t infoBytesRemaining = infoBytes - 4;
420 const uint32_t bytesRead = kBmpHeaderBytes + infoBytes + maskBytes;