Lines Matching refs:stream
21 std::unique_ptr<SkStream> stream,
25 : INHERITED(std::move(info), std::move(stream), bitsPerPixel, rowOrder)
79 // Read the color table from the stream
82 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) {
120 if (stream()->skip(fOffset - colorBytes) != fOffset - colorBytes) {
130 fBytesBuffered = this->stream()->read(fStreamBuffer, kBufferSize);
140 * @return the number of bytes remaining in the stream buffer after
141 * attempting to read more bytes from the stream
156 // Try to read additional bytes from the stream. There are fCurrRLEByte
159 size_t additionalBytes = this->stream()->read(buffer, fCurrRLEByte);
259 // Create the color table if necessary and prepare the stream for decode
268 SkCodecPrintf("Error: cannot initialize stream buffer.\n");
422 // remaining in the stream to set numPixels.