Searched refs:preset_config (Results 1 – 2 of 2) sorted by relevance
1650 NV_ENC_PRESET_CONFIG preset_config = { 0, }; in gst_nv_base_enc_set_format() local1763 preset_config.version = gst_nvenc_get_preset_config_version (); in gst_nv_base_enc_set_format()1764 preset_config.presetCfg.version = gst_nvenc_get_config_version (); in gst_nv_base_enc_set_format()1768 params->encodeGUID, params->presetGUID, &preset_config); in gst_nv_base_enc_set_format()1775 params->encodeConfig = &preset_config.presetCfg; in gst_nv_base_enc_set_format()1782 preset_config.presetCfg.frameFieldMode = in gst_nv_base_enc_set_format()
1253 NV_ENC_PRESET_CONFIG preset_config = { 0 }; in nvenc_setup_encoder() local1267 preset_config.version = NV_ENC_PRESET_CONFIG_VER; in nvenc_setup_encoder()1268 preset_config.presetCfg.version = NV_ENC_CONFIG_VER; in nvenc_setup_encoder()1282 &preset_config); in nvenc_setup_encoder()1287 &preset_config); in nvenc_setup_encoder()1292 memcpy(&ctx->encode_config, &preset_config.presetCfg, sizeof(ctx->encode_config)); in nvenc_setup_encoder()