Home
last modified time | relevance | path

Searched refs:colorBytes (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/codec/
H A DSkBmpStandardCodec.cpp67 uint32_t colorBytes = 0; in createColorTable() local
77 colorBytes = numColorsToRead * fBytesPerColor; in createColorTable()
78 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]); in createColorTable()
79 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) { in createColorTable()
129 if(fOffset < colorBytes) { in createColorTable()
140 if (stream()->skip(fOffset - colorBytes) != fOffset - colorBytes) { in createColorTable()
H A DSkBmpRLECodec.cpp70 uint32_t colorBytes = 0; in createColorTable() local
80 colorBytes = numColorsToRead * fBytesPerColor; in createColorTable()
81 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]); in createColorTable()
82 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) { in createColorTable()
109 if(fOffset < colorBytes) { in createColorTable()
120 if (stream()->skip(fOffset - colorBytes) != fOffset - colorBytes) { in createColorTable()
H A DSkJpegCodec.cpp291 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 : in get_row_bytes() local
293 return dinfo->output_width * colorBytes; in get_row_bytes()

Completed in 4 milliseconds