◆ in
uint8_t* worker_thread_s::in |
Input buffer of coder->block_size bytes. The main thread will put new input into this and update in_size accordingly. Once no more input is coming, state will be set to THR_FINISH.
◆ in_size
size_t worker_thread_s::in_size |
Amount of data available in the input buffer. This is modified only by the main thread.
◆ outbuf
Output buffer for this thread. This is set by the main thread every time a new Block is started with this thread structure.
◆ coder
Pointer to the main structure is needed when putting this thread back to the stack of free threads.
◆ allocator
The allocator is set by the main thread. Since a copy of the pointer is kept here, the application must not change the allocator before calling lzma_end().
◆ progress_in
uint64_t worker_thread_s::progress_in |
Amount of uncompressed data that has already been compressed.
◆ progress_out
uint64_t worker_thread_s::progress_out |
Amount of compressed data that is ready.
◆ block_encoder
◆ block_options
Compression options for this Block.
◆ filters
Filter chain for this thread. By copying the filters array to each thread it is possible to change the filter chain between Blocks using lzma_filters_update().
◆ next
Next structure in the stack of free worker threads.
◆ thread_id
mythread worker_thread_s::thread_id |
The ID of this thread is used to join the thread when it's not needed anymore.
The documentation for this struct was generated from the following file: