Searched refs:fStreamBuffer (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/codec/ |
D | SkBmpRLECodec.cpp | 27 , fStreamBuffer(new uint8_t[RLEBytes]) in SkBmpRLECodec() 150 size_t totalBytes = this->stream()->read(fStreamBuffer.get(), fRLEBytes); in initializeStreamBuffer() 172 uint8_t* buffer = fStreamBuffer.get(); in checkForMoreData() 360 const uint8_t flag = fStreamBuffer.get()[fCurrRLEByte++]; in decodeRows() 361 const uint8_t task = fStreamBuffer.get()[fCurrRLEByte++]; in decodeRows() 381 const uint8_t dx = fStreamBuffer.get()[fCurrRLEByte++]; in decodeRows() 382 const uint8_t dy = fStreamBuffer.get()[fCurrRLEByte++]; in decodeRows() 421 uint8_t val = fStreamBuffer.get()[fCurrRLEByte++]; in decodeRows() 435 y, fStreamBuffer.get()[fCurrRLEByte++]); in decodeRows() 440 uint8_t blue = fStreamBuffer.get()[fCurrRLEByte++]; in decodeRows() [all …]
|
D | SkRawCodec.cpp | 243 return fStreamBuffer.bytesWritten(); in getLength() 256 return this->bufferMoreData(sum) && fStreamBuffer.read(data, offset, length); in read() 261 if (offset > fStreamBuffer.bytesWritten()) { in transferBuffer() 263 const size_t skipLength = offset - fStreamBuffer.bytesWritten(); in transferBuffer() 272 const size_t alreadyBuffered = SkTMin(fStreamBuffer.bytesWritten() - offset, size); in transferBuffer() 274 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer() 303 return SkStreamCopy(&fStreamBuffer, fStream.get()); in bufferMoreData() 306 if (newSize <= fStreamBuffer.bytesWritten()) { // already buffered to newSize in bufferMoreData() 315 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData() 322 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData() [all …]
|
D | SkBmpRLECodec.h | 102 SkAutoTDeleteArray<uint8_t> fStreamBuffer; variable
|