Home
last modified time | relevance | path

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

/external/v4l2_codec2/vda/
Dh264_bit_reader.cc15 num_remaining_bits_in_curr_byte_(0), in H264BitReader()
29 num_remaining_bits_in_curr_byte_ = 0; in Initialize()
58 num_remaining_bits_in_curr_byte_ = 8; in UpdateCurrByte()
73 while (num_remaining_bits_in_curr_byte_ < bits_left) { in ReadBits()
75 *out |= (curr_byte_ << (bits_left - num_remaining_bits_in_curr_byte_)); in ReadBits()
76 bits_left -= num_remaining_bits_in_curr_byte_; in ReadBits()
82 *out |= (curr_byte_ >> (num_remaining_bits_in_curr_byte_ - bits_left)); in ReadBits()
84 num_remaining_bits_in_curr_byte_ -= bits_left; in ReadBits()
90 return (num_remaining_bits_in_curr_byte_ + bytes_left_ * 8); in NumBitsLeft()
96 if (num_remaining_bits_in_curr_byte_ == 0 && !UpdateCurrByte()) in HasMoreRBSPData()
[all …]
Dh264_bit_reader.h67 int num_remaining_bits_in_curr_byte_; variable