ref: 84f3b76e1cd3d80e7f15e24dea79a85c86689bc6
parent: 53f6f8ac93da102343949078c569465a5c22e479
author: Jingning Han <[email protected]>
date: Thu Aug 22 13:15:01 EDT 2013
Fix rectangular partition check flag Put rectangular partition check flag change according to the rd costs of NONE and SPLIT partition types under the speed feature. Change-Id: If681e1e078a8d43d86961ea4b748da5cd1b6c331
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1790,8 +1790,8 @@
} else {
// skip rectangular partition test when larger block size
// gives better rd cost
- do_rect &= !partition_none_allowed &&
- cpi->sf.less_rectangular_check;
+ if (cpi->sf.less_rectangular_check)
+ do_rect &= !partition_none_allowed;
}
}
partition_split_done = 1;