Home
last modified time | relevance | path

Searched defs:BitStreamReader (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgCompressor.cpp204 struct BitStreamReader struct
206 const uint8_t* stream; // Pointer to the external bit stream. Not owned by the reader.
207 const int sizeInBytes; // Size of the stream *in bytes*. Might include padding.
208 const int sizeInBits; // Size of the stream *in bits*, padding *not* include.
209 int currBytePos = 0; // Current byte being read in the stream.
210 int nextBitPos = 0; // Bit position within the current byte to access next. 0 to 7.
211 …sRead = 0; // Total bits read from the stream so far. Never includes byte-rounding padding.
213BitStreamReader(const uint8_t* bitStream, const int byteCount, const int bitCount) : stream(bitStr… in BitStreamReader() function
217 bool readNextBit(int& bitOut) in readNextBit()
232 uint64_t readBitsU64(const int bitCount) in readBitsU64()
[all …]