diff options
author | Jingning Han <jingning@google.com> | 2013-04-09 20:34:25 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2013-04-10 10:52:10 -0700 |
commit | e63099d199b492710cd2d74f02f56071ba8a6749 (patch) | |
tree | 1b517972ae4faba56e40b40781fbf84c99d31a06 /vp9/decoder/vp9_decodframe.c | |
parent | 1c6df34c06cc87d49dc4ea4e814133834e46339a (diff) | |
download | libvpx-e63099d199b492710cd2d74f02f56071ba8a6749.tar libvpx-e63099d199b492710cd2d74f02f56071ba8a6749.tar.gz libvpx-e63099d199b492710cd2d74f02f56071ba8a6749.tar.bz2 libvpx-e63099d199b492710cd2d74f02f56071ba8a6749.zip |
Make SB Decoding units size-independent
Unify the sb32x32 and sb64x64 decoding units, which also allow for
other rectangular block sizes.
Change-Id: Ia5187ab2af56f98c3f99272bdf4dbcabe798ad5d
Diffstat (limited to 'vp9/decoder/vp9_decodframe.c')
-rw-r--r-- | vp9/decoder/vp9_decodframe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c index 1e95e2207..5aecbe933 100644 --- a/vp9/decoder/vp9_decodframe.c +++ b/vp9/decoder/vp9_decodframe.c @@ -625,7 +625,7 @@ static void decode_sb64(VP9D_COMP *pbi, MACROBLOCKD *xd, int mb_row, int mb_col, } // dequantization and idct - eobtotal = vp9_decode_sb64_tokens(pbi, xd, bc); + eobtotal = vp9_decode_tokens(pbi, xd, bc, BLOCK_SIZE_SB64X64); if (eobtotal == 0) { // skip loopfilter for (n = 0; n < 16; n++) { const int x_idx = n & 3, y_idx = n >> 2; @@ -704,7 +704,7 @@ static void decode_sb32(VP9D_COMP *pbi, MACROBLOCKD *xd, int mb_row, int mb_col, } // dequantization and idct - eobtotal = vp9_decode_sb_tokens(pbi, xd, bc); + eobtotal = vp9_decode_tokens(pbi, xd, bc, BLOCK_SIZE_SB32X32); if (eobtotal == 0) { // skip loopfilter mi->mbmi.mb_skip_coeff = 1; if (mb_col + 1 < pc->mb_cols) @@ -766,7 +766,7 @@ static void decode_mb(VP9D_COMP *pbi, MACROBLOCKD *xd, #if CONFIG_NEWBINTRAMODES if (mode != B_PRED) #endif - eobtotal = vp9_decode_mb_tokens(pbi, xd, bc); + eobtotal = vp9_decode_tokens(pbi, xd, bc, BLOCK_SIZE_MB16X16); } //mode = xd->mode_info_context->mbmi.mode; |