Function libjxl_sys::JxlDecoderReset
source · [−]pub unsafe extern "C" fn JxlDecoderReset(dec: *mut JxlDecoder)
Expand description
Re-initializes a @ref 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 @ref JxlDecoderCreate, but the memory manager is kept.
@param dec instance to be re-initialized.