Commit 802eeaa8 authored by Jingning Han's avatar Jingning Han

Use safe soft quantization speed feature setup

Change-Id: If8836621586ab5090affbb8d6d7b0be3a3e4cde8
parent b844ee1b
......@@ -444,7 +444,10 @@ void av1_set_speed_features_framesize_independent(AV1_COMP *cpi) {
#elif DISABLE_TRELLISQ_SEARCH == 1
sf->optimize_coefficients = NO_TRELLIS_OPT;
#else
sf->optimize_coefficients = !is_lossless_requested(&cpi->oxcf);
if (is_lossless_requested(&cpi->oxcf))
sf->optimize_coefficients = NO_TRELLIS_OPT;
else
sf->optimize_coefficients = FULL_TRELLIS_OPT;
#endif // DISABLE_TRELLISQ_SEARCH
sf->mv.reduce_first_step_size = 0;
sf->coeff_prob_appx_step = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment