66 ui32 rows = (nominal.
h + 1u) & ~1u;
85 this->
stride = (nominal.
w + f) & ~f;
91 this->precision =
BUF32;
95 this->precision =
BUF64;
107 for (
int i = 0; i < 4; ++i)
152 if (mv >= 1u << (31 -
K_max))
168 if (mv >= 1ULL << (63 -
K_max))
189 for (
int i = 0; i < 4; ++i)
222 OJPH_INFO(0x000300A1,
"Error decoding a codeblock.");
226 OJPH_ERROR(0x000300A1,
"Error decoding a codeblock.");
coded_cb_header * coded_cb
void finalize_alloc(codestream *codestream, subband *parent, const size &nominal, const size &cb_size, coded_cb_header *coded_cb, ui32 K_max, int tbx0, ui32 precision, ui32 comp_idx)
void push(line_buf *line)
static void pre_alloc(codestream *codestream, const size &nominal, ui32 precision)
void encode(mem_elastic_allocator *elastic)
void recreate(const size &cb_size, coded_cb_header *coded_cb)
codeblock_fun codeblock_functions
void pull_line(line_buf *line)
const param_cod * get_coc(ui32 comp_num)
mem_fixed_allocator * get_allocator()
void pre_alloc_data(size_t num_ele, ui32 pre_size)
T * post_alloc_data(size_t num_ele, ui32 pre_size)
const ui32 byte_alignment
#define OJPH_INFO(t,...)
MACROs to insert file and line number for info, warning, and error.
#define OJPH_ERROR(t,...)
bool get_block_vertical_causality() const
bool is_reversible() const