38#ifndef THREADED_FRAME_PROCESSOR_H
39#define THREADED_FRAME_PROCESSOR_H
47 {
class thread_pool; }
A base object for queuing tasks in the thread_pool.
Saves a j2k frame to disk without decoding.
j2k_frame_storer()
default construction
~j2k_frame_storer() override
default destructor doing nothing
void init(stex_file *file, const char *name_template)
call this function to initialize its members
const char * name_template
a template for the target file name
stex_file * file
a j2k codestream file with other variables
void execute() override
A thread from the thread_pool call this function to execute the task.
holds in memory j2k codestream together with other info