Home
last modified time | relevance | path

Searched refs:LossAccount (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe.h37 struct LossAccount { struct
38 LossAccount() : num_total(0), num_lost(0) {} in LossAccount() argument
39 LossAccount(size_t num_total, size_t num_lost) in LossAccount() argument
41 void Add(LossAccount rhs);
42 void Subtract(LossAccount rhs);
168 LossAccount LinkedSetPacketLossRatio();
171 LossAccount loss_account_;
Dbwe.cc153 LossAccount BweReceiver::LinkedSetPacketLossRatio() { in LinkedSetPacketLossRatio()
155 return LossAccount(); in LinkedSetPacketLossRatio()
167 return LossAccount(set_total_packets, set_lost_packets); in LinkedSetPacketLossRatio()
263 void LossAccount::Add(LossAccount rhs) { in Add()
267 void LossAccount::Subtract(LossAccount rhs) { in Subtract()
272 float LossAccount::LossRatio() { in LossRatio()
Dbwe_unittest.cc110 LossAccount loss_account_;
117 LossAccount rhs(kTotal, kLost); in TEST_F()
365 LossAccount loss_account = bwe_receiver_.LinkedSetPacketLossRatio(); in TEST_F()