Commit 3c29f358 authored by Committed by Romain Vimont
Pass FrameBlocks instead of BlockContext
FrameBlocks is part of the BlockContext structure. Many functions which used only the FrameBlocks (but not the other BlockContext fields) received a reference to the whole BlockContext as parameter. FrameBlocks will survive tiles-encoding: it will be accessed through a tiled version for each tile, then frame-wise after all tiles are encoded. However, BlockContext will only be used tile-wise: there will be one instance per tile, destroyed once the tile is encoded. Therefore, frame-wise functions may not receive the whole BlockContext anymore (all tile-specific BlockContext instances won't exist anymore).
Showing with 84 additions and 84 deletions