Home
last modified time | relevance | path

Searched refs:target_bandwidth (Results 1 – 18 of 18) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c128 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context()
133 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context()
148 oxcf->starting_buffer_level_ms * lc->target_bandwidth / 1000; in vp9_init_layer_context()
188 const int target_bandwidth) { in vp9_update_layer_context_change_config() argument
201 svc->layer_context[layer].target_bandwidth = in vp9_update_layer_context_change_config()
209 spatial_layer_target = svc->layer_context[layer].target_bandwidth = in vp9_update_layer_context_change_config()
218 bitrate_alloc = (float)lc->target_bandwidth / target_bandwidth; in vp9_update_layer_context_change_config()
229 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()
248 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()
250 bitrate_alloc = (float)lc->target_bandwidth / target_bandwidth; in vp9_update_layer_context_change_config()
[all …]
Dvp9_svc_layercontext.h42 int target_bandwidth; member
201 const int target_bandwidth);
Dvp9_ratectrl.c282 lrc->bits_off_target += (int)(lc->target_bandwidth / framerate_pts); in update_buffer_level_svc_preencode()
284 lrc->bits_off_target += (int)(lc->target_bandwidth / lc->framerate); in update_buffer_level_svc_preencode()
456 if (lc->target_bandwidth > 0) { in check_buffer_above_thresh()
484 if (lc->target_bandwidth > 0) { in check_buffer_below_thresh()
2411 rc->avg_frame_bandwidth = (int)(oxcf->target_bandwidth / cpi->framerate); in vp9_rc_update_framerate()
Dvp9_encoder.h152 int64_t target_bandwidth; // bandwidth to be used in bits per second member
Dvp9_firstpass.c1691 oxcf->target_bandwidth = in vp9_init_second_pass()
1692 (int64_t)((double)oxcf->target_bandwidth * in vp9_init_second_pass()
1715 (int64_t)(stats->duration * oxcf->target_bandwidth / 10000000.0); in vp9_init_second_pass()
Dvp9_encoder.c121 const int bitrate = (int)(oxcf->target_bandwidth >> 10); in compute_context_model_thresh()
1477 const int64_t bandwidth = oxcf->target_bandwidth; in set_rc_buffer_sizes()
2004 (int)cpi->oxcf.target_bandwidth); in vp9_change_config()
2497 const double target_rate = (double)cpi->oxcf.target_bandwidth / 1000; in vp9_remove_compressor()
4687 cpi->oxcf.target_bandwidth == 0 &&
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c193 lc->target_bandwidth = cpi->target_bandwidth; in save_layer_context()
231 cpi->target_bandwidth = lc->target_bandwidth; in restore_layer_context()
232 cpi->oxcf.target_bandwidth = lc->target_bandwidth; in restore_layer_context()
277 lc->target_bandwidth = cpi->oxcf.target_bitrate[layer] * 1000; in init_temporal_layer_context()
284 rescale((int)(oxcf->starting_buffer_level), lc->target_bandwidth, 1000); in init_temporal_layer_context()
287 lc->optimal_buffer_level = lc->target_bandwidth / 8; in init_temporal_layer_context()
290 rescale((int)(oxcf->optimal_buffer_level), lc->target_bandwidth, 1000); in init_temporal_layer_context()
294 lc->maximum_buffer_size = lc->target_bandwidth / 8; in init_temporal_layer_context()
297 rescale((int)(oxcf->maximum_buffer_size), lc->target_bandwidth, 1000); in init_temporal_layer_context()
362 lc->target_bandwidth = cpi->oxcf.target_bandwidth; in reset_temporal_layer_change()
[all …]
Donyx_int.h213 int target_bandwidth; member
435 int target_bandwidth; member
Dfirstpass.c1258 double two_pass_min_rate = (double)(cpi->oxcf.target_bandwidth * in vp8_init_second_pass()
1280 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()
Dratectrl.c319 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()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c412 if ((double)oxcf->target_bandwidth > max_average_bitrate) in config_target_level()
413 oxcf->target_bandwidth = (int64_t)(max_average_bitrate); in config_target_level()
415 oxcf->ss_target_bitrate[0] = (int)oxcf->target_bandwidth; in config_target_level()
419 (int)((max_average_bitrate * 1.10 - (double)oxcf->target_bandwidth) * in config_target_level()
420 100 / (double)(oxcf->target_bandwidth)); in config_target_level()
481 oxcf->target_bandwidth = 1000 * cfg->rc_target_bitrate; in set_encoder_config()
586 oxcf->ss_target_bitrate[0] = (int)oxcf->target_bandwidth; in set_encoder_config()
1092 (int64_t)(stats->duration * oxcf->target_bandwidth / 10000000.0); in encoder_encode()
/external/libvpx/libvpx/vp8/common/
Donyx.h93 unsigned int target_bandwidth; /* kilobits per second */ member
/external/libaom/libaom/av1/encoder/
Dencoder.h191 int64_t target_bandwidth; // bandwidth to be used in bits per second member
Dpass2_strategy.c1662 (int64_t)(stats->duration * oxcf->target_bandwidth / 10000000.0); in av1_init_second_pass()
Dratectrl.c1803 rc->avg_frame_bandwidth = (int)(oxcf->target_bandwidth / cpi->framerate); in av1_rc_update_framerate()
Dencoder.c1194 const int64_t bandwidth = oxcf->target_bandwidth; in set_rc_buffer_sizes()
3011 const double target_rate = (double)cpi->oxcf.target_bandwidth / 1000; in av1_remove_compressor()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c317 oxcf->target_bandwidth = cfg.rc_target_bitrate; in set_vp8e_config()
/external/libaom/libaom/av1/
Dav1_cx_iface.c605 oxcf->target_bandwidth = 1000 * cfg->rc_target_bitrate; in set_encoder_config()