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
df14d9f4
Commit
df14d9f4
authored
Aug 04, 2015
by
Yunqing Wang
Committed by
Gerrit Code Review
Aug 04, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Minor adjustment in diagonal sub-pixel point checking"
parents
f4656961
726d1b84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vp9/encoder/vp9_mcomp.c
vp9/encoder/vp9_mcomp.c
+2
-2
No files found.
vp9/encoder/vp9_mcomp.c
View file @
df14d9f4
...
...
@@ -703,8 +703,8 @@ int vp9_find_best_sub_pixel_tree(const MACROBLOCK *x,
}
// Check diagonal sub-pixel position
tc
=
bc
+
(
cost_array
[
0
]
<
cost_array
[
1
]
?
-
hstep
:
hstep
);
tr
=
br
+
(
cost_array
[
2
]
<
cost_array
[
3
]
?
-
hstep
:
hstep
);
tc
=
bc
+
(
cost_array
[
0
]
<
=
cost_array
[
1
]
?
-
hstep
:
hstep
);
tr
=
br
+
(
cost_array
[
2
]
<
=
cost_array
[
3
]
?
-
hstep
:
hstep
);
if
(
tc
>=
minc
&&
tc
<=
maxc
&&
tr
>=
minr
&&
tr
<=
maxr
)
{
const
uint8_t
*
const
pre_address
=
y
+
(
tr
>>
3
)
*
y_stride
+
(
tc
>>
3
);
MV
this_mv
=
{
tr
,
tc
};
...
...
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