[−][src]Function jpegxl_sys::JxlEncoderSetParallelRunner
pub unsafe extern "C" fn JxlEncoderSetParallelRunner(
enc: *mut JxlEncoder,
parallel_runner: JxlParallelRunner,
parallel_runner_opaque: *mut c_void
) -> JxlEncoderStatus
Set the parallel runner for multithreading. May only be set before starting encoding.
@param enc encoder object @param parallel_runner function pointer to runner for multithreading. It may be NULL to use the default, single-threaded, runner. A multithreaded runner should be set to reach fast performance. @param parallel_runner_opaque opaque pointer for parallel_runner. @return JXL_ENC_SUCCESS if the runner was set, JXL_ENC_ERROR otherwise (the previous runner remains set).