Searched refs:bit_pos_ (Results 1 – 5 of 5) sorted by relevance
38 uint32_t bit_pos_; /* current bit-reading position in val_ */ member45 uint32_t bit_pos_; member69 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderSaveState()77 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderRestoreState()84 return (BROTLI_64_BITS ? 64 : 32) - br->bit_pos_; in BrotliGetAvailableBits()111 if (br->bit_pos_ >= 56) { in BrotliFillBitWindow()113 br->bit_pos_ ^= 56; /* here same as -= 56 because of the if condition */ in BrotliFillBitWindow()120 if (br->bit_pos_ >= 48) { in BrotliFillBitWindow()122 br->bit_pos_ ^= 48; /* here same as -= 48 because of the if condition */ in BrotliFillBitWindow()128 if (br->bit_pos_ >= 32) { in BrotliFillBitWindow()[all …]
31 br->bit_pos_ = sizeof(br->val_) << 3; in BrotliInitBitReader()
150 br->bit_pos_ = 0; in VP8LInitBitReader()177 br->bit_pos_ = 0; // To avoid undefined behaviour with shifts. in VP8LSetEndOfStream()182 while (br->bit_pos_ >= 8 && br->pos_ < br->len_) { in ShiftBytes()186 br->bit_pos_ -= 8; in ShiftBytes()194 assert(br->bit_pos_ >= VP8L_WBITS); in VP8LDoFillBitWindow()198 br->bit_pos_ -= VP8L_WBITS; in VP8LDoFillBitWindow()213 const int new_bits = br->bit_pos_ + n_bits; in VP8LReadBits()214 br->bit_pos_ = new_bits; in VP8LReadBits()
145 int bit_pos_; // current bit-reading position in val_ member165 return (uint32_t)(br->val_ >> (br->bit_pos_ & (VP8L_LBITS - 1))); in VP8LPrefetchBits()172 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS)); in VP8LIsEndOfStream()180 br->bit_pos_ = val; in VP8LSetBitPos()187 if (br->bit_pos_ >= VP8L_WBITS) VP8LDoFillBitWindow(br); in VP8LFillBitWindow()
190 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()