Lines Matching refs:target_bitrate_bps
83 uint32_t target_bitrate_bps) { in IsWithinTolerance() argument
84 if (target_bitrate_bps == 0) { in IsWithinTolerance()
88 static_cast<float>(target_bitrate_bps)); in IsWithinTolerance()
89 float delta_pct = delta / target_bitrate_bps; in IsWithinTolerance()
121 float target_bitrate_bps = target_bitrate_bps_; in UpdateBitrate() local
123 bitrate_tracker_.Rate(current_time_ms).value_or(target_bitrate_bps); in UpdateBitrate()
124 float error = target_bitrate_bps - estimated_bitrate_bps; in UpdateBitrate()
127 if (estimated_bitrate_bps > target_bitrate_bps || in UpdateBitrate()
128 error > kBitrateTolerancePct * target_bitrate_bps) { in UpdateBitrate()
131 float adjusted_bitrate_bps = target_bitrate_bps + adjustment; in UpdateBitrate()
144 << static_cast<uint32_t>(target_bitrate_bps) in UpdateBitrate()