Function libaom_sys::aom_codec_enc_config_set
source · pub unsafe extern "C" fn aom_codec_enc_config_set(
ctx: *mut aom_codec_ctx_t,
cfg: *const aom_codec_enc_cfg_t,
) -> aom_codec_err_t
Expand description
Set or change configuration
Reconfigures an encoder instance according to the given configuration.
\param[in] ctx Pointer to this instance’s context \param[in] cfg Configuration buffer to use
\retval #AOM_CODEC_OK The configuration was populated. \retval #AOM_CODEC_INCAPABLE Interface is not an encoder interface. \retval #AOM_CODEC_INVALID_PARAM A parameter was NULL, or the usage value was not recognized.