Commit 7942c875 authored by Yushin Cho's avatar Yushin Cho

Remove a redundant call of av1_init_plane_quantizers()

With aq_mode=VARIANCE_AQ, the av1_init_plane_quantizers() is
called in set_segment_rdmult().

Change-Id: Id2584a0544ee633832b844ba06c137236068c4b9
parent 953b77ee
......@@ -708,8 +708,6 @@ static void rd_pick_sb_modes(const AV1_COMP *const cpi, TileDataEnc *tile_data,
const int energy =
bsize <= BLOCK_16X16 ? x->mb_energy : av1_block_energy(cpi, x, bsize);
mbmi->segment_id = av1_vaq_segment_id(energy);
// Re-initialise quantiser
av1_init_plane_quantizers(cpi, x, mbmi->segment_id);
}
x->rdmult = set_segment_rdmult(cpi, x, mbmi->segment_id);
} else if (aq_mode == COMPLEXITY_AQ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment