56 char buf[128], name[128];
void write_to_file(const char *file_name) const
Call this function to write the memory file data to a file.
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.
const char * name_template
name template for saved files
ojph::mem_outfile f
holds in-memory j2k codestream
ui32 frame_idx
frame number in the sequence
void notify_file_completion()
other threads can call this function to signal completion of processing.