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
00f1580a
Commit
00f1580a
authored
Jun 15, 2016
by
Debargha Mukherjee
Committed by
Gerrit Code Review
Jun 15, 2016
Browse files
Merge "Remove magic number from traversal (CYCLIC_REFRESH_AQ)." into nextgenv2
parents
e20a29d3
58168f5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp10/encoder/aq_cyclicrefresh.c
View file @
00f1580a
...
...
@@ -324,13 +324,15 @@ void vp10_cyclic_refresh_check_golden_update(VP10_COMP *const cpi) {
double
fraction_low
=
0
.
0
;
int
low_content_frame
=
0
;
MODE_INFO
**
mi
=
cm
->
mi_grid_visible
;
MODE_INFO
**
mi
;
RATE_CONTROL
*
const
rc
=
&
cpi
->
rc
;
const
int
rows
=
cm
->
mi_rows
,
cols
=
cm
->
mi_cols
;
int
cnt1
=
0
,
cnt2
=
0
;
int
force_gf_refresh
=
0
;
for
(
mi_row
=
0
;
mi_row
<
rows
;
mi_row
++
)
{
mi
=
cm
->
mi_grid_visible
+
mi_row
*
cm
->
mi_stride
;
for
(
mi_col
=
0
;
mi_col
<
cols
;
mi_col
++
)
{
int16_t
abs_mvr
=
mi
[
0
]
->
mbmi
.
mv
[
0
].
as_mv
.
row
>=
0
?
mi
[
0
]
->
mbmi
.
mv
[
0
].
as_mv
.
row
:
-
1
*
mi
[
0
]
->
mbmi
.
mv
[
0
].
as_mv
.
row
;
...
...
@@ -349,7 +351,6 @@ void vp10_cyclic_refresh_check_golden_update(VP10_COMP *const cpi) {
if
(
cr
->
map
[
mi_row
*
cols
+
mi_col
]
<
1
)
low_content_frame
++
;
}
mi
+=
8
;
}
// For video conference clips, if the background has high motion in current
...
...
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