Skip to content
Snippets Groups Projects
Forked from Main Repositories / otb
Source project has a limited visibility.
user avatar
Julien Malik authored
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
0b0a3dff
History
Name Last commit Last update