|
Grok 20.3.2
|
#include <CodeblockCompressImpl.h>
Public Member Functions | |
| CodeblockCompressImpl (uint16_t numLayers) | |
| ~CodeblockCompressImpl () | |
| void | init () |
| bool | allocData (size_t nominalBlockSize) |
| Allocates data memory for a compression code block. | |
| CodePass * | getPass (uint8_t passno) |
| uint8_t | getNumPasses (void) const |
| void | setNumPasses (uint8_t numPasses) |
| CodePass * | getLastPass (void) |
| Layer * | getLayer (uint16_t layno) |
| uint8_t * | getPaddedCompressedStream (void) |
| void | setPaddedCompressedStream (uint8_t *stream) |
| uint8_t | getNumPassesInPreviousLayers (void) |
| void | setNumPassesInPreviousLayers (uint8_t numPasses) |
| Public Member Functions inherited from grk::t1::CodeblockImpl | |
| CodeblockImpl (uint16_t numLayers) | |
| ~CodeblockImpl () | |
| uint8_t | getNumPassesInLayer (uint16_t layno) |
| void | setNumPassesInLayer (uint16_t layno, uint8_t passes) |
| void | incNumPassesInLayer (uint16_t layno, uint8_t delta) |
| Buffer8 * | getCompressedStream (void) |
| uint8_t | numbps (void) |
| void | setNumBps (uint8_t bps) |
| uint8_t | numlenbits () |
| void | setNumLenBits (uint8_t bits) |
Private Attributes | |
| uint8_t * | paddedCompressedStream |
| Layer * | layers |
| CodePass * | passes |
| uint8_t | numPassesInPreviousPackets |
| uint8_t | totalPasses_ |
Additional Inherited Members | |
| Protected Member Functions inherited from grk::t1::CodeblockImpl | |
| void | init () |
| Protected Attributes inherited from grk::t1::CodeblockImpl | |
| Buffer8 | compressedStream |
| uint8_t | numbps_ |
| uint8_t | numlenbits_ |
| uint8_t * | signalledPassesByLayer_ |
| uint16_t | numLayers_ |
|
inlineexplicit |
|
inline |
Allocates data memory for a compression code block.
We actually allocate 2 more bytes than specified, and then offset data by +2. This is done so that we can safely initialize the MQ coder pointer to data-1, without risk of accessing uninitialized memory.
References grk::t1::CodeblockImpl::compressedStream, grk_cblk_enc_compressed_data_pad_left, and paddedCompressedStream.
Referenced by grk::t1::CodeblockCompress::allocData().
|
inline |
References passes, and totalPasses_.
Referenced by grk::t1::CodeblockCompress::getLastPass().
|
inline |
References layers.
Referenced by grk::t1::CodeblockCompress::getLayer().
|
inline |
References totalPasses_.
Referenced by grk::t1::CodeblockCompress::getNumPasses().
|
inline |
References numPassesInPreviousPackets.
Referenced by grk::t1::CodeblockCompress::getNumPassesInPreviousLayers().
|
inline |
References paddedCompressedStream.
Referenced by grk::t1::CodeblockCompress::getPaddedCompressedStream().
|
inline |
References passes.
Referenced by grk::t1::CodeblockCompress::getPass().
|
inline |
References grk::t1::CodeblockImpl::init(), layers, grk::t1::CodeblockImpl::numLayers_, and passes.
Referenced by grk::t1::CodeblockCompress::init().
|
inline |
References totalPasses_.
Referenced by grk::t1::CodeblockCompress::setNumPasses().
|
inline |
References numPassesInPreviousPackets.
Referenced by grk::t1::CodeblockCompress::setNumPassesInPreviousLayers().
|
inline |
References paddedCompressedStream.
Referenced by grk::t1::CodeblockCompress::setPaddedCompressedStream().
|
private |
Referenced by CodeblockCompressImpl(), getLayer(), init(), and ~CodeblockCompressImpl().
|
private |
Referenced by CodeblockCompressImpl(), getNumPassesInPreviousLayers(), and setNumPassesInPreviousLayers().
|
private |
Referenced by allocData(), CodeblockCompressImpl(), getPaddedCompressedStream(), and setPaddedCompressedStream().
|
private |
Referenced by CodeblockCompressImpl(), getLastPass(), getPass(), init(), and ~CodeblockCompressImpl().
|
private |
Referenced by CodeblockCompressImpl(), getLastPass(), getNumPasses(), and setNumPasses().