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
78ee8312
Commit
78ee8312
authored
Mar 29, 2016
by
Jingning Han
Committed by
Gerrit Code Review
Mar 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Fix a rdcost computation issue in sub8x8 block mode search" into nextgenv2
parents
7279a474
d133524e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
vp10/encoder/rdopt.c
vp10/encoder/rdopt.c
+5
-7
No files found.
vp10/encoder/rdopt.c
View file @
78ee8312
...
...
@@ -5301,13 +5301,6 @@ static int64_t rd_pick_best_sub8x8_mode(VP10_COMP *cpi, MACROBLOCK *x,
if (!subpelmv && have_ref &&
ref_bsi->rdstat[i][mode_idx].brdcost < INT64_MAX) {
#if CONFIG_REF_MV
bsi
->
rdstat
[
i
][
mode_idx
].
pred_mv
[
0
].
as_int
=
bsi
->
ref_mv
[
0
]
->
as_int
;
if
(
has_second_rf
)
bsi
->
rdstat
[
i
][
mode_idx
].
pred_mv
[
1
].
as_int
=
bsi
->
ref_mv
[
1
]
->
as_int
;
bsi->rdstat[i][mode_idx].byrate =
ref_bsi->rdstat[i][mode_idx].byrate;
bsi->rdstat[i][mode_idx].bdist =
...
...
@@ -5318,6 +5311,11 @@ static int64_t rd_pick_best_sub8x8_mode(VP10_COMP *cpi, MACROBLOCK *x,
ref_bsi->rdstat[i][mode_idx].byrate;
bsi->rdstat[i][mode_idx].eobs =
ref_bsi->rdstat[i][mode_idx].eobs;
bsi->rdstat[i][mode_idx].brdcost =
RDCOST(x->rdmult, x->rddiv, bsi->rdstat[i][mode_idx].brate,
bsi->rdstat[i][mode_idx].bdist);
memcpy(bsi->rdstat[i][mode_idx].ta,
ref_bsi->rdstat[i][mode_idx].ta,
sizeof(bsi->rdstat[i][mode_idx].ta));
...
...
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