/external/libvpx/libvpx/test/ |
D | svc_datarate_test.cc | 160 ASSERT_GE(cfg_.layer_target_bitrate[layer], in CheckLayerRateTargeting() 163 ASSERT_LE(cfg_.layer_target_bitrate[layer], in CheckLayerRateTargeting() 217 cfg_.rc_target_bitrate -= cfg_.layer_target_bitrate[8]; in PreEncodeFrameHook() 219 bitrate_sl3_[i] = cfg_.layer_target_bitrate[i + 6]; in PreEncodeFrameHook() 220 cfg_.layer_target_bitrate[6] = 0; in PreEncodeFrameHook() 221 cfg_.layer_target_bitrate[7] = 0; in PreEncodeFrameHook() 222 cfg_.layer_target_bitrate[8] = 0; in PreEncodeFrameHook() 229 cfg_.layer_target_bitrate[i + 6] = bitrate_sl3_[i]; in PreEncodeFrameHook() 230 cfg_.rc_target_bitrate += cfg_.layer_target_bitrate[8]; in PreEncodeFrameHook() 295 (cfg_.layer_target_bitrate[1] + cfg_.layer_target_bitrate[2]); in PreEncodeFrameHook() [all …]
|
D | svc_test.cc | 109 cfg_.layer_target_bitrate[index] = spatial_layer_target >> 1; in AssignLayerBitrates() 110 cfg_.layer_target_bitrate[index + 1] = in AssignLayerBitrates() 112 cfg_.layer_target_bitrate[index + 2] = spatial_layer_target; in AssignLayerBitrates() 114 cfg_.layer_target_bitrate[index] = spatial_layer_target * 2 / 3; in AssignLayerBitrates() 115 cfg_.layer_target_bitrate[index + 1] = spatial_layer_target; in AssignLayerBitrates() 117 cfg_.layer_target_bitrate[index] = spatial_layer_target; in AssignLayerBitrates() 128 cfg_.layer_target_bitrate[layer] * 1000.0 / layer_framerate); in AssignLayerBitrates() 130 cfg_.layer_target_bitrate[layer] * cfg_.rc_buf_initial_sz; in AssignLayerBitrates()
|
D | vp9_datarate_test.cc | 496 cfg_.layer_target_bitrate[0] = 60 * cfg_.rc_target_bitrate / 100; in TEST_P() 497 cfg_.layer_target_bitrate[1] = cfg_.rc_target_bitrate; in TEST_P() 505 ASSERT_GE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 0.85) in TEST_P() 509 ASSERT_LE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 1.15) in TEST_P() 543 cfg_.layer_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; in TEST_P() 544 cfg_.layer_target_bitrate[1] = 60 * cfg_.rc_target_bitrate / 100; in TEST_P() 545 cfg_.layer_target_bitrate[2] = cfg_.rc_target_bitrate; in TEST_P() 555 ASSERT_GE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 0.75) in TEST_P() 561 ASSERT_LE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 1.25) in TEST_P() 637 cfg_.layer_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; in TEST_P() [all …]
|
/external/libvpx/libvpx/examples/ |
D | vpx_temporal_svc_encoder.c | 85 int layer_target_bitrate[VPX_MAX_LAYERS]; member 103 1000.0 * rc->layer_target_bitrate[0] / rc->layer_framerate[0]; in set_rate_control_metrics() 109 (rc->layer_target_bitrate[i] - rc->layer_target_bitrate[i - 1]) / in set_rate_control_metrics() 125 cfg->rc_target_bitrate = rc->layer_target_bitrate[ts_number_layers - 1]; in set_rate_control_metrics() 150 printf("Bitrate (target vs actual): %d %f \n", rc->layer_target_bitrate[i], in printout_rate_control_summary() 617 zero(rc.layer_target_bitrate); in main() 735 rc.layer_target_bitrate[i - 13] = (int)strtol(argv[i], NULL, 0); in main() 737 cfg.ts_target_bitrate[i - 13] = rc.layer_target_bitrate[i - 13]; in main() 739 cfg.layer_target_bitrate[i - 13] = rc.layer_target_bitrate[i - 13]; in main()
|
D | svc_encodeframe.c | 300 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates() 325 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates() 327 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates() 329 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 2] = in assign_layer_bitrates() 333 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates() 335 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates() 348 enc_cfg->layer_target_bitrate[i] = (unsigned int)si->bitrates[i]; in assign_layer_bitrates() 368 enc_cfg->layer_target_bitrate[i] = in assign_layer_bitrates()
|
D | vp9_spatial_svc_encoder.c | 481 (cfg->layer_target_bitrate[layer] - in set_rate_control_stats() 482 cfg->layer_target_bitrate[layer - 1]) / in set_rate_control_stats() 485 rc->layer_pfb[layer] = 1000.0 * cfg->layer_target_bitrate[layer] / in set_rate_control_stats() 531 cfg->layer_target_bitrate[layer], in printout_rate_control_summary()
|
/external/libaom/libaom/examples/ |
D | svc_encoder_rtc.c | 62 int layer_target_bitrate[AOM_MAX_LAYERS]; member 173 1000.0 * rc->layer_target_bitrate[i] / rc->layer_framerate[0]; in set_rate_control_metrics() 180 (rc->layer_target_bitrate[i] - rc->layer_target_bitrate[i - 1]) / in set_rate_control_metrics() 220 printf("Bitrate (target vs actual): %d %f\n", rc->layer_target_bitrate[i], in printout_rate_control_summary() 582 zero(rc.layer_target_bitrate); in main() 660 rc.layer_target_bitrate[i - 13] = (int)strtol(argv[i], NULL, 0); in main() 661 svc_params.layer_target_bitrate[i - 13] = rc.layer_target_bitrate[i - 13]; in main() 665 svc_params.layer_target_bitrate[ss_number_layers * ts_number_layers - 1]; in main()
|
/external/libaom/libaom/av1/encoder/ |
D | svc_layercontext.h | 25 int64_t layer_target_bitrate; member
|
D | svc_layercontext.c | 51 lc->target_bandwidth = lc->layer_target_bitrate; in av1_init_layer_context() 94 svc->layer_context[layer].target_bandwidth = lc->layer_target_bitrate; in av1_update_layer_context_change_config() 144 const int64_t prev_layer_target_bandwidth = lcprev->layer_target_bitrate; in av1_update_temporal_layer_framerate()
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 340 config_->layer_target_bitrate[sl_idx * num_temporal_layers_ + tl_idx] = in SetSvcRates() 371 config_->layer_target_bitrate[i] = config_->ss_target_bitrate[i]; in SetSvcRates() 373 config_->layer_target_bitrate[i * num_temporal_layers_] = in SetSvcRates() 375 config_->layer_target_bitrate[i * num_temporal_layers_ + 1] = in SetSvcRates() 378 config_->layer_target_bitrate[i * num_temporal_layers_] = in SetSvcRates() 380 config_->layer_target_bitrate[i * num_temporal_layers_ + 1] = in SetSvcRates() 381 config_->layer_target_bitrate[i * num_temporal_layers_] + in SetSvcRates() 383 config_->layer_target_bitrate[i * num_temporal_layers_ + 2] = in SetSvcRates()
|
/external/libvpx/libvpx/vpx/ |
D | vpx_encoder.h | 684 unsigned int layer_target_bitrate[VPX_MAX_LAYERS]; member
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_svc_layercontext.c | 130 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context() 135 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_init_layer_context() 204 oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config() 212 oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config() 250 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config() 309 oxcf->layer_target_bitrate[st_idx - 1]; in vp9_update_temporal_layer_framerate()
|
D | vp9_encoder.h | 229 int layer_target_bitrate[VPX_MAX_LAYERS]; member
|
/external/libaom/libaom/aom/ |
D | aomcx.h | 1369 int layer_target_bitrate[AOM_MAX_LAYERS]; member
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 255 if (cfg->layer_target_bitrate[layer] < in validate_config() 256 cfg->layer_target_bitrate[layer - 1]) in validate_config() 628 oxcf->layer_target_bitrate[sl * oxcf->ts_number_layers + tl] = in set_encoder_config() 629 1000 * cfg->layer_target_bitrate[sl * oxcf->ts_number_layers + tl]; in set_encoder_config()
|
/external/libaom/libaom/test/ |
D | svc_datarate_test.cc | 315 svc_params->layer_target_bitrate[i] = target_layer_bitrate_[i]; in initialize_svc()
|
/external/webrtc/modules/video_coding/codecs/av1/ |
D | libaom_av1_encoder.cc | 574 svc_params_->layer_target_bitrate[layer_index] = in SetRates()
|
/external/libaom/libaom/av1/ |
D | av1_cx_iface.c | 2511 lc->layer_target_bitrate = 1000 * params->layer_target_bitrate[layer]; in ctrl_set_svc_params()
|