Function libjxl_sys::JxlEncoderReset
source · [−]pub unsafe extern "C" fn JxlEncoderReset(enc: *mut JxlEncoder)
Expand description
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.