Home
last modified time | relevance | path

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

/Linux-v6.6/lib/zstd/common/
Dfse.h440 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
442 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
444 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
499 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
600 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() argument
604 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in FSE_initDState()
606 DStatePtr->table = dt + 1; in FSE_initDState()
609 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr) in FSE_peekSymbol() argument
611 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_peekSymbol()
615 MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_updateState() argument
[all …]
/Linux-v6.6/lib/zstd/decompress/
Dzstd_decompress_block.c1138 ZSTD_initFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, const ZSTD_seqSymbol* dt) in ZSTD_initFseState() argument
1142 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in ZSTD_initFseState()
1144 (U32)DStatePtr->state, DTableH->tableLog); in ZSTD_initFseState()
1146 DStatePtr->table = dt + 1; in ZSTD_initFseState()
1150 ZSTD_updateFseStateWithDInfo(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, U16 nextState, U32 nbBi… in ZSTD_updateFseStateWithDInfo() argument
1153 DStatePtr->state = nextState + lowBits; in ZSTD_updateFseStateWithDInfo()