Home | History | Annotate | Download | only in src

Lines Matching refs:current_word

38                                     current_word
40 |-----xxxxxxxxxxxxx| = current_word 32 or 16 bits
61 stream->current_word = 0;
75 /* Purpose : Save the current_word into the buffer, byte-swap, and */
86 uint current_word;
88 /* check number of bytes in current_word, must always be byte-aligned!!!! */
101 current_word = stream->current_word;
105 byte = (current_word >> num_bits) & 0xFF;
126 /* reset current_word and bit_left */
127 stream->current_word = 0;
146 uint current_word = stream->current_word;
156 if (nBits <= bit_left) /* more bits left in current_word */
158 stream->current_word = (current_word << nBits) | code;
168 stream->current_word = (current_word << bit_left) | (code >> (nBits - bit_left));
178 stream->current_word = code; /* no extra masking for code, must be handled before saving */
197 uint current_word = stream->current_word;
201 //if(1 <= bit_left) /* more bits left in current_word */
203 stream->current_word = (current_word << 1) | code;