Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dentropy_common.c219 U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_wksp()
227 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats_wksp()
228 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats_wksp()
Dbitstream.h148 ZSTD_STATIC unsigned BIT_highbit32(register U32 val) { return 31 - __builtin_clz(val); } in BIT_highbit32() function
252 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is always… in BIT_initDStream()
271 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
Dfse_compress.c181 U32 const maxBitsOut = tableLog - BIT_highbit32(normalizedCounter[s] - 1); in FSE_buildCTable_wksp()
487 U32 minBitsSrc = BIT_highbit32((U32)(srcSize - 1)) + 1; in FSE_minTableLog()
488 U32 minBitsSymbols = BIT_highbit32(maxSymbolValue) + 2; in FSE_minTableLog()
495 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
Dhuf_compress.c332 U32 nBitsToDecrease = BIT_highbit32(totalCost) + 1; in HUF_setMaxHeight()
396 U32 r = BIT_highbit32(count[n] + 1); in HUF_sort()
405 U32 const r = BIT_highbit32(c + 1) + 1; in HUF_sort()
Dfse_decompress.c159 tableDecode[u].nbBits = (BYTE)(tableLog - BIT_highbit32((U32)nextState)); in FSE_buildDTable_wksp()