Lines Matching defs:state
12 * up to the start of the current MCU. To do this, we copy state variables
59 savable_state saved; /* Other state at start of MCU */
61 /* These fields are NOT loaded into local working state. */
131 /* Initialize bitread state variables */
273 * but are returned in the corresponding fields of the state struct.
292 jpeg_fill_bit_buffer (bitread_working_state * state,
297 /* Copy heavily used state fields into locals (hopefully registers) */
298 register const JOCTET * next_input_byte = state->next_input_byte;
299 register size_t bytes_in_buffer = state->bytes_in_buffer;
300 j_decompress_ptr cinfo = state->cinfo;
345 * bitread working state, not straight into permanent state. But
348 * source. So it is OK to update permanent state right away.
383 state->next_input_byte = next_input_byte;
384 state->bytes_in_buffer = bytes_in_buffer;
385 state->get_buffer = get_buffer;
386 state->bits_left = bits_left;
398 jpeg_huff_decode (bitread_working_state * state,
408 CHECK_BIT_BUFFER(*state, l, return -1);
416 CHECK_BIT_BUFFER(*state, 1, return -1);
422 state->get_buffer = get_buffer;
423 state->bits_left = bits_left;
428 WARNMS(state->cinfo, JWRN_HUFF_BAD_CODE);
511 * changes have been made to permanent state. (Exception: some output
522 savable_state state;
536 /* Load up working state */
538 ASSIGN_STATE(state, entropy->saved);
561 s += state.last_dc_val[ci];
562 state.last_dc_val[ci] = s;
618 /* Completed MCU, so update state */
620 ASSIGN_STATE(entropy->saved, state);