Home
last modified time | relevance | path

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

/external/zstd/lib/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()
/external/zstd/lib/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()
/external/zstd/lib/legacy/
Dzstd_v01.c404 …FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)(ptr) + 1; /* because dt is unsigned, 32-… in FSE_buildDTable() local
425 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
441 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
454 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
456 tableDecode[i].nbBits = (BYTE) (tableLog - FSE_highbit32 ((U32)nextState) ); in FSE_buildDTable()
457 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
Dzstd_v04.c1081 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); in FSE_buildDTable() local
1097 …memset(tableDecode, 0, sizeof(FSE_DECODE_TYPE) * (maxSymbolValue+1) ); /* useless init, but keep… in FSE_buildDTable()
1103 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1119 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1132 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
1134 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1135 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
Dzstd_v03.c1105 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; in FSE_buildDTable() local
1126 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1142 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1155 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
1157 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1158 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
Dzstd_v05.c1217 FSEv05_DECODE_TYPE* const tableDecode = (FSEv05_DECODE_TYPE*) (tdPtr); in FSEv05_buildDTable() local
1233 …memset(tableDecode, 0, sizeof(FSEv05_FUNCTION_TYPE) * (maxSymbolValue+1) ); /* useless init, but… in FSEv05_buildDTable()
1237 tableDecode[highThreshold--].symbol = (FSEv05_FUNCTION_TYPE)s; in FSEv05_buildDTable()
1248 tableDecode[position].symbol = (FSEv05_FUNCTION_TYPE)s; in FSEv05_buildDTable()
1259 FSEv05_FUNCTION_TYPE symbol = (FSEv05_FUNCTION_TYPE)(tableDecode[i].symbol); in FSEv05_buildDTable()
1261 tableDecode[i].nbBits = (BYTE) (tableLog - BITv05_highbit32 ((U32)nextState) ); in FSEv05_buildDTable()
1262 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSEv05_buildDTable()
Dzstd_v02.c1103 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; in FSE_buildDTable() local
1125 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1141 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable()
1154 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol); in FSE_buildDTable()
1156 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) ); in FSE_buildDTable()
1157 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
Dzstd_v06.c1465 FSEv06_DECODE_TYPE* const tableDecode = (FSEv06_DECODE_TYPE*) (tdPtr); in FSEv06_buildDTable() local
1484 tableDecode[highThreshold--].symbol = (FSEv06_FUNCTION_TYPE)s; in FSEv06_buildDTable()
1500 tableDecode[position].symbol = (FSEv06_FUNCTION_TYPE)s; in FSEv06_buildDTable()
1511 FSEv06_FUNCTION_TYPE const symbol = (FSEv06_FUNCTION_TYPE)(tableDecode[u].symbol); in FSEv06_buildDTable()
1513 tableDecode[u].nbBits = (BYTE) (tableLog - BITv06_highbit32 ((U32)nextState) ); in FSEv06_buildDTable()
1514 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv06_buildDTable()
Dzstd_v07.c1485 FSEv07_DECODE_TYPE* const tableDecode = (FSEv07_DECODE_TYPE*) (tdPtr); in FSEv07_buildDTable() local
1504 tableDecode[highThreshold--].symbol = (FSEv07_FUNCTION_TYPE)s; in FSEv07_buildDTable()
1520 tableDecode[position].symbol = (FSEv07_FUNCTION_TYPE)s; in FSEv07_buildDTable()
1531 FSEv07_FUNCTION_TYPE const symbol = (FSEv07_FUNCTION_TYPE)(tableDecode[u].symbol); in FSEv07_buildDTable()
1533 tableDecode[u].nbBits = (BYTE) (tableLog - BITv07_highbit32 ((U32)nextState) ); in FSEv07_buildDTable()
1534 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv07_buildDTable()