Merge "vp9_cx_iface.c: allow speed greater than 7"

This commit is contained in:
Guillaume Martres 2014-07-09 04:21:19 -07:00 committed by Gerrit Code Review
commit 84daeb5ea8

View File

@ -353,7 +353,7 @@ static vpx_codec_err_t set_encoder_config(
oxcf->key_freq = cfg->kf_max_dist; 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->encode_breakout = extra_cfg->static_thresh;
oxcf->play_alternate = extra_cfg->enable_auto_alt_ref; oxcf->play_alternate = extra_cfg->enable_auto_alt_ref;
oxcf->noise_sensitivity = extra_cfg->noise_sensitivity; oxcf->noise_sensitivity = extra_cfg->noise_sensitivity;