Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkBmpCodec.cpp99 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()
[all …]
/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 …]