Lines Matching refs:pass

400         // pass the layer context state to |cpi|.
1050 /* Slow quant, dct and trellis not worthwhile for first pass
1053 if ( cpi->pass == 1 )
1113 if (cpi->sf.optimize_coefficients == 1 && cpi->pass!=1)
1511 cpi->pass = 0;
1525 cpi->pass = 0;
1539 cpi->pass = 0;
1544 cpi->pass = 1;
1548 cpi->pass = 2;
1561 cpi->pass = 2;
1566 if (cpi->pass == 0)
1885 /* Experimental code for lagged and one pass */
1888 if (cpi->pass == 0)
2021 if (cpi->pass == 1)
2025 else if (cpi->pass == 2)
2183 if (cpi->pass == 2)
2198 if (cpi->pass != 1)
2736 /* Do we need to apply resampling for one pass cbr.
2737 * In one pass this is more limited than in two pass cbr.
2793 if ((cpi->pass != 2) && cpi->frames_till_gf_update_due)
2833 if ((cpi->pass != 2) && (cpi->frames_till_gf_update_due > 0))
3514 /* For an alt ref frame in 2 pass we skip the call to the second pass
3519 if (cpi->pass == 2)
3547 if (cpi->pass == 2)
3562 * For two pass with auto key frame enabled cm->frame_type may already
3563 * be set, but not for one pass.
3657 /* Experimental code for lagged compress and one pass
3680 /* The reset to decimation 0 is only done here for one pass.
3681 * Once it is set two pass leaves decimation on till the next kf.
3837 * There is some odd behavior for one pass here that needs attention.
3839 if ( (cpi->pass == 2) || (cpi->ni_frames > 150))
3847 if ( cpi->pass == 2 )
3866 /* One pass more conservative */
3891 if ( cpi->pass == 2 )
3907 /* One pass more conservative */
3957 * few frames of one pass encodes
4156 if (cpi->pass != 1)
4233 if (cpi->pass != 2 && cpi->oxcf.auto_key && cm->frame_type != KEY_FRAME
4278 if (((cpi->pass != 2) || (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER)) &&
4505 /* Experimental code for lagged and one pass
4506 * Update stats used for one pass GF selection
4715 if ( cpi->pass == 2 )
4728 /* For one pass, early in the clip ... average the current frame Q
4762 * help regulate min and Max Q in two pass.
5132 /* Read last frame source if we are encoding first pass. */
5133 if (cpi->pass == 1 && cm->current_video_frame > 0)
5161 if (cpi->pass == 1 && cm->current_video_frame > 0)
5171 if (flush && cpi->pass == 1 && !cpi->twopass.first_pass_done)
5341 if (cpi->pass == 1)
5345 else if (cpi->pass == 2)
5420 if (cpi->b_calculate_psnr && cpi->pass != 1 && cm->show_frame)
5427 if (cpi->pass != 1)
5570 if (cpi->pass != 1)