Home
last modified time | relevance | path

Searched refs:history_ (Results 1 – 7 of 7) 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/opencv3/modules/cudabgsegm/src/
Dmog.cpp85 int getHistory() const { return history_; } in getHistory()
86 void setHistory(int nframes) { history_ = nframes; } in setHistory()
101 int history_; member in __anon66be43d20111::MOGImpl
121 history_ = history > 0 ? history : defaultHistory; in MOGImpl()
152 …arningRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(nframes_, history_); in apply()
Dmog2.cpp92 int getHistory() const { return history_; } in getHistory()
93 void setHistory(int history) { history_ = history; } in setHistory()
131 int history_; member in __anon3eb1d9240111::MOG2Impl
159 history_ = history > 0 ? history : defaultHistory; in MOG2Impl()
197 …ngRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(2 * nframes_, history_); in apply()
/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