Home | History | Annotate | Download | only in encoder

Lines Matching refs:twopass

1190     cpi->twopass.static_scene_max_gf_interval = cpi->key_frame_frequency >> 1;
1198 if (cpi->twopass.static_scene_max_gf_interval > cpi->oxcf.lag_in_frames - 1)
1199 cpi->twopass.static_scene_max_gf_interval = cpi->oxcf.lag_in_frames - 1;
1202 if ( cpi->max_gf_interval > cpi->twopass.static_scene_max_gf_interval )
1203 cpi->max_gf_interval = cpi->twopass.static_scene_max_gf_interval;
1765 cpi->twopass.gf_decay_rate = 0;
1878 cpi->twopass.est_max_qcorrection_factor = 1.0;
1907 cpi->twopass.stats_in_start = oxcf->two_pass_stats_in.buf;
1908 cpi->twopass.stats_in = cpi->twopass.stats_in_start;
1909 cpi->twopass.stats_in_end = (void*)((char *)cpi->twopass.stats_in
3290 cpi->per_frame_bandwidth = cpi->twopass.gf_bits;
3292 cpi->target_bandwidth = (int)(cpi->twopass.gf_bits *
4221 if ( cpi->next_key_frame_forced && (cpi->twopass.frames_to_key == 0) )
4490 cpi->twopass.kf_group_bits += cpi->this_frame_target - cpi->projected_frame_size;
4492 if (cpi->twopass.kf_group_bits < 0)
4493 cpi->twopass.kf_group_bits = 0 ;
4497 cpi->twopass.gf_group_bits += cpi->this_frame_target - cpi->projected_frame_size;
4499 if (cpi->twopass.gf_group_bits < 0)
4500 cpi->twopass.gf_group_bits = 0 ;
4532 if (cpi->twopass.total_left_stats.coded_error != 0.0)
4548 cpi->twopass.est_max_qcorrection_factor,
4549 (int)cpi->twopass.bits_left,
4550 cpi->twopass.total_left_stats.coded_error,
4551 (double)cpi->twopass.bits_left /
4552 cpi->twopass.total_left_stats.coded_error,
4570 cpi->twopass.est_max_qcorrection_factor,
4571 (int)cpi->twopass.bits_left,
4572 cpi->twopass.total_left_stats.coded_error,
4775 cpi->twopass.bits_left -= 8 * *size;
4781 cpi->twopass.bits_left += (int64_t)(two_pass_min_rate / cpi->frame_rate);
4962 if (flush && cpi->pass == 1 && !cpi->twopass.first_pass_done)
4965 cpi->twopass.first_pass_done = 1;