Home
last modified time | relevance | path

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

/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c156 vpx_codec_enc_cfg_t *enc_cfg) { in parse_command_line() argument
181 res = vpx_codec_enc_config_default(vpx_codec_vp9_cx(), enc_cfg, 0); in parse_command_line()
186 enc_cfg->g_w = default_width; in parse_command_line()
187 enc_cfg->g_h = default_height; in parse_command_line()
188 enc_cfg->g_timebase.num = default_timebase_num; in parse_command_line()
189 enc_cfg->g_timebase.den = default_timebase_den; in parse_command_line()
190 enc_cfg->rc_target_bitrate = default_bitrate; in parse_command_line()
191 enc_cfg->kf_min_dist = default_kf_dist; in parse_command_line()
192 enc_cfg->kf_max_dist = default_kf_dist; in parse_command_line()
193 enc_cfg->rc_end_usage = VPX_CQ; in parse_command_line()
[all …]
/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c302 vpx_codec_enc_cfg_t *const enc_cfg) { in assign_layer_bitrates() argument
309 enc_cfg->rc_target_bitrate = 0; in assign_layer_bitrates()
311 enc_cfg->ss_target_bitrate[sl*svc_ctx->temporal_layers] = 0; in assign_layer_bitrates()
313 enc_cfg->ss_target_bitrate[sl*svc_ctx->temporal_layers] in assign_layer_bitrates()
315 enc_cfg->layer_target_bitrate[sl*svc_ctx->temporal_layers + tl] in assign_layer_bitrates()
332 enc_cfg->ss_target_bitrate[sl] = spatial_layer_target = in assign_layer_bitrates()
333 (unsigned int)(enc_cfg->rc_target_bitrate * in assign_layer_bitrates()
336 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates()
338 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates()
340 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 2] = in assign_layer_bitrates()
[all …]
/external/libvpx/libvpx/test/
Ddatarate_test.cc849 static void assign_layer_bitrates(vpx_codec_enc_cfg_t *const enc_cfg, in assign_layer_bitrates() argument
866 enc_cfg->ss_target_bitrate[sl] = spatial_layer_target = in assign_layer_bitrates()
867 (unsigned int)(enc_cfg->rc_target_bitrate * in assign_layer_bitrates()
871 enc_cfg->layer_target_bitrate[index] = in assign_layer_bitrates()
873 enc_cfg->layer_target_bitrate[index + 1] = in assign_layer_bitrates()
875 enc_cfg->layer_target_bitrate[index + 2] = in assign_layer_bitrates()
878 enc_cfg->layer_target_bitrate[index] = in assign_layer_bitrates()
880 enc_cfg->layer_target_bitrate[index + 1] = in assign_layer_bitrates()