Skip to content
Snippets Groups Projects
Commit 0b0a3dff authored by Julien Malik's avatar Julien Malik
Browse files

REFAC: add a StreamingManager class, rework the streaming management of...

REFAC: add a StreamingManager class, rework the streaming management of StreamingImageVirtualFileWriter

- Add a StreamingManager class, integrating the PipelineMemoryPrintCalculator, and managing several streaming policies
 (stripped by specified number of lines, stripped by available memory, tiled by specified tile dimension, tiled by available memory)
- In tile mode, the class uses the new ImageRegionSquareTileSplitter, which generates square tiles
- Integrate the StreamingManager into the StreamingImageVirtualWriter as the only object responsible for streaming policy.
  The filter relies on this object to get the number of splits and iterate in the splits, without knowing the underlying implementation
- Add proper progress reporting in the StreamingImageVirtualWriter, by observing the progress events generated by the source object,
  to provide a continuous progress update instead of a tile by tile progress
- Make the necessary changes in the tests to account for new streaming parameters specifications
parent 525a676b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment