Function libjxl_sys::JxlDecoderReset[][src]

pub unsafe extern "C" fn JxlDecoderReset(dec: *mut JxlDecoder)

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

@param dec instance to be re-initialized.