16#ifndef JXL_RESIZABLE_PARALLEL_RUNNER_CXX_H_
17#define JXL_RESIZABLE_PARALLEL_RUNNER_CXX_H_
24#if !(defined(__cplusplus) || defined(c_plusplus))
26 "This a C++ only header. Use jxl/jxl_resizable_parallel_runner.h from C" \
42typedef std::unique_ptr<void, JxlResizableParallelRunnerDestroyStruct>
std::unique_ptr< void, JxlResizableParallelRunnerDestroyStruct > JxlResizableParallelRunnerPtr
Definition resizable_parallel_runner_cxx.h:43
JXL_THREADS_EXPORT void JxlResizableParallelRunnerDestroy(void *runner_opaque)
JXL_THREADS_EXPORT void * JxlResizableParallelRunnerCreate(const JxlMemoryManager *memory_manager)
Abstraction functions used by JPEG XL to allocate memory.
implementation using std::thread of a resizeable JxlParallelRunner.
Definition memory_manager.h:51
Definition resizable_parallel_runner_cxx.h:32
void operator()(void *runner)
Calls JxlResizableParallelRunnerDestroy() on the passed runner.
Definition resizable_parallel_runner_cxx.h:34