39#ifndef OJPH_CODEBLOCK_FUN_H
40#define OJPH_CODEBLOCK_FUN_H
60 float delta_inv,
ui32 count,
ui32* max_val);
63 float delta_inv,
ui32 count,
ui64* max_val);
67 float delta,
ui32 count);
70 float delta,
ui32 count);
75 ui32 width,
ui32 height,
ui32 stride,
bool stripe_causal);
79 ui32 width,
ui32 height,
ui32 stride,
bool stripe_causal);
95 void init(
bool reversible);
void(* tx_to_cb_fun64)(const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
void(* tx_from_cb_fun32)(const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
ui64(* find_max_val_fun64)(ui64 *addr)
void(* cb_encoder_fun64)(ui64 *buf, ui32 missing_msbs, ui32 num_passes, ui32 width, ui32 height, ui32 stride, ui32 *lengths, ojph::mem_elastic_allocator *elastic, ojph::coded_lists *&coded)
ui32(* find_max_val_fun32)(ui32 *addr)
void(* tx_to_cb_fun32)(const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void(* cb_encoder_fun32)(ui32 *buf, ui32 missing_msbs, ui32 num_passes, ui32 width, ui32 height, ui32 stride, ui32 *lengths, ojph::mem_elastic_allocator *elastic, ojph::coded_lists *&coded)
void(* tx_from_cb_fun64)(const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void(* mem_clear_fun)(void *addr, size_t count)
bool(* cb_decoder_fun64)(ui8 *coded_data, ui64 *decoded_data, ui32 missing_msbs, ui32 num_passes, ui32 lengths1, ui32 lengths2, ui32 width, ui32 height, ui32 stride, bool stripe_causal)
bool(* cb_decoder_fun32)(ui8 *coded_data, ui32 *decoded_data, ui32 missing_msbs, ui32 num_passes, ui32 lengths1, ui32 lengths2, ui32 width, ui32 height, ui32 stride, bool stripe_causal)
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