Home
last modified time | relevance | path

Searched refs:symbolTT (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/lib/zstd/common/
Dfse.h377 const void* symbolTT; member
518 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState()
529 …{ const FSE_symbolCompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(state… in FSE_initCState2() local
531 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2()
532 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
533 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_initCState2()
539 …FSE_symbolCompressionTransform const symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr-… in FSE_encodeSymbol() local
541 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
543 statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_encodeSymbol()
560 …const FSE_symbolCompressionTransform* symbolTT = (const FSE_symbolCompressionTransform*) symbolTTP… in FSE_getMaxNbBits() local
[all …]
/linux-6.12.1/lib/zstd/compress/
Dfse_compress.c76 FSE_symbolCompressionTransform* const symbolTT = (FSE_symbolCompressionTransform*) (FSCT); in FSE_buildCTable_wksp() local
182 symbolTT[s].deltaNbBits = ((tableLog+1) << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
187 symbolTT[s].deltaNbBits = (tableLog << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
189 symbolTT[s].deltaFindState = (int)(total - 1); in FSE_buildCTable_wksp()
196 symbolTT[s].deltaNbBits = (maxBitsOut << 16) - minStatePlus; in FSE_buildCTable_wksp()
197 symbolTT[s].deltaFindState = (int)(total - (unsigned)normalizedCounter[s]); in FSE_buildCTable_wksp()
207 FSE_getMaxNbBits(symbolTT, symbol), in FSE_buildCTable_wksp()
208 (double)FSE_bitCost(symbolTT, tableLog, symbol, 8) / 256); in FSE_buildCTable_wksp()
545 FSE_symbolCompressionTransform* const symbolTT = (FSE_symbolCompressionTransform*) (FSCT); in FSE_buildCTable_raw() local
562 symbolTT[s].deltaNbBits = deltaNbBits; in FSE_buildCTable_raw()
[all …]
Dzstd_compress_sequences.c122 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()
Dzstd_opt.c161 U32 const bitCost = FSE_getMaxNbBits(llstate.symbolTT, ll); in ZSTD_rescaleFreqs()
173 U32 const bitCost = FSE_getMaxNbBits(mlstate.symbolTT, ml); in ZSTD_rescaleFreqs()
185 U32 const bitCost = FSE_getMaxNbBits(ofstate.symbolTT, of); in ZSTD_rescaleFreqs()