Lines Matching refs:range
114 // If there is no keyframe after |timestamp|, we can't split the range.
130 // the first buffer of the new range so we should set the start
131 // time of the new range to |timestamp| so we preserve part of the
132 // gap in the new range.
139 // Create a new range with |removed_buffers|.
146 // this range and |split_range| accordingly.
222 // Delete buffers from the beginning of the buffered range up until (but not
242 // the range.
293 // Check if the removal range is within a GOP and skip the loop if so.
432 void SourceBufferRange::AppendRangeToEnd(const SourceBufferRange& range,
434 DCHECK(CanAppendRangeToEnd(range));
437 if (transfer_current_position && range.next_buffer_index_ >= 0)
438 next_buffer_index_ = range.next_buffer_index_ + buffers_.size();
440 AppendBuffersToEnd(range.buffers_);
444 const SourceBufferRange& range) const {
445 return CanAppendBuffersToEnd(range.buffers_);
470 const SourceBufferRange& range) const {
471 return GetStartTimestamp() <= range.GetStartTimestamp() &&
472 GetEndTimestamp() >= range.GetEndTimestamp();
475 bool SourceBufferRange::EndOverlaps(const SourceBufferRange& range) const {
476 return range.GetStartTimestamp() <= GetEndTimestamp() &&
477 GetEndTimestamp() < range.GetEndTimestamp();
550 // within this range.
568 // Find all buffers involved in the range.