Merge "Properly set segmentation for error-resilient mode"
This commit is contained in:
commit
307c84c352
@ -51,7 +51,7 @@ void vp9_setup_in_frame_q_adj(VP9_COMP *cpi) {
|
||||
// Make SURE use of floating point in this function is safe.
|
||||
vpx_clear_system_state();
|
||||
|
||||
if (cm->frame_type == KEY_FRAME ||
|
||||
if (frame_is_intra_only(cm) || cm->error_resilient_mode ||
|
||||
cpi->refresh_alt_ref_frame ||
|
||||
(cpi->refresh_golden_frame && !cpi->rc.is_src_frame_alt_ref)) {
|
||||
int segment;
|
||||
|
@ -48,7 +48,7 @@ void vp9_vaq_frame_setup(VP9_COMP *cpi) {
|
||||
struct segmentation *seg = &cm->seg;
|
||||
int i;
|
||||
|
||||
if (cm->frame_type == KEY_FRAME ||
|
||||
if (frame_is_intra_only(cm) || cm->error_resilient_mode ||
|
||||
cpi->refresh_alt_ref_frame ||
|
||||
(cpi->refresh_golden_frame && !cpi->rc.is_src_frame_alt_ref)) {
|
||||
vp9_enable_segmentation(seg);
|
||||
|
Loading…
Reference in New Issue
Block a user