Searched refs:VadCircularBuffer (Results 1 – 5 of 5) sorted by relevance
17 VadCircularBuffer::VadCircularBuffer(int buffer_size) in VadCircularBuffer() function in webrtc::VadCircularBuffer24 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 …]
26 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()
24 class VadCircularBuffer {26 static VadCircularBuffer* Create(int buffer_size);27 ~VadCircularBuffer();47 explicit VadCircularBuffer(int buffer_size);
21 class VadCircularBuffer; variable52 std::unique_ptr<VadCircularBuffer> circular_buffer_;
44 circular_buffer_(VadCircularBuffer::Create(kPosteriorHistorySize)) { in PitchBasedVad()