Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse.h354 const void* symbolTT; member
495 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState()
506 …{ const FSE_symbolCompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(state… in FSE_initCState2() local
508 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2()
509 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
510 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_initCState2()
516 …FSE_symbolCompressionTransform const symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr-… in FSE_encodeSymbol() local
518 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
520 statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_encodeSymbol()
537 …const FSE_symbolCompressionTransform* symbolTT = (const FSE_symbolCompressionTransform*) symbolTTP… in FSE_getMaxNbBits() local
[all …]
/freebsd/sys/contrib/zstd/lib/common/
H A Dfse.h380 const void* symbolTT; member
521 statePtr->symbolTT = ct + 1 + (tableLog ? (1<<(tableLog-1)) : 1); in FSE_initCState()
532 …{ const FSE_symbolCompressionTransform symbolTT = ((const FSE_symbolCompressionTransform*)(state… in FSE_initCState2() local
534 U32 nbBitsOut = (U32)((symbolTT.deltaNbBits + (1<<15)) >> 16); in FSE_initCState2()
535 statePtr->value = (nbBitsOut << 16) - symbolTT.deltaNbBits; in FSE_initCState2()
536 statePtr->value = stateTable[(statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_initCState2()
542 …FSE_symbolCompressionTransform const symbolTT = ((const FSE_symbolCompressionTransform*)(statePtr-… in FSE_encodeSymbol() local
544 U32 const nbBitsOut = (U32)((statePtr->value + symbolTT.deltaNbBits) >> 16); in FSE_encodeSymbol()
546 statePtr->value = stateTable[ (statePtr->value >> nbBitsOut) + symbolTT.deltaFindState]; in FSE_encodeSymbol()
563 …const FSE_symbolCompressionTransform* symbolTT = (const FSE_symbolCompressionTransform*) symbolTTP… in FSE_getMaxNbBits() local
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c75 FSE_symbolCompressionTransform* const symbolTT = (FSE_symbolCompressionTransform*) (FSCT); in FSE_buildCTable_wksp() local
138 symbolTT[s].deltaNbBits = ((tableLog+1) << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
143 symbolTT[s].deltaNbBits = (tableLog << 16) - (1<<tableLog); in FSE_buildCTable_wksp()
144 symbolTT[s].deltaFindState = total - 1; in FSE_buildCTable_wksp()
151 symbolTT[s].deltaNbBits = (maxBitsOut << 16) - minStatePlus; in FSE_buildCTable_wksp()
152 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp()
162 FSE_getMaxNbBits(symbolTT, symbol), in FSE_buildCTable_wksp()
163 (double)FSE_bitCost(symbolTT, tableLog, symbol, 8) / 256); in FSE_buildCTable_wksp()
506 FSE_symbolCompressionTransform* const symbolTT = (FSE_symbolCompressionTransform*) (FSCT); in FSE_buildCTable_raw() local
523 symbolTT[s].deltaNbBits = deltaNbBits; in FSE_buildCTable_raw()
[all …]
H A Dzstd_opt.c141 U32 const bitCost = FSE_getMaxNbBits(llstate.symbolTT, ll); in ZSTD_rescaleFreqs()
153 U32 const bitCost = FSE_getMaxNbBits(mlstate.symbolTT, ml); in ZSTD_rescaleFreqs()
165 U32 const bitCost = FSE_getMaxNbBits(ofstate.symbolTT, of); in ZSTD_rescaleFreqs()
H A Dzstd_compress_sequences.c107 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()
/freebsd/sys/contrib/zstd/lib/compress/
H A 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 …]
H A Dzstd_compress_sequences.c122 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()
H A 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()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c73 const void* symbolTT; member