Lines Matching refs:DStatePtr
679 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
681 static unsigned char FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
683 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr);
689 static unsigned char FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD);
711 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() argument
715 DStatePtr->state = BIT_readBits(bitD, DTableH.tableLog); in FSE_initDState()
717 DStatePtr->table = dt + 1; in FSE_initDState()
720 MEM_STATIC BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbol() argument
722 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbol()
727 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbol()
731 MEM_STATIC BYTE FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD) in FSE_decodeSymbolFast() argument
733 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbolFast()
738 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbolFast()
742 MEM_STATIC unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr) in FSE_endOfDState() argument
744 return DStatePtr->state == 0; in FSE_endOfDState()