Commit 84f3b76e authored by Jingning Han's avatar Jingning Han
Browse files

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
parent 53f6f8ac
......@@ -1790,8 +1790,8 @@ static void rd_pick_partition(VP9_COMP *cpi, TOKENEXTRA **tp, int mi_row,
} 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;
......
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