#include "grok.h"
#include <cstdint>
#include <math.h>
#include <assert.h>
#include <string.h>
#include "MemManager.h"
#include "mqc.h"
#include "t1.h"
Go to the source code of this file.
|
| | grk |
| | Copyright (C) 2016-2020 Grok Image Compression Inc.
|
| |
◆ INLINE
◆ smr_abs
| #define smr_abs |
( |
|
x | ) |
(((uint32_t)(x)) & 0x7FFFFFFFU) |
◆ smr_sign
| #define smr_sign |
( |
|
x | ) |
(((uint32_t)(x)) >> 31) |
◆ T1_NMSEDEC_BITS
| #define T1_NMSEDEC_BITS 7 |
◆ T1_NMSEDEC_FRACBITS
◆ to_smr
| #define to_smr |
( |
|
x | ) |
((x) >= 0 ? (uint32_t)(x) : ((uint32_t)(-x) | 0x80000000U)) |
◆ grk_cblk_dec_compressed_data_pad_right
| const uint8_t grk_cblk_dec_compressed_data_pad_right = 2 |
< Space for a fake FFFF marker
◆ grk_cblk_enc_compressed_data_pad_left
| const uint8_t grk_cblk_enc_compressed_data_pad_left = 2 |