[−][src]Function jpegxl_sys::JxlDecoderCreate
pub unsafe extern "C" fn JxlDecoderCreate(
memory_manager: *const JxlMemoryManager
) -> *mut JxlDecoder
Creates an instance of JxlDecoder and initializes it.
@p memory_manager will be used for all the library dynamic allocations made from this instance. The parameter may be NULL, in which case the default allocator will be used. See jpegxl/memory_manager.h for details.
@param memory_manager custom allocator function. It may be NULL. The memory manager will be copied internally. @return @c NULL if the instance can not be allocated or initialized @return pointer to initialized JxlDecoder otherwise