Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
59872069
Commit
59872069
authored
Mar 25, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Mar 25, 2014
Browse files
Merge "Change back the scaling calculation."
parents
17e9df14
22232ec6
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_reconinter.c
View file @
59872069
...
...
@@ -308,10 +308,8 @@ static void dec_build_inter_predictors(MACROBLOCKD *xd, int plane, int block,
y0_16
=
sf
->
scale_value_y
(
y0_16
,
sf
);
// Map the top left corner of the block into the reference frame.
// NOTE: This must be done in this way instead of
// sf->scale_value_x(x_start + x, sf).
x0
=
sf
->
scale_value_x
(
x_start
,
sf
)
+
sf
->
scale_value_x
(
x
,
sf
);
y0
=
sf
->
scale_value_y
(
y_start
,
sf
)
+
sf
->
scale_value_y
(
y
,
sf
);
x0
=
sf
->
scale_value_x
(
x_start
+
x
,
sf
);
y0
=
sf
->
scale_value_y
(
y_start
+
y
,
sf
);
// Scale the MV and incorporate the sub-pixel offset of the block
// in the reference frame.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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