ref: 113dbf8d1e4fc7c2ce39f7b902c31d5c0b47a5ce
parent: c0061cc24f254d648737986ce14ac1a4bcb45874
author: Guillaume Martres <[email protected]>
date: Tue Jul 8 11:52:33 EDT 2014
vp9_cx_iface.c: allow speed greater than 7 This makes it possible to use --rt --cpu-used=8. Change-Id: I8b5bc4449b6e05d24d25145e35b4793501268c59
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -353,7 +353,7 @@
oxcf->key_freq = cfg->kf_max_dist;
- oxcf->speed = clamp(abs(extra_cfg->cpu_used), 0, 7);
+ oxcf->speed = abs(extra_cfg->cpu_used);
oxcf->encode_breakout = extra_cfg->static_thresh;
oxcf->play_alternate = extra_cfg->enable_auto_alt_ref;
oxcf->noise_sensitivity = extra_cfg->noise_sensitivity;