Searched refs:bitStream (Results 1 – 11 of 11) sorted by relevance
51 U32 bitStream; in FSE_readNCount_body() local71 bitStream = MEM_readLE32(ip); in FSE_readNCount_body()72 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount_body()74 bitStream >>= 4; in FSE_readNCount_body()88 int repeats = ZSTD_countTrailingZeros32(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body()98 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()99 repeats = ZSTD_countTrailingZeros32(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body()102 bitStream >>= 2 * repeats; in FSE_readNCount_body()106 assert((bitStream & 3) < 3); in FSE_readNCount_body()107 charnum += bitStream & 3; in FSE_readNCount_body()[all …]
52 U32 bitStream; in FSE_readNCount_body() local72 bitStream = MEM_readLE32(ip); in FSE_readNCount_body()73 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount_body()75 bitStream >>= 4; in FSE_readNCount_body()89 int repeats = ZSTD_countTrailingZeros32(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body()99 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()100 repeats = ZSTD_countTrailingZeros32(~bitStream | 0x80000000) >> 1; in FSE_readNCount_body()103 bitStream >>= 2 * repeats; in FSE_readNCount_body()107 assert((bitStream & 3) < 3); in FSE_readNCount_body()108 charnum += bitStream & 3; in FSE_readNCount_body()[all …]
246 U32 bitStream = 0; in FSE_writeNCount_generic() local253 bitStream += (tableLog-FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic()268 bitStream += 0xFFFFU << bitCount; in FSE_writeNCount_generic()271 out[0] = (BYTE) bitStream; in FSE_writeNCount_generic()272 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic()274 bitStream>>=16; in FSE_writeNCount_generic()278 bitStream += 3U << bitCount; in FSE_writeNCount_generic()281 bitStream += (symbol-start) << bitCount; in FSE_writeNCount_generic()286 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()287 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic()[all …]
245 U32 bitStream = 0; in FSE_writeNCount_generic() local252 bitStream += (tableLog-FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic()267 bitStream += 0xFFFFU << bitCount; 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()277 bitStream += 3U << bitCount; in FSE_writeNCount_generic()280 bitStream += (symbol-start) << bitCount; in FSE_writeNCount_generic()285 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()286 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic()[all …]
449 U32 bitStream; in FSE_readNCount() local455 bitStream = FSE_readLE32(ip); in FSE_readNCount()456 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount()458 bitStream >>= 4; in FSE_readNCount()470 while ((bitStream & 0xFFFF) == 0xFFFF) in FSE_readNCount()476 bitStream = FSE_readLE32(ip) >> bitCount; in FSE_readNCount()480 bitStream >>= 16; in FSE_readNCount()484 while ((bitStream & 3) == 3) in FSE_readNCount()487 bitStream>>=2; in FSE_readNCount()490 n0 += bitStream & 3; in FSE_readNCount()[all …]
1126 U32 bitStream; in FSE_readNCount() local1132 bitStream = MEM_readLE32(ip); in FSE_readNCount()1133 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount()1135 bitStream >>= 4; in FSE_readNCount()1147 while ((bitStream & 0xFFFF) == 0xFFFF) in FSE_readNCount()1153 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount()1157 bitStream >>= 16; in FSE_readNCount()1161 while ((bitStream & 3) == 3) in FSE_readNCount()1164 bitStream>>=2; in FSE_readNCount()1167 n0 += bitStream & 3; in FSE_readNCount()[all …]
1109 U32 bitStream; in FSE_readNCount() local1115 bitStream = MEM_readLE32(ip); in FSE_readNCount()1116 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount()1118 bitStream >>= 4; in FSE_readNCount()1130 while ((bitStream & 0xFFFF) == 0xFFFF) in FSE_readNCount()1136 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount()1140 bitStream >>= 16; in FSE_readNCount()1144 while ((bitStream & 3) == 3) in FSE_readNCount()1147 bitStream>>=2; in FSE_readNCount()1150 n0 += bitStream & 3; in FSE_readNCount()[all …]
1239 U32 bitStream; in FSEv05_readNCount() local1245 bitStream = MEM_readLE32(ip); in FSEv05_readNCount()1246 nbBits = (bitStream & 0xF) + FSEv05_MIN_TABLELOG; /* extract tableLog */ in FSEv05_readNCount()1248 bitStream >>= 4; in FSEv05_readNCount()1258 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSEv05_readNCount()1262 bitStream = MEM_readLE32(ip) >> bitCount; in FSEv05_readNCount()1264 bitStream >>= 16; in FSEv05_readNCount()1267 while ((bitStream & 3) == 3) { in FSEv05_readNCount()1269 bitStream>>=2; in FSEv05_readNCount()1272 n0 += bitStream & 3; in FSEv05_readNCount()[all …]
1216 U32 bitStream; in FSEv06_readNCount() local1222 bitStream = MEM_readLE32(ip); in FSEv06_readNCount()1223 nbBits = (bitStream & 0xF) + FSEv06_MIN_TABLELOG; /* extract tableLog */ in FSEv06_readNCount()1225 bitStream >>= 4; in FSEv06_readNCount()1235 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSEv06_readNCount()1239 bitStream = MEM_readLE32(ip) >> bitCount; in FSEv06_readNCount()1241 bitStream >>= 16; in FSEv06_readNCount()1244 while ((bitStream & 3) == 3) { in FSEv06_readNCount()1246 bitStream>>=2; in FSEv06_readNCount()1249 n0 += bitStream & 3; in FSEv06_readNCount()[all …]
1161 U32 bitStream; in FSEv07_readNCount() local1167 bitStream = MEM_readLE32(ip); in FSEv07_readNCount()1168 nbBits = (bitStream & 0xF) + FSEv07_MIN_TABLELOG; /* extract tableLog */ in FSEv07_readNCount()1170 bitStream >>= 4; in FSEv07_readNCount()1180 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSEv07_readNCount()1184 bitStream = MEM_readLE32(ip) >> bitCount; in FSEv07_readNCount()1186 bitStream >>= 16; in FSEv07_readNCount()1189 while ((bitStream & 3) == 3) { in FSEv07_readNCount()1191 bitStream>>=2; in FSEv07_readNCount()1194 n0 += bitStream & 3; in FSEv07_readNCount()[all …]