Home
last modified time | relevance | path

Searched refs:BIT_highbit32 (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/lib/zstd/common/
Dentropy_common.c182 nbBits = BIT_highbit32(remaining) + 1; in FSE_readNCount_body()
306 { U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_body()
312 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats_body()
313 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats_body()
Dbitstream.h130 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function
269 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()
297 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
Dfse_decompress.c169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable_internal()
/linux-6.1.9/lib/zstd/compress/
Dfse_compress.c152 U32 const maxBitsOut = tableLog - BIT_highbit32 (normalizedCounter[s]-1); in FSE_buildCTable_wksp()
315 U32 minBitsSrc = BIT_highbit32((U32)(srcSize)) + 1; in FSE_minTableLog()
316 U32 minBitsSymbols = BIT_highbit32(maxSymbolValue) + 2; in FSE_minTableLog()
324 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
Dhuf_compress.c293 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight()
403 U32 lowerRank = BIT_highbit32(count[n] + 1); in HUF_sort()
414 U32 const r = BIT_highbit32(c+1) + 1; in HUF_sort()
/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress_block.c478 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable_body()