30#ifndef JXL_RESIZABLE_PARALLEL_RUNNER_H_
31#define JXL_RESIZABLE_PARALLEL_RUNNER_H_
33#include <jxl/jxl_threads_export.h>
40#if defined(__cplusplus) || defined(c_plusplus)
60 void* runner_opaque,
size_t num_threads);
64JXL_THREADS_EXPORT uint32_t
71#if defined(__cplusplus) || defined(c_plusplus)
JxlParallelRetCode(* JxlParallelRunInit)(void *jpegxl_opaque, size_t num_threads)
Definition parallel_runner.h:78
int JxlParallelRetCode
Definition parallel_runner.h:52
JXL_THREADS_EXPORT void JxlResizableParallelRunnerDestroy(void *runner_opaque)
JXL_THREADS_EXPORT void * JxlResizableParallelRunnerCreate(const JxlMemoryManager *memory_manager)
JXL_THREADS_EXPORT uint32_t JxlResizableParallelRunnerSuggestThreads(uint64_t xsize, uint64_t ysize)
JXL_THREADS_EXPORT JxlParallelRetCode JxlResizableParallelRunner(void *runner_opaque, void *jpegxl_opaque, JxlParallelRunInit init, JxlParallelRunFunction func, uint32_t start_range, uint32_t end_range)
JXL_THREADS_EXPORT void JxlResizableParallelRunnerSetThreads(void *runner_opaque, size_t num_threads)
void(* JxlParallelRunFunction)(void *jpegxl_opaque, uint32_t value, size_t thread_id)
Definition parallel_runner.h:97
Abstraction functions used by JPEG XL to allocate memory.
Definition memory_manager.h:51