Lines Matching defs:put_buffer
30 INT32 put_buffer; /* current bit-accumulation buffer */
45 ((dest).put_buffer = (src).put_buffer, \
162 entropy->saved.put_buffer = 0;
294 /* Only the right 24 bits of put_buffer are used; the valid bits are
296 * in one call, and we never retain more than 7 bits in put_buffer
306 register INT32 put_buffer = (INT32) code;
313 put_buffer &= (((INT32) 1)<<size) - 1; /* mask off any extra bits in code */
317 put_buffer <<= 24 - put_bits; /* align incoming bits */
319 put_buffer |= state->cur.put_buffer; /* and merge with old buffer contents */
322 int c = (int) ((put_buffer >> 16) & 0xFF);
328 put_buffer <<= 8;
332 state->cur.put_buffer = put_buffer; /* update state variables */
344 state->cur.put_buffer = 0; /* and reset bit-buffer to empty */