Searched refs:sync_buffer_ (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/modules/audio_coding/neteq/ |
D | merge_unittest.cc | 53 sync_buffer_(num_channels_, in MergeTest() 56 &sync_buffer_, in MergeTest() 61 merge_(test_sample_rate_hz_, num_channels_, &expand_, &sync_buffer_) { in MergeTest() 73 std::unique_ptr<int16_t[]> temp(new int16_t[sync_buffer_.Size()]); in SetUp() 74 ASSERT_TRUE(input_file_.Read(sync_buffer_.Size(), temp.get())); in SetUp() 75 sync_buffer_.Channel(0).OverwriteAt(temp.get(), sync_buffer_.Size(), 0); in SetUp() 77 sync_buffer_.set_next_index(sync_buffer_.next_index() - in SetUp() 80 ASSERT_GT(sync_buffer_.FutureLength(), 0u); in SetUp() 87 SyncBuffer sync_buffer_; member in webrtc::MergeTest
|
D | neteq_impl.cc | 381 controller_->GetFilteredBufferLevel() + sync_buffer_->FutureLength(); in FilteredCurrentDelayMs() 392 sync_buffer_->FutureLength(); in NetworkStatistics() 418 sync_buffer_->FutureLength()) * in GetOperationsAndState() 423 sync_buffer_->end_timestamp(); in GetOperationsAndState() 486 assert(sync_buffer_.get()); in FlushBuffers() 488 sync_buffer_->Flush(); in FlushBuffers() 489 sync_buffer_->set_next_index(sync_buffer_->next_index() - in FlushBuffers() 528 return rtc::dchecked_cast<int>(sync_buffer_->FutureLength() / in SyncBufferSizeMs() 534 return sync_buffer_.get(); in sync_buffer_for_test() 597 sync_buffer_->IncreaseEndTimestamp(main_timestamp - timestamp_); in InsertPacketInternal() [all …]
|
D | expand_unittest.cc | 78 sync_buffer_(num_channels_, in ExpandTest() 81 &sync_buffer_, in ExpandTest() 97 std::unique_ptr<int16_t[]> temp(new int16_t[sync_buffer_.Size()]); in SetUp() 98 ASSERT_TRUE(input_file_.Read(sync_buffer_.Size(), temp.get())); in SetUp() 99 sync_buffer_.Channel(0).OverwriteAt(temp.get(), sync_buffer_.Size(), 0); in SetUp() 107 SyncBuffer sync_buffer_; member in webrtc::ExpandTest
|
D | merge.cc | 39 sync_buffer_(sync_buffer), in Merge() 152 sync_buffer_->ReplaceAtIndex(*output, old_length, sync_buffer_->next_index()); in Process() 163 *old_length = sync_buffer_->FutureLength(); in GetExpandedSignal() 177 sync_buffer_->InsertZerosAtIndex(length_diff, sync_buffer_->next_index()); in GetExpandedSignal() 190 expanded_.PushBackFromIndex(*sync_buffer_, sync_buffer_->next_index()); in GetExpandedSignal()
|
D | comfort_noise.cc | 111 size_t start_ix = sync_buffer_->Size() - overlap_length_; in Generate() 116 (*sync_buffer_)[0][start_ix + i] = in Generate() 117 (((*sync_buffer_)[0][start_ix + i] * muting_window) + in Generate()
|
D | comfort_noise.h | 43 sync_buffer_(sync_buffer) {} in ComfortNoise() 66 SyncBuffer* sync_buffer_; variable
|
D | expand.cc | 38 sync_buffer_(sync_buffer), in Expand() 173 size_t start_ix = sync_buffer_->Size() - overlap_length_; in Process() 176 (*sync_buffer_)[channel_ix][start_ix + i] = in Process() 177 (((*sync_buffer_)[channel_ix][start_ix + i] * muting_window) + in Process() 395 const size_t audio_history_position = sync_buffer_->Size() - signal_length; in AnalyzeSignal() 397 (*sync_buffer_)[0].CopyTo(signal_length, audio_history_position, in AnalyzeSignal() 476 (*sync_buffer_)[channel_ix].CopyTo(signal_length, audio_history_position, in AnalyzeSignal()
|
D | merge.h | 91 SyncBuffer* sync_buffer_; variable
|
D | expand.h | 90 SyncBuffer* const sync_buffer_; variable
|
D | neteq_impl.h | 358 std::unique_ptr<SyncBuffer> sync_buffer_ RTC_GUARDED_BY(mutex_);
|