ref: ace93a175de219fa0b9a643ef8c217dea4217564
parent: fa0cd6108758dcaaa4a645d2e3c7eb496a96aa6b
parent: 41251ae55823bb778dc461539fa995ccb19f5961
author: Scott LaVarnway <[email protected]>
date: Fri Aug 9 08:30:52 EDT 2013
Merge "Bug fix: call set_offsets before rd_auto_partition_range"
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1941,6 +1941,7 @@
|| cpi->is_src_frame_alt_ref) {
// If required set upper and lower partition size limits
if (cpi->sf.auto_min_max_partition_size) {
+ set_offsets(cpi, mi_row, mi_col, BLOCK_64X64);
rd_auto_partition_range(cpi,
&cpi->sf.min_partition_size,
&cpi->sf.max_partition_size);
@@ -1956,6 +1957,7 @@
} else {
// If required set upper and lower partition size limits
if (cpi->sf.auto_min_max_partition_size) {
+ set_offsets(cpi, mi_row, mi_col, BLOCK_64X64);
rd_auto_partition_range(cpi, &cpi->sf.min_partition_size,
&cpi->sf.max_partition_size);
}