Commit f7e2f1fe authored by Paul Wilkins's avatar Paul Wilkins Committed by Code Review
Browse files

Merge "Disable some features for first pass."

parents dd314351 431dac08
......@@ -576,7 +576,7 @@ void vp8_set_speed_features(VP8_COMP *cpi)
cpi->mbs_tested_so_far = 0;
// best quality
// best quality defaults
sf->RD = 1;
sf->search_method = NSTEP;
sf->improved_quant = 1;
......@@ -1268,6 +1268,15 @@ void vp8_set_speed_features(VP8_COMP *cpi)
};
// Slow quant, dct and trellis not worthwhile for first pass
// so make sure they are always turned off.
if ( cpi->pass == 1 )
{
sf->improved_quant = 0;
sf->optimize_coefficients = 0;
sf->improved_dct = 0;
}
if (cpi->sf.search_method == NSTEP)
{
vp8_init3smotion_compensation(&cpi->mb, cm->yv12_fb[cm->lst_fb_idx].y_stride);
......
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