Home
last modified time | relevance | path

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

/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c188 vpx_codec_enc_cfg_t *enc_cfg) { in parse_command_line() argument
213 res = vpx_codec_enc_config_default(vpx_codec_vp9_cx(), enc_cfg, 0); in parse_command_line()
218 enc_cfg->g_w = default_width; in parse_command_line()
219 enc_cfg->g_h = default_height; in parse_command_line()
220 enc_cfg->g_timebase.num = default_timebase_num; in parse_command_line()
221 enc_cfg->g_timebase.den = default_timebase_den; in parse_command_line()
222 enc_cfg->rc_target_bitrate = default_bitrate; in parse_command_line()
223 enc_cfg->kf_min_dist = default_kf_dist; in parse_command_line()
224 enc_cfg->kf_max_dist = default_kf_dist; in parse_command_line()
225 enc_cfg->rc_end_usage = VPX_CQ; in parse_command_line()
[all …]
Dsvc_encodeframe.c284 const SvcContext *svc_ctx, vpx_codec_enc_cfg_t *const enc_cfg) { in assign_layer_bitrates() argument
296 enc_cfg->ss_target_bitrate[sl * svc_ctx->temporal_layers] += in assign_layer_bitrates()
298 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates()
305 if (total_bitrate != enc_cfg->rc_target_bitrate) in assign_layer_bitrates()
319 enc_cfg->ss_target_bitrate[sl] = spatial_layer_target = in assign_layer_bitrates()
320 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[sl] / 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()
[all …]