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
750955b4
Commit
750955b4
authored
Oct 31, 2016
by
Yaowu Xu
Browse files
mvref_common.c: apply clang-format
Change-Id: I755bfb11a57e92e3a68855a53e95efe526f198fd
parent
09a42657
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/mvref_common.c
View file @
750955b4
...
...
@@ -423,7 +423,7 @@ static void setup_ref_mv_list(const AV1_COMMON *cm, const MACROBLOCKD *xd,
mode_context
[
ref_frame
]
|=
(
1
<<
ZEROMV_OFFSET
);
}
// Scan the second outer area.
// Scan the second outer area.
#if CONFIG_SIMP_MV_PRED
scan_blk_mbmi
(
cm
,
xd
,
mi_row
,
mi_col
,
block
,
rf
,
-
1
,
-
1
,
ref_mv_stack
,
refmv_count
);
...
...
@@ -614,8 +614,7 @@ static void find_mv_refs_idx(const AV1_COMMON *cm, const MACROBLOCKD *xd,
const
MB_MODE_INFO
*
const
candidate
=
&
xd
->
mi
[
mv_ref
->
col
+
mv_ref
->
row
*
xd
->
mi_stride
]
->
mbmi
;
#if CONFIG_SIMP_MV_PRED
if
(
candidate
==
NULL
)
continue
;
if
(
candidate
==
NULL
)
continue
;
if
((
mi_row
%
8
)
+
mv_ref
->
row
>=
8
||
(
mi_col
%
8
)
+
mv_ref
->
col
>=
8
)
continue
;
#endif
...
...
@@ -666,8 +665,7 @@ static void find_mv_refs_idx(const AV1_COMMON *cm, const MACROBLOCKD *xd,
const
MB_MODE_INFO
*
const
candidate
=
&
xd
->
mi
[
mv_ref
->
col
+
mv_ref
->
row
*
xd
->
mi_stride
]
->
mbmi
;
#if CONFIG_SIMP_MV_PRED
if
(
candidate
==
NULL
)
continue
;
if
(
candidate
==
NULL
)
continue
;
if
((
mi_row
%
8
)
+
mv_ref
->
row
>=
8
||
(
mi_col
%
8
)
+
mv_ref
->
col
>=
8
)
continue
;
#endif
...
...
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