Home
last modified time | relevance | path

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

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