Lines Matching refs:codeBitsWidth
299 bool flush(int & codeBitsWidth) in flush()
301 if (size == (1 << codeBitsWidth)) { in flush()
302 ++codeBitsWidth; in flush()
303 if (codeBitsWidth > MaxDictBits) { in flush()
305 codeBitsWidth = StartBits; in flush()
351 int codeBitsWidth = StartBits; in lzwDecode() local
363 code = static_cast<int>(bitStream.readBitsU64(codeBitsWidth)); in lzwDecode()
377 if (dictionary.flush(codeBitsWidth)) prevCode = Nil; in lzwDecode()
389 int codeBitsWidth = StartBits; in lzwEncode() local
405 bitStream.appendBitsU64(code, codeBitsWidth); in lzwEncode()
408 if (!dictionary.flush(codeBitsWidth)) { in lzwEncode()
416 if (code != Nil) bitStream.appendBitsU64(code, codeBitsWidth); in lzwEncode()