#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 {
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) { … }
}