Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/common/
Dfse.h439 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
441 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
443 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
498 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
599 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() argument
603 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in FSE_initDState()
605 DStatePtr->table = dt + 1; in FSE_initDState()
608 MEM_STATIC BYTE FSE_peekSymbol(const FSE_DState_t* DStatePtr) in FSE_peekSymbol() argument
610 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_peekSymbol()
614 MEM_STATIC void FSE_updateState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_updateState() argument
[all …]
/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress_block.c900 ZSTD_initFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, const ZSTD_seqSymbol* dt) in ZSTD_initFseState() argument
904 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog); in ZSTD_initFseState()
906 (U32)DStatePtr->state, DTableH->tableLog); in ZSTD_initFseState()
908 DStatePtr->table = dt + 1; in ZSTD_initFseState()
912 ZSTD_updateFseState(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD) in ZSTD_updateFseState() argument
914 ZSTD_seqSymbol const DInfo = DStatePtr->table[DStatePtr->state]; in ZSTD_updateFseState()
917 DStatePtr->state = DInfo.nextState + lowBits; in ZSTD_updateFseState()
921 ZSTD_updateFseStateWithDInfo(ZSTD_fseState* DStatePtr, BIT_DStream_t* bitD, ZSTD_seqSymbol const DI… in ZSTD_updateFseStateWithDInfo() argument
925 DStatePtr->state = DInfo.nextState + lowBits; in ZSTD_updateFseStateWithDInfo()