Function libjxl_sys::JxlEncoderOptionsSetDecodingSpeed[][src]

pub unsafe extern "C" fn JxlEncoderOptionsSetDecodingSpeed(
    options: *mut JxlEncoderOptions,
    tier: c_int
) -> JxlEncoderStatus

Set the decoding speed tier for the provided options. Minimum is 0 (highest quality), and maximum is 4 (lowest quality). Default is 0.

@param options set of encoder options to update with the new decoding speed tier. @param tier the decoding speed tier to set. @return JXL_ENC_SUCCESS if the operation was successful, JXL_ENC_ERROR otherwise.