Merge "aq-mode=3: Update to allow for refresh on modes other than zero-mv."
This commit is contained in:
@@ -770,8 +770,8 @@ static void update_state(VP9_COMP *cpi, ThreadData *td,
|
||||
// Else for cyclic refresh mode update the segment map, set the segment id
|
||||
// and then update the quantizer.
|
||||
if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) {
|
||||
vp9_cyclic_refresh_update_segment(cpi, &xd->mi[0].src_mi->mbmi,
|
||||
mi_row, mi_col, bsize, 1, ctx->rate);
|
||||
vp9_cyclic_refresh_update_segment(cpi, &xd->mi[0].src_mi->mbmi, mi_row,
|
||||
mi_col, bsize, ctx->rate, ctx->dist);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1458,9 +1458,9 @@ static void update_state_rt(VP9_COMP *cpi, ThreadData *td,
|
||||
: cm->last_frame_seg_map;
|
||||
mbmi->segment_id = vp9_get_segment_id(cm, map, bsize, mi_row, mi_col);
|
||||
} else {
|
||||
// Setting segmentation map for cyclic_refresh
|
||||
vp9_cyclic_refresh_update_segment(cpi, mbmi, mi_row, mi_col, bsize, 1,
|
||||
ctx->rate);
|
||||
// Setting segmentation map for cyclic_refresh.
|
||||
vp9_cyclic_refresh_update_segment(cpi, mbmi, mi_row, mi_col, bsize,
|
||||
ctx->rate, ctx->dist);
|
||||
}
|
||||
vp9_init_plane_quantizers(cpi, x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user