Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/vad/
Dvad_circular_buffer.cc17 VadCircularBuffer::VadCircularBuffer(int buffer_size) in VadCircularBuffer() function in webrtc::VadCircularBuffer
24 VadCircularBuffer::~VadCircularBuffer() {} in ~VadCircularBuffer()
26 void VadCircularBuffer::Reset() { in Reset()
32 VadCircularBuffer* VadCircularBuffer::Create(int buffer_size) { in Create()
35 return new VadCircularBuffer(buffer_size); in Create()
38 double VadCircularBuffer::Oldest() const { in Oldest()
45 double VadCircularBuffer::Mean() { in Mean()
58 void VadCircularBuffer::Insert(double value) { in Insert()
70 int VadCircularBuffer::BufferLevel() { in BufferLevel()
76 int VadCircularBuffer::Get(int index, double* value) const { in Get()
[all …]
Dvad_circular_buffer_unittest.cc26 static void InsertSequentially(int k, VadCircularBuffer* circular_buffer) { in InsertSequentially()
38 VadCircularBuffer* circular_buffer) { in Insert()
43 static void InsertZeros(int num_zeros, VadCircularBuffer* circular_buffer) { in InsertZeros()
48 std::unique_ptr<VadCircularBuffer> circular_buffer( in TEST()
49 VadCircularBuffer::Create(kShortBuffSize)); in TEST()
76 std::unique_ptr<VadCircularBuffer> circular_buffer( in TEST()
77 VadCircularBuffer::Create(kLongBuffSize)); in TEST()
95 std::unique_ptr<VadCircularBuffer> circular_buffer( in TEST()
96 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.h21 class VadCircularBuffer; variable
52 std::unique_ptr<VadCircularBuffer> circular_buffer_;
Dpitch_based_vad.cc44 circular_buffer_(VadCircularBuffer::Create(kPosteriorHistorySize)) { in PitchBasedVad()