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
Open sidebar
Xiph.Org
aom-rav1e
Commits
ba9dd8a6
Commit
ba9dd8a6
authored
Sep 07, 2017
by
Yaowu Xu
Browse files
Ensure valid cost table is used
BUG=aomedia:685 Change-Id: I592016faeb4645cf43c599e0e2e11127e2a17c4e
parent
049a788c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
av1/encoder/encodeframe.c
av1/encoder/encodeframe.c
+2
-1
No files found.
av1/encoder/encodeframe.c
View file @
ba9dd8a6
...
...
@@ -3427,7 +3427,8 @@ static void rd_pick_partition(const AV1_COMP *const cpi, ThreadData *td,
#endif
bsize
);
#endif // CONFIG_CB4X4
const
int
*
partition_cost
=
x
->
partition_cost
[
pl
];
const
int
*
partition_cost
=
pl
>=
0
?
x
->
partition_cost
[
pl
]
:
x
->
partition_cost
[
0
];
#if CONFIG_SUPERTX
int
this_rate_nocoef
,
sum_rate_nocoef
=
0
,
best_rate_nocoef
=
INT_MAX
;
int
abort_flag
;
...
...
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