Searched refs:backward_capacity (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/media/base/
H A Dseekable_buffer.h13 // |backward_capacity| and |forward_capacity|.
17 // bytes exceeds |backward_capacity|, the exceeding bytes are evicted and thus
18 // backward_bytes() will always be less than or equal to |backward_capacity|.
48 // Constructs an instance with |forward_capacity| and |backward_capacity|.
50 SeekableBuffer(int backward_capacity, int forward_capacity);
60 // reading caused backward_bytes() to exceed backward_capacity(), an eviction
94 // If a forward seeking caused backward_bytes() to exceed backward_capacity(),
110 // Sets the backward_capacity to |new_backward_capacity| bytes.
121 int backward_capacity() const { return backward_capacity_; } function in class:media::SeekableBuffer
H A Dseekable_buffer.cc14 SeekableBuffer::SeekableBuffer(int backward_capacity, int forward_capacity) argument
16 backward_capacity_(backward_capacity),
/external/chromium_org/media/blink/
H A Dbuffered_resource_loader_unittest.cc96 void SetLoaderBuffer(int forward_capacity, int backward_capacity) { argument
98 loader_->buffer_.set_backward_capacity(backward_capacity);
254 int backward_capacity,
258 EXPECT_EQ(backward_capacity, loader_->buffer_.backward_capacity());
264 EXPECT_EQ(loader_->buffer_.backward_capacity(),
277 EXPECT_GE(loader_->buffer_.backward_capacity(), kMinBufferCapacity);
282 EXPECT_LE(loader_->buffer_.backward_capacity(), kMaxBufferCapacity);
253 ConfirmBufferState(int backward_bytes, int backward_capacity, int forward_bytes, int forward_capacity) argument
H A Dbuffered_resource_loader.cc594 int backward_capacity; local
597 playback_rate_, bitrate_, &backward_capacity, &forward_capacity);
602 buffer_.set_backward_capacity(backward_capacity);

Completed in 253 milliseconds