Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dsend_time_history.cc26 history_.clear(); in Clear()
34 if (history_.empty()) in AddAndRemoveOld()
37 history_.insert(std::pair<uint16_t, PacketInfo>( in AddAndRemoveOld()
44 auto it = history_.find(sequence_number); in OnSentPacket()
45 if (it == history_.end()) in OnSentPacket()
52 while (!history_.empty()) { in EraseOld()
53 auto it = history_.find(oldest_sequence_number_); in EraseOld()
54 assert(it != history_.end()); in EraseOld()
62 history_.erase(it); in EraseOld()
71 if (history_.empty()) in UpdateOldestSequenceNumber()
[all …]
Dsend_time_history_unittest.cc27 : clock_(0), history_(&clock_, kDefaultHistoryLengthMs) {} in SendTimeHistoryTest()
38 history_.AddAndRemoveOld(sequence_number, length, was_paced); in AddPacketWithSendTime()
39 history_.OnSentPacket(sequence_number, send_time_ms); in AddPacketWithSendTime()
43 SendTimeHistory history_; member in webrtc::test::SendTimeHistoryTest
77 EXPECT_TRUE(history_.GetInfo(&received_packet, false)); in TEST_F()
81 EXPECT_TRUE(history_.GetInfo(&received_packet2, true)); in TEST_F()
85 EXPECT_FALSE(history_.GetInfo(&received_packet3, true)); in TEST_F()
98 EXPECT_TRUE(history_.GetInfo(&info, true)); in TEST_F()
122 history_.AddAndRemoveOld(sent_packets[i].sequence_number, in TEST_F()
127 history_.OnSentPacket(sent_packets[i].sequence_number, in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_utils.cc71 history_.reset(new rtc::scoped_ptr<complex<float>[]>[num_freqs_]()); in VarianceArray()
73 history_[i].reset(new complex<float>[window_size_]()); in VarianceArray()
166 history_[i][history_cursor_] = data[i]; in WindowedStep()
168 mean = history_[i][history_cursor_]; in WindowedStep()
172 zerofudge(history_[i][(history_cursor_ + j) % window_size_]); in WindowedStep()
173 sample = history_[i][(history_cursor_ + j) % window_size_]; in WindowedStep()
Dintelligibility_utils.h116 rtc::scoped_ptr<rtc::scoped_ptr<std::complex<float>[]>[]> history_; variable
/external/webrtc/webrtc/modules/remote_bitrate_estimator/include/
Dsend_time_history.h42 std::map<uint16_t, PacketInfo> history_; variable