#ifndef VPX_VPX_DSP_PROB_H_
#define VPX_VPX_DSP_PROB_H_
#include <assert.h>
#include "./vpx_config.h"
#include "./vpx_dsp_common.h"
#include "vpx_ports/mem.h"
#ifdef __cplusplus
extern "C" {
#endif
vpx_prob;
#define MAX_PROB …
#define vpx_prob_half …
vpx_tree_index;
#define TREE_SIZE(leaf_count) …
#define vpx_complement(x) …
#define MODE_MV_COUNT_SAT …
vpx_tree;
static INLINE vpx_prob get_prob(unsigned int num, unsigned int den) { … }
static INLINE vpx_prob get_binary_prob(unsigned int n0, unsigned int n1) { … }
static INLINE vpx_prob weighted_prob(int prob1, int prob2, int factor) { … }
static INLINE vpx_prob merge_probs(vpx_prob pre_prob, const unsigned int ct[2],
unsigned int count_sat,
unsigned int max_update_factor) { … }
static const int count_to_update_factor[MODE_MV_COUNT_SAT + 1] = …;
static INLINE vpx_prob mode_mv_merge_probs(vpx_prob pre_prob,
const unsigned int ct[2]) { … }
void vpx_tree_merge_probs(const vpx_tree_index *tree, const vpx_prob *pre_probs,
const unsigned int *counts, vpx_prob *probs);
DECLARE_ALIGNED(…);
#ifdef __cplusplus
}
#endif
#endif