Home
last modified time | relevance | path

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

/external/libvpx/libvpx/test/
Dsvc_datarate_test.cc160 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 …]
Dsvc_test.cc109 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()
Dvp9_datarate_test.cc496 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/
Dvpx_temporal_svc_encoder.c85 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()
Dsvc_encodeframe.c300 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()
Dvp9_spatial_svc_encoder.c481 (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/
Dsvc_encoder_rtc.c62 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/
Dsvc_layercontext.h25 int64_t layer_target_bitrate; member
Dsvc_layercontext.c51 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/
Dvp9_impl.cc340 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/
Dvpx_encoder.h684 unsigned int layer_target_bitrate[VPX_MAX_LAYERS]; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c130 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()
Dvp9_encoder.h229 int layer_target_bitrate[VPX_MAX_LAYERS]; member
/external/libaom/libaom/aom/
Daomcx.h1369 int layer_target_bitrate[AOM_MAX_LAYERS]; member
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c255 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/
Dsvc_datarate_test.cc315 svc_params->layer_target_bitrate[i] = target_layer_bitrate_[i]; in initialize_svc()
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_encoder.cc574 svc_params_->layer_target_bitrate[layer_index] = in SetRates()
/external/libaom/libaom/av1/
Dav1_cx_iface.c2511 lc->layer_target_bitrate = 1000 * params->layer_target_bitrate[layer]; in ctrl_set_svc_params()