Home
last modified time | relevance | path

Searched refs:number_of_buffers (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/content/renderer/pepper/
Dpepper_media_stream_track_host_base.cc33 bool PepperMediaStreamTrackHostBase::InitBuffers(int32_t number_of_buffers, in InitBuffers() argument
36 DCHECK_GT(number_of_buffers, 0); in InitBuffers()
45 base::CheckedNumeric<int32_t> size = number_of_buffers * buffer_size_aligned; in InitBuffers()
56 if (!buffer_manager_.SetBuffers(number_of_buffers, in InitBuffers()
77 number_of_buffers, in InitBuffers()
87 DCHECK_LT(index, buffer_manager_.number_of_buffers()); in SendEnqueueBufferMessageToPlugin()
Dpepper_media_stream_audio_track_host.cc80 DCHECK_LT(index, host_->buffer_manager()->number_of_buffers()); in EnqueueBuffer()
86 int32_t number_of_buffers) { in Configure() argument
89 if (number_of_buffers != number_of_buffers_) in Configure()
91 number_of_buffers_ = number_of_buffers; in Configure()
Dpepper_media_stream_track_host_base.h30 bool InitBuffers(int32_t number_of_buffers,
Dpepper_media_stream_audio_track_host.h48 void Configure(int32_t number_of_buffers);
Dpepper_media_stream_video_track_host.cc300 for (int32_t i = 0; i < buffer_manager()->number_of_buffers(); ++i) { in InitBuffers()
/external/chromium_org/ppapi/shared_impl/
Dmedia_stream_buffer_manager.cc24 bool MediaStreamBufferManager::SetBuffers(int32_t number_of_buffers, in SetBuffers() argument
29 DCHECK_GT(number_of_buffers, 0); in SetBuffers()
34 number_of_buffers_ = number_of_buffers; in SetBuffers()
45 for (int32_t i = 0; i < number_of_buffers; ++i) { in SetBuffers()
Dmedia_stream_buffer_manager_unittest.cc17 int32_t number_of_buffers) { in CreateSharedMemory() argument
20 options.size = buffer_size * number_of_buffers; in CreateSharedMemory()
57 EXPECT_EQ(kNumberOfBuffers, manager.number_of_buffers()); in TEST()
109 EXPECT_EQ(kNumberOfBuffers, manager.number_of_buffers()); in TEST()
145 EXPECT_EQ(kNumberOfBuffers1, manager.number_of_buffers()); in TEST()
168 EXPECT_EQ(kNumberOfBuffers2, manager.number_of_buffers()); in TEST()
Dmedia_stream_buffer_manager.h52 int32_t number_of_buffers() const { return number_of_buffers_; } in number_of_buffers() function
57 bool SetBuffers(int32_t number_of_buffers,
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
Dsingle_rw_fifo_unittest.cc46 void Push(int number_of_buffers) { in Push() argument
47 for (int8_t i = 0; i < number_of_buffers; ++i) { in Push()
57 void Pop(int number_of_buffers) { in Pop() argument
58 for (int8_t i = 0; i < number_of_buffers; ++i) { in Pop()
/external/chromium_org/ppapi/proxy/
Dmedia_stream_track_resource_base.cc39 DCHECK_LT(index, buffer_manager()->number_of_buffers()); in SendEnqueueBufferMessageToHost()
68 int32_t number_of_buffers, in OnPluginMsgInitBuffers() argument
73 buffer_manager_.SetBuffers(number_of_buffers, buffer_size, in OnPluginMsgInitBuffers()
Dmedia_stream_track_resource_base.h51 int32_t number_of_buffers,
/external/chromium_org/media/filters/
Dsource_buffer_stream_unittest.cc77 void NewSegmentAppend(int starting_position, int number_of_buffers) { in NewSegmentAppend() argument
78 AppendBuffers(starting_position, number_of_buffers, true, in NewSegmentAppend()
82 void NewSegmentAppend(int starting_position, int number_of_buffers, in NewSegmentAppend() argument
84 AppendBuffers(starting_position, number_of_buffers, true, in NewSegmentAppend()
89 int starting_position, int number_of_buffers, in NewSegmentAppend_OffsetFirstBuffer() argument
91 AppendBuffers(starting_position, number_of_buffers, true, in NewSegmentAppend_OffsetFirstBuffer()
96 int starting_position, int number_of_buffers) { in NewSegmentAppend_ExpectFailure() argument
97 AppendBuffers(starting_position, number_of_buffers, true, in NewSegmentAppend_ExpectFailure()
101 void AppendBuffers(int starting_position, int number_of_buffers) { in AppendBuffers() argument
102 AppendBuffers(starting_position, number_of_buffers, false, in AppendBuffers()
[all …]