Home
last modified time | relevance | path

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

/linux/lib/zstd/common/
H A Dfse.h358 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
360 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
362 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
417 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
518 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() argument
522 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in FSE_initDState()
524 DStatePtr->table = dt + 1; in FSE_initDState()
527 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr) in FSE_peekSymbol() argument
529 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_peekSymbol()
533 MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_updateState() argument
[all …]
/linux/lib/zstd/decompress/
H A Dzstd_decompress_block.c1193 ZSTD_initFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, const ZSTD_seqSymbol* dt) in ZSTD_initFseState() argument
1197 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in ZSTD_initFseState()
1199 (U32)DStatePtr->state, DTableH->tableLog); in ZSTD_initFseState()
1201 DStatePtr->table = dt + 1; in ZSTD_initFseState()
1205 ZSTD_updateFseStateWithDInfo(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, U16 nextState, U32 nbBi… in ZSTD_updateFseStateWithDInfo() argument
1208 DStatePtr->state = nextState + lowBits; in ZSTD_updateFseStateWithDInfo()