Struct exr::block::writer::SequentialBlocksCompressor   
source · pub struct SequentialBlocksCompressor<'w, W> { /* private fields */ }Expand description
Compress blocks to a chunk writer in this thread.
Implementations§
source§impl<'w, W> SequentialBlocksCompressor<'w, W>where
    W: 'w + ChunksWriter,
 
impl<'w, W> SequentialBlocksCompressor<'w, W>where W: 'w + ChunksWriter,
sourcepub fn inner_chunks_writer(&'w self) -> &'w W
 
pub fn inner_chunks_writer(&'w self) -> &'w W
This is where the compressed blocks are written to.
sourcepub fn compress_block(
    &mut self,
    index_in_header_increasing_y: usize,
    block: UncompressedBlock
) -> UnitResult
 
pub fn compress_block( &mut self, index_in_header_increasing_y: usize, block: UncompressedBlock ) -> UnitResult
Compress a single block immediately. The index of the block must be in increasing line order.