Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/common/
H A Dentropy_common.c73 U32 bitStream; in FSE_readNCount_body() local
93 bitStream = MEM_readLE32(ip); in FSE_readNCount_body()
96 bitStream >>= 4; in FSE_readNCount_body()
120 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
124 bitStream >>= 2 * repeats; in FSE_readNCount_body()
128 assert((bitStream & 3) < 3); in FSE_readNCount_body()
129 charnum += bitStream & 3; in FSE_readNCount_body()
151 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
158 count = bitStream & (threshold-1); in FSE_readNCount_body()
161 count = bitStream & (2*threshold-1); in FSE_readNCount_body()
[all …]
/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dfse_compress.c208 U32 bitStream = 0; in FSE_writeNCount_generic() local
233 out[0] = (BYTE) bitStream; in FSE_writeNCount_generic()
236 bitStream>>=16; in FSE_writeNCount_generic()
240 bitStream += 3 << bitCount; in FSE_writeNCount_generic()
248 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
251 bitStream >>= 16; in FSE_writeNCount_generic()
270 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
271 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic()
273 bitStream >>= 16; in FSE_writeNCount_generic()
284 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
[all …]
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v01.c491 U32 bitStream; in FSE_readNCount() local
497 bitStream = FSE_readLE32(ip); in FSE_readNCount()
500 bitStream >>= 4; in FSE_readNCount()
512 while ((bitStream & 0xFFFF) == 0xFFFF) in FSE_readNCount()
522 bitStream >>= 16; in FSE_readNCount()
526 while ((bitStream & 3) == 3) in FSE_readNCount()
529 bitStream>>=2; in FSE_readNCount()
532 n0 += bitStream & 3; in FSE_readNCount()
540 bitStream = FSE_readLE32(ip) >> bitCount; in FSE_readNCount()
543 bitStream >>= 2; in FSE_readNCount()
[all …]
H A Dzstd_v03.c1192 U32 bitStream; in FSE_readNCount() local
1198 bitStream = MEM_readLE32(ip); in FSE_readNCount()
1201 bitStream >>= 4; in FSE_readNCount()
1213 while ((bitStream & 0xFFFF) == 0xFFFF) in FSE_readNCount()
1223 bitStream >>= 16; in FSE_readNCount()
1227 while ((bitStream & 3) == 3) in FSE_readNCount()
1230 bitStream>>=2; in FSE_readNCount()
1233 n0 += bitStream & 3; in FSE_readNCount()
1241 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount()
1244 bitStream >>= 2; in FSE_readNCount()
[all …]
H A Dzstd_v04.c1169 U32 bitStream; in FSE_readNCount() local
1175 bitStream = MEM_readLE32(ip); in FSE_readNCount()
1178 bitStream >>= 4; in FSE_readNCount()
1190 while ((bitStream & 0xFFFF) == 0xFFFF) in FSE_readNCount()
1200 bitStream >>= 16; in FSE_readNCount()
1204 while ((bitStream & 3) == 3) in FSE_readNCount()
1207 bitStream>>=2; in FSE_readNCount()
1210 n0 += bitStream & 3; in FSE_readNCount()
1218 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount()
1221 bitStream >>= 2; in FSE_readNCount()
[all …]
H A Dzstd_v02.c1191 U32 bitStream; in FSE_readNCount() local
1197 bitStream = MEM_readLE32(ip); in FSE_readNCount()
1200 bitStream >>= 4; in FSE_readNCount()
1212 while ((bitStream & 0xFFFF) == 0xFFFF) in FSE_readNCount()
1222 bitStream >>= 16; in FSE_readNCount()
1226 while ((bitStream & 3) == 3) in FSE_readNCount()
1229 bitStream>>=2; in FSE_readNCount()
1232 n0 += bitStream & 3; in FSE_readNCount()
1240 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount()
1243 bitStream >>= 2; in FSE_readNCount()
[all …]
H A Dzstd_v06.c1276 U32 bitStream; in FSEv06_readNCount() local
1282 bitStream = MEM_readLE32(ip); in FSEv06_readNCount()
1285 bitStream >>= 4; in FSEv06_readNCount()
1295 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSEv06_readNCount()
1301 bitStream >>= 16; in FSEv06_readNCount()
1304 while ((bitStream & 3) == 3) { in FSEv06_readNCount()
1306 bitStream>>=2; in FSEv06_readNCount()
1309 n0 += bitStream & 3; in FSEv06_readNCount()
1316 bitStream = MEM_readLE32(ip) >> bitCount; in FSEv06_readNCount()
1319 bitStream >>= 2; in FSEv06_readNCount()
[all …]
H A Dzstd_v05.c1295 U32 bitStream; in FSEv05_readNCount() local
1301 bitStream = MEM_readLE32(ip); in FSEv05_readNCount()
1304 bitStream >>= 4; in FSEv05_readNCount()
1314 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSEv05_readNCount()
1320 bitStream >>= 16; in FSEv05_readNCount()
1323 while ((bitStream & 3) == 3) { in FSEv05_readNCount()
1325 bitStream>>=2; in FSEv05_readNCount()
1328 n0 += bitStream & 3; in FSEv05_readNCount()
1335 bitStream = MEM_readLE32(ip) >> bitCount; in FSEv05_readNCount()
1338 bitStream >>= 2; in FSEv05_readNCount()
[all …]
H A Dzstd_v07.c1220 U32 bitStream; in FSEv07_readNCount() local
1226 bitStream = MEM_readLE32(ip); in FSEv07_readNCount()
1229 bitStream >>= 4; in FSEv07_readNCount()
1239 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSEv07_readNCount()
1245 bitStream >>= 16; in FSEv07_readNCount()
1248 while ((bitStream & 3) == 3) { in FSEv07_readNCount()
1250 bitStream>>=2; in FSEv07_readNCount()
1253 n0 += bitStream & 3; in FSEv07_readNCount()
1260 bitStream = MEM_readLE32(ip) >> bitCount; in FSEv07_readNCount()
1263 bitStream >>= 2; in FSEv07_readNCount()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c2527 U32 bitStream; in FSE_readNCount() local
2547 bitStream = MEM_readLE32(ip); in FSE_readNCount()
2550 bitStream >>= 4; in FSE_readNCount()
2571 bitStream >>= 2; in FSE_readNCount()
2574 n0 += bitStream & 3; in FSE_readNCount()
2584 bitStream >>= 2; in FSE_readNCount()
7683 U32 bitStream = 0; in FSE_writeNCount_generic() local
7711 bitStream>>=16; in FSE_writeNCount_generic()
7726 bitStream >>= 16; in FSE_writeNCount_generic()
7748 bitStream >>= 16; in FSE_writeNCount_generic()
[all …]
/f-stack/freebsd/contrib/zstd/doc/
H A Dzstd_compression_format.md613 …ction_Header` | [`Literals_Length_Table`] | [`Offset_Table`] | [`Match_Length_Table`] | bitStream |
1320 by tracking bitStream overflow condition: