|
Grok 15.1.0
|
Include buffers for all resolutions in a given layer. More...
#include <PacketIter.h>
Public Member Functions | |
| LayerIncludeBuffers () | |
| Construct a new LayerIncludeBuffers object. | |
| ~LayerIncludeBuffers () | |
| Destroy the LayerIncludeBuffers object. | |
| bool | update (uint8_t resno, uint64_t bitIndex) |
| Get the byte object Lazily get or allocate a resolution's specific byte within its include buffer's matching chunk. | |
| void | clear () |
| Clears all chunks and chunkMaps. | |
Private Attributes | |
| std::map< size_t, uint8_t * > * | chunkMap [GRK_MAXRLVLS] |
| Lazily allocated maps of chunks for each resolution. | |
Include buffers for all resolutions in a given layer.
Each buffer is broken into chunks, and is lazy-allocated
|
inline |
Construct a new LayerIncludeBuffers object.
References chunkMap, and GRK_MAXRLVLS.
|
inline |
Destroy the LayerIncludeBuffers object.
References clear().
|
inline |
Clears all chunks and chunkMaps.
References chunkMap, and GRK_MAXRLVLS.
Referenced by ~LayerIncludeBuffers().
|
inline |
Get the byte object Lazily get or allocate a resolution's specific byte within its include buffer's matching chunk.
| resno | resolution |
| precinctIndex | compno * (num precincts for this resolution) + precinct number |
References chunkMap, grk::GRK_INCLUDE_TRACKER_CHUNK_SIZE, and GRK_MAXRLVLS.
Referenced by grk::IncludeTracker::update().
|
private |
Lazily allocated maps of chunks for each resolution.
Referenced by clear(), LayerIncludeBuffers(), and update().