Lines Matching refs:DStatePtr
769 static void FSE_initDState(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState() argument
773 DStatePtr->state = FSE_readBits(bitD, DTableH->tableLog); in FSE_initDState()
775 DStatePtr->table = dt + 1; in FSE_initDState()
778 static BYTE FSE_decodeSymbol(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD) in FSE_decodeSymbol() argument
780 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbol()
785 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbol()
789 static BYTE FSE_decodeSymbolFast(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD) in FSE_decodeSymbolFast() argument
791 const FSE_decode_t DInfo = ((const FSE_decode_t*)(DStatePtr->table))[DStatePtr->state]; in FSE_decodeSymbolFast()
796 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbolFast()
808 static unsigned FSE_endOfDState(const FSE_DState_t* DStatePtr) in FSE_endOfDState() argument
810 return DStatePtr->state == 0; in FSE_endOfDState()