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
Xiph.Org
aom-rav1e
Commits
ab98103f
Commit
ab98103f
authored
Sep 25, 2012
by
Jim Bankoski
Committed by
Gerrit Code Review
Sep 25, 2012
Browse files
Merge "disable segmentation on enhancement layers"
parents
eb492100
22141d9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/onyx_if.c
View file @
ab98103f
...
...
@@ -3752,8 +3752,13 @@ static void encode_frame_to_data_rate
/* Setup background Q adjustment for error resilient mode.
* For multi-layer encodes only enable this for the base layer.
*/
if
(
cpi
->
cyclic_refresh_mode_enabled
&&
(
cpi
->
current_layer
==
0
))
if
(
cpi
->
cyclic_refresh_mode_enabled
)
{
if
(
cpi
->
current_layer
==
0
)
cyclic_background_refresh
(
cpi
,
Q
,
0
);
else
disable_segmentation
(
cpi
);
}
vp8_compute_frame_size_bounds
(
cpi
,
&
frame_under_shoot_limit
,
&
frame_over_shoot_limit
);
...
...
@@ -3908,8 +3913,13 @@ static void encode_frame_to_data_rate
* and background refresh.
*/
Q
=
vp8_regulate_q
(
cpi
,
cpi
->
this_frame_target
);
if
(
cpi
->
cyclic_refresh_mode_enabled
&&
(
cpi
->
current_layer
==
0
))
cyclic_background_refresh
(
cpi
,
Q
,
0
);
if
(
cpi
->
cyclic_refresh_mode_enabled
)
{
if
(
cpi
->
current_layer
==
0
)
cyclic_background_refresh
(
cpi
,
Q
,
0
);
else
disable_segmentation
(
cpi
);
}
vp8_set_quantizer
(
cpi
,
Q
);
}
...
...
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