Searched refs:bit_pos_ (Results 1 - 3 of 3) sorted by relevance

/external/webp/src/utils/
H A Dbit_reader.h126 int bit_pos_; // current bit-reading position in val_ member in struct:__anon19904
146 return (uint32_t)(br->val_ >> (br->bit_pos_ & (VP8L_LBITS - 1)));
153 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS));
159 br->bit_pos_ = val;
167 if (br->bit_pos_ >= VP8L_WBITS) VP8LDoFillBitWindow(br);
H A Dbit_reader.c149 br->bit_pos_ = 0;
176 br->bit_pos_ = 0; // To avoid undefined behaviour with shifts.
181 while (br->bit_pos_ >= 8 && br->pos_ < br->len_) {
185 br->bit_pos_ -= 8;
193 assert(br->bit_pos_ >= VP8L_WBITS);
199 br->bit_pos_ -= VP8L_WBITS;
216 const int new_bits = br->bit_pos_ + n_bits;
217 br->bit_pos_ = new_bits;
/external/webp/src/dec/
H A Dvp8l.c189 VP8LSetBitPos(br, br->bit_pos_ + HUFFMAN_TABLE_BITS);
194 VP8LSetBitPos(br, br->bit_pos_ + table->bits);
208 VP8LSetBitPos(br, br->bit_pos_ + code.bits);
212 VP8LSetBitPos(br, br->bit_pos_ + code.bits - BITS_SPECIAL_MARKER);
280 VP8LSetBitPos(br, br->bit_pos_ + p->bits);

Completed in 206 milliseconds