Searched refs:alloc_ratio (Results 1 – 2 of 2) sorted by relevance
93 float alloc_ratio[VPX_MAX_LAYERS] = { 0 }; in AssignLayerBitrates() local97 alloc_ratio[sl] = in AssignLayerBitrates()100 total += alloc_ratio[sl]; in AssignLayerBitrates()105 static_cast<unsigned int>(cfg_.rc_target_bitrate * alloc_ratio[sl] / in AssignLayerBitrates()
309 float alloc_ratio[VPX_MAX_LAYERS] = { 0 }; in assign_layer_bitrates() local313 alloc_ratio[sl] = (float)(pow(2, sl)); in assign_layer_bitrates()314 total += alloc_ratio[sl]; in assign_layer_bitrates()320 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[sl] / in assign_layer_bitrates()353 float alloc_ratio[VPX_MAX_LAYERS] = { 0 }; in assign_layer_bitrates() local357 alloc_ratio[i] = (float)(si->svc_params.scaling_factor_num[i] * 1.0 / in assign_layer_bitrates()360 alloc_ratio[i] *= alloc_ratio[i]; in assign_layer_bitrates()361 total += alloc_ratio[i]; in assign_layer_bitrates()367 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[i] / in assign_layer_bitrates()