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
0950ed82
Commit
0950ed82
authored
Mar 14, 2016
by
Alex Converse
Committed by
Gerrit Code Review
Mar 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Port active map / cyclic refresh fixes to vp10."
parents
1eaf748c
efefdad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
vp10/encoder/aq_cyclicrefresh.c
vp10/encoder/aq_cyclicrefresh.c
+9
-1
No files found.
vp10/encoder/aq_cyclicrefresh.c
View file @
0950ed82
...
...
@@ -262,9 +262,17 @@ void vp10_cyclic_refresh_update_segment(VP10_COMP *const cpi,
// don't update the map for them. For cases where motion is non-zero or
// the reference frame isn't the previous frame, the previous value in
// the map for this spatial location is not entirely correct.
if
(
!
is_inter_block
(
mbmi
)
||
!
skip
)
if
((
!
is_inter_block
(
mbmi
)
||
!
skip
)
&&
mbmi
->
segment_id
<=
CR_SEGMENT_ID_BOOST2
)
{
cr
->
last_coded_q_map
[
map_offset
]
=
clamp
(
cm
->
base_qindex
+
cr
->
qindex_delta
[
mbmi
->
segment_id
],
0
,
MAXQ
);
}
else
if
(
is_inter_block
(
mbmi
)
&&
skip
&&
mbmi
->
segment_id
<=
CR_SEGMENT_ID_BOOST2
)
{
cr
->
last_coded_q_map
[
map_offset
]
=
VPXMIN
(
clamp
(
cm
->
base_qindex
+
cr
->
qindex_delta
[
mbmi
->
segment_id
],
0
,
MAXQ
),
cr
->
last_coded_q_map
[
map_offset
]);
}
}
}
...
...
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