Home
last modified time | relevance | path

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

/external/zstd/lib/common/
Dentropy_common.c186 nbBits = BIT_highbit32(remaining) + 1; in FSE_readNCount_body()
309 { U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_body()
315 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats_body()
316 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats_body()
Dbitstream.h140 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function
288 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()
316 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()
/external/zstd/lib/compress/
Dfse_compress.c152 U32 const maxBitsOut = tableLog - BIT_highbit32 (normalizedCounter[s]-1); in FSE_buildCTable_wksp()
322 U32 minBitsSrc = BIT_highbit32((U32)(srcSize)) + 1; in FSE_minTableLog()
323 U32 minBitsSymbols = BIT_highbit32(maxSymbolValue) + 2; in FSE_minTableLog()
331 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
Dhuf_compress.c277 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight()
387 U32 lowerRank = BIT_highbit32(count[n] + 1); in HUF_sort()
398 U32 const r = BIT_highbit32(c+1) + 1; in HUF_sort()
/external/zstd/lib/legacy/
Dzstd_v03.c356 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function
403 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
429 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
1157 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1600 tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats()
1605 U32 verif = 1 << BIT_highbit32(rest); in HUF_readStats()
1606 U32 lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
Dzstd_v04.c627 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function
673 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
693 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
1134 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1753 tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats()
1758 U32 verif = 1 << BIT_highbit32(rest); in HUF_readStats()
1759 U32 lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
Dzstd_v02.c353 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function
400 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
426 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
1156 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1603 tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats()
1608 U32 verif = 1 << BIT_highbit32(rest); in HUF_readStats()
1609 U32 lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
/external/zstd/lib/decompress/
Dzstd_decompress_block.c478 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable_body()