Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dlibvpxenc.c519 static int vpx_ts_param_parse(VPxContext *ctx, struct vpx_codec_enc_cfg *enccfg, in vpx_ts_param_parse() argument
529 enccfg->ts_number_layers = strtoul(value, &value, 10); in vpx_ts_param_parse()
532 vp8_ts_parse_int_array(enccfg->ts_target_bitrate, value, value_len, VPX_TS_MAX_LAYERS); in vpx_ts_param_parse()
535 … vp8_ts_parse_int_array(enccfg->layer_target_bitrate, value, value_len, VPX_TS_MAX_LAYERS); in vpx_ts_param_parse()
538 vp8_ts_parse_int_array(enccfg->ts_rate_decimator, value, value_len, VPX_TS_MAX_LAYERS); in vpx_ts_param_parse()
540 enccfg->ts_periodicity = strtoul(value, &value, 10); in vpx_ts_param_parse()
542 vp8_ts_parse_int_array(enccfg->ts_layer_id, value, value_len, VPX_TS_MAX_PERIODICITY); in vpx_ts_param_parse()
549enccfg->temporal_layering_mode = VP9E_TEMPORAL_LAYERING_MODE_BYPASS; // only bypass mode is suppor… in vpx_ts_param_parse()
550 enccfg->ss_number_layers = 1; // TODO: add spatial scalability support. in vpx_ts_param_parse()
556 …set_temporal_layer_pattern(ts_layering_mode, enccfg, ctx->ts_layer_flags, &enccfg->ts_periodicity); in vpx_ts_param_parse()
[all …]
Dlibaomenc.c335 struct aom_codec_enc_cfg *enccfg, aom_codec_flags_t *flags, in set_pix_fmt() argument
340 enccfg->g_bit_depth = enccfg->g_input_bit_depth = desc->comp[0].depth; in set_pix_fmt()
343 enccfg->monochrome = 1; in set_pix_fmt()
346 enccfg->g_profile = FF_PROFILE_AV1_MAIN; in set_pix_fmt()
350 enccfg->g_profile = FF_PROFILE_AV1_PROFESSIONAL; in set_pix_fmt()
355 enccfg->g_profile = FF_PROFILE_AV1_HIGH; in set_pix_fmt()
360 enccfg->monochrome = 1; in set_pix_fmt()
365 enccfg->g_profile = in set_pix_fmt()
366 enccfg->g_bit_depth == 10 ? FF_PROFILE_AV1_MAIN : FF_PROFILE_AV1_PROFESSIONAL; in set_pix_fmt()
375 enccfg->g_profile = FF_PROFILE_AV1_PROFESSIONAL; in set_pix_fmt()
[all …]