Lines Matching refs:infoBytes
99 static BmpHeaderType get_header_type(size_t infoBytes) { in get_header_type() argument
100 if (infoBytes >= kBmpInfoBaseBytes) { in get_header_type()
102 switch (infoBytes) { in get_header_type()
129 } if (infoBytes >= kBmpOS2V1Bytes) { in get_header_type()
148 uint32_t infoBytes; in ReadHeader() local
170 infoBytes = get_int(hBuffer, 14); in ReadHeader()
171 if (infoBytes < kBmpOS2V1Bytes) { in ReadHeader()
192 infoBytes = get_int(hBuffer, 0); in ReadHeader()
193 if (infoBytes < kBmpOS2V1Bytes) { in ReadHeader()
200 const BmpHeaderType headerType = get_header_type(infoBytes); in ReadHeader()
206 const uint32_t infoBytesRemaining = infoBytes - 4; in ReadHeader()
420 const uint32_t bytesRead = kBmpHeaderBytes + infoBytes + maskBytes; in ReadHeader()