// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/gpu/h264_rate_control_util.h" #include <algorithm> #include "base/logging.h" namespace media::h264_rate_control_util { float QP2QStepSize(uint32_t qp) { … } uint32_t QStepSize2QP(float q_step) { … } base::TimeDelta ClampedTimestampDiff(base::TimeDelta ts_new, base::TimeDelta ts_old) { … } float ClampedLinearInterpolation(float x, float x0, float x1, float y0, float y1) { … } } // namespace media::h264_rate_control_util