Home
last modified time | relevance | path

Searched refs:forward_capacity (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc296 if (last_offset_ > buffer_.forward_capacity()) { in Read()
297 saved_forward_capacity_ = buffer_.forward_capacity(); in Read()
458 if (buffer_.forward_bytes() > buffer_.forward_capacity()) { in didReceiveData()
459 int excess = buffer_.forward_bytes() - buffer_.forward_capacity(); in didReceiveData()
589 int forward_capacity; in UpdateBufferWindow() local
591 playback_rate_, bitrate_, &backward_capacity, &forward_capacity); in UpdateBufferWindow()
597 buffer_.set_forward_capacity(forward_capacity); in UpdateBufferWindow()
626 return buffer_.forward_bytes() >= buffer_.forward_capacity(); in ShouldDefer()
Dbuffered_resource_loader_unittest.cc94 void SetLoaderBuffer(int forward_capacity, int backward_capacity) { in SetLoaderBuffer() argument
95 loader_->buffer_.set_forward_capacity(forward_capacity); in SetLoaderBuffer()
223 int capacity = loader_->buffer_.forward_capacity(); in WriteUntilThreshold()
254 int forward_capacity) { in ConfirmBufferState() argument
258 EXPECT_EQ(forward_capacity, loader_->buffer_.forward_capacity()); in ConfirmBufferState()
267 EXPECT_EQ(loader_->buffer_.forward_capacity(), expected_forward_capacity); in ConfirmLoaderBufferForwardCapacity()
274 EXPECT_GE(loader_->buffer_.forward_capacity(), kMinBufferCapacity); in CheckBufferWindowBounds()
279 EXPECT_LE(loader_->buffer_.forward_capacity(), kMaxBufferCapacity); in CheckBufferWindowBounds()
/external/chromium_org/media/base/
Dseekable_buffer.h50 SeekableBuffer(int backward_capacity, int forward_capacity);
117 int forward_capacity() const { return forward_capacity_; } in forward_capacity() function
Dseekable_buffer.cc14 SeekableBuffer::SeekableBuffer(int backward_capacity, int forward_capacity) in SeekableBuffer() argument
18 forward_capacity_(forward_capacity), in SeekableBuffer()
/external/chromium/webkit/glue/media/
Dbuffered_resource_loader.cc357 if (buffer_->forward_bytes() > buffer_->forward_capacity()) { in didReceiveData()
358 size_t excess = buffer_->forward_bytes() - buffer_->forward_capacity(); in didReceiveData()
483 return buffer_->forward_bytes() >= buffer_->forward_capacity(); in ShouldEnableDefer()
511 size_t half_capacity = buffer_->forward_capacity() / 2; in ShouldDisableDefer()
Dbuffered_resource_loader_unittest.cc91 void SetLoaderBuffer(size_t forward_capacity, size_t backward_capacity) { in SetLoaderBuffer() argument
93 new media::SeekableBuffer(backward_capacity, forward_capacity)); in SetLoaderBuffer()
/external/chromium_org/media/audio/
Daudio_low_latency_input_output_unittest.cc212 buffer_->set_forward_capacity(2 * buffer_->forward_capacity()); in OnData()
/external/chromium_org/media/audio/android/
Daudio_android_unittest.cc231 while (bytes_written < buffer_->forward_capacity()) { in ~FileAudioSink()
322 fifo_->set_forward_capacity(2 * fifo_->forward_capacity()); in OnData()