Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/lib/zstd/decompress/
Dzstd_decompress_block.c373 ZSTD_seqSymbol* const tableDecode = dt+1; in ZSTD_buildFSETable_body() local
395 tableDecode[highThreshold--].baseValue = s; in ZSTD_buildFSETable_body()
451 tableDecode[uPosition].baseValue = spread[s + u]; in ZSTD_buildFSETable_body()
465 tableDecode[position].baseValue = s; in ZSTD_buildFSETable_body()
476 U32 const symbol = tableDecode[u].baseValue; in ZSTD_buildFSETable_body()
478 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable_body()
479 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in ZSTD_buildFSETable_body()
481 tableDecode[u].nbAdditionalBits = (BYTE)nbAdditionalBits[symbol]; in ZSTD_buildFSETable_body()
482 tableDecode[u].baseValue = baseValue[symbol]; in ZSTD_buildFSETable_body()