Home
last modified time | relevance | path

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

/external/v4l2_codec2/vda/
Dbit_reader_core.cc13 const int kRegWidthInBits = sizeof(uint64_t) * 8; variable
37 *flag = (reg_ & (UINT64_C(1) << (kRegWidthInBits - 1))) != 0; in ReadFlag()
56 while (num_bits >= kRegWidthInBits) { in SkipBitsSmall()
57 if (!ReadBitsInternal(kRegWidthInBits, &dummy)) in SkipBitsSmall()
59 num_bits -= kRegWidthInBits; in SkipBitsSmall()
122 if (num_bits == kRegWidthInBits) { in ReadBitsInternal()
131 *out = reg_ >> (kRegWidthInBits - num_bits); in ReadBitsInternal()
138 DCHECK_LE(min_nbits, kRegWidthInBits); in Refill()
173 if (nbits_ == kRegWidthInBits || nbits_next_ == 0) in RefillCurrentRegister()
178 int free_nbits = kRegWidthInBits - nbits_; in RefillCurrentRegister()