Expand description
Parallel runner interface
§Example
use jpegxl_rs::{decoder_builder, parallel::threads_runner::ThreadsRunner};
// Use the default C++ Threads pool runner:
let mut parallel_runner = ThreadsRunner::default();
let mut decoder = decoder_builder().parallel_runner(¶llel_runner).build()?;
Modules§
- resizable_runner
threads
Wrapper for resizable thread pool implementation with C++ standard library - threads_runner
threads
Wrapper for default thread pool implementation with C++ standard library
Traits§
- JPEG XL Parallel Runner
Type Aliases§
- Parallel runner initialization callback type
- Parallel runner return code
- Parallel runner data processing callback type
- FFI runner function.