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
4c69a1ac
Commit
4c69a1ac
authored
Oct 12, 2017
by
Peter de Rivaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't warp sub 8x8 chroma blocks
BUG=aomedia:896 Change-Id: I414a1d7c924609ceb1cbf3edabae74d7521b8e55
parent
13f0d9cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
av1/common/reconinter.c
av1/common/reconinter.c
+12
-10
No files found.
av1/common/reconinter.c
View file @
4c69a1ac
...
...
@@ -162,23 +162,25 @@ static INLINE void av1_make_inter_predictor(
#if CONFIG_WARPED_MOTION || CONFIG_GLOBAL_MOTION
WarpedMotionParams
final_warp_params
;
const
int
do_warp
=
allow_warp
(
mi
,
warp_types
,
const
int
do_warp
=
(
w
>=
8
&&
h
>=
8
&&
allow_warp
(
mi
,
warp_types
,
#if CONFIG_GLOBAL_MOTION
#if CONFIG_COMPOUND_SINGLEREF
// TODO(zoeliu): To further check the single
// ref comp mode to work together with
// global motion.
has_second_ref
(
&
mi
->
mbmi
)
?
&
xd
->
global_motion
[
mi
->
mbmi
.
ref_frame
[
ref
]]
:
&
xd
->
global_motion
[
mi
->
mbmi
.
ref_frame
[
0
]],
// TODO(zoeliu): To further check the single
// ref comp mode to work together with
// global motion.
has_second_ref
(
&
mi
->
mbmi
)
?
&
xd
->
global_motion
[
mi
->
mbmi
.
ref_frame
[
ref
]]
:
&
xd
->
global_motion
[
mi
->
mbmi
.
ref_frame
[
0
]],
#else // !(CONFIG_COMPOUND_SINGLEREF)
&
xd
->
global_motion
[
mi
->
mbmi
.
ref_frame
[
ref
]],
&
xd
->
global_motion
[
mi
->
mbmi
.
ref_frame
[
ref
]],
#endif // CONFIG_COMPOUND_SINGLEREF
#endif // CONFIG_GLOBAL_MOTION
#if CONFIG_MOTION_VAR
build_for_obmc
,
build_for_obmc
,
#endif // CONFIG_MOTION_VAR
&
final_warp_params
);
&
final_warp_params
)
)
;
if
(
do_warp
#if CONFIG_AMVR
&&
xd
->
cur_frame_mv_precision_level
==
0
...
...
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