From 1a5bb3cc76304bf46a2ca8d1c1ec9ec95e060759 Mon Sep 17 00:00:00 2001 From: Jingning Han <jingning@google.com> Date: Wed, 12 Jun 2013 12:05:06 -0700 Subject: [PATCH] Fix the comments in boundary block partition check Change-Id: Ic6b2881d8d495269edbc514b33376ca963798b45 --- vp9/common/vp9_onyxc_int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h index f461bf3bad..0d8b0f445e 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -321,10 +321,10 @@ static int check_bsize_coverage(VP9_COMMON *cm, MACROBLOCKD *xd, assert(bsize > BLOCK_SIZE_SB8X8); // return the node index in the prob tree for binary coding - // skip horizontal/none partition types + // only allow horizontal/split partition types if ((mi_col + ms < cm->mi_cols) && (mi_row + ms >= cm->mi_rows)) return 1; - // skip vertical/none partition types + // only allow vertical/split partition types if ((mi_row + ms < cm->mi_rows) && (mi_col + ms >= cm->mi_cols)) return 2; -- GitLab