Home
last modified time | relevance | path

Searched refs:fStreamBuffer (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/codec/
DSkBmpRLECodec.cpp127 fBytesBuffered = this->stream()->read(fStreamBuffer, kBufferSize); in initializeStreamBuffer()
142 uint8_t* buffer = fStreamBuffer; in checkForMoreData()
370 const uint8_t flag = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
371 const uint8_t task = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
390 const uint8_t dx = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
391 const uint8_t dy = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
439 uint8_t val = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
453 y, fStreamBuffer[fCurrRLEByte++]); in decodeRLE()
458 uint8_t blue = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
459 uint8_t green = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
[all …]
DSkRawCodec.cpp232 return fStreamBuffer.bytesWritten(); in getLength()
245 return this->bufferMoreData(sum) && fStreamBuffer.read(data, offset, length); in read()
250 if (offset > fStreamBuffer.bytesWritten()) { in transferBuffer()
252 const size_t skipLength = offset - fStreamBuffer.bytesWritten(); in transferBuffer()
261 const size_t alreadyBuffered = SkTMin(fStreamBuffer.bytesWritten() - offset, size); in transferBuffer()
263 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()
292 return SkStreamCopy(&fStreamBuffer, fStream.get()); in bufferMoreData()
295 if (newSize <= fStreamBuffer.bytesWritten()) { // already buffered to newSize in bufferMoreData()
304 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData()
311 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()
[all …]
DSkBmpRLECodec.h105 uint8_t fStreamBuffer[kBufferSize]; variable
/external/skqp/src/codec/
DSkBmpRLECodec.cpp127 fBytesBuffered = this->stream()->read(fStreamBuffer, kBufferSize); in initializeStreamBuffer()
142 uint8_t* buffer = fStreamBuffer; in checkForMoreData()
370 const uint8_t flag = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
371 const uint8_t task = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
390 const uint8_t dx = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
391 const uint8_t dy = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
439 uint8_t val = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
453 y, fStreamBuffer[fCurrRLEByte++]); in decodeRLE()
458 uint8_t blue = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
459 uint8_t green = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
[all …]
DSkRawCodec.cpp232 return fStreamBuffer.bytesWritten(); in getLength()
245 return this->bufferMoreData(sum) && fStreamBuffer.read(data, offset, length); in read()
250 if (offset > fStreamBuffer.bytesWritten()) { in transferBuffer()
252 const size_t skipLength = offset - fStreamBuffer.bytesWritten(); in transferBuffer()
261 const size_t alreadyBuffered = SkTMin(fStreamBuffer.bytesWritten() - offset, size); in transferBuffer()
263 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()
292 return SkStreamCopy(&fStreamBuffer, fStream.get()); in bufferMoreData()
295 if (newSize <= fStreamBuffer.bytesWritten()) { // already buffered to newSize in bufferMoreData()
304 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData()
311 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()
[all …]
DSkBmpRLECodec.h105 uint8_t fStreamBuffer[kBufferSize]; variable