Home
last modified time | relevance | path

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

/external/libvpx/libvpx/test/
Dsvc_datarate_test.cc147 ASSERT_GE(cfg_.layer_target_bitrate[layer], in CheckLayerRateTargeting()
150 ASSERT_LE(cfg_.layer_target_bitrate[layer], in CheckLayerRateTargeting()
204 cfg_.rc_target_bitrate -= cfg_.layer_target_bitrate[8]; in PreEncodeFrameHook()
206 bitrate_sl3_[i] = cfg_.layer_target_bitrate[i + 6]; in PreEncodeFrameHook()
207 cfg_.layer_target_bitrate[6] = 0; in PreEncodeFrameHook()
208 cfg_.layer_target_bitrate[7] = 0; in PreEncodeFrameHook()
209 cfg_.layer_target_bitrate[8] = 0; in PreEncodeFrameHook()
216 cfg_.layer_target_bitrate[i + 6] = bitrate_sl3_[i]; in PreEncodeFrameHook()
217 cfg_.rc_target_bitrate += cfg_.layer_target_bitrate[8]; in PreEncodeFrameHook()
282 (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.cc497 cfg_.layer_target_bitrate[0] = 60 * cfg_.rc_target_bitrate / 100; in TEST_P()
498 cfg_.layer_target_bitrate[1] = cfg_.rc_target_bitrate; in TEST_P()
506 ASSERT_GE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 0.85) in TEST_P()
510 ASSERT_LE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 1.15) in TEST_P()
544 cfg_.layer_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; in TEST_P()
545 cfg_.layer_target_bitrate[1] = 60 * cfg_.rc_target_bitrate / 100; in TEST_P()
546 cfg_.layer_target_bitrate[2] = cfg_.rc_target_bitrate; in TEST_P()
556 ASSERT_GE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 0.75) in TEST_P()
562 ASSERT_LE(effective_datarate_[j], cfg_.layer_target_bitrate[j] * 1.25) in TEST_P()
638 cfg_.layer_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; in TEST_P()
[all …]
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c84 int layer_target_bitrate[VPX_MAX_LAYERS]; member
101 1000.0 * rc->layer_target_bitrate[0] / rc->layer_framerate[0]; in set_rate_control_metrics()
107 (rc->layer_target_bitrate[i] - rc->layer_target_bitrate[i - 1]) / in set_rate_control_metrics()
145 printf("Bitrate (target vs actual): %d %f \n", rc->layer_target_bitrate[i], in printout_rate_control_summary()
612 zero(rc.layer_target_bitrate); in main()
709 rc.layer_target_bitrate[i - 13] = (int)strtol(argv[i], NULL, 0); in main()
711 cfg.ts_target_bitrate[i - 13] = rc.layer_target_bitrate[i - 13]; in main()
713 cfg.layer_target_bitrate[i - 13] = rc.layer_target_bitrate[i - 13]; in main()
755 cfg.rc_target_bitrate = rc.layer_target_bitrate[cfg.ts_number_layers - 1]; in main()
Dsvc_encodeframe.c298 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates()
323 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates()
325 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates()
327 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 2] = in assign_layer_bitrates()
331 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates()
333 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates()
346 enc_cfg->layer_target_bitrate[i] = (unsigned int)si->bitrates[i]; in assign_layer_bitrates()
366 enc_cfg->layer_target_bitrate[i] = in assign_layer_bitrates()
Dvp9_spatial_svc_encoder.c465 (cfg->layer_target_bitrate[layer] - in set_rate_control_stats()
466 cfg->layer_target_bitrate[layer - 1]) / in set_rate_control_stats()
469 rc->layer_pfb[layer] = 1000.0 * cfg->layer_target_bitrate[layer] / in set_rate_control_stats()
515 cfg->layer_target_bitrate[layer], in printout_rate_control_summary()
/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.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()
202 oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()
210 oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()
248 lc->target_bandwidth = oxcf->layer_target_bitrate[layer]; in vp9_update_layer_context_change_config()
307 oxcf->layer_target_bitrate[st_idx - 1]; in vp9_update_temporal_layer_framerate()
Dvp9_encoder.h221 int layer_target_bitrate[VPX_MAX_LAYERS]; member
/external/libvpx/libvpx/vpx/
Dvpx_encoder.h684 unsigned int layer_target_bitrate[VPX_MAX_LAYERS]; member
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c230 if (cfg->layer_target_bitrate[layer] < in validate_config()
231 cfg->layer_target_bitrate[layer - 1]) in validate_config()
581 oxcf->layer_target_bitrate[sl * oxcf->ts_number_layers + tl] = in set_encoder_config()
582 1000 * cfg->layer_target_bitrate[sl * oxcf->ts_number_layers + tl]; in set_encoder_config()