Skip to content
GitLab
Menu
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
70539b10
Commit
70539b10
authored
Dec 02, 2017
by
Zoe Liu
Browse files
Remove redundant check on single ref for motion mode
Change-Id: Ia8321afd087f99371cdf07f3a03249580e09964d
parent
5f11e915
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/blockd.h
View file @
70539b10
...
...
@@ -1259,7 +1259,8 @@ motion_mode_allowed(int block, const WarpedMotionParams *gm_params,
is_inter_mode
(
mbmi
->
mode
)
&&
mbmi
->
ref_frame
[
1
]
!=
INTRA_FRAME
&&
is_motion_variation_allowed_compound
(
mbmi
))
{
if
(
!
check_num_overlappable_neighbors
(
mbmi
))
return
SIMPLE_TRANSLATION
;
if
(
!
has_second_ref
(
mbmi
)
&&
mbmi
->
num_proj_ref
[
0
]
>=
1
&&
assert
(
!
has_second_ref
(
mbmi
));
if
(
mbmi
->
num_proj_ref
[
0
]
>=
1
&&
!
av1_is_scaled
(
&
(
xd
->
block_refs
[
0
]
->
sf
)))
{
#if CONFIG_AMVR
if
(
xd
->
cur_frame_force_integer_mv
)
{
...
...
Write
Preview
Supports
Markdown
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