Searched refs:enc_cfg (Results 1 – 3 of 3) sorted by relevance
170 vpx_codec_enc_cfg_t *enc_cfg) { in parse_command_line() argument195 res = vpx_codec_enc_config_default(vpx_codec_vp9_cx(), enc_cfg, 0); in parse_command_line()200 enc_cfg->g_w = default_width; in parse_command_line()201 enc_cfg->g_h = default_height; in parse_command_line()202 enc_cfg->g_timebase.num = default_timebase_num; in parse_command_line()203 enc_cfg->g_timebase.den = default_timebase_den; in parse_command_line()204 enc_cfg->rc_target_bitrate = default_bitrate; in parse_command_line()205 enc_cfg->kf_min_dist = default_kf_dist; in parse_command_line()206 enc_cfg->kf_max_dist = default_kf_dist; in parse_command_line()207 enc_cfg->rc_end_usage = VPX_CQ; in parse_command_line()[all …]
298 vpx_codec_enc_cfg_t *const enc_cfg) { in assign_layer_bitrates() argument310 enc_cfg->ss_target_bitrate[sl * svc_ctx->temporal_layers] += in assign_layer_bitrates()312 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates()319 if (total_bitrate != enc_cfg->rc_target_bitrate) in assign_layer_bitrates()333 enc_cfg->ss_target_bitrate[sl] = spatial_layer_target = in assign_layer_bitrates()334 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[sl] / in assign_layer_bitrates()337 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates()339 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates()341 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 2] = in assign_layer_bitrates()345 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates()[all …]
1196 static void assign_layer_bitrates(vpx_codec_enc_cfg_t *const enc_cfg, in assign_layer_bitrates() argument1211 enc_cfg->ss_target_bitrate[sl] = spatial_layer_target = in assign_layer_bitrates()1212 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[sl] / total); in assign_layer_bitrates()1215 enc_cfg->layer_target_bitrate[index] = spatial_layer_target >> 1; in assign_layer_bitrates()1216 enc_cfg->layer_target_bitrate[index + 1] = in assign_layer_bitrates()1218 enc_cfg->layer_target_bitrate[index + 2] = spatial_layer_target; in assign_layer_bitrates()1220 enc_cfg->layer_target_bitrate[index] = spatial_layer_target * 2 / 3; in assign_layer_bitrates()1221 enc_cfg->layer_target_bitrate[index + 1] = spatial_layer_target; in assign_layer_bitrates()