Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
06cce842
Commit
06cce842
authored
Sep 04, 2016
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused aom_rans_build_cdf_from_pdf.
Change-Id: I544989eae45b7dda04250365c3de99f50110a76b
parent
f3b00072
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
aom_dsp/ans.c
aom_dsp/ans.c
+0
-9
aom_dsp/ans.h
aom_dsp/ans.h
+0
-2
No files found.
aom_dsp/ans.c
View file @
06cce842
...
...
@@ -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
;
...
...
aom_dsp/ans.h
View file @
06cce842
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment