Add speed feature flag for sb-level minmax partition prediction
Change-Id: I5c35d06ea8df10bf3b927b8668b23ec5edf75066
diff --git a/av1/encoder/speed_features.c b/av1/encoder/speed_features.c
index 5fb96ab..a48b996 100644
--- a/av1/encoder/speed_features.c
+++ b/av1/encoder/speed_features.c
@@ -697,6 +697,7 @@
sf->prune_ref_frame_for_rect_partitions = 0;
sf->prune_ref_mode_for_partitions = 0;
sf->auto_min_max_partition_size = NOT_IN_USE;
+ sf->auto_min_max_partition_based_on_simple_motion = 0;
sf->rd_auto_partition_min_limit = BLOCK_4X4;
sf->default_max_partition_size = BLOCK_LARGEST;
sf->default_min_partition_size = BLOCK_4X4;
diff --git a/av1/encoder/speed_features.h b/av1/encoder/speed_features.h
index 92e25d4..7306bd2 100644
--- a/av1/encoder/speed_features.h
+++ b/av1/encoder/speed_features.h
@@ -404,6 +404,12 @@
// Sets min and max partition sizes for this superblock based on the
// same superblock in last encoded frame, and the left and above neighbor.
AUTO_MIN_MAX_MODE auto_min_max_partition_size;
+
+ // Sets min and max square partition levels for this superblock based on
+ // motion vector and prediction error distribution produced from 16x16
+ // simple motion search
+ int auto_min_max_partition_based_on_simple_motion;
+
// Ensures the rd based auto partition search will always
// go down at least to the specified level.
BLOCK_SIZE rd_auto_partition_min_limit;