71 ui32 K_max,
int line_offset)
76 this->
stride = (nominal.
w + f) & ~f;
88 for (
int i = 0; i < 8; ++i)
115 if (mv >= 1u<<(31 -
K_max))
135 for (
int i = 0; i < 8; ++i)
157 OJPH_ERROR(0x000300A1,
"Error decoding a codeblock\n");
static void pre_alloc(codestream *codestream, const size &nominal)
coded_cb_header * coded_cb
void push(line_buf *line)
void encode(mem_elastic_allocator *elastic)
void recreate(const size &cb_size, 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)
codeblock_fun codeblock_functions
void pull_line(line_buf *line)
mem_fixed_allocator * get_allocator()
ojph::param_cod access_cod()
void pre_alloc_data(size_t num_ele, ui32 pre_size)
T * post_alloc_data(size_t num_ele, ui32 pre_size)
OJPH_EXPORT bool is_reversible() const
OJPH_EXPORT bool get_block_vertical_causality() const
const ui32 byte_alignment
#define OJPH_ERROR(t,...)
void init(bool reversible)
tx_from_cb_fun tx_from_cb
find_max_val_fun find_max_val