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
This commit is contained in:
Jingning Han
2013-08-22 17:15:01 -07:00
parent 53f6f8ac93
commit 84f3b76e1c

View File

@@ -1790,8 +1790,8 @@ static void rd_pick_partition(VP9_COMP *cpi, TOKENEXTRA **tp, int mi_row,
} else { } else {
// skip rectangular partition test when larger block size // skip rectangular partition test when larger block size
// gives better rd cost // gives better rd cost
do_rect &= !partition_none_allowed && if (cpi->sf.less_rectangular_check)
cpi->sf.less_rectangular_check; do_rect &= !partition_none_allowed;
} }
} }
partition_split_done = 1; partition_split_done = 1;