Searched refs:symbolTT (Results 1 – 4 of 4) sorted by relevance
/linux/lib/zstd/common/ |
A D | fse.h | 376 const void* symbolTT; member 517 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState() 528 …{ const FSE_symbolCompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(state… in FSE_initCState2() local 530 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2() 531 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2() 538 …FSE_symbolCompressionTransform const symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr-… in FSE_encodeSymbol() local 540 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol() 542 statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; 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() [all …]
|
/linux/lib/zstd/compress/ |
A D | fse_compress.c | 141 symbolTT[s].deltaNbBits = ((tableLog+1) << 16) - (1<<tableLog); in FSE_buildCTable_wksp() 146 symbolTT[s].deltaNbBits = (tableLog << 16) - (1<<tableLog); in FSE_buildCTable_wksp() 147 symbolTT[s].deltaFindState = total - 1; in FSE_buildCTable_wksp() 154 symbolTT[s].deltaNbBits = (maxBitsOut << 16) - minStatePlus; in FSE_buildCTable_wksp() 155 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp() 165 FSE_getMaxNbBits(symbolTT, symbol), in FSE_buildCTable_wksp() 166 (double)FSE_bitCost(symbolTT, tableLog, symbol, 8) / 256); in FSE_buildCTable_wksp() 519 symbolTT[s].deltaNbBits = deltaNbBits; in FSE_buildCTable_raw() 520 symbolTT[s].deltaFindState = s-1; in FSE_buildCTable_raw() 543 symbolTT[symbolValue].deltaNbBits = 0; in FSE_buildCTable_rle() [all …]
|
A D | zstd_compress_sequences.c | 120 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()
|
A D | zstd_opt.c | 153 U32 const bitCost = FSE_getMaxNbBits(llstate.symbolTT, ll); in ZSTD_rescaleFreqs() 165 U32 const bitCost = FSE_getMaxNbBits(mlstate.symbolTT, ml); in ZSTD_rescaleFreqs() 177 U32 const bitCost = FSE_getMaxNbBits(ofstate.symbolTT, of); in ZSTD_rescaleFreqs()
|
Completed in 12 milliseconds