Home
last modified time | relevance | path

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

/external/libgav1/libgav1/src/utils/
Draw_bit_reader.cc42 size_t DivideBy8(size_t n, bool ceil) { return (n + (ceil ? 7 : 0)) >> 3; } in DivideBy8() function
52 const size_t byte_offset = DivideBy8(bit_offset_, false); in ReadBitImpl()
102 size_t byte_offset = DivideBy8(bit_offset_, false); in ReadLittleEndian()
127 const size_t byte_offset = DivideBy8(bit_offset_, false); in ReadUnsignedLeb128()
209 if (DivideBy8(bit_offset, false) >= size_) return false; in SkipBits()
217 return DivideBy8(bit_offset, false) < size_; in CanReadLiteral()
221 return DivideBy8(bit_offset_, false) >= size_; in Finished()
Dcommon.h267 constexpr int DivideBy8(int n) { return n >> 3; } in DivideBy8() function
/external/libgav1/libgav1/src/tile/
Dtile.cc388 if (index <= DivideBy8(tx_height << tx_width_log2)) return 1; in GetCoeffBaseContextEob()