Home | History | Annotate | Download | only in vl

Lines Matching refs:buffer

43    uint64_t buffer;
89 * switch over to next input buffer
104 vlc->buffer |= (uint64_t)*data << (24 + vlc->invalid_bits);
118 * fill the bit buffer, so that at least 32 bits are valid
125 /* as long as the buffer needs to be filled */
141 /* enough bytes in buffer, read in a whole dword */
148 vlc->buffer |= value << vlc->invalid_bits;
152 /* buffer is now definitely filled up avoid the loop test */
157 /* not enough bytes left in buffer, read single bytes */
158 vlc->buffer |= (uint64_t)*vlc->data << (24 + vlc->invalid_bits);
166 * initialize vlc structure and start reading from first input buffer
177 vlc->buffer = 0;
193 * number of bits still valid in bit buffer
213 * get num_bits from bit buffer without removing them
219 return vlc->buffer >> (64 - num_bits);
223 * remove num_bits from bit buffer
230 vlc->buffer <<= num_bits;
235 * get num_bits from bit buffer with removing them
244 value = vlc->buffer >> (64 - num_bits);
251 * treat num_bits as signed value and remove them from bit buffer
260 value = ((int64_t)vlc->buffer) >> (64 - num_bits);