From: Dmitry Kovalev Date: Wed, 13 Nov 2013 22:14:27 +0000 (-0800) Subject: Merge "Replacing raster_block with block in the encoder." X-Git-Tag: v1.3.0~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3c75a2d6c04213e729c8e4cc45ec7f45aa1c38f;p=libvpx Merge "Replacing raster_block with block in the encoder." --- b3c75a2d6c04213e729c8e4cc45ec7f45aa1c38f diff --cc vp9/encoder/vp9_encodemb.c index 7afed26d6,c43e96d41..b709848dd --- a/vp9/encoder/vp9_encodemb.c +++ b/vp9/encoder/vp9_encodemb.c @@@ -136,11 -136,8 +136,10 @@@ static void optimize_b(MACROBLOCK *mb const int16_t *scan, *nb; const int mul = 1 + (tx_size == TX_32X32); uint8_t token_cache[1024]; - const int ib = txfrm_block_to_raster_block(plane_bsize, tx_size, block); const int16_t *dequant_ptr = pd->dequant; - const uint8_t *const band_translate = get_band_translate(tx_size); + const uint8_t *const band_translate = (tx_size == TX_4X4 ? + vp9_coefband_trans_4x4 : + mb->coefband_trans_8x8plus); assert((!type && !plane) || (type && plane)); dqcoeff_ptr = BLOCK_OFFSET(pd->dqcoeff, block);