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
70539b10
Commit
70539b10
authored
Dec 02, 2017
by
Zoe Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant check on single ref for motion mode
Change-Id: Ia8321afd087f99371cdf07f3a03249580e09964d
parent
5f11e915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
av1/common/blockd.h
av1/common/blockd.h
+2
-1
No files found.
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
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