Commit 40e597fc authored by Debargha Mukherjee's avatar Debargha Mukherjee

Turn optimize on w/ aom_qm if qmatrices are unused

Change-Id: Ib002bb918366ba6848c983f5311aeb74ab37c1a0
parent 9bbbde5a
......@@ -519,11 +519,10 @@ void av1_set_speed_features_framesize_independent(AV1_COMP *cpi) {
cpi->find_fractional_mv_step = av1_find_best_sub_pixel_tree_pruned_evenmore;
}
#if !CONFIG_AOM_QM
x->optimize = sf->optimize_coefficients == 1 && oxcf->pass != 1;
#else
#if CONFIG_AOM_QM
// FIXME: trellis not very efficient for quantisation matrices
x->optimize = 0;
if (cm->using_qmatrix) x->optimize = 0;
#endif
x->min_partition_size = sf->default_min_partition_size;
......
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