#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_entropymode.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx/vpx_integer.h"
const vpx_tree_index vp9_coef_con_tree[TREE_SIZE(ENTROPY_TOKENS)] = …;
const vpx_prob vp9_cat1_prob[] = …;
const vpx_prob vp9_cat2_prob[] = …;
const vpx_prob vp9_cat3_prob[] = …;
const vpx_prob vp9_cat4_prob[] = …;
const vpx_prob vp9_cat5_prob[] = …;
const vpx_prob vp9_cat6_prob[] = …;
#if CONFIG_VP9_HIGHBITDEPTH
const vpx_prob vp9_cat6_prob_high12[] = …;
#endif
const uint8_t vp9_coefband_trans_8x8plus[1024] = …;
const uint8_t vp9_coefband_trans_4x4[16] = …;
const uint8_t vp9_pt_energy_class[ENTROPY_TOKENS] = …;
const vpx_prob vp9_pareto8_full[COEFF_PROB_MODELS][MODEL_NODES] = …;
static const vp9_coeff_probs_model default_coef_probs_4x4[PLANE_TYPES] = …;
static const vp9_coeff_probs_model default_coef_probs_8x8[PLANE_TYPES] = …;
static const vp9_coeff_probs_model default_coef_probs_16x16[PLANE_TYPES] = …;
static const vp9_coeff_probs_model default_coef_probs_32x32[PLANE_TYPES] = …;
static void extend_to_full_distribution(vpx_prob *probs, vpx_prob p) { … }
void vp9_model_to_full_probs(const vpx_prob *model, vpx_prob *full) { … }
void vp9_default_coef_probs(VP9_COMMON *cm) { … }
#define COEF_COUNT_SAT …
#define COEF_MAX_UPDATE_FACTOR …
#define COEF_COUNT_SAT_KEY …
#define COEF_MAX_UPDATE_FACTOR_KEY …
#define COEF_COUNT_SAT_AFTER_KEY …
#define COEF_MAX_UPDATE_FACTOR_AFTER_KEY …
static void adapt_coef_probs(VP9_COMMON *cm, TX_SIZE tx_size,
unsigned int count_sat,
unsigned int update_factor) { … }
void vp9_adapt_coef_probs(VP9_COMMON *cm) { … }