Home
last modified time | relevance | path

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

/external/v4l2_codec2/vda/
Dh264_bit_reader.cc13 bytes_left_(0), in H264BitReader()
28 bytes_left_ = size; in Initialize()
38 if (bytes_left_ < 1) in UpdateCurrByte()
46 --bytes_left_; in UpdateCurrByte()
51 if (bytes_left_ < 1) in UpdateCurrByte()
57 --bytes_left_; in UpdateCurrByte()
90 return (num_remaining_bits_in_curr_byte_ + bytes_left_ * 8); in NumBitsLeft()
110 for (off_t i = 0; i < bytes_left_; i++) { in HasMoreRBSPData()
115 bytes_left_ = 0; in HasMoreRBSPData()
Dbit_reader.cc13 bytes_left_(size), in BitReader()
40 if (nbytes > bytes_left_) in GetBytes()
41 nbytes = bytes_left_; in GetBytes()
45 bytes_left_ -= nbytes; in GetBytes()
Dvp8_parser.cc53 Vp8Parser::Vp8Parser() : stream_(nullptr), bytes_left_(0) { in Vp8Parser()
62 bytes_left_ = frame_size; in ParseFrame()
66 fhdr->frame_size = bytes_left_; in ParseFrame()
93 if (bytes_left_ < kFrameTagSize) in ParseFrameTag()
105 bytes_left_ -= kFrameTagSize; in ParseFrameTag()
109 if (bytes_left_ < kKeyframeTagSize) in ParseFrameTag()
117 bytes_left_ -= sizeof(kVp8StartCode); in ParseFrameTag()
128 bytes_left_ -= 4; in ParseFrameTag()
135 if (!bd_.Initialize(stream_, bytes_left_)) in ParseFrameHeader()
Dh264_parser.cc208 bytes_left_ = 0; in Reset()
225 bytes_left_ = stream_size; in SetEncryptedStream()
229 const uint8_t* stream_end = stream_ + bytes_left_; in SetEncryptedStream()
320 if (!FindStartCodeInClearRanges(stream_, bytes_left_, encrypted_ranges_, in LocateNALU()
328 bytes_left_ -= nalu_start_off; in LocateNALU()
331 off_t max_nalu_data_size = bytes_left_ - annexb_start_code_size; in LocateNALU()
472 << bytes_left_; in AdvanceToNextNALU()
474 bytes_left_ = 0; in AdvanceToNextNALU()
485 bytes_left_ = 0; in AdvanceToNextNALU()
494 bytes_left_ -= nalu_size_with_start_code; in AdvanceToNextNALU()
Dvp9_parser.cc341 bytes_left_ = stream_size; in SetStream()
347 bytes_left_ = 0; in Reset()
502 off_t bytes_left = bytes_left_; in ParseSuperframe()
506 bytes_left_ = 0; in ParseSuperframe()
Dh264_bit_reader.h60 off_t bytes_left_; variable
Dbit_reader.h61 int bytes_left_; variable
Dvp8_parser.h191 size_t bytes_left_; variable
Dh264_parser.h491 off_t bytes_left_; variable
Dvp9_parser.h431 off_t bytes_left_; variable