Lines Matching refs:bitsPerPixel
213 uint16_t bitsPerPixel; in ReadHeader() local
240 bitsPerPixel = get_short(iBuffer.get(), 10); in ReadHeader()
259 bitsPerPixel = get_short(iBuffer.get(), 6); in ReadHeader()
308 if (16 == bitsPerPixel) { in ReadHeader()
316 if (bitsPerPixel != 8) { in ReadHeader()
318 bitsPerPixel = 8; in ReadHeader()
323 if (bitsPerPixel != 4) { in ReadHeader()
325 bitsPerPixel = 4; in ReadHeader()
393 if (24 == bitsPerPixel) { in ReadHeader()
440 switch (bitsPerPixel) { in ReadHeader()
453 bitsPerComponent = (uint8_t) bitsPerPixel; in ReadHeader()
487 bitsPerPixel, numColors, bytesPerColor, in ReadHeader()
503 switch (bitsPerPixel) { in ReadHeader()
523 std::unique_ptr<SkMasks> masks(SkMasks::CreateMasks(inputMasks, bitsPerPixel)); in ReadHeader()
544 std::unique_ptr<SkStream>(stream), bitsPerPixel, in ReadHeader()
554 SkASSERT(4 == bitsPerPixel || 8 == bitsPerPixel || 24 == bitsPerPixel); in ReadHeader()
576 std::unique_ptr<SkStream>(stream), bitsPerPixel, in ReadHeader()
604 uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder) in SkBmpCodec() argument
606 , fBitsPerPixel(bitsPerPixel) in SkBmpCodec()