From 7dbd8a5d2b77612483ec6ed8d5fe616025c43844 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 7 Jun 2013 10:20:03 -0700 Subject: [PATCH] Fix static segmentation feature. Change-Id: Ia36f626b9b3c2fe7eb89bb9acddf4701db1baef2 --- vp9/encoder/vp9_mbgraph.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vp9/encoder/vp9_mbgraph.c b/vp9/encoder/vp9_mbgraph.c index 7d4906cf7..80614f5ca 100644 --- a/vp9/encoder/vp9_mbgraph.c +++ b/vp9/encoder/vp9_mbgraph.c @@ -265,6 +265,9 @@ static void update_mbgraph_frame_stats(VP9_COMP *cpi, xd->plane[0].pre[0].stride = buf->y_stride; xd->plane[1].dst.stride = buf->uv_stride; xd->mode_info_context = &mi_local; + mi_local.mbmi.sb_type = BLOCK_SIZE_MB16X16; + mi_local.mbmi.ref_frame[0] = LAST_FRAME; + mi_local.mbmi.ref_frame[1] = NONE; for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { int_mv arf_left_mv, gld_left_mv;