Home
last modified time | relevance | path

Searched refs:infoBytes (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/codec/
DSkBmpCodec.cpp96 static BmpHeaderType get_header_type(size_t infoBytes) { in get_header_type() argument
97 if (infoBytes >= kBmpInfoBaseBytes) { in get_header_type()
99 switch (infoBytes) { in get_header_type()
126 } if (infoBytes >= kBmpOS2V1Bytes) { in get_header_type()
145 uint32_t infoBytes; in ReadHeader() local
167 infoBytes = get_int(hBuffer, 14); in ReadHeader()
168 if (infoBytes < kBmpOS2V1Bytes) { in ReadHeader()
189 infoBytes = get_int(hBuffer, 0); in ReadHeader()
190 if (infoBytes < kBmpOS2V1Bytes) { in ReadHeader()
197 const BmpHeaderType headerType = get_header_type(infoBytes); in ReadHeader()
[all …]
/external/skia/src/codec/
DSkBmpCodec.cpp96 static BmpHeaderType get_header_type(size_t infoBytes) { in get_header_type() argument
97 if (infoBytes >= kBmpInfoBaseBytes) { in get_header_type()
99 switch (infoBytes) { in get_header_type()
126 } if (infoBytes >= kBmpOS2V1Bytes) { in get_header_type()
145 uint32_t infoBytes; in ReadHeader() local
167 infoBytes = get_int(hBuffer, 14); in ReadHeader()
168 if (infoBytes < kBmpOS2V1Bytes) { in ReadHeader()
189 infoBytes = get_int(hBuffer, 0); in ReadHeader()
190 if (infoBytes < kBmpOS2V1Bytes) { in ReadHeader()
197 const BmpHeaderType headerType = get_header_type(infoBytes); in ReadHeader()
[all …]