Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dbit_reader_utils.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()
197 br->bit_pos_ -= VP8L_WBITS; in VP8LDoFillBitWindow()
212 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()
213 br->bit_pos_ = new_bits; in VP8LReadBits()
A Dbit_reader_utils.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()
161 br->bit_pos_ = val; in VP8LSetBitPos()
168 if (br->bit_pos_ >= VP8L_WBITS) VP8LDoFillBitWindow(br); in VP8LFillBitWindow()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dvp8l_dec.c190 VP8LSetBitPos(br, br->bit_pos_ + HUFFMAN_TABLE_BITS); in ReadSymbol()
195 VP8LSetBitPos(br, br->bit_pos_ + table->bits); in ReadSymbol()
209 VP8LSetBitPos(br, br->bit_pos_ + code.bits); in ReadPackedSymbols()
213 VP8LSetBitPos(br, br->bit_pos_ + code.bits - BITS_SPECIAL_MARKER); in ReadPackedSymbols()
281 VP8LSetBitPos(br, br->bit_pos_ + p->bits); in ReadHuffmanCodeLengths()

Completed in 8 milliseconds