chromium/third_party/libvpx/source/libvpx/vp8/vp8_ratectrl_rtc.cc

/*
 *  Copyright (c) 2021 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "vp8/vp8_ratectrl_rtc.h"

#include <math.h>

#include <new>

#include "vp8/common/common.h"
#include "vp8/encoder/onyx_int.h"
#include "vp8/encoder/ratectrl.h"
#include "vpx_ports/system_state.h"

namespace libvpx {
/* Quant MOD */
static const int kQTrans[] =;

static const unsigned char kf_high_motion_minq[QINDEX_RANGE] =;

static const unsigned char inter_minq[QINDEX_RANGE] =;

static int rescale(int val, int num, int denom) {}

std::unique_ptr<VP8RateControlRTC> VP8RateControlRTC::Create(
    const VP8RateControlRtcConfig &cfg) {}

VP8RateControlRTC::~VP8RateControlRTC() {}

bool VP8RateControlRTC::InitRateControl(const VP8RateControlRtcConfig &rc_cfg) {}

bool VP8RateControlRTC::UpdateRateControl(
    const VP8RateControlRtcConfig &rc_cfg) {}

FrameDropDecision VP8RateControlRTC::ComputeQP(
    const VP8FrameParamsQpRTC &frame_params) {}

int VP8RateControlRTC::GetQP() const {}

UVDeltaQP VP8RateControlRTC::GetUVDeltaQP() const {}

int VP8RateControlRTC::GetLoopfilterLevel() const {}

void VP8RateControlRTC::PostEncodeUpdate(uint64_t encoded_frame_size) {}
}  // namespace libvpx