Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse.h485 U32 deltaNbBits; member
508 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2()
509 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
518 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
538 return (symbolTT[symbolValue].deltaNbBits + ((1<<16)-1)) >> 16; in FSE_getMaxNbBits()
548 U32 const minNbBits = symbolTT[symbolValue].deltaNbBits >> 16; in FSE_bitCost()
553 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
556 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
/freebsd/sys/contrib/zstd/lib/common/
H A Dfse.h511 U32 deltaNbBits; member
534 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2()
535 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
544 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
564 return (symbolTT[symbolValue].deltaNbBits + ((1<<16)-1)) >> 16; in FSE_getMaxNbBits()
574 U32 const minNbBits = symbolTT[symbolValue].deltaNbBits >> 16; in FSE_bitCost()
579 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
582 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c138 symbolTT[s].deltaNbBits = ((tableLog+1) << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
143 symbolTT[s].deltaNbBits = (tableLog << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
151 symbolTT[s].deltaNbBits = (maxBitsOut << 16) - minStatePlus; in FSE_buildCTable_wksp()
521 { const U32 deltaNbBits = (nbBits << 16) - (1 << nbBits); in FSE_buildCTable_raw() local
523 symbolTT[s].deltaNbBits = deltaNbBits; in FSE_buildCTable_raw()
547 symbolTT[symbolValue].deltaNbBits = 0; in FSE_buildCTable_rle()
/freebsd/sys/contrib/zstd/lib/compress/
H A 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()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c331 U32 deltaNbBits; member