Lines Matching refs:twopass

1266   cpi->twopass.static_scene_max_gf_interval = cpi->key_frame_frequency >> 1;  in vp8_new_framerate()
1274 if (cpi->twopass.static_scene_max_gf_interval > in vp8_new_framerate()
1276 cpi->twopass.static_scene_max_gf_interval = cpi->oxcf.lag_in_frames - 1; in vp8_new_framerate()
1280 if (cpi->max_gf_interval > cpi->twopass.static_scene_max_gf_interval) { in vp8_new_framerate()
1281 cpi->max_gf_interval = cpi->twopass.static_scene_max_gf_interval; in vp8_new_framerate()
1782 cpi->twopass.gf_decay_rate = 0; in vp8_create_compressor()
1924 cpi->twopass.est_max_qcorrection_factor = 1.0; in vp8_create_compressor()
1952 cpi->twopass.stats_in_start = oxcf->two_pass_stats_in.buf; in vp8_create_compressor()
1953 cpi->twopass.stats_in = cpi->twopass.stats_in_start; in vp8_create_compressor()
1954 cpi->twopass.stats_in_end = in vp8_create_compressor()
1955 (void *)((char *)cpi->twopass.stats_in + (packets - 1) * packet_sz); in vp8_create_compressor()
3298 cpi->per_frame_bandwidth = cpi->twopass.gf_bits; in encode_frame_to_data_rate()
3301 (int)(cpi->twopass.gf_bits * cpi->output_framerate); in encode_frame_to_data_rate()
4298 if (cpi->next_key_frame_forced && (cpi->twopass.frames_to_key == 0)) { in encode_frame_to_data_rate()
4597 cpi->twopass.kf_group_bits += in encode_frame_to_data_rate()
4600 if (cpi->twopass.kf_group_bits < 0) cpi->twopass.kf_group_bits = 0; in encode_frame_to_data_rate()
4602 cpi->twopass.gf_group_bits += in encode_frame_to_data_rate()
4605 if (cpi->twopass.gf_group_bits < 0) cpi->twopass.gf_group_bits = 0; in encode_frame_to_data_rate()
4630 if (cpi->twopass.total_left_stats.coded_error != 0.0) in encode_frame_to_data_rate()
4645 cpi->twopass.est_max_qcorrection_factor, in encode_frame_to_data_rate()
4646 cpi->twopass.bits_left, in encode_frame_to_data_rate()
4647 cpi->twopass.total_left_stats.coded_error, in encode_frame_to_data_rate()
4648 (double)cpi->twopass.bits_left / in encode_frame_to_data_rate()
4649 cpi->twopass.total_left_stats.coded_error, in encode_frame_to_data_rate()
4666 cpi->twopass.est_max_qcorrection_factor, in encode_frame_to_data_rate()
4667 cpi->twopass.bits_left, in encode_frame_to_data_rate()
4668 cpi->twopass.total_left_stats.coded_error, in encode_frame_to_data_rate()
4795 cpi->twopass.bits_left -= 8 * (int)(*size); in Pass2Encode()
4801 cpi->twopass.bits_left += (int64_t)(two_pass_min_rate / cpi->framerate); in Pass2Encode()
4924 if (flush && cpi->pass == 1 && !cpi->twopass.first_pass_done) { in vp8_get_compressed_data()
4926 cpi->twopass.first_pass_done = 1; in vp8_get_compressed_data()