Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/common/
Dfse.h508 U32 deltaNbBits; member
531 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2()
532 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
541 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
561 return (symbolTT[symbolValue].deltaNbBits + ((1<<16)-1)) >> 16; in FSE_getMaxNbBits()
571 U32 const minNbBits = symbolTT[symbolValue].deltaNbBits >> 16; in FSE_bitCost()
576 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
579 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
/linux-6.12.1/lib/zstd/compress/
Dfse_compress.c182 symbolTT[s].deltaNbBits = ((tableLog+1) << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
187 symbolTT[s].deltaNbBits = (tableLog << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
196 symbolTT[s].deltaNbBits = (maxBitsOut << 16) - minStatePlus; in FSE_buildCTable_wksp()
560 { const U32 deltaNbBits = (nbBits << 16) - (1 << nbBits); in FSE_buildCTable_raw() local
562 symbolTT[s].deltaNbBits = deltaNbBits; in FSE_buildCTable_raw()
586 symbolTT[symbolValue].deltaNbBits = 0; in FSE_buildCTable_rle()