summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_speed_features.h
diff options
context:
space:
mode:
authorAlex Converse <aconverse@google.com>2014-07-01 13:02:05 -0700
committerAlex Converse <aconverse@google.com>2014-07-07 10:08:45 -0700
commitf60a1178c6329c15c675ea52606c311be7c53601 (patch)
treea4e1e60386e9a16f47effb3a124f288043297bd0 /vp9/encoder/vp9_speed_features.h
parentf0e0d01e94f951dd21834dd80db1e1220d34b01b (diff)
downloadlibvpx-f60a1178c6329c15c675ea52606c311be7c53601.tar
libvpx-f60a1178c6329c15c675ea52606c311be7c53601.tar.gz
libvpx-f60a1178c6329c15c675ea52606c311be7c53601.tar.bz2
libvpx-f60a1178c6329c15c675ea52606c311be7c53601.zip
Cleanup motion search speed features.
* Replace max_step_search_steps with constant MAX_MVSEARCH_STEPS * Fold (reduce_first_step_size + speed > 5) into reduce_first_step_size replacing uses of reduce_first_step_size that don't add the speed check with zero. Change-Id: Iae46395dbf3eaca138bf4d18b838a9e364b5a198
Diffstat (limited to 'vp9/encoder/vp9_speed_features.h')
-rw-r--r--vp9/encoder/vp9_speed_features.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_speed_features.h b/vp9/encoder/vp9_speed_features.h
index 4ccb77a25..e6f465380 100644
--- a/vp9/encoder/vp9_speed_features.h
+++ b/vp9/encoder/vp9_speed_features.h
@@ -139,10 +139,6 @@ typedef struct MV_SPEED_FEATURES {
// Motion search method (Diamond, NSTEP, Hex, Big Diamond, Square, etc).
SEARCH_METHODS search_method;
- // This parameter controls the number of steps we'll do in a diamond
- // search.
- int max_step_search_steps;
-
// This parameter controls which step in the n-step process we start at.
// It's changed adaptively based on circumstances.
int reduce_first_step_size;