79 ui32 K_max,
int line_offset)
84 this->
stride = (nominal.
w + f) & ~f;
91 if (bit_depth <= 32) {
108 for (
int i = 0; i < 4; ++i)
151 if (mv >= 1u << (31 -
K_max))
167 if (mv >= 1ULL << (63 -
K_max))
188 for (
int i = 0; i < 4; ++i)
221 OJPH_INFO(0x000300A1,
"Error decoding a codeblock.");
225 OJPH_ERROR(0x000300A1,
"Error decoding a codeblock.");
coded_cb_header * coded_cb
void push(line_buf *line)
static void pre_alloc(codestream *codestream, ui32 comp_num, const size &nominal)
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)
const param_siz * get_siz()
mem_fixed_allocator * get_allocator()
ojph::param_cod access_cod()
const param_cod * get_cod()
resolution * get_parent()
void pre_alloc_data(size_t num_ele, ui32 pre_size)
T * post_alloc_data(size_t num_ele, ui32 pre_size)
bool is_reversible() const
bool get_block_vertical_causality() const
const ui32 byte_alignment
#define OJPH_INFO(t,...)
MACROs to insert file and line number for info, warning, and error.
#define OJPH_ERROR(t,...)
tx_to_cb_fun64 tx_to_cb64
cb_encoder_fun64 encode_cb64
void init(bool reversible)
find_max_val_fun32 find_max_val32
tx_from_cb_fun32 tx_from_cb32
tx_to_cb_fun32 tx_to_cb32
find_max_val_fun64 find_max_val64
cb_decoder_fun32 decode_cb32
cb_encoder_fun32 encode_cb32
cb_decoder_fun64 decode_cb64
tx_from_cb_fun64 tx_from_cb64
ui32 propose_precision(const param_siz *siz, ui32 comp_num) const