Home
last modified time | relevance | path

Searched refs:alloc_ratio (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c321 float alloc_ratio[VPX_MAX_LAYERS] = {0}; in assign_layer_bitrates() local
325 alloc_ratio[sl] = (float)(si->svc_params.scaling_factor_num[sl] * in assign_layer_bitrates()
327 total += alloc_ratio[sl]; in assign_layer_bitrates()
334 alloc_ratio[sl] / total); in assign_layer_bitrates()
363 float alloc_ratio[VPX_MAX_LAYERS] = {0}; in assign_layer_bitrates() local
367 alloc_ratio[i] = (float)(si->svc_params.scaling_factor_num[i] * 1.0 / in assign_layer_bitrates()
370 alloc_ratio[i] *= alloc_ratio[i]; in assign_layer_bitrates()
371 total += alloc_ratio[i]; in assign_layer_bitrates()
377 (enc_cfg->rc_target_bitrate * alloc_ratio[i] / total); in assign_layer_bitrates()
/external/libvpx/libvpx/test/
Ddatarate_test.cc857 float alloc_ratio[VPX_MAX_LAYERS] = {0}; in assign_layer_bitrates() local
860 alloc_ratio[sl] = (float)(svc_params->scaling_factor_num[sl] * in assign_layer_bitrates()
862 total += alloc_ratio[sl]; in assign_layer_bitrates()
868 alloc_ratio[sl] / total); in assign_layer_bitrates()