Searched refs:bit_pos_ (Results 1 – 5 of 5) sorted by relevance
46 uint32_t bit_pos_; /* current bit-reading position in val_ */ member53 uint32_t bit_pos_; member71 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderSaveState()79 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderRestoreState()86 return (BROTLI_64_BITS ? 64 : 32) - br->bit_pos_; in BrotliGetAvailableBits()110 if (br->bit_pos_ >= 56) { in BrotliFillBitWindow()112 br->bit_pos_ ^= 56; /* here same as -= 56 because of the if condition */ in BrotliFillBitWindow()119 if (br->bit_pos_ >= 48) { in BrotliFillBitWindow()121 br->bit_pos_ ^= 48; /* here same as -= 48 because of the if condition */ in BrotliFillBitWindow()127 if (br->bit_pos_ >= 32) { in BrotliFillBitWindow()[all …]
20 br->bit_pos_ = sizeof(br->val_) << 3; in BrotliInitBitReader()
149 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()
126 int bit_pos_; // current bit-reading position in val_ member146 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()
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()