Home
last modified time | relevance | path

Searched refs:bitCount (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/lib/zstd/
Dentropy_common.c68 int bitCount; in FSE_readNCount() local
79 bitCount = 4; in FSE_readNCount()
92 bitStream = ZSTD_readLE32(ip) >> bitCount; in FSE_readNCount()
95 bitCount += 16; in FSE_readNCount()
101 bitCount += 2; in FSE_readNCount()
104 bitCount += 2; in FSE_readNCount()
109 if ((ip <= iend - 7) || (ip + (bitCount >> 3) <= iend - 4)) { in FSE_readNCount()
110 ip += bitCount >> 3; in FSE_readNCount()
111 bitCount &= 7; in FSE_readNCount()
112 bitStream = ZSTD_readLE32(ip) >> bitCount; in FSE_readNCount()
[all …]
Dfse_compress.c214 int bitCount; in FSE_writeNCount_generic() local
219 bitCount = 0; in FSE_writeNCount_generic()
221 bitStream += (tableLog - FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic()
222 bitCount += 4; in FSE_writeNCount_generic()
236 bitStream += 0xFFFFU << bitCount; in FSE_writeNCount_generic()
246 bitStream += 3 << bitCount; in FSE_writeNCount_generic()
247 bitCount += 2; in FSE_writeNCount_generic()
249 bitStream += (charnum - start) << bitCount; in FSE_writeNCount_generic()
250 bitCount += 2; in FSE_writeNCount_generic()
251 if (bitCount > 16) { in FSE_writeNCount_generic()
[all …]