Lines Matching refs:DStatePtr

440 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
617 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_updateState()
620 DStatePtr->state = DInfo.newState + lowBits; in FSE_updateState()
623 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbol() argument
625 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbol()
630 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbol()
636 MEM_STATIC BYTE FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbolFast() argument
638 FSE_decode_t const DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbolFast()
643 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbolFast()
647 MEM_STATIC unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr) in FSE_endOfDState() argument
649 return DStatePtr->state == 0; in FSE_endOfDState()