Function libjxl_sys::JxlEncoderReset[][src]

pub unsafe extern "C" fn JxlEncoderReset(enc: *mut JxlEncoder)

Re-initializes a JxlEncoder instance, so it can be re-used for encoding another image. All state and settings are reset as if the object was newly created with JxlEncoderCreate, but the memory manager is kept.

@param enc instance to be re-initialized.