Searched refs:twopass (Results 1 – 14 of 14) sorted by relevance
84 cpi->twopass.stats_in = Position; in reset_fpf_position()89 if (cpi->twopass.stats_in >= cpi->twopass.stats_in_end) in lookup_next_frame_stats()92 *next_frame = *cpi->twopass.stats_in; in lookup_next_frame_stats()101 FIRSTPASS_STATS * fps_ptr = cpi->twopass.stats_in; in read_frame_stats()106 if ( &fps_ptr[offset] >= cpi->twopass.stats_in_end ) in read_frame_stats()111 if ( &fps_ptr[offset] < cpi->twopass.stats_in_start ) in read_frame_stats()121 if (cpi->twopass.stats_in >= cpi->twopass.stats_in_end) in input_stats()124 *fps = *cpi->twopass.stats_in; in input_stats()125 cpi->twopass.stats_in = in input_stats()126 (void*)((char *)cpi->twopass.stats_in + sizeof(FIRSTPASS_STATS)); in input_stats()[all …]
130 if (cpi->twopass.section_intra_rating > 8) in get_max_filter_level()331 if (cpi->twopass.section_intra_rating < 20) in vp8cx_pick_filter_level()332 Bias = Bias * cpi->twopass.section_intra_rating / 20; in vp8cx_pick_filter_level()
1305 cpi->twopass.static_scene_max_gf_interval = cpi->key_frame_frequency >> 1; in vp8_new_framerate()1313 if (cpi->twopass.static_scene_max_gf_interval > cpi->oxcf.lag_in_frames - 1) in vp8_new_framerate()1314 cpi->twopass.static_scene_max_gf_interval = cpi->oxcf.lag_in_frames - 1; in vp8_new_framerate()1317 if ( cpi->max_gf_interval > cpi->twopass.static_scene_max_gf_interval ) in vp8_new_framerate()1318 cpi->max_gf_interval = cpi->twopass.static_scene_max_gf_interval; in vp8_new_framerate()1839 cpi->twopass.gf_decay_rate = 0; in vp8_create_compressor()1952 cpi->twopass.est_max_qcorrection_factor = 1.0; in vp8_create_compressor()1981 cpi->twopass.stats_in_start = oxcf->two_pass_stats_in.buf; in vp8_create_compressor()1982 cpi->twopass.stats_in = cpi->twopass.stats_in_start; in vp8_create_compressor()1983 cpi->twopass.stats_in_end = (void*)((char *)cpi->twopass.stats_in in vp8_create_compressor()[all …]
604 } twopass; member
634 cpi->per_frame_bandwidth = cpi->twopass.gf_bits; in calc_pframe_target_size()
256 if (cpi->twopass.next_iiratio > 31) in vp8_initialize_rd_consts()260 (cpi->RDMULT * rd_iifactor[cpi->twopass.next_iiratio]) >> 4; in vp8_initialize_rd_consts()
258 const struct twopass_rc *twopass = &cpi->twopass; in calculate_modified_err() local265 twopass = &cpi->svc.layer_context[cpi->svc.spatial_layer_id].twopass; in calculate_modified_err()268 stats = &twopass->total_stats; in calculate_modified_err()275 twopass->modified_error_min, twopass->modified_error_max); in calculate_modified_err()350 zero_stats(&cpi->twopass.total_stats); in vp9_init_first_pass()357 output_stats(&cpi->svc.layer_context[i].twopass.total_stats, in vp9_end_first_pass()361 output_stats(&cpi->twopass.total_stats, cpi->output_pkt_list); in vp9_end_first_pass()504 struct twopass_rc *twopass = &cpi->twopass; in vp9_first_pass() local513 twopass = &cpi->svc.layer_context[cpi->svc.spatial_layer_id].twopass; in vp9_first_pass()831 twopass->this_frame_stats = fps; in vp9_first_pass()[all …]
173 cpi->twopass = lc->twopass; in vp9_restore_layer_context()192 lc->twopass = cpi->twopass; in vp9_save_layer_context()203 struct twopass_rc *const twopass = &cpi->svc.layer_context[i].twopass; in vp9_init_second_pass_spatial_svc() local208 twopass->total_stats.spatial_layer_id = i; in vp9_init_second_pass_spatial_svc()209 twopass->total_left_stats.spatial_layer_id = i; in vp9_init_second_pass_spatial_svc()
27 return cpi->twopass.section_intra_rating > 8 ? MAX_LOOP_FILTER * 3 / 4 in get_max_filter_level()80 if (cpi->twopass.section_intra_rating < 20) in search_filter_level()81 bias = bias * cpi->twopass.section_intra_rating / 20; in search_filter_level()
30 struct twopass_rc twopass; member
1357 lc->twopass.stats_in_start = lc->rc_twopass_stats_in.buf; in vp9_create_compressor()1358 lc->twopass.stats_in = lc->twopass.stats_in_start; in vp9_create_compressor()1359 lc->twopass.stats_in_end = lc->twopass.stats_in_start in vp9_create_compressor()1376 cpi->twopass.stats_in_start = oxcf->two_pass_stats_in.buf; in vp9_create_compressor()1377 cpi->twopass.stats_in = cpi->twopass.stats_in_start; in vp9_create_compressor()1378 cpi->twopass.stats_in_end = &cpi->twopass.stats_in[packets - 1]; in vp9_create_compressor()2189 if (cpi->twopass.total_left_stats.coded_error != 0.0)2210 cpi->twopass.bits_left,2211 cpi->twopass.total_left_stats.coded_error,2212 cpi->twopass.bits_left /[all …]
442 struct twopass_rc twopass; member
791 int active_worst_quality = cpi->twopass.active_worst_quality; in rc_pick_q_and_bounds_two_pass()822 q_adj_factor += 0.05 - (0.001 * (double)cpi->twopass.kf_zeromotion_pct); in rc_pick_q_and_bounds_two_pass()
226 if (cpi->twopass.next_iiratio > 31) in vp9_compute_rd_mult()229 rdmult += (rdmult * rd_iifactor[cpi->twopass.next_iiratio]) >> 4; in vp9_compute_rd_mult()