|
Grok 20.3.2
|
MQ coder base class used to manage backup/restore. More...
#include <mqc_backup.h>
Public Member Functions | |
| mqcoder_backup (void) | |
| Creates an mqcoder_backup This struct uses mqcoder_base to store cacheable mqcoder variables, and cacheable local variables such as c, a, and ct. | |
| ~mqcoder_backup () | |
| Destroys a mqcoder_backup. | |
| mqcoder_backup (const mqcoder_backup &other) | |
| mqcoder_backup & | operator= (const mqcoder_backup &other) |
| bool | operator== (const mqcoder_backup &other) const |
| void | print (const std::string &msg) |
| Prints internal state. | |
| Public Member Functions inherited from grk::t1::mqcoder_base | |
| mqcoder_base (bool cached) | |
| Creates an mqcoder_base. | |
| ~mqcoder_base ()=default | |
| Destroys an mqcoder_base. | |
| mqcoder_base (const mqcoder_base &other) | |
| mqcoder_base & | operator= (const mqcoder_base &other) |
| bool | operator== (const mqcoder_base &other) const |
| void | print (const std::string &msg) |
| Prints internal state. | |
| void | reinit (void) |
Public Attributes | |
| grk_flag * | flagsBackup_ |
| BlockCoder flags backup | |
| Buffer2dAligned32 | uncompressedBufBackup_ |
| BlockCoder frame buffer backup | |
| uint16_t | position |
| local position of backup in loop | |
| uint16_t | i |
| local loop variables | |
| uint16_t | j |
| uint16_t | k |
| bool | partial |
| local partial | |
| uint8_t | runlen |
| local runlen | |
| int32_t * | dataPtr_ |
| local data pointer | |
| grk_flag * | flagsPtr_ |
| local flags pointer | |
| grk_flag | _flags |
| current flags | |
| uint8_t | numBpsToDecompress_ |
| code block number of bit planes to decompress | |
| uint8_t | passno_ |
| code block pass number | |
| uint8_t | passtype_ |
| code block pass type | |
| uint16_t | layer_ |
| Public Attributes inherited from grk::t1::mqcoder_base | |
| uint32_t | c |
| Temporary buffer where bits are coded or decoded. | |
| uint32_t | a |
| uint8_t | ct |
| Number of bits already read / available to write. | |
| uint32_t | end_of_byte_stream_counter |
| Count the number of times a terminating {0xFF, >0x8F} marker is read. | |
| uint8_t * | bp |
| Pointer to current position in buffer. | |
| const mqc_state * | ctxs [MQC_NUMCTXS] |
| Array of contexts. | |
| const mqc_state ** | curctx |
| Pointer to current context in ctxs array. | |
| ptrdiff_t | curctx_index_ |
| Index of curctx in ctxs array. | |
| bool | cached_ |
| true if in differential decompress mode | |
| bool | finalLayer_ |
| true if final layer is being decompressed | |
MQ coder base class used to manage backup/restore.
| grk::t1::mqcoder_backup::mqcoder_backup | ( | void | ) |
Creates an mqcoder_backup This struct uses mqcoder_base to store cacheable mqcoder variables, and cacheable local variables such as c, a, and ct.
References _flags, grk::t1::BACKUP_DISABLED, dataPtr_, flagsBackup_, flagsPtr_, i, j, k, layer_, grk::t1::mqcoder_base::mqcoder_base(), numBpsToDecompress_, partial, passno_, passtype_, position, and runlen.
Referenced by mqcoder_backup(), operator=(), and operator==().
| grk::t1::mqcoder_backup::~mqcoder_backup | ( | ) |
Destroys a mqcoder_backup.
References flagsBackup_, grk::grk_aligned_free(), and uncompressedBufBackup_.
| grk::t1::mqcoder_backup::mqcoder_backup | ( | const mqcoder_backup & | other | ) |
References mqcoder_backup(), and grk::t1::mqcoder_base::mqcoder_base().
| mqcoder_backup & grk::t1::mqcoder_backup::operator= | ( | const mqcoder_backup & | other | ) |
References _flags, dataPtr_, flagsBackup_, flagsPtr_, i, j, k, layer_, mqcoder_backup(), numBpsToDecompress_, grk::t1::mqcoder_base::operator=(), partial, passno_, passtype_, position, runlen, and uncompressedBufBackup_.
| bool grk::t1::mqcoder_backup::operator== | ( | const mqcoder_backup & | other | ) | const |
| void grk::t1::mqcoder_backup::print | ( | const std::string & | msg | ) |
| grk_flag grk::t1::mqcoder_backup::_flags |
current flags
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| int32_t* grk::t1::mqcoder_backup::dataPtr_ |
local data pointer
Referenced by mqcoder_backup(), and operator=().
| grk_flag* grk::t1::mqcoder_backup::flagsBackup_ |
BlockCoder flags backup
Referenced by mqcoder_backup(), operator=(), and ~mqcoder_backup().
| grk_flag* grk::t1::mqcoder_backup::flagsPtr_ |
local flags pointer
Referenced by mqcoder_backup(), operator=(), and print().
| uint16_t grk::t1::mqcoder_backup::i |
local loop variables
Referenced by grk::DebugContext::handle(), mqcoder_backup(), operator=(), operator==(), and print().
| uint16_t grk::t1::mqcoder_backup::j |
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| uint16_t grk::t1::mqcoder_backup::k |
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| uint16_t grk::t1::mqcoder_backup::layer_ |
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| uint8_t grk::t1::mqcoder_backup::numBpsToDecompress_ |
code block number of bit planes to decompress
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| bool grk::t1::mqcoder_backup::partial |
local partial
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| uint8_t grk::t1::mqcoder_backup::passno_ |
code block pass number
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| uint8_t grk::t1::mqcoder_backup::passtype_ |
code block pass type
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| uint16_t grk::t1::mqcoder_backup::position |
local position of backup in loop
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| uint8_t grk::t1::mqcoder_backup::runlen |
local runlen
Referenced by mqcoder_backup(), operator=(), operator==(), and print().
| Buffer2dAligned32 grk::t1::mqcoder_backup::uncompressedBufBackup_ |
BlockCoder frame buffer backup
Referenced by operator=(), and ~mqcoder_backup().