Lines Matching defs:state
318 FSE_CState_t state; // State tracking structure (can have several)
321 The first thing to do is to init bitStream and state.
323 FSE_initCState(&state, ct);
329 FSE_encodeByte(&bitStream, &state, symbol);
340 Your last FSE encoding operation shall be to flush your last state value(s).
341 FSE_flushState(&bitStream, &state);
354 size_t state;
378 You should then retrieve your initial state(s)
440 * uses the smallest state value possible, saving the cost of this symbol */
485 DStatePtr->state = BIT_readBits(bitD, DTableH->tableLog);
492 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state];
498 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state];
501 DStatePtr->state = DInfo.newState + lowBits;
506 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state];
511 DStatePtr->state = DInfo.newState + lowBits;
519 FSE_decode_t const DInfo = ((const FSE_decode_t *)(DStatePtr->table))[DStatePtr->state];
524 DStatePtr->state = DInfo.newState + lowBits;
528 ZSTD_STATIC unsigned FSE_endOfDState(const FSE_DState_t *DStatePtr) { return DStatePtr->state == 0; }