Home
last modified time | relevance | path

Searched refs:VadCircularBuffer (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/vad/
Dvad_circular_buffer.cc18 VadCircularBuffer::VadCircularBuffer(int buffer_size) in VadCircularBuffer() function in webrtc::VadCircularBuffer
26 VadCircularBuffer::~VadCircularBuffer() { in ~VadCircularBuffer()
29 void VadCircularBuffer::Reset() { in Reset()
35 VadCircularBuffer* VadCircularBuffer::Create(int buffer_size) { in Create()
38 return new VadCircularBuffer(buffer_size); in Create()
41 double VadCircularBuffer::Oldest() const { in Oldest()
48 double VadCircularBuffer::Mean() { in Mean()
61 void VadCircularBuffer::Insert(double value) { in Insert()
73 int VadCircularBuffer::BufferLevel() { in BufferLevel()
79 int VadCircularBuffer::Get(int index, double* value) const { in Get()
[all …]
Dvad_circular_buffer_unittest.cc25 static void InsertSequentially(int k, VadCircularBuffer* circular_buffer) { in InsertSequentially()
37 VadCircularBuffer* circular_buffer) { in Insert()
42 static void InsertZeros(int num_zeros, VadCircularBuffer* circular_buffer) { in InsertZeros()
47 rtc::scoped_ptr<VadCircularBuffer> circular_buffer( in TEST()
48 VadCircularBuffer::Create(kShortBuffSize)); in TEST()
75 rtc::scoped_ptr<VadCircularBuffer> circular_buffer( in TEST()
76 VadCircularBuffer::Create(kLongBuffSize)); in TEST()
94 rtc::scoped_ptr<VadCircularBuffer> circular_buffer( in TEST()
95 VadCircularBuffer::Create(kLongBuffSize)); in TEST()
Dvad_circular_buffer.h24 class VadCircularBuffer {
26 static VadCircularBuffer* Create(int buffer_size);
27 ~VadCircularBuffer();
47 explicit VadCircularBuffer(int buffer_size);
Dpitch_based_vad.h22 class VadCircularBuffer; variable
53 rtc::scoped_ptr<VadCircularBuffer> circular_buffer_;
Dpitch_based_vad.cc47 circular_buffer_(VadCircularBuffer::Create(kPosteriorHistorySize)) { in PitchBasedVad()