Searched refs:target_bandwidth (Results 1 – 13 of 13) sorted by relevance
93 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context()98 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context()113 oxcf->starting_buffer_level_ms * lc->target_bandwidth / 1000; in vp9_init_layer_context()150 const int target_bandwidth) { in vp9_update_layer_context_change_config() argument161 svc->layer_context[layer].target_bandwidth = in vp9_update_layer_context_change_config()169 spatial_layer_target = svc->layer_context[layer].target_bandwidth = in vp9_update_layer_context_change_config()178 bitrate_alloc = (float)lc->target_bandwidth / target_bandwidth; in vp9_update_layer_context_change_config()189 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()208 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()210 bitrate_alloc = (float)lc->target_bandwidth / target_bandwidth; in vp9_update_layer_context_change_config()[all …]
24 int target_bandwidth; member113 const int target_bandwidth);
151 int64_t target_bandwidth; // bandwidth to be used in bits per second member
1755 oxcf->target_bandwidth = in vp9_init_second_pass()1756 (int64_t)((double)oxcf->target_bandwidth * in vp9_init_second_pass()1782 svc->layer_context[svc->spatial_layer_id].target_bandwidth / in vp9_init_second_pass()1787 (int64_t)(stats->duration * oxcf->target_bandwidth / 10000000.0); in vp9_init_second_pass()
261 (int)(lc->target_bandwidth / lc->framerate - encoded_frame_size); in update_layer_buffer_level()1904 rc->avg_frame_bandwidth = (int)(oxcf->target_bandwidth / cpi->framerate); in vp9_rc_update_framerate()
110 const int bitrate = (int)(oxcf->target_bandwidth >> 10); in compute_context_model_thresh()1335 const int64_t bandwidth = oxcf->target_bandwidth; in set_rc_buffer_sizes()1865 (int)cpi->oxcf.target_bandwidth); in vp9_change_config()2332 const double target_rate = (double)cpi->oxcf.target_bandwidth / 1000; in vp9_remove_compressor()
199 lc->target_bandwidth = cpi->target_bandwidth; in save_layer_context()237 cpi->target_bandwidth = lc->target_bandwidth; in restore_layer_context()238 cpi->oxcf.target_bandwidth = lc->target_bandwidth; in restore_layer_context()283 lc->target_bandwidth = cpi->oxcf.target_bitrate[layer] * 1000; in init_temporal_layer_context()290 rescale((int)(oxcf->starting_buffer_level), lc->target_bandwidth, 1000); in init_temporal_layer_context()293 lc->optimal_buffer_level = lc->target_bandwidth / 8; in init_temporal_layer_context()296 rescale((int)(oxcf->optimal_buffer_level), lc->target_bandwidth, 1000); in init_temporal_layer_context()300 lc->maximum_buffer_size = lc->target_bandwidth / 8; in init_temporal_layer_context()303 rescale((int)(oxcf->maximum_buffer_size), lc->target_bandwidth, 1000); in init_temporal_layer_context()368 lc->target_bandwidth = cpi->oxcf.target_bandwidth; in reset_temporal_layer_change()[all …]
213 int target_bandwidth; member435 int target_bandwidth; member
1259 double two_pass_min_rate = (double)(cpi->oxcf.target_bandwidth * in vp8_init_second_pass()1282 cpi->oxcf.target_bandwidth / 10000000.0); in vp8_init_second_pass()2364 cpi->target_bandwidth = in vp8_second_pass()2366 if (cpi->target_bandwidth < 0) cpi->target_bandwidth = 0; in vp8_second_pass()2971 cpi->target_bandwidth = (int)(cpi->twopass.kf_bits * cpi->output_framerate); in find_next_key_frame()3012 av_bits_per_frame = cpi->oxcf.target_bandwidth / in find_next_key_frame()3038 if (bits_per_frame < (cpi->oxcf.target_bandwidth * in find_next_key_frame()3040 bits_per_frame = (cpi->oxcf.target_bandwidth * in find_next_key_frame()3094 cpi->twopass.total_stats.count * cpi->oxcf.target_bandwidth / in find_next_key_frame()
319 if (target > cpi->oxcf.target_bandwidth * 3 / 2) { in calc_iframe_target_size()320 target = cpi->oxcf.target_bandwidth * 3 / 2; in calc_iframe_target_size()873 lc->bits_off_target += (int)(lc->target_bandwidth / lc->framerate); in calc_pframe_target_size()
426 if ((double)oxcf->target_bandwidth > max_average_bitrate) in config_target_level()427 oxcf->target_bandwidth = (int64_t)(max_average_bitrate); in config_target_level()429 oxcf->ss_target_bitrate[0] = (int)oxcf->target_bandwidth; in config_target_level()433 (int)((max_average_bitrate * 1.10 - (double)oxcf->target_bandwidth) * in config_target_level()434 100 / (double)(oxcf->target_bandwidth)); in config_target_level()495 oxcf->target_bandwidth = 1000 * cfg->rc_target_bitrate; in set_encoder_config()601 oxcf->ss_target_bitrate[0] = (int)oxcf->target_bandwidth; in set_encoder_config()1111 svc->layer_context[svc->spatial_layer_id].target_bandwidth / in encoder_encode()1115 (int64_t)(stats->duration * oxcf->target_bandwidth / 10000000.0); in encoder_encode()
93 unsigned int target_bandwidth; /* kilobits per second */ member
318 oxcf->target_bandwidth = cfg.rc_target_bitrate; in set_vp8e_config()