Home
last modified time | relevance | path

Searched refs:layer_target_bitrate (Results 1 – 9 of 9) sorted by relevance

/external/libvpx/libvpx/test/
Ddatarate_test.cc848 cfg_.layer_target_bitrate[0] = 60 * cfg_.rc_target_bitrate / 100; in TEST_P()
849 cfg_.layer_target_bitrate[1] = cfg_.rc_target_bitrate; in TEST_P()
852 ASSERT_GE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 0.85) in TEST_P()
856 ASSERT_LE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 1.15) in TEST_P()
890 cfg_.layer_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; in TEST_P()
891 cfg_.layer_target_bitrate[1] = 60 * cfg_.rc_target_bitrate / 100; in TEST_P()
892 cfg_.layer_target_bitrate[2] = cfg_.rc_target_bitrate; in TEST_P()
897 ASSERT_GE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 0.75) in TEST_P()
903 ASSERT_LE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 1.25) in TEST_P()
939 cfg_.layer_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; in TEST_P()
[all …]
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c71 int layer_target_bitrate[VPX_MAX_LAYERS]; member
88 1000.0 * rc->layer_target_bitrate[0] / rc->layer_framerate[0]; in set_rate_control_metrics()
92 rc->layer_pfb[i] = 1000.0 * (rc->layer_target_bitrate[i] - in set_rate_control_metrics()
93 rc->layer_target_bitrate[i - 1]) / in set_rate_control_metrics()
131 printf("Bitrate (target vs actual): %d %f \n", rc->layer_target_bitrate[i], in printout_rate_control_summary()
625 rc.layer_target_bitrate[i - 13] = (int)strtol(argv[i], NULL, 0); in main()
627 cfg.ts_target_bitrate[i - 13] = rc.layer_target_bitrate[i - 13]; in main()
629 cfg.layer_target_bitrate[i - 13] = rc.layer_target_bitrate[i - 13]; in main()
671 cfg.rc_target_bitrate = rc.layer_target_bitrate[cfg.ts_number_layers - 1]; in main()
Dvp9_spatial_svc_encoder.c432 1000.0 * (cfg->layer_target_bitrate[layer] - in set_rate_control_stats()
433 cfg->layer_target_bitrate[layer - 1]) / in set_rate_control_stats()
436 rc->layer_pfb[layer] = 1000.0 * cfg->layer_target_bitrate[layer] / in set_rate_control_stats()
482 cfg->layer_target_bitrate[layer], in printout_rate_control_summary()
/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c312 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates()
337 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates()
339 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates()
341 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 2] = in assign_layer_bitrates()
345 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates()
347 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates()
360 enc_cfg->layer_target_bitrate[i] = (unsigned int)si->bitrates[i]; in assign_layer_bitrates()
380 enc_cfg->layer_target_bitrate[i] = in assign_layer_bitrates()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc135 config_->ss_target_bitrate[i] = config_->layer_target_bitrate[i] = in SetSvcRates()
160 config_->layer_target_bitrate[i] = config_->ss_target_bitrate[i]; in SetSvcRates()
162 config_->layer_target_bitrate[i * num_temporal_layers_] = in SetSvcRates()
164 config_->layer_target_bitrate[i * num_temporal_layers_ + 1] = in SetSvcRates()
167 config_->layer_target_bitrate[i * num_temporal_layers_] = in SetSvcRates()
169 config_->layer_target_bitrate[i * num_temporal_layers_ + 1] = in SetSvcRates()
170 config_->layer_target_bitrate[i * num_temporal_layers_] + in SetSvcRates()
172 config_->layer_target_bitrate[i * num_temporal_layers_ + 2] = in SetSvcRates()
185 config_->ts_target_bitrate[i] = config_->layer_target_bitrate[i]; in SetSvcRates()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c91 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context()
96 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context()
160 oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()
168 oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()
206 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()
265 oxcf->layer_target_bitrate[st_idx - 1]; in vp9_update_temporal_layer_framerate()
Dvp9_encoder.h218 int layer_target_bitrate[VPX_MAX_LAYERS]; member
/external/libvpx/libvpx/vpx/
Dvpx_encoder.h692 unsigned int layer_target_bitrate[VPX_MAX_LAYERS]; member
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c216 if (cfg->layer_target_bitrate[layer] < in validate_config()
217 cfg->layer_target_bitrate[layer - 1]) in validate_config()
571 oxcf->layer_target_bitrate[sl * oxcf->ts_number_layers + tl] = in set_encoder_config()
572 1000 * cfg->layer_target_bitrate[sl * oxcf->ts_number_layers + tl]; in set_encoder_config()