Lines Matching refs:state
83 typedef struct { /* Bitreading state saved across MCUs */
88 typedef struct { /* Bitreading working state within an MCU */
126 * but the state struct might not be (jpeg_huff_decode needs this).
127 * CHECK_BIT_BUFFER(state,n,action);
139 #define CHECK_BIT_BUFFER(state,nbits,action) \
141 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \
143 get_buffer = (state).get_buffer; bits_left = (state).bits_left; } }
156 JPP((bitread_working_state * state, register bit_buf_type get_buffer,
177 #define HUFF_DECODE(result,state,htbl,failaction,slowlabel) \
180 if (! jpeg_fill_bit_buffer(&state,get_buffer,bits_left, 0)) {failaction;} \
181 get_buffer = state.get_buffer; bits_left = state.bits_left; \
193 if ((result=jpeg_huff_decode(&state,get_buffer,bits_left,htbl,nb)) < 0) \
195 get_buffer = state.get_buffer; bits_left = state.bits_left; \
201 JPP((bitread_working_state * state, register bit_buf_type get_buffer,