Home
last modified time | relevance | path

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

/linux/lib/zstd/common/
A Dentropy_common.c68 U32 bitStream; in FSE_readNCount_body() local
88 bitStream = MEM_readLE32(ip); in FSE_readNCount_body()
91 bitStream >>= 4; in FSE_readNCount_body()
115 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
119 bitStream >>= 2 * repeats; in FSE_readNCount_body()
123 assert((bitStream & 3) < 3); in FSE_readNCount_body()
124 charnum += bitStream & 3; in FSE_readNCount_body()
146 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
153 count = bitStream & (threshold-1); in FSE_readNCount_body()
156 count = bitStream & (2*threshold-1); in FSE_readNCount_body()
[all …]
/linux/lib/zstd/compress/
A Dfse_compress.c201 U32 bitStream = 0; in FSE_writeNCount_generic() local
226 out[0] = (BYTE) bitStream; in FSE_writeNCount_generic()
229 bitStream>>=16; in FSE_writeNCount_generic()
233 bitStream += 3 << bitCount; in FSE_writeNCount_generic()
241 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
244 bitStream >>= 16; in FSE_writeNCount_generic()
263 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
264 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic()
266 bitStream >>= 16; in FSE_writeNCount_generic()
277 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
[all …]

Completed in 6 milliseconds