Remove redundant vp9_init_plane_quantizers call

When aq mode is on, the quantizer will be reset later in the same
function (line 571).

Change-Id: I20635db31261d136d04d5deeb881ad3957078bf1
This commit is contained in:
Jingning Han
2014-08-14 09:55:31 -07:00
parent ccef8842d2
commit d67b608c5d

View File

@@ -539,10 +539,9 @@ static void update_state(VP9_COMP *cpi, PICK_MODE_CONTEXT *ctx,
} }
// Else for cyclic refresh mode update the segment map, set the segment id // Else for cyclic refresh mode update the segment map, set the segment id
// and then update the quantizer. // and then update the quantizer.
else if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) { if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) {
vp9_cyclic_refresh_update_segment(cpi, &xd->mi[0]->mbmi, vp9_cyclic_refresh_update_segment(cpi, &xd->mi[0]->mbmi,
mi_row, mi_col, bsize, 1); mi_row, mi_col, bsize, 1);
vp9_init_plane_quantizers(cpi, x);
} }
} }