Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
02be3ee6
Commit
02be3ee6
authored
Oct 24, 2016
by
Yaowu Xu
Committed by
Gerrit Code Review
Oct 24, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Use remove some magic numbers in aom_rans_merge_prob8_pdf." into nextgenv2
parents
91072e98
8db9faef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
aom_dsp/ans.c
aom_dsp/ans.c
+1
-1
No files found.
aom_dsp/ans.c
View file @
02be3ee6
...
...
@@ -39,7 +39,7 @@ void aom_rans_merge_prob8_pdf(aom_cdf_prob *const out_pdf,
const
int
out_syms
=
in_syms
+
1
;
assert
(
src_pdf
!=
out_pdf
);
out_pdf
[
0
]
=
node_prob
<<
(
10
-
8
);
out_pdf
[
0
]
=
node_prob
<<
(
RANS_PROB_BITS
-
ANS_P8_SHIFT
);
adjustment
-=
out_pdf
[
0
];
for
(
i
=
0
;
i
<
in_syms
;
++
i
)
{
int
p
=
(
p1
*
src_pdf
[
i
]
+
round_fact
)
>>
ANS_P8_SHIFT
;
...
...
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