summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2013-05-15 14:12:33 -0700
committerJingning Han <jingning@google.com>2013-05-15 14:15:21 -0700
commit9e49ba05f4a78fcaf61e01a108ca968b295b645a (patch)
tree7af2e1ab9cc029c9adf5791f5f30f4d731471bcf
parenta272ff25cd99f47950dddb55e94b370e95b70016 (diff)
downloadlibvpx-9e49ba05f4a78fcaf61e01a108ca968b295b645a.tar
libvpx-9e49ba05f4a78fcaf61e01a108ca968b295b645a.tar.gz
libvpx-9e49ba05f4a78fcaf61e01a108ca968b295b645a.tar.bz2
libvpx-9e49ba05f4a78fcaf61e01a108ca968b295b645a.zip
Fix first-pass encoding test
Always initialize the mode_info with sb_type of BLOCK_SIZE_MB16X16 for the first-pass encoding test. Change-Id: Ic86393eeef981bdd523a5b44cfac3f0b24c068b7
-rw-r--r--vp9/encoder/vp9_firstpass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c
index ddcf849ce..0561efef9 100644
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -522,6 +522,8 @@ void vp9_first_pass(VP9_COMP *cpi) {
xd->plane[2].dst.buf = new_yv12->v_buffer + recon_uvoffset;
xd->left_available = (mb_col != 0);
+ xd->mode_info_context->mbmi.sb_type = BLOCK_SIZE_MB16X16;
+
// do intra 16x16 prediction
this_error = vp9_encode_intra(cpi, x, use_dc_pred);