Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
0950ed82
Commit
0950ed82
authored
9 years ago
by
Aℓex Converse
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Port active map / cyclic refresh fixes to vp10."
parents
1eaf748c
efefdad7
No related branches found
No related tags found
2 merge requests
!6
Rav1e 11 yushin 1
,
!3
Rav1e 10 yushin
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp10/encoder/aq_cyclicrefresh.c
+9
-1
9 additions, 1 deletion
vp10/encoder/aq_cyclicrefresh.c
with
9 additions
and
1 deletion
vp10/encoder/aq_cyclicrefresh.c
+
9
−
1
View file @
0950ed82
...
@@ -262,9 +262,17 @@ void vp10_cyclic_refresh_update_segment(VP10_COMP *const cpi,
...
@@ -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
// 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 reference frame isn't the previous frame, the previous value in
// the map for this spatial location is not entirely correct.
// 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
(
cr
->
last_coded_q_map
[
map_offset
]
=
clamp
(
cm
->
base_qindex
+
cr
->
qindex_delta
[
mbmi
->
segment_id
],
0
,
MAXQ
);
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
]);
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment