pub type JxlImageOutInitCallback = extern "C" fn(init_opaque: *mut c_void, num_threads: usize, num_pixels_per_thread: usize) -> *mut c_void;Expand description
Initialization callback for JxlDecoderSetMultithreadedImageOutCallback.
§Parameters
init_opaque: optional user data, as given toJxlDecoderSetMultithreadedImageOutCallback.num_threads: maximum number of threads that will call theruncallback concurrently.num_pixels_per_thread: maximum number of pixels that will be passed in one call torun.
§Returns
- a pointer to data that will be passed to the
runcallback, orNULLif initialization failed.