pub type JxlParallelRunFunction = unsafe extern "C-unwind" fn(*mut c_void, u32, usize);Expand description
Parallel run data processing callback. See JxlParallelRunner for
details.
This function MUST be called once for every number in the range [start_range, end_range) (including start_range but not including end_range) passing this
number as the value. Calls for different values may be executed from
different threads in parallel.
ยงParameters
jpegxl_opaque: thejpegxl_opaquehandle provided toJxlParallelRunnermust be passed here.value: the number in the range[start_range, end_range)of the call.thread_id: the thread number where this function is being called from. This must be lower than thenum_threadsvalue passed toJxlParallelRunInit.