Lines Matching refs:value_or
510 bool prev_fps_bad = !fps_threshold_.IsHigh().value_or(true); in QualitySample()
511 bool prev_qp_bad = qp_threshold_.IsHigh().value_or(false); in QualitySample()
512 bool prev_variance_bad = variance_threshold_.IsHigh().value_or(false); in QualitySample()
519 double fps_variance = fps_variance_opt.value_or(0); in QualitySample()
524 bool fps_bad = !fps_threshold_.IsHigh().value_or(true); in QualitySample()
525 bool qp_bad = qp_threshold_.IsHigh().value_or(false); in QualitySample()
526 bool variance_bad = variance_threshold_.IsHigh().value_or(false); in QualitySample()
555 << " fps_bad: " << fps_bad << " qp: " << qp.value_or(-1) in QualitySample()
667 stats_.render_frame_rate = renders_fps_estimator_.Rate(now_ms).value_or(0); in GetStats()
668 stats_.decode_frame_rate = decode_fps_estimator_.Rate(now_ms).value_or(0); in GetStats()
677 .value_or(-1); in GetStats()
696 static_cast<double>(current_delay_counter_.Sum(1).value_or(0)) / in GetStats()