From: Peter de Rivaz Date: Thu, 18 Jun 2015 18:15:15 +0000 (+0100) Subject: Fix for supertx decode with segments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b09cc1945a6f4877a174fe36567d4713939bbfc;p=libvpx Fix for supertx decode with segments Change-Id: I5e07b0b9fafd2578ecfacf20fb70b07fd6977d98 --- diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c index 23695f4df..08b4f869a 100644 --- a/vp9/decoder/vp9_decodeframe.c +++ b/vp9/decoder/vp9_decodeframe.c @@ -1539,6 +1539,11 @@ static void decode_partition(VP9_COMMON *const cm, MACROBLOCKD *const xd, int eobtotal = 0; struct inter_args arg = { cm, xd, r, &eobtotal }; set_offsets_topblock(cm, xd, tile, bsize, mi_row, mi_col); + if (cm->seg.enabled) { + setup_plane_dequants(cm, xd, vp9_get_qindex(&cm->seg, + xd->mi[0].mbmi.segment_id, + cm->base_qindex)); + } #if CONFIG_EXT_TX xd->mi[0].mbmi.ext_txfrm = txfm; #endif