Searched refs:bit_offset_ (Results 1 – 9 of 9) sorted by relevance
/external/libgav1/libgav1/src/utils/ |
D | raw_bit_reader.cc | 47 : data_(data), bit_offset_(0), size_(size) { in RawBitReader() 52 const size_t byte_offset = DivideBy8(bit_offset_, false); in ReadBitImpl() 54 const uint8_t shift = 7 - Mod8(bit_offset_); in ReadBitImpl() 55 ++bit_offset_; in ReadBitImpl() 98 assert(Mod8(bit_offset_) == 0); in ReadLittleEndian() 102 size_t byte_offset = DivideBy8(bit_offset_, false); in ReadLittleEndian() 113 bit_offset_ = byte_offset * 8; in ReadLittleEndian() 119 assert(Mod8(bit_offset_) == 0); in ReadUnsignedLeb128() 127 const size_t byte_offset = DivideBy8(bit_offset_, false); in ReadUnsignedLeb128() 129 bit_offset_ += 8; in ReadUnsignedLeb128() [all …]
|
D | raw_bit_reader.h | 45 size_t bit_offset() const { return bit_offset_; } in bit_offset() 72 size_t bit_offset_; variable
|
/external/webrtc/rtc_base/ |
D | bit_buffer.cc | 77 : bytes_(bytes), byte_count_(byte_count), byte_offset_(), bit_offset_() { in BitBuffer() 83 return (static_cast<uint64_t>(byte_count_) - byte_offset_) * 8 - bit_offset_; in RemainingBitCount() 119 size_t remaining_bits_in_current_byte = 8 - bit_offset_; in PeekBits() 124 *val = HighestBits(bits, bit_offset_ + bit_count); in PeekBits() 157 byte_offset_ += (bit_offset_ + bit_count) / 8; in ConsumeBits() 158 bit_offset_ = (bit_offset_ + bit_count) % 8; in ConsumeBits() 198 size_t original_bit_offset = bit_offset_; in ReadExponentialGolomb() 241 *out_bit_offset = bit_offset_; in GetCurrentOffset() 250 bit_offset_ = bit_offset; in Seek() 283 size_t remaining_bits_in_current_byte = 8 - bit_offset_; in WriteBits() [all …]
|
D | bit_buffer.h | 98 size_t bit_offset_; variable
|
/external/libwebm/common/ |
D | vp9_header_parser.cc | 20 bit_offset_ = 0; in SetFrame() 118 const size_t off = bit_offset_; in ReadBit() 123 bit_offset_++; in ReadBit()
|
D | vp9_header_parser.h | 34 bit_offset_(0), in Vp9HeaderParser() 102 size_t bit_offset_; variable
|
/external/bcc/src/cc/frontends/b/ |
D | node.h | 227 size_t bit_offset_; variable 230 : bit_offset_(strtoul(bofs.c_str(), NULL, 0)), bit_width_(strtoul(bsz.c_str(), NULL, 0)) {} in BitopExprNode() 439 size_t bit_offset_; variable 443 : id_(move(id)), storage_type_(t), bit_width_(bit_width), bit_offset_(bit_offset), slot_(0) {} in id_()
|
D | codegen_llvm.cc | 253 … n->bitop_->bit_offset_, bits_to_uint(n->bitop_->bit_width_ + 1), n->bitop_->bit_width_); in visit_ident_expr_node() 299 … n->bitop_->bit_offset_, bits_to_uint(n->bitop_->bit_width_ + 1), n->bitop_->bit_width_); in visit_ident_expr_node() 320 n->bitop_->bit_width_, n->bitop_->bit_offset_); in visit_assign_expr_node() 322 emit(" << %d)", n->bitop_->bit_offset_); in visit_assign_expr_node() 369 size_t bit_offset = f->bit_offset_; in visit_packet_expr_node() 372 bit_offset += f->bit_width_ - (n->bitop_->bit_offset_ + n->bitop_->bit_width_); in visit_packet_expr_node() 373 bit_width = std::min(bit_width - n->bitop_->bit_offset_, n->bitop_->bit_width_); in visit_packet_expr_node()
|
D | parser.cc | 165 (*it)->bit_offset_ = offset; in struct_add()
|