Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
46218c9c
Commit
46218c9c
authored
Jun 26, 2014
by
Paul Wilkins
Committed by
Gerrit Code Review
Jun 26, 2014
Browse files
Merge "Fix quality regression for multi arf off case."
parents
e84e8685
1c27e1f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_bitstream.c
View file @
46218c9c
...
...
@@ -904,7 +904,7 @@ static int get_refresh_mask(VP9_COMP *cpi) {
(
cpi
->
refresh_golden_frame
<<
cpi
->
alt_fb_idx
);
}
else
{
int
arf_idx
=
cpi
->
alt_fb_idx
;
if
(
cpi
->
pass
==
2
)
{
if
(
(
cpi
->
pass
==
2
)
&&
cpi
->
multi_arf_allowed
)
{
const
GF_GROUP
*
const
gf_group
=
&
cpi
->
twopass
.
gf_group
;
arf_idx
=
gf_group
->
arf_update_idx
[
gf_group
->
index
];
}
...
...
vp9/encoder/vp9_encoder.c
View file @
46218c9c
...
...
@@ -1514,7 +1514,7 @@ void vp9_update_reference_frames(VP9_COMP *cpi) {
}
else
{
/* For non key/golden frames */
if
(
cpi
->
refresh_alt_ref_frame
)
{
int
arf_idx
=
cpi
->
alt_fb_idx
;
if
(
cpi
->
pass
==
2
)
{
if
(
(
cpi
->
pass
==
2
)
&&
cpi
->
multi_arf_allowed
)
{
const
GF_GROUP
*
const
gf_group
=
&
cpi
->
twopass
.
gf_group
;
arf_idx
=
gf_group
->
arf_update_idx
[
gf_group
->
index
];
}
...
...
@@ -2513,7 +2513,7 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags,
cm
->
show_frame
=
1
;
cm
->
intra_only
=
0
;
// Check to see if the frame should be encoded
i
s an arf overlay.
// Check to see if the frame should be encoded
a
s an arf overlay.
check_src_altref
(
cpi
);
}
}
...
...
Write
Preview
Supports
Markdown
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