|
Grok 20.3.2
|
Go to the source code of this file.
Macros | |
| #define | DEC_PASS_LOCAL_VARIABLES(flagsStride) |
| #define | DEC_PASS_LOCAL_VARIABLES_DIFF(flagsStride) |
| #define | DEC_PASS_HAS_BACKUP_FOR_CURRENT_PASS(coder) |
| #define | DEC_PASS_MQC_BACKUP_LOCAL(coder) |
| #define | DEC_PASS_MQC_RESTORE_LOCAL(coder) |
| #define | DEC_PASS_DO_BACKUP(coder, p) |
| #define | DEC_PASS_BACKUP(coder, p) |
| #define | DEC_PASS_CLN_BACKUP(p) |
| #define | DEC_PASS_RESTORE(coder) |
| #define | DEC_PASS_CLN_RESTORE(coder) |
| #define | DEC_BYTEIN(mqc, c, ct) |
| Returns next byte in code stream. | |
| #define | DEC_RENORM(mqc, a, c, ct) |
| #define | DEC_SYMBOL(d, mqc, curctx, a, c, ct) |
| Implements ISO 15444-1 C.3.2 Decompressing a decision (DECODE). | |
| #define | DEC_SYMBOL_RAW() |
| Decodes a Raw-encoded pass. | |
Variables | |
| const uint32_t | A_MIN = 0x8000 |
| const uint8_t | B1_POS = 1 |
| const uint8_t | B2_POS = 2 |
| const uint8_t | B3_POS = 3 |
| const uint8_t | B4_POS = 4 |
| const uint8_t | B5_POS = 5 |
| const uint8_t | B6_POS = 6 |
| const uint8_t | B7_POS = 7 |
| const uint8_t | B8_POS = 8 |
| const uint8_t | B9_POS = 9 |
| const uint8_t | B10_POS = 10 |
| const uint8_t | B11_POS = 11 |
| const uint8_t | B12_POS = 12 |
| const uint8_t | red_zone = 6 |
| #define DEC_BYTEIN | ( | mqc, | |
| c, | |||
| ct ) |
Returns next byte in code stream.
A list of encoded buffers is managed to act like a single contiguous encoded buffer
| mqc | MQ coder |
| c | MQ c variable |
| ct | MQ ct variable |
| #define DEC_PASS_BACKUP | ( | coder, | |
| p ) |
| #define DEC_PASS_CLN_BACKUP | ( | p | ) |
| #define DEC_PASS_CLN_RESTORE | ( | coder | ) |
| #define DEC_PASS_DO_BACKUP | ( | coder, | |
| p ) |
| #define DEC_PASS_HAS_BACKUP_FOR_CURRENT_PASS | ( | coder | ) |
| #define DEC_PASS_LOCAL_VARIABLES | ( | flagsStride | ) |
| #define DEC_PASS_LOCAL_VARIABLES_DIFF | ( | flagsStride | ) |
| #define DEC_PASS_MQC_BACKUP_LOCAL | ( | coder | ) |
| #define DEC_PASS_MQC_RESTORE_LOCAL | ( | coder | ) |
| #define DEC_PASS_RESTORE | ( | coder | ) |
| #define DEC_RENORM | ( | mqc, | |
| a, | |||
| c, | |||
| ct ) |
| #define DEC_SYMBOL | ( | d, | |
| mqc, | |||
| curctx, | |||
| a, | |||
| c, | |||
| ct ) |
Implements ISO 15444-1 C.3.2 Decompressing a decision (DECODE).
| d | variable to hold decoded symbol |
| mqc | MQ coder |
| curctx | current context |
| a | MQ variable a |
| c | MQ variable c |
| ct | MQ variable ct |
| #define DEC_SYMBOL_RAW | ( | ) |
Decodes a Raw-encoded pass.
| const uint32_t A_MIN = 0x8000 |
| const uint8_t B10_POS = 10 |
| const uint8_t B11_POS = 11 |
| const uint8_t B12_POS = 12 |
| const uint8_t B1_POS = 1 |
| const uint8_t B2_POS = 2 |
| const uint8_t B3_POS = 3 |
| const uint8_t B4_POS = 4 |
| const uint8_t B5_POS = 5 |
| const uint8_t B6_POS = 6 |
| const uint8_t B7_POS = 7 |
| const uint8_t B8_POS = 8 |
| const uint8_t B9_POS = 9 |
| const uint8_t red_zone = 6 |