Home
last modified time | relevance | path

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

/external/v4l2_codec2/vda/
Dbit_reader_core.cc12 const int kRegWidthInBits = sizeof(uint64_t) * 8; variable
39 *flag = (reg_ & (UINT64_C(1) << (kRegWidthInBits - 1))) != 0; in ReadFlag()
58 while (num_bits >= kRegWidthInBits) { in SkipBitsSmall()
59 if (!ReadBitsInternal(kRegWidthInBits, &dummy)) in SkipBitsSmall()
61 num_bits -= kRegWidthInBits; in SkipBitsSmall()
124 if (num_bits == kRegWidthInBits) { in ReadBitsInternal()
133 *out = reg_ >> (kRegWidthInBits - num_bits); in ReadBitsInternal()
140 DCHECK_LE(min_nbits, kRegWidthInBits); in Refill()
175 if (nbits_ == kRegWidthInBits || nbits_next_ == 0) in RefillCurrentRegister()
180 int free_nbits = kRegWidthInBits - nbits_; in RefillCurrentRegister()