Home
last modified time | relevance | path

Searched refs:svc_params (Results 1 – 5 of 5) sorted by relevance

/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c232 si->svc_params.scaling_factor_num, in parse_options()
233 si->svc_params.scaling_factor_den); in parse_options()
237 si->svc_params.max_quantizers, in parse_options()
242 si->svc_params.min_quantizers, in parse_options()
265 if (si->svc_params.max_quantizers[i] > MAX_QUANTIZER || in parse_options()
266 si->svc_params.max_quantizers[i] < 0 || in parse_options()
267 si->svc_params.min_quantizers[i] > si->svc_params.max_quantizers[i] || in parse_options()
268 si->svc_params.min_quantizers[i] < 0) in parse_options()
324 if (si->svc_params.scaling_factor_den[sl] > 0) { in assign_layer_bitrates()
325 alloc_ratio[sl] = (float)(si->svc_params.scaling_factor_num[sl] * in assign_layer_bitrates()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc145 if (svc_internal_.svc_params.scaling_factor_num[i] <= 0 || in SetSvcRates()
146 svc_internal_.svc_params.scaling_factor_den[i] <= 0) { in SetSvcRates()
151 static_cast<float>(svc_internal_.svc_params.scaling_factor_num[i]) / in SetSvcRates()
152 svc_internal_.svc_params.scaling_factor_den[i]; in SetSvcRates()
391 svc_internal_.svc_params.max_quantizers[i] = config_->rc_max_quantizer; in InitAndSetControlSettings()
392 svc_internal_.svc_params.min_quantizers[i] = config_->rc_min_quantizer; in InitAndSetControlSettings()
398 svc_internal_.svc_params.scaling_factor_num[i] = layer.scaling_factor_num; in InitAndSetControlSettings()
399 svc_internal_.svc_params.scaling_factor_den[i] = layer.scaling_factor_den; in InitAndSetControlSettings()
405 svc_internal_.svc_params.scaling_factor_num[i] = scaling_factor_num; in InitAndSetControlSettings()
406 svc_internal_.svc_params.scaling_factor_den[i] = 256; in InitAndSetControlSettings()
[all …]
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c689 vpx_svc_extra_cfg_t svc_params; in main() local
700 svc_params.max_quantizers[i] = cfg.rc_max_quantizer; in main()
701 svc_params.min_quantizers[i] = cfg.rc_min_quantizer; in main()
703 svc_params.scaling_factor_num[0] = cfg.g_h; in main()
704 svc_params.scaling_factor_den[0] = cfg.g_h; in main()
705 vpx_codec_control(&codec, VP9E_SET_SVC_PARAMETERS, &svc_params); in main()
/external/libvpx/libvpx/vpx/
Dsvc_context.h55 vpx_svc_extra_cfg_t svc_params; member
/external/libvpx/libvpx/test/
Ddatarate_test.cc850 const vpx_svc_extra_cfg_t *svc_params, in assign_layer_bitrates() argument
859 if (svc_params->scaling_factor_den[sl] > 0) { in assign_layer_bitrates()
860 alloc_ratio[sl] = (float)(svc_params->scaling_factor_num[sl] * in assign_layer_bitrates()
861 1.0 / svc_params->scaling_factor_den[sl]); in assign_layer_bitrates()