summaryrefslogtreecommitdiff
path: root/vp8/decoder/decodframe.c
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2011-11-17 18:31:00 -0800
committerYaowu Xu <yaowu@google.com>2011-12-01 07:34:27 -0800
commitbba710fcbd1d815f65e8effb135cd5afe6330824 (patch)
treed65cbea18a40a34d0275b73798a297205ce322fe /vp8/decoder/decodframe.c
parenta917afabbb94e12da1107fda7edc52b174532304 (diff)
downloadlibvpx-bba710fcbd1d815f65e8effb135cd5afe6330824.tar
libvpx-bba710fcbd1d815f65e8effb135cd5afe6330824.tar.gz
libvpx-bba710fcbd1d815f65e8effb135cd5afe6330824.tar.bz2
libvpx-bba710fcbd1d815f65e8effb135cd5afe6330824.zip
added transform type to MB_MODE_INFO
this commit is to add an variable in the macroblock level mode info structure to track the transform size used in each MB, so the information can be used later in the loop filter to change how loop filter works on MBs with different transform sizes. Change-Id: Id0eeaba6cc854c6d1be00ed8d237b3d9e250e447
Diffstat (limited to 'vp8/decoder/decodframe.c')
-rw-r--r--vp8/decoder/decodframe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vp8/decoder/decodframe.c b/vp8/decoder/decodframe.c
index 3d2ba2da9..a3421ef89 100644
--- a/vp8/decoder/decodframe.c
+++ b/vp8/decoder/decodframe.c
@@ -210,10 +210,11 @@ static void decode_macroblock(VP8D_COMP *pbi, MACROBLOCKD *xd,
int i;
#if CONFIG_T8X8
- int tx_type = get_seg_tx_type(xd, xd->mode_info_context->mbmi.segment_id);
+ int tx_type = get_seg_tx_type( xd,
+ xd->mode_info_context->mbmi.segment_id);
+ xd->mode_info_context->mbmi.txfm_size = tx_type;
#endif
-
if (xd->mode_info_context->mbmi.mb_skip_coeff)
{
vp8_reset_mb_tokens_context(xd);