Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
e09a9a6c
Commit
e09a9a6c
authored
Nov 06, 2017
by
Thomas Daede
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update entropy optimizer for new AOM_CDF* macros.
Change-Id: If0b45997af5c0b209b48db9bd78ed6be204acb7c
parent
e82e5774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
tools/aom_entropy_optimizer.c
tools/aom_entropy_optimizer.c
+6
-3
No files found.
tools/aom_entropy_optimizer.c
View file @
e09a9a6c
...
...
@@ -251,9 +251,12 @@ static int parse_counts_for_cdf_opt(aom_count_type **ct_ptr,
(
*
ct_ptr
)
+=
total_modes
;
if
(
tabs
>
0
)
fprintf
(
probsfile
,
"%*c"
,
tabs
*
SPACES_PER_TAB
,
' '
);
for
(
int
k
=
0
;
k
<
total_modes
;
++
k
)
fprintf
(
probsfile
,
" AOM_ICDF(%d),"
,
cdfs
[
k
]);
fprintf
(
probsfile
,
" 0 "
);
fprintf
(
probsfile
,
"AOM_CDF%d( "
,
total_modes
);
for
(
int
k
=
0
;
k
<
total_modes
-
1
;
++
k
)
{
fprintf
(
probsfile
,
"%d"
,
cdfs
[
k
]);
if
(
k
<
total_modes
-
2
)
fprintf
(
probsfile
,
","
);
}
fprintf
(
probsfile
,
" )"
);
}
else
{
for
(
int
k
=
0
;
k
<
cts_each_dim
[
0
];
++
k
)
{
int
tabs_next_level
;
...
...
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