Searched refs:enc_cfg (Results 1 – 5 of 5) sorted by relevance
/external/libvpx/examples/ |
D | vp9_spatial_svc_encoder.c | 183 vpx_codec_enc_cfg_t *enc_cfg) { in parse_command_line() argument 205 res = vpx_codec_enc_config_default(vpx_codec_vp9_cx(), enc_cfg, 0); in parse_command_line() 210 enc_cfg->g_w = default_width; in parse_command_line() 211 enc_cfg->g_h = default_height; in parse_command_line() 212 enc_cfg->g_timebase.num = default_timebase_num; in parse_command_line() 213 enc_cfg->g_timebase.den = default_timebase_den; in parse_command_line() 214 enc_cfg->rc_target_bitrate = default_bitrate; in parse_command_line() 215 enc_cfg->kf_min_dist = default_kf_dist; in parse_command_line() 216 enc_cfg->kf_max_dist = default_kf_dist; in parse_command_line() 217 enc_cfg->rc_end_usage = VPX_CQ; in parse_command_line() [all …]
|
D | svc_encodeframe.c | 288 const SvcContext *svc_ctx, vpx_codec_enc_cfg_t *const enc_cfg) { in assign_layer_bitrates() argument 300 enc_cfg->ss_target_bitrate[sl * svc_ctx->temporal_layers] += in assign_layer_bitrates() 302 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates() 309 if (total_bitrate != enc_cfg->rc_target_bitrate) in assign_layer_bitrates() 323 enc_cfg->ss_target_bitrate[sl] = spatial_layer_target = in assign_layer_bitrates() 324 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[sl] / in assign_layer_bitrates() 327 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates() 329 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 1] = in assign_layer_bitrates() 331 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + 2] = in assign_layer_bitrates() 335 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers] = in assign_layer_bitrates() [all …]
|
/external/libaom/examples/ |
D | svc_encoder_rtc.c | 279 aom_codec_enc_cfg_t *enc_cfg) { in parse_command_line() argument 292 enc_cfg->g_threads = 1; in parse_command_line() 293 enc_cfg->rc_end_usage = AOM_CBR; in parse_command_line() 307 enc_cfg->g_w = arg_parse_uint(&arg); in parse_command_line() 309 enc_cfg->g_h = arg_parse_uint(&arg); in parse_command_line() 311 enc_cfg->g_timebase = arg_parse_rational(&arg); in parse_command_line() 313 enc_cfg->rc_target_bitrate = arg_parse_uint(&arg); in parse_command_line() 326 enc_cfg->g_threads = arg_parse_uint(&arg); in parse_command_line() 330 enc_cfg->kf_min_dist = arg_parse_uint(&arg); in parse_command_line() 331 enc_cfg->kf_max_dist = enc_cfg->kf_min_dist; in parse_command_line() [all …]
|
/external/libaom/test/ |
D | av1_key_value_api_test.cc | 31 aom_codec_enc_cfg_t enc_cfg; in SetUp() local 38 aom_codec_enc_config_default(iface_cx, &enc_cfg, usage)); in SetUp() 40 aom_codec_enc_init(&enc_, iface_cx, &enc_cfg, usage)); in SetUp()
|
/external/libvpx/vp9/ |
D | vp9_cx_iface.c | 2161 vpx_codec_enc_cfg_t enc_cfg = encoder_usage_cfg_map[0].cfg; in get_enc_cfg() local 2162 enc_cfg.g_w = frame_width; in get_enc_cfg() 2163 enc_cfg.g_h = frame_height; in get_enc_cfg() 2164 enc_cfg.rc_target_bitrate = target_bitrate; in get_enc_cfg() 2165 enc_cfg.g_pass = enc_pass; in get_enc_cfg() 2167 enc_cfg.g_timebase.num = frame_rate.den; in get_enc_cfg() 2168 enc_cfg.g_timebase.den = frame_rate.num; in get_enc_cfg() 2169 return enc_cfg; in get_enc_cfg() 2219 vpx_codec_enc_cfg_t enc_cfg = get_enc_cfg( in vp9_get_encoder_config() local 2221 set_encoder_config(&oxcf, &enc_cfg, &extra_cfg); in vp9_get_encoder_config()
|