Home
last modified time | relevance | path

Searched refs:delta_pct (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/common_video/
Dbitrate_adjuster_unittest.cc120 float delta_pct = BitrateAdjuster::kBitrateTolerancePct * 2; in TEST_F() local
122 target_bitrate_bps = (1 + delta_pct) * target_bitrate_bps; in TEST_F()
126 target_bitrate_bps = (1 - delta_pct) * target_bitrate_bps; in TEST_F()
139 float delta_pct = BitrateAdjuster::kBitrateTolerancePct / 2; in TEST_F() local
141 target_bitrate_bps = (1 + delta_pct) * target_bitrate_bps; in TEST_F()
145 target_bitrate_bps = (1 - delta_pct) * target_bitrate_bps; in TEST_F()
156 float delta_pct = BitrateAdjuster::kBitrateTolerancePct / 2; in TEST_F() local
158 target_bitrate_bps = (1 + delta_pct) * target_bitrate_bps; in TEST_F()
164 target_bitrate_bps = (1 + delta_pct) * target_bitrate_bps; in TEST_F()
Dbitrate_adjuster.cc89 float delta_pct = delta / target_bitrate_bps; in IsWithinTolerance() local
90 return delta_pct < kBitrateTolerancePct; in IsWithinTolerance()