Function libavif_sys::avifEncoderSetCodecSpecificOption [−][src]
pub unsafe extern "C" fn avifEncoderSetCodecSpecificOption(
encoder: *mut avifEncoder,
key: *const c_char,
value: *const c_char
)
Codec-specific, optional “advanced” tuning settings, in the form of string key/value pairs. These should be set as early as possible, preferably just after creating avifEncoder but before performing any other actions. key must be non-NULL, but passing a NULL value will delete that key, if it exists. Setting an incorrect or unknown option for the current codec will cause errors of type AVIF_RESULT_INVALID_CODEC_SPECIFIC_OPTION from avifEncoderWrite() or avifEncoderAddImage().