Function libheif_sys::heif_encoder_set_parameter

source ·
pub unsafe extern "C" fn heif_encoder_set_parameter(
    arg1: *mut heif_encoder,
    parameter_name: *const c_char,
    value: *const c_char
) -> heif_error
Expand description

Set a parameter of any type to the string value. Integer values are parsed from the string. Boolean values can be “true”/“false”/“1”/“0”

x265 encoder specific note: When using the x265 encoder, you may pass any of its parameters by prefixing the parameter name with ‘x265:’. Hence, to set the ‘ctu’ parameter, you will have to set ‘x265:ctu’ in libheif. Note that there is no checking for valid parameters when using the prefix.