}
// Since the short_circuit_low_temp_var is used, reduce the
// adaptive_rd_thresh level.
- sf->adaptive_rd_thresh = 2;
+ sf->adaptive_rd_thresh = 1;
}
sf->limit_newmv_early_exit = 0;
- if (cm->width > 640 && cm->height > 480) sf->use_simple_block_yrd = 1;
+ if (cm->width > 320 && cm->height > 240) sf->use_simple_block_yrd = 1;
}
- // Turn off adaptive_rd_thresh if row_mt is on for all the non-rd paths. This
- // causes too many locks in realtime mode in certain platforms (Android ARM,
- // Mac).
- if (speed >= 5 && cpi->row_mt && cpi->num_workers > 1) {
+ // Turn off adaptive_rd_thresh if row_mt is on for speed 5, 6, 7.
+ if (speed >= 5 && speed < 8 && cpi->row_mt && cpi->num_workers > 1) {
sf->adaptive_rd_thresh = 0;
+ sf->adaptive_rd_thresh_row_mt = 0;
}
}