Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/common/
Dfse_decompress.c74 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); in FSE_buildDTable_internal() local
95 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal()
144 tableDecode[uPosition].symbol = spread[s + u]; in FSE_buildDTable_internal()
157 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal()
167 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); in FSE_buildDTable_internal()
169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable_internal()
170 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_internal()
/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress_block.c449 ZSTD_seqSymbol* const tableDecode = dt+1; in ZSTD_buildFSETable_body() local
471 tableDecode[highThreshold--].baseValue = s; in ZSTD_buildFSETable_body()
527 tableDecode[uPosition].baseValue = spread[s + u]; in ZSTD_buildFSETable_body()
541 tableDecode[position].baseValue = s; in ZSTD_buildFSETable_body()
552 U32 const symbol = tableDecode[u].baseValue; in ZSTD_buildFSETable_body()
554 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable_body()
555 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in ZSTD_buildFSETable_body()
557 tableDecode[u].nbAdditionalBits = nbAdditionalBits[symbol]; in ZSTD_buildFSETable_body()
558 tableDecode[u].baseValue = baseValue[symbol]; in ZSTD_buildFSETable_body()