Home
last modified time | relevance | path

Searched refs:deltaNbBits (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/lib/zstd/common/
Dfse.h507 U32 deltaNbBits; member
530 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2()
531 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
540 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
560 return (symbolTT[symbolValue].deltaNbBits + ((1<<16)-1)) >> 16; in FSE_getMaxNbBits()
570 U32 const minNbBits = symbolTT[symbolValue].deltaNbBits >> 16; in FSE_bitCost()
575 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
578 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
/linux-6.1.9/lib/zstd/compress/
Dfse_compress.c141 symbolTT[s].deltaNbBits = ((tableLog+1) << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
146 symbolTT[s].deltaNbBits = (tableLog << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
154 symbolTT[s].deltaNbBits = (maxBitsOut << 16) - minStatePlus; in FSE_buildCTable_wksp()
517 { const U32 deltaNbBits = (nbBits << 16) - (1 << nbBits); in FSE_buildCTable_raw() local
519 symbolTT[s].deltaNbBits = deltaNbBits; in FSE_buildCTable_raw()
543 symbolTT[symbolValue].deltaNbBits = 0; in FSE_buildCTable_rle()