Go to the documentation of this file.
28 #ifndef JXL_THREAD_PARALLEL_RUNNER_H_
29 #define JXL_THREAD_PARALLEL_RUNNER_H_
36 #include "jxl/jxl_threads_export.h"
40 #if defined(__cplusplus) || defined(c_plusplus)
65 #if defined(__cplusplus) || defined(c_plusplus)
int JxlParallelRetCode
Definition: parallel_runner.h:49
JxlParallelRetCode(* JxlParallelRunInit)(void *jpegxl_opaque, size_t num_threads)
Definition: parallel_runner.h:74
void(* JxlParallelRunFunction)(void *jpegxl_opaque, uint32_t value, size_t thread_id)
Definition: parallel_runner.h:92
JXL_THREADS_EXPORT size_t JxlThreadParallelRunnerDefaultNumWorkerThreads()
JXL_THREADS_EXPORT void JxlThreadParallelRunnerDestroy(void *runner_opaque)
JXL_THREADS_EXPORT JxlParallelRetCode JxlThreadParallelRunner(void *runner_opaque, void *jpegxl_opaque, JxlParallelRunInit init, JxlParallelRunFunction func, uint32_t start_range, uint32_t end_range)
Abstraction functions used by JPEG XL to allocate memory.
Definition: memory_manager.h:48
JXL_THREADS_EXPORT void * JxlThreadParallelRunnerCreate(const JxlMemoryManager *memory_manager, size_t num_worker_threads)