Remove unused aom_rans_build_cdf_from_pdf
Change-Id: I544989eae45b7dda04250365c3de99f50110a76b (cherry picked from aom/master commit 06cce842caa5212826d51c2a317de0bdfae74349)
This commit is contained in:
@@ -15,15 +15,6 @@
|
||||
#include "aom_dsp/ans.h"
|
||||
#include "aom_dsp/prob.h"
|
||||
|
||||
void aom_rans_build_cdf_from_pdf(const AnsP10 token_probs[], rans_lut cdf_tab) {
|
||||
int i;
|
||||
cdf_tab[0] = 0;
|
||||
for (i = 1; cdf_tab[i - 1] < RANS_PRECISION; ++i) {
|
||||
cdf_tab[i] = cdf_tab[i - 1] + token_probs[i - 1];
|
||||
}
|
||||
assert(cdf_tab[i - 1] == RANS_PRECISION);
|
||||
}
|
||||
|
||||
static int find_largest(const AnsP10 *const pdf_tab, int num_syms) {
|
||||
int largest_idx = -1;
|
||||
int largest_p = -1;
|
||||
|
||||
@@ -39,8 +39,6 @@ typedef uint16_t AnsP10;
|
||||
// This is now just a boring cdf.
|
||||
typedef uint16_t rans_lut[16];
|
||||
|
||||
void aom_rans_build_cdf_from_pdf(const AnsP10 token_probs[], rans_lut cdf_tab);
|
||||
|
||||
void aom_rans_merge_prob8_pdf(AnsP10 *const out_pdf, const AnsP8 node_prob,
|
||||
const AnsP10 *const src_pdf, int in_syms);
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user