Commit 1a5bb3cc authored by Jingning Han's avatar Jingning Han
Browse files

Fix the comments in boundary block partition check

Change-Id: Ic6b2881d8d495269edbc514b33376ca963798b45
parent 16b876fb
...@@ -321,10 +321,10 @@ static int check_bsize_coverage(VP9_COMMON *cm, MACROBLOCKD *xd, ...@@ -321,10 +321,10 @@ static int check_bsize_coverage(VP9_COMMON *cm, MACROBLOCKD *xd,
assert(bsize > BLOCK_SIZE_SB8X8); assert(bsize > BLOCK_SIZE_SB8X8);
// return the node index in the prob tree for binary coding // 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)) if ((mi_col + ms < cm->mi_cols) && (mi_row + ms >= cm->mi_rows))
return 1; 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)) if ((mi_row + ms < cm->mi_rows) && (mi_col + ms >= cm->mi_cols))
return 2; return 2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment