From 84ea002eb1e2e8276589ce24370d53e5d46013b4 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 22 Oct 2012 11:49:00 -0700 Subject: 8x8 transform support in splitmv. For splitmv, where partitioning is 8x16, 16x8 or 8x8, this patch uses the 8x8 transform (instead of the 4x4) if txfm_mode is ALLOW_8X8 or ALLOW_16X16. For TX_MODE_SELECT, splitmv can indicate which of the 2 transform sizes (4x4 or 8x8) it wants to use. Gains (with hybridtx4x4/8x8/16x16 and tx_select experiments enabled) on derf: +0.9%, HD: +0.4%, STD/HD: +0.8% (SSIM or overall PSNR, both metrics show similar improvements). Change-Id: Ide954b000b415548ed92a7ac78e24f36e60fcf06 --- vp8/decoder/detokenize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vp8/decoder/detokenize.c') diff --git a/vp8/decoder/detokenize.c b/vp8/decoder/detokenize.c index 85f213470..063fc2da6 100644 --- a/vp8/decoder/detokenize.c +++ b/vp8/decoder/detokenize.c @@ -537,7 +537,8 @@ int vp8_decode_mb_tokens_8x8(VP8D_COMP *pbi, MACROBLOCKD *xd, TX_TYPE tx_type = DCT_DCT; #endif - int bufthred = (xd->mode_info_context->mbmi.mode == I8X8_PRED) ? 16 : 24; + int bufthred = (xd->mode_info_context->mbmi.mode == I8X8_PRED || + xd->mode_info_context->mbmi.mode == SPLITMV) ? 16 : 24; if (xd->mode_info_context->mbmi.mode != B_PRED && xd->mode_info_context->mbmi.mode != SPLITMV && xd->mode_info_context->mbmi.mode != I8X8_PRED) { -- cgit v1.2.3