Searched refs:tableDecode (Results 1 - 11 of 11) sorted by relevance

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse_decompress.c62 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); local
81 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
97 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
107 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol);
109 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) );
110 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c74 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); local
95 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
144 tableDecode[uPosition].symbol = spread[s + u];
157 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
167 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol);
169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) );
170 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c373 ZSTD_seqSymbol* const tableDecode = dt+1; local
392 tableDecode[highThreshold--].baseValue = s;
409 tableDecode[position].baseValue = s;
419 U32 const symbol = tableDecode[u].baseValue;
421 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) );
422 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
424 tableDecode[u].nbAdditionalBits = (BYTE)nbAdditionalBits[symbol];
425 tableDecode[u].baseValue = baseValue[symbol];
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c400 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)(ptr) + 1; /* because dt is unsigned, 32-bits aligned on 32-bits */ local
421 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
437 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
450 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
452 tableDecode[i].nbBits = (BYTE) (tableLog - FSE_highbit32 ((U32)nextState) );
453 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v03.c1101 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; local
1122 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
1138 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
1151 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
1153 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) );
1154 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v05.c1213 FSEv05_DECODE_TYPE* const tableDecode = (FSEv05_DECODE_TYPE*) (tdPtr); local
1229 memset(tableDecode, 0, sizeof(FSEv05_FUNCTION_TYPE) * (maxSymbolValue+1) ); /* useless init, but keep static analyzer happy, and we don't need to performance optimize legacy decoders */
1233 tableDecode[highThreshold--].symbol = (FSEv05_FUNCTION_TYPE)s;
1244 tableDecode[position].symbol = (FSEv05_FUNCTION_TYPE)s;
1255 FSEv05_FUNCTION_TYPE symbol = (FSEv05_FUNCTION_TYPE)(tableDecode[i].symbol);
1257 tableDecode[i].nbBits = (BYTE) (tableLog - BITv05_highbit32 ((U32)nextState) );
1258 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v04.c1077 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*) (tdPtr); local
1093 memset(tableDecode, 0, sizeof(FSE_DECODE_TYPE) * (maxSymbolValue+1) ); /* useless init, but keep static analyzer happy, and we don't need to performance optimize legacy decoders */
1099 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
1115 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
1128 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
1130 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) );
1131 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
H A Dzstd_v06.c1461 FSEv06_DECODE_TYPE* const tableDecode = (FSEv06_DECODE_TYPE*) (tdPtr); local
1480 tableDecode[highThreshold--].symbol = (FSEv06_FUNCTION_TYPE)s;
1496 tableDecode[position].symbol = (FSEv06_FUNCTION_TYPE)s;
1507 FSEv06_FUNCTION_TYPE const symbol = (FSEv06_FUNCTION_TYPE)(tableDecode[u].symbol);
1509 tableDecode[u].nbBits = (BYTE) (tableLog - BITv06_highbit32 ((U32)nextState) );
1510 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
H A Dzstd_v07.c1481 FSEv07_DECODE_TYPE* const tableDecode = (FSEv07_DECODE_TYPE*) (tdPtr); local
1500 tableDecode[highThreshold--].symbol = (FSEv07_FUNCTION_TYPE)s;
1516 tableDecode[position].symbol = (FSEv07_FUNCTION_TYPE)s;
1527 FSEv07_FUNCTION_TYPE const symbol = (FSEv07_FUNCTION_TYPE)(tableDecode[u].symbol);
1529 tableDecode[u].nbBits = (BYTE) (tableLog - BITv07_highbit32 ((U32)nextState) );
1530 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
H A Dzstd_v02.c1099 FSE_DECODE_TYPE* const tableDecode = (FSE_DECODE_TYPE*)ptr; local
1121 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
1137 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
1150 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
1152 tableDecode[i].nbBits = (BYTE) (tableLog - BIT_highbit32 ((U32)nextState) );
1153 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
/freebsd-current/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c449 ZSTD_seqSymbol* const tableDecode = dt+1; local
471 tableDecode[highThreshold--].baseValue = s;
527 tableDecode[uPosition].baseValue = spread[s + u];
541 tableDecode[position].baseValue = s;
552 U32 const symbol = tableDecode[u].baseValue;
554 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) );
555 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
557 tableDecode[u].nbAdditionalBits = nbAdditionalBits[symbol];
558 tableDecode[
[all...]

Completed in 318 milliseconds