OpenJPH: ojph::local Namespace Reference

OpenJPH Open-source implementation of JPEG2000 Part-15

Loading...
Searching...
No Matches
ojph::local Namespace Reference

## Classes
struct | bit_read_buf
struct | bit_write_buf
class | codeblock
struct | coded_cb_header
struct | codeblock_fun
class | codestream
class | sqrt_energy_gains
class | bibo_gains
class | visual_weights
struct | siz_comp_info
struct | param_siz
struct | cod_SPcod
struct | cod_SGcod
struct | param_cod
struct | param_qcd
struct | param_nlt
struct | param_cap
struct | param_sot
struct | param_tlm
struct | param_dfs
union | lifting_step
struct | param_atk
struct | tag_tree
struct | precinct
class | resolution
class | subband
class | tile
class | tile_comp
struct | dec_mel_st
| MEL state structure for reading and decoding the MEL bitstream. More...
struct | rev_struct
| A structure for reading and unstuffing a segment that grows backward, such as VLC and MRP. More...
struct | frwd_struct32
| State structure for reading and unstuffing of forward-growing bitstreams; these are: MagSgn and SPP bitstreams. More...
struct | frwd_struct64
| State structure for reading and unstuffing of forward-growing bitstreams; these are: MagSgn and SPP bitstreams. More...
struct | frwd_struct
| State structure for reading and unstuffing of forward-growing bitstreams; these are: MagSgn and SPP bitstreams. More...
struct | uvlc_tbl_struct
struct | mel_struct
struct | vlc_struct
struct | ms_struct
struct | CT_CNST

## Typedefs
typedef void(* | mem_clear_fun) (void *addr, size_t count)
typedef ui32(* | find_max_val_fun32) (ui32 *addr)
typedef ui64(* | find_max_val_fun64) (ui64 *addr)
typedef void(* | tx_to_cb_fun32) (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
typedef void(* | tx_to_cb_fun64) (const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
typedef void(* | tx_from_cb_fun32) (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
typedef void(* | tx_from_cb_fun64) (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
typedef 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)
typedef 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)
typedef 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)
typedef 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)

## Enumerations
enum | JP2K_MARKER : ui16 { SOC = 0xFF4F , CAP = 0xFF50 , SIZ = 0xFF51 , COD = 0xFF52 , COC = 0xFF53 , TLM = 0xFF55 , PRF = 0xFF56 , PLM = 0xFF57 , PLT = 0xFF58 , CPF = 0xFF59 , QCD = 0xFF5C , QCC = 0xFF5D , RGN = 0xFF5E , POC = 0xFF5F , PPM = 0xFF60 , PPT = 0xFF61 , CRG = 0xFF63 , COM = 0xFF64 , DFS = 0xFF72 , ADS = 0xFF73 , NLT = 0xFF76 , ATK = 0xFF79 , SOT = 0xFF90 , SOP = 0xFF91 , EPH = 0xFF92 , SOD = 0xFF93 , EOC = 0xFFD9 }

## Functions
static void | bb_init (bit_read_buf *bbp, ui32 bytes_left, infile_base *file)
static bool | bb_read (bit_read_buf *bbp)
static bool | bb_read_bit (bit_read_buf *bbp, ui32 &bit)
static bool | bb_read_bits (bit_read_buf *bbp, int num_bits, ui32 &bits)
static bool | bb_read_chunk (bit_read_buf *bbp, ui32 num_bytes, coded_lists *&cur_coded_list, mem_elastic_allocator *elastic)
static void | bb_skip_eph (bit_read_buf *bbp)
static bool | bb_terminate (bit_read_buf *bbp, bool uses_eph)
static bool | bb_skip_sop (bit_read_buf *bbp)
static void | bb_expand_buf (bit_write_buf *bbp, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list)
static void | bb_init (bit_write_buf *bbp, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list)
static void | bb_put_bit (bit_write_buf *bbp, ui32 bit, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list, ui32 &ph_bytes)
static void | bb_put_zeros (bit_write_buf *bbp, int num_zeros, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list, ui32 &ph_bytes)
static void | bb_put_bits (bit_write_buf *bbp, ui32 data, int num_bits, mem_elastic_allocator *elastic, coded_lists *&cur_coded_list, ui32 &ph_bytes)
static void | bb_terminate (bit_write_buf *bbp)
void | gen_mem_clear (void *addr, size_t count)
void | sse_mem_clear (void *addr, size_t count)
void | avx_mem_clear (void *addr, size_t count)
void | wasm_mem_clear (void *addr, size_t count)
void | vsx_mem_clear (void *addr, size_t count)
ui32 | gen_find_max_val32 (ui32 *address)
ui32 | sse2_find_max_val32 (ui32 *address)
ui32 | avx2_find_max_val32 (ui32 *address)
ui32 | wasm_find_max_val32 (ui32 *address)
ui32 | vsx_find_max_val32 (ui32 *address)
ui64 | gen_find_max_val64 (ui64 *address)
ui64 | sse2_find_max_val64 (ui64 *address)
ui64 | avx2_find_max_val64 (ui64 *address)
ui64 | wasm_find_max_val64 (ui64 *address)
ui64 | vsx_find_max_val64 (ui64 *address)
void | gen_rev_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | sse2_rev_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | avx2_rev_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | gen_irv_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | sse2_irv_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | avx2_irv_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | wasm_rev_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | vsx_rev_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | wasm_irv_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | vsx_irv_tx_to_cb32 (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)
void | gen_rev_tx_to_cb64 (const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
void | sse2_rev_tx_to_cb64 (const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
void | avx2_rev_tx_to_cb64 (const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
void | wasm_rev_tx_to_cb64 (const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
void | vsx_rev_tx_to_cb64 (const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)
void | gen_rev_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | sse2_rev_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | avx2_rev_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | gen_irv_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | sse2_irv_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | avx2_irv_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | wasm_rev_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | vsx_rev_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | wasm_irv_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | vsx_irv_tx_from_cb32 (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | gen_rev_tx_from_cb64 (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | sse2_rev_tx_from_cb64 (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | avx2_rev_tx_from_cb64 (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | gen_irv_tx_from_cb64 (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | wasm_rev_tx_from_cb64 (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
void | vsx_rev_tx_from_cb64 (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)
static int | find_marker (infile_base *f, const ui16 *char_list, int list_len)
static int | skip_marker (infile_base *file, const char *marker, const char *msg, int msg_level, bool resilient)
static ui32 | log2ceil (ui32 x)
static bool | vlc_init_tables ()
| Initializes vlc_tbl0 and vlc_tbl1 tables, from table0.h and table1.h.
static bool | uvlc_init_tables ()
| Initializes uvlc_tbl0 and uvlc_tbl1 tables.
static bool | uvlc_init_wide_table ()
| Initializes uvlc_tbl1_wide: wider UVLC table for non-initial rows. Index = mode(2b) * 1024 + vlc(10b). Entry packs total_bits[4:0], u_q0[12:5], u_q1[20:13]. total_bits == 0x1F signals fallback to original decode.
bool | ojph_decode_codeblock32 (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)
| Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.
bool | ojph_decode_codeblock64 (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)
| Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.
bool | ojph_decode_codeblock_ssse3 (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)
bool | ojph_decode_codeblock_avx2 (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)
bool | ojph_decode_codeblock_wasm (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)
| Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.
bool | ojph_decode_codeblock_vsx (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)
| Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.
static void | mel_read (dec_mel_st *melp)
| Reads and unstuffs the MEL bitstream.
static void | mel_decode (dec_mel_st *melp)
| Decodes unstuffed MEL segment bits stored in tmp to runs.
static void | mel_init (dec_mel_st *melp, ui8 *bbuf, int lcup, int scup)
| Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.
static int | mel_get_run (dec_mel_st *melp)
| Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.
static void | rev_read (rev_struct *vlcp)
| Read and unstuff data from a backwardly-growing segment.
static void | rev_init (rev_struct *vlcp, ui8 *data, int lcup, int scup)
| Initiates the rev_struct structure and reads a few bytes to move the read address to multiple of 4.
static ui32 | rev_fetch (rev_struct *vlcp)
| Retrieves 32 bits from the head of a rev_struct structure.
static ui32 | rev_advance (rev_struct *vlcp, ui32 num_bits)
| Consumes num_bits from a rev_struct structure.
static void | rev_read_mrp (rev_struct *mrp)
| Reads and unstuffs from rev_struct.
static void | rev_init_mrp (rev_struct *mrp, ui8 *data, int lcup, int len2)
| Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.
static ui32 | rev_fetch_mrp (rev_struct *mrp)
| Retrieves 32 bits from the head of a rev_struct structure.
static ui32 | rev_advance_mrp (rev_struct *mrp, ui32 num_bits)
| Consumes num_bits from a rev_struct structure.
template<int X>
static void | frwd_read (frwd_struct32 *msp)
| Read and unstuffs 32 bits from forward-growing bitstream.
template<int X>
static void | frwd_init (frwd_struct32 *msp, const ui8 *data, int size)
| Initialize frwd_struct32 struct and reads some bytes.
static void | frwd_advance (frwd_struct32 *msp, ui32 num_bits)
| Consume num_bits bits from the bitstream of frwd_struct32.
template<int X>
static ui32 | frwd_fetch (frwd_struct32 *msp)
| Fetches 32 bits from the frwd_struct32 bitstream.
static void | mel_read (dec_mel_st *melp)
| Reads and unstuffs the MEL bitstream.
static void | mel_decode (dec_mel_st *melp)
| Decodes unstuffed MEL segment bits stored in tmp to runs.
static void | mel_init (dec_mel_st *melp, ui8 *bbuf, int lcup, int scup)
| Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.
static int | mel_get_run (dec_mel_st *melp)
| Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.
static void | rev_read8 (rev_struct *vlcp)
| Read and unstuff data from a backwardly-growing segment.
static void | rev_init8 (rev_struct *vlcp, ui8 *data, int lcup, int scup)
| Initiates the rev_struct structure and reads the first byte.
static ui64 | rev_fetch64 (rev_struct *vlcp)
| Fills the temporary variable (vlcp->tmp) by up to 64 bits.
static ui64 | rev_advance64 (rev_struct *vlcp, ui32 num_bits)
| Consumes num_bits from a rev_struct structure.
static void | rev_read_mrp (rev_struct *mrp)
| Reads and unstuffs from rev_struct.
static void | rev_init_mrp (rev_struct *mrp, ui8 *data, int lcup, int len2)
| Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.
static ui32 | rev_fetch_mrp (rev_struct *mrp)
| Retrieves 32 bits from the head of a rev_struct structure.
static ui32 | rev_advance_mrp (rev_struct *mrp, ui32 num_bits)
| Consumes num_bits from a rev_struct structure.
template<int X>
static void | frwd_read (frwd_struct64 *msp)
| Read and unstuffs 32 bits from forward-growing bitstream.
template<ui8 X>
static void | frwd_read8 (frwd_struct64 *msp)
| Read and unstuffs 8 bits from forward-growing bitstream.
template<int X>
static void | frwd_init (frwd_struct64 *msp, const ui8 *data, int size)
| Initialize frwd_struct64 struct and reads some bytes.
template<ui8 X>
static void | frwd_init8 (frwd_struct64 *msp, const ui8 *data, int size)
| Initialize frwd_struct64 struct and reads some bytes.
static void | frwd_advance (frwd_struct64 *msp, ui32 num_bits)
| Consume num_bits bits from the bitstream of frwd_struct64.
template<int X>
static ui32 | frwd_fetch (frwd_struct64 *msp)
| Fetches 32 bits from the frwd_struct64 bitstream.
template<ui8 X>
static ui64 | frwd_fetch64 (frwd_struct64 *msp)
| Fetches up to 64 bits from the frwd_struct64 bitstream.
static void | mel_read (dec_mel_st *melp)
| Reads and unstuffs the MEL bitstream.
static void | mel_decode (dec_mel_st *melp)
| Decodes unstuffed MEL segment bits stored in tmp to runs.
static void | mel_init (dec_mel_st *melp, ui8 *bbuf, int lcup, int scup)
| Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.
static int | mel_get_run (dec_mel_st *melp)
| Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.
static void | rev_read (rev_struct *vlcp)
| Read and unstuff data from a backwardly-growing segment.
static void | rev_init (rev_struct *vlcp, ui8 *data, int lcup, int scup)
| Initiates the rev_struct structure and reads a few bytes to move the read address to multiple of 4.
static ui32 | rev_fetch (rev_struct *vlcp)
| Retrieves 32 bits from the head of a rev_struct structure.
static ui32 | rev_advance (rev_struct *vlcp, ui32 num_bits)
| Consumes num_bits from a rev_struct structure.
static void | rev_read_mrp (rev_struct *mrp)
| Reads and unstuffs from rev_struct.
static void | rev_init_mrp (rev_struct *mrp, ui8 *data, int lcup, int len2)
| Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.
static ui32 | rev_fetch_mrp (rev_struct *mrp)
| Retrieves 32 bits from the head of a rev_struct structure.
template<int X>
static void | frwd_read (frwd_struct *msp)
| Read and unstuffs 16 bytes from forward-growing bitstream.
template<int X>
static void | frwd_init (frwd_struct *msp, const ui8 *data, int size)
| Initialize frwd_struct struct and reads some bytes.
static void | frwd_advance (frwd_struct *msp, ui32 num_bits)
| Consume num_bits bits from the bitstream of frwd_struct.
template<int X>
static v128_t | frwd_fetch (frwd_struct *msp)
| Fetches 32 bits from the frwd_struct bitstream.
template<int X>
static ui32 | destuff_frwd (const ui8 *src, int size, ui8 *dst, ui32 cap)
| Destuffs a bitstream into a contiguous buffer, upfront.
static v128_t | vsx_dfetch (const ui8 *dbuf, ui32 limit, ui32 pos)
| Fetches 128 bits from a destuffed bitstream buffer.
template<int N>
static v128_t | decode_one_quad32 (const v128_t inf_u_q, v128_t U_q, frwd_struct *magsgn, ui32 p, v128_t &vn)
| decodes one quad, using 32 bit data
static v128_t | decode_two_quad16 (const v128_t inf_u_q, v128_t U_q, const ui8 *dbuf, ui32 limit, ui32 &pos, ui32 p, v128_t &vn)
| decodes twos consecutive quads (one octet), using 16 bit data
static void | mel_read (dec_mel_st *melp)
| Reads and unstuffs the MEL bitstream.
static void | mel_decode (dec_mel_st *melp)
| Decodes unstuffed MEL segment bits stored in tmp to runs.
static void | mel_init (dec_mel_st *melp, ui8 *bbuf, int lcup, int scup)
| Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.
static int | mel_get_run (dec_mel_st *melp)
| Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.
static void | rev_read (rev_struct *vlcp)
| Read and unstuff data from a backwardly-growing segment.
static void | rev_init (rev_struct *vlcp, ui8 *data, int lcup, int scup)
| Initiates the rev_struct structure and reads a few bytes to move the read address to multiple of 4.
static ui32 | rev_fetch (rev_struct *vlcp)
| Retrieves 32 bits from the head of a rev_struct structure.
static ui32 | rev_advance (rev_struct *vlcp, ui32 num_bits)
| Consumes num_bits from a rev_struct structure.
static void | rev_read_mrp (rev_struct *mrp)
| Reads and unstuffs from rev_struct.
static void | rev_init_mrp (rev_struct *mrp, ui8 *data, int lcup, int len2)
| Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.
static ui32 | rev_fetch_mrp (rev_struct *mrp)
| Retrieves 32 bits from the head of a rev_struct structure.
template<int X>
static void | frwd_read (frwd_struct *msp)
| Read and unstuffs 16 bytes from forward-growing bitstream.
template<int X>
static void | frwd_init (frwd_struct *msp, const ui8 *data, int size)
| Initialize frwd_struct struct and reads some bytes.
static void | frwd_advance (frwd_struct *msp, ui32 num_bits)
| Consume num_bits bits from the bitstream of frwd_struct.
template<int X>
static v128_t | frwd_fetch (frwd_struct *msp)
| Fetches 32 bits from the frwd_struct bitstream.
template<int N>
static v128_t | decode_one_quad32 (const v128_t inf_u_q, v128_t U_q, frwd_struct *magsgn, ui32 p, v128_t &vn)
| decodes one quad, using 32 bit data
static v128_t | decode_two_quad16 (const v128_t inf_u_q, v128_t U_q, frwd_struct *magsgn, ui32 p, v128_t &vn)
| decodes twos consecutive quads (one octet), using 16 bit data
static bool | vlc_init_tables ()
static bool | uvlc_init_tables ()
bool | initialize_block_encoder_tables ()
static void | mel_init (mel_struct *melp, ui32 buffer_size, ui8 *data)
static void | mel_emit_bit (mel_struct *melp, int v)
static void | mel_encode (mel_struct *melp, bool bit)
static void | vlc_init (vlc_struct *vlcp, ui32 buffer_size, ui8 *data)
static void | vlc_encode (vlc_struct *vlcp, int cwd, int cwd_len)
static void | terminate_mel_vlc (mel_struct *melp, vlc_struct *vlcp)
static void | ms_init (ms_struct *msp, ui32 buffer_size, ui8 *data)
static void | ms_encode (ms_struct *msp, ui32 cwd, int cwd_len)
static void | ms_encode64 (ms_struct *msp, ui64 cwd, int cwd_len)
static void | ms_terminate (ms_struct *msp)
void | ojph_encode_codeblock32 (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 | ojph_encode_codeblock64 (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)
void | ojph_encode_codeblock_avx2 (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 | ojph_encode_codeblock_avx512 (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)
bool | initialize_block_encoder_tables_avx2 ()
bool | initialize_block_encoder_tables_avx512 ()
void | init_colour_transform_functions ()
void | gen_rev_convert (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | gen_rev_convert_nlt_type3 (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
template<bool NLT_TYPE3>
static void | local_gen_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | gen_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | gen_irv_convert_to_integer_nlt_type3 (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
template<bool NLT_TYPE3>
static void | local_gen_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | gen_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | gen_irv_convert_to_float_nlt_type3 (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | gen_rct_forward (const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat)
void | gen_rct_backward (const line_buf *y, const line_buf *cb, const line_buf *cr, line_buf *r, line_buf *g, line_buf *b, ui32 repeat)
void | gen_ict_forward (const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat)
void | gen_ict_backward (const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat)
void | sse_ict_forward (const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat)
void | sse_ict_backward (const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat)
void | sse2_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | sse2_irv_convert_to_integer_nlt_type3 (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | sse2_rev_convert (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | sse2_rev_convert_nlt_type3 (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | sse2_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | sse2_irv_convert_to_float_nlt_type3 (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | sse2_rct_forward (const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat)
void | sse2_rct_backward (const line_buf *y, const line_buf *cb, const line_buf *cr, line_buf *r, line_buf *g, line_buf *b, ui32 repeat)
void | avx_ict_forward (const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat)
void | avx_ict_backward (const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat)
void | avx2_rev_convert (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | avx2_rev_convert_nlt_type3 (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | avx2_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | avx2_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | avx2_irv_convert_to_integer_nlt_type3 (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | avx2_irv_convert_to_float_nlt_type3 (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | avx2_rct_forward (const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat)
void | avx2_rct_backward (const line_buf *y, const line_buf *cb, const line_buf *cr, line_buf *r, line_buf *g, line_buf *b, ui32 repeat)
void | wasm_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | wasm_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | wasm_rev_convert (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | wasm_rev_convert_nlt_type3 (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | wasm_irv_convert_to_integer_nlt_type3 (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | wasm_irv_convert_to_float_nlt_type3 (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | wasm_rct_forward (const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat)
void | wasm_rct_backward (const line_buf *y, const line_buf *cb, const line_buf *cr, line_buf *r, line_buf *g, line_buf *b, ui32 repeat)
void | wasm_ict_forward (const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat)
void | wasm_ict_backward (const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat)
void | vsx_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | vsx_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | vsx_rev_convert (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | vsx_rev_convert_nlt_type3 (const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width)
void | vsx_irv_convert_to_integer_nlt_type3 (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
void | vsx_irv_convert_to_float_nlt_type3 (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | vsx_rct_forward (const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat)
void | vsx_rct_backward (const line_buf *y, const line_buf *cb, const line_buf *cr, line_buf *r, line_buf *g, line_buf *b, ui32 repeat)
void | vsx_ict_forward (const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat)
void | vsx_ict_backward (const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat)
static v128_t | ojph_convert_float_to_i32 (v128_t a)
void | vsx_cnvrt_si32_to_float_shftd (const si32 *sp, float *dp, float mul, ui32 width)
void | vsx_cnvrt_si32_to_float (const si32 *sp, float *dp, float mul, ui32 width)
void | vsx_cnvrt_float_to_si32_shftd (const float *sp, si32 *dp, float mul, ui32 width)
void | vsx_cnvrt_float_to_si32 (const float *sp, si32 *dp, float mul, ui32 width)
static v128_t | ojph_vsx_i32x4_max_ge (v128_t a, v128_t b, v128_t x, v128_t y)
static v128_t | ojph_vsx_i32x4_min_lt (v128_t a, v128_t b, v128_t x, v128_t y)
template<bool NLT_TYPE3>
static void | local_vsx_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
template<bool NLT_TYPE3>
static void | local_vsx_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
static v128_t | ojph_convert_float_to_i32 (v128_t a, v128_t zero, v128_t half)
void | wasm_cnvrt_si32_to_float_shftd (const si32 *sp, float *dp, float mul, ui32 width)
void | wasm_cnvrt_si32_to_float (const si32 *sp, float *dp, float mul, ui32 width)
void | wasm_cnvrt_float_to_si32_shftd (const float *sp, si32 *dp, float mul, ui32 width)
void | wasm_cnvrt_float_to_si32 (const float *sp, si32 *dp, float mul, ui32 width)
static v128_t | ojph_wasm_i32x4_max_ge (v128_t a, v128_t b, v128_t x, v128_t y)
static v128_t | ojph_wasm_i32x4_min_lt (v128_t a, v128_t b, v128_t x, v128_t y)
template<bool NLT_TYPE3>
static void | local_wasm_irv_convert_to_integer (const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width)
template<bool NLT_TYPE3>
static void | local_wasm_irv_convert_to_float (const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width)
void | init_wavelet_transform_functions ()
static void | gen_rev_vert_step32 (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
static void | gen_rev_vert_step64 (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | gen_rev_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
static void | gen_rev_horz_ana32 (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
static void | gen_rev_horz_ana64 (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | gen_rev_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
static void | gen_rev_horz_syn32 (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
static void | gen_rev_horz_syn64 (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | gen_rev_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | gen_irv_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | gen_irv_vert_times_K (float K, const line_buf *aug, ui32 repeat)
void | gen_irv_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | gen_irv_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | sse_irv_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | sse_irv_vert_times_K (float K, const line_buf *aug, ui32 repeat)
void | sse_irv_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | sse_irv_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | sse2_rev_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | sse2_rev_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | sse2_rev_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | avx_irv_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | avx_irv_vert_times_K (float K, const line_buf *aug, ui32 repeat)
void | avx_irv_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | avx_irv_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | avx2_rev_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | avx2_rev_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | avx2_rev_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | avx512_irv_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | avx512_irv_vert_times_K (float K, const line_buf *aug, ui32 repeat)
void | avx512_irv_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | avx512_irv_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | avx512_rev_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | avx512_rev_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | avx512_rev_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | wasm_irv_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | wasm_irv_vert_times_K (float K, const line_buf *aug, ui32 repeat)
void | wasm_irv_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | wasm_irv_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | wasm_rev_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | wasm_rev_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | wasm_rev_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | vsx_irv_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | vsx_irv_vert_times_K (float K, const line_buf *aug, ui32 repeat)
void | vsx_irv_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | vsx_irv_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | vsx_rev_vert_step (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | vsx_rev_horz_ana (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | vsx_rev_horz_syn (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
static void | vsx_deinterleave32 (float *dpl, float *dph, float *sp, int width)
static void | vsx_interleave32 (float *dp, float *spl, float *sph, int width)
static void | vsx_deinterleave64 (void *dpl, void *dph, const void *sp, int width)
static void | vsx_interleave64 (void *dp, const void *spl, const void *sph, int width)
static void | vsx_multiply_const (float *p, float f, int width)
void | vsx_rev_vert_step32 (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | vsx_rev_vert_step64 (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
static void | vsx_rev_horz_ana32 (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
static void | vsx_rev_horz_ana64 (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | vsx_rev_horz_syn32 (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | vsx_rev_horz_syn64 (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
static void | wasm_deinterleave32 (float *dpl, float *dph, float *sp, int width)
static void | wasm_interleave32 (float *dp, float *spl, float *sph, int width)
static void | wasm_deinterleave64 (void *dpl, void *dph, const void *sp, int width)
static void | wasm_interleave64 (void *dp, const void *spl, const void *sph, int width)
static void | wasm_multiply_const (float *p, float f, int width)
void | wasm_rev_vert_step32 (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
void | wasm_rev_vert_step64 (const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis)
static void | wasm_rev_horz_ana32 (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
static void | wasm_rev_horz_ana64 (const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even)
void | wasm_rev_horz_syn32 (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)
void | wasm_rev_horz_syn64 (const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even)

## Variables
ui16 | vlc_tbl0 [1024] = { 0 }
| vlc_tbl0 contains decoding information for initial row of quads
ui16 | vlc_tbl1 [1024] = { 0 }
| vlc_tbl1 contains decoding information for non-initial row of quads
ui16 | uvlc_tbl0 [256+64] = { 0 }
| uvlc_tbl0 contains decoding information for initial row of quads
ui16 | uvlc_tbl1 [256] = { 0 }
| uvlc_tbl1 contains decoding information for non-initial row of quads
ui32 | uvlc_tbl1_wide [4096] = { 0 }
| uvlc_tbl1_wide: wider UVLC table for non-initial rows. Index = mode(2 bits) * 1024 + vlc_data(10 bits) = 12 bits. Entry bits: [4:0]=total_bits, [12:5]=u_q0, [20:13]=u_q1. total_bits == 0x1F means fallback to original decode path.
ui8 | uvlc_bias [256+64] = { 0 }
| uvlc_bias contains decoding info. for initial row of quads
static bool | vlc_tables_initialized = vlc_init_tables()
| Initializes VLC tables vlc_tbl0 and vlc_tbl1.
static bool | uvlc_tables_initialized = uvlc_init_tables()
| Initializes UVLC tables uvlc_tbl0 and uvlc_tbl1.
static bool | uvlc_wide_initialized = uvlc_init_wide_table()
| Initializes wide UVLC table uvlc_tbl1_wide.
const int | num_uvlc_entries = 75
static uvlc_tbl_struct | uvlc_tbl [num_uvlc_entries]
void(* | rev_convert )(const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width) = NULL
void(* | rev_convert_nlt_type3 )(const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width) = NULL
void(* | irv_convert_to_integer )(const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width) = NULL
void(* | irv_convert_to_float )(const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width) = NULL
void(* | irv_convert_to_integer_nlt_type3 )(const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width) = NULL
void(* | irv_convert_to_float_nlt_type3 )(const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width) = NULL
void(* | rct_forward )(const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat) = NULL
void(* | rct_backward )(const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat) = NULL
void(* | ict_forward )(const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat) = NULL
void(* | ict_backward )(const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat) = NULL
void(* | rev_vert_step )(const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis) = NULL
void(* | rev_horz_ana )(const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even) = NULL
void(* | rev_horz_syn )(const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even) = NULL
void(* | irv_vert_step )(const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis) = NULL
void(* | irv_vert_times_K )(float K, const line_buf *aug, ui32 repeat) = NULL
void(* | irv_horz_ana )(const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even) = NULL
void(* | irv_horz_syn )(const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even) = NULL

## Typedef Documentation

## ◆ cb_decoder_fun32

typedef bool(* ojph::local::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)

Definition at line 73 of file ojph_codeblock_fun.h.

## ◆ cb_decoder_fun64

typedef bool(* ojph::local::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)

Definition at line 77 of file ojph_codeblock_fun.h.

## ◆ cb_encoder_fun32

typedef void(* ojph::local::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)

Definition at line 82 of file ojph_codeblock_fun.h.

## ◆ cb_encoder_fun64

typedef void(* ojph::local::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)

Definition at line 87 of file ojph_codeblock_fun.h.

## ◆ find_max_val_fun32

typedef ui32(* ojph::local::find_max_val_fun32) (ui32 *addr)

Definition at line 54 of file ojph_codeblock_fun.h.

## ◆ find_max_val_fun64

typedef ui64(* ojph::local::find_max_val_fun64) (ui64 *addr)

Definition at line 56 of file ojph_codeblock_fun.h.

## ◆ mem_clear_fun

typedef void(* ojph::local::mem_clear_fun) (void *addr, size_t count)

Definition at line 51 of file ojph_codeblock_fun.h.

## ◆ tx_from_cb_fun32

typedef void(* ojph::local::tx_from_cb_fun32) (const ui32 *sp, void *dp, ui32 K_max, float delta, ui32 count)

Definition at line 66 of file ojph_codeblock_fun.h.

## ◆ tx_from_cb_fun64

typedef void(* ojph::local::tx_from_cb_fun64) (const ui64 *sp, void *dp, ui32 K_max, float delta, ui32 count)

Definition at line 69 of file ojph_codeblock_fun.h.

## ◆ tx_to_cb_fun32

typedef void(* ojph::local::tx_to_cb_fun32) (const void *sp, ui32 *dp, ui32 K_max, float delta_inv, ui32 count, ui32 *max_val)

Definition at line 59 of file ojph_codeblock_fun.h.

## ◆ tx_to_cb_fun64

typedef void(* ojph::local::tx_to_cb_fun64) (const void *sp, ui64 *dp, ui32 K_max, float delta_inv, ui32 count, ui64 *max_val)

Definition at line 62 of file ojph_codeblock_fun.h.

## Enumeration Type Documentation

## ◆ JP2K_MARKER

enum ojph::local::JP2K_MARKER : ui16

Enumerator
SOC |
CAP |
SIZ |
COD |
COC |
TLM |
PRF |
PLM |
PLT |
CPF |
QCD |
QCC |
RGN |
POC |
PPM |
PPT |
CRG |
COM |
DFS |
ADS |
NLT |
ATK |
SOT |
SOP |
EPH |
SOD |
EOC |

Definition at line 119 of file ojph_params_local.h.

## Function Documentation

## ◆ avx2_find_max_val32()

ui32 ojph::local::avx2_find_max_val32 | ( | ui32 * | address | ) |

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_find_max_val64()

ui64 ojph::local::avx2_find_max_val64 | ( | ui64 * | address | ) |

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_irv_convert_to_float()

void ojph::local::avx2_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ avx2_irv_convert_to_float_nlt_type3()

void ojph::local::avx2_irv_convert_to_float_nlt_type3 | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ avx2_irv_convert_to_integer()

void ojph::local::avx2_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ avx2_irv_convert_to_integer_nlt_type3()

void ojph::local::avx2_irv_convert_to_integer_nlt_type3 | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ avx2_irv_tx_from_cb32()

void ojph::local::avx2_irv_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_irv_tx_to_cb32()

void ojph::local::avx2_irv_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_rct_backward()

void ojph::local::avx2_rct_backward | ( | const line_buf * | y,
|  | const line_buf * | cb,
|  | const line_buf * | cr,
|  | line_buf * | r,
|  | line_buf * | g,
|  | line_buf * | b,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ avx2_rct_forward()

void ojph::local::avx2_rct_forward | ( | const line_buf * | r,
|  | const line_buf * | g,
|  | const line_buf * | b,
|  | line_buf * | y,
|  | line_buf * | cb,
|  | line_buf * | cr,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ avx2_rev_convert()

void ojph::local::avx2_rev_convert | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ avx2_rev_convert_nlt_type3()

void ojph::local::avx2_rev_convert_nlt_type3 | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ avx2_rev_horz_ana()

void ojph::local::avx2_rev_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ avx2_rev_horz_syn()

void ojph::local::avx2_rev_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ avx2_rev_tx_from_cb32()

void ojph::local::avx2_rev_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_rev_tx_from_cb64()

void ojph::local::avx2_rev_tx_from_cb64 | ( | const ui64 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_rev_tx_to_cb32()

void ojph::local::avx2_rev_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_rev_tx_to_cb64()

void ojph::local::avx2_rev_tx_to_cb64 | ( | const void * | sp,
|  | ui64 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui64 * | max_val )

Referenced by ojph::local::codeblock_fun::init().

## ◆ avx2_rev_vert_step()

void ojph::local::avx2_rev_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Referenced by init_wavelet_transform_functions().

## ◆ avx512_irv_horz_ana()

void ojph::local::avx512_irv_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ avx512_irv_horz_syn()

void ojph::local::avx512_irv_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ avx512_irv_vert_step()

void ojph::local::avx512_irv_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Referenced by init_wavelet_transform_functions().

## ◆ avx512_irv_vert_times_K()

void ojph::local::avx512_irv_vert_times_K | ( | float | K,
|  | const line_buf * | aug,
|  | ui32 | repeat )

Referenced by init_wavelet_transform_functions().

## ◆ avx512_rev_horz_ana()

void ojph::local::avx512_rev_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

## ◆ avx512_rev_horz_syn()

void ojph::local::avx512_rev_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

## ◆ avx512_rev_vert_step()

void ojph::local::avx512_rev_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

## ◆ avx_ict_backward()

void ojph::local::avx_ict_backward | ( | const float * | y,
|  | const float * | cb,
|  | const float * | cr,
|  | float * | r,
|  | float * | g,
|  | float * | b,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ avx_ict_forward()

void ojph::local::avx_ict_forward | ( | const float * | r,
|  | const float * | g,
|  | const float * | b,
|  | float * | y,
|  | float * | cb,
|  | float * | cr,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ avx_irv_horz_ana()

void ojph::local::avx_irv_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ avx_irv_horz_syn()

void ojph::local::avx_irv_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ avx_irv_vert_step()

void ojph::local::avx_irv_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Referenced by init_wavelet_transform_functions().

## ◆ avx_irv_vert_times_K()

void ojph::local::avx_irv_vert_times_K | ( | float | K,
|  | const line_buf * | aug,
|  | ui32 | repeat )

Referenced by init_wavelet_transform_functions().

## ◆ avx_mem_clear()

void ojph::local::avx_mem_clear | ( | void * | addr,
|  | size_t | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ bb_expand_buf()

void ojph::local::bb_expand_buf | ( | bit_write_buf * | bbp,
|  | mem_elastic_allocator * | elastic,
|  | coded_lists *& | cur_coded_list )
| inlinestatic

Definition at line 70 of file ojph_bitbuffer_write.h.

References ojph::local::bit_write_buf::ccl, ojph::mem_elastic_allocator::get_buffer(), ojph::local::bit_write_buf::needed, and ojph::local::bit_write_buf::tmp.

Referenced by bb_init(), and bb_put_bit().

## ◆ bb_init() [1/2]

void ojph::local::bb_init | ( | bit_read_buf * | bbp,
|  | ui32 | bytes_left,
|  | infile_base * | file )
| inlinestatic

Definition at line 68 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::avail_bits, ojph::local::bit_read_buf::bytes_left, ojph::local::bit_read_buf::file, ojph::local::bit_read_buf::tmp, and ojph::local::bit_read_buf::unstuff.

Referenced by ojph::local::precinct::parse(), and ojph::local::precinct::prepare_precinct().

## ◆ bb_init() [2/2]

void ojph::local::bb_init | ( | bit_write_buf * | bbp,
|  | mem_elastic_allocator * | elastic,
|  | coded_lists *& | cur_coded_list )
| inlinestatic

Definition at line 81 of file ojph_bitbuffer_write.h.

References ojph::local::bit_write_buf::avail_bits, and bb_expand_buf().

## ◆ bb_put_bit()

void ojph::local::bb_put_bit | ( | bit_write_buf * | bbp,
|  | ui32 | bit,
|  | mem_elastic_allocator * | elastic,
|  | coded_lists *& | cur_coded_list,
|  | ui32 & | ph_bytes )
| inlinestatic

Definition at line 90 of file ojph_bitbuffer_write.h.

References ojph::local::bit_write_buf::avail_bits, ojph::coded_lists::avail_size, bb_expand_buf(), ojph::coded_lists::buf, ojph::coded_lists::buf_size, ojph::local::bit_write_buf::ccl, ojph::local::bit_write_buf::needed, ojph::coded_lists::next_list, and ojph::local::bit_write_buf::tmp.

Referenced by bb_put_bits(), bb_put_zeros(), and ojph::local::precinct::prepare_precinct().

## ◆ bb_put_bits()

void ojph::local::bb_put_bits | ( | bit_write_buf * | bbp,
|  | ui32 | data,
|  | int | num_bits,
|  | mem_elastic_allocator * | elastic,
|  | coded_lists *& | cur_coded_list,
|  | ui32 & | ph_bytes )
| inlinestatic

Definition at line 124 of file ojph_bitbuffer_write.h.

References bb_put_bit().

Referenced by ojph::local::precinct::prepare_precinct().

## ◆ bb_put_zeros()

void ojph::local::bb_put_zeros | ( | bit_write_buf * | bbp,
|  | int | num_zeros,
|  | mem_elastic_allocator * | elastic,
|  | coded_lists *& | cur_coded_list,
|  | ui32 & | ph_bytes )
| inlinestatic

Definition at line 114 of file ojph_bitbuffer_write.h.

References bb_put_bit().

Referenced by ojph::local::precinct::prepare_precinct().

## ◆ bb_read()

bool ojph::local::bb_read | ( | bit_read_buf * | bbp | ) |
| inlinestatic

Definition at line 79 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::avail_bits, ojph::local::bit_read_buf::bytes_left, ojph::local::bit_read_buf::file, ojph::infile_base::read(), ojph::local::bit_read_buf::tmp, and ojph::local::bit_read_buf::unstuff.

Referenced by bb_read_bit(), bb_read_bits(), and bb_terminate().

## ◆ bb_read_bit()

bool ojph::local::bb_read_bit | ( | bit_read_buf * | bbp,
|  | ui32 & | bit )
| inlinestatic

Definition at line 103 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::avail_bits, bb_read(), and ojph::local::bit_read_buf::tmp.

Referenced by ojph::local::precinct::parse().

## ◆ bb_read_bits()

bool ojph::local::bb_read_bits | ( | bit_read_buf * | bbp,
|  | int | num_bits,
|  | ui32 & | bits )
| inlinestatic

Definition at line 114 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::avail_bits, bb_read(), ojph_min, and ojph::local::bit_read_buf::tmp.

Referenced by ojph::local::precinct::parse().

## ◆ bb_read_chunk()

bool ojph::local::bb_read_chunk | ( | bit_read_buf * | bbp,
|  | ui32 | num_bytes,
|  | coded_lists *& | cur_coded_list,
|  | mem_elastic_allocator * | elastic )
| inlinestatic

Definition at line 134 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::avail_bits, ojph::coded_lists::buf, ojph::local::bit_read_buf::bytes_left, ojph::local::bit_read_buf::file, ojph::mem_elastic_allocator::get_buffer(), ojph_min, ojph::local::coded_cb_header::prefix_buf_size, ojph::infile_base::read(), ojph::local::coded_cb_header::suffix_buf_size, and ojph::local::bit_read_buf::unstuff.

Referenced by ojph::local::precinct::parse().

## ◆ bb_skip_eph()

void ojph::local::bb_skip_eph | ( | bit_read_buf * | bbp | ) |
| inlinestatic

Definition at line 154 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::bytes_left, EPH, ojph::local::bit_read_buf::file, and ojph::infile_base::read().

Referenced by bb_terminate().

## ◆ bb_skip_sop()

bool ojph::local::bb_skip_sop | ( | bit_read_buf * | bbp | ) |
| inlinestatic

Definition at line 184 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::bytes_left, ojph::local::bit_read_buf::file, ojph::infile_base::OJPH_SEEK_CUR, ojph::infile_base::read(), SOP, and ojph::swap_bytes_if_le().

Referenced by ojph::local::precinct::parse().

## ◆ bb_terminate() [1/2]

bool ojph::local::bb_terminate | ( | bit_read_buf * | bbp,
|  | bool | uses_eph )
| inlinestatic

Definition at line 169 of file ojph_bitbuffer_read.h.

References ojph::local::bit_read_buf::avail_bits, bb_read(), bb_skip_eph(), ojph::local::bit_read_buf::tmp, and ojph::local::bit_read_buf::unstuff.

Referenced by ojph::local::precinct::parse(), and ojph::local::precinct::prepare_precinct().

## ◆ bb_terminate() [2/2]

void ojph::local::bb_terminate | ( | bit_write_buf * | bbp | ) |
| inlinestatic

Definition at line 135 of file ojph_bitbuffer_write.h.

References ojph::local::bit_write_buf::avail_bits, ojph::coded_lists::avail_size, ojph::coded_lists::buf, ojph::coded_lists::buf_size, ojph::local::bit_write_buf::ccl, and ojph::local::bit_write_buf::tmp.

## ◆ decode_one_quad32() [1/2]

template<int N>

v128_t ojph::local::decode_one_quad32 | ( | const v128_t | inf_u_q,
|  | v128_t | U_q,
|  | frwd_struct * | magsgn,
|  | ui32 | p,
|  | v128_t & | vn )
| inlinestatic

decodes one quad, using 32 bit data

Template Parameters

  N | 0 for the first quad and 1 for the second quad in an octet

Parameters

  inf_u_q | decoded VLC code, with interleaved u values
  U_q | U values
  magsgn | structure for forward data buffer
  p | bitplane at which we are decoding
  vn | used for handling E values (stores v_n values)

Returns
  v128_t decoded quad

Definition at line 902 of file ojph_block_decoder_vsx.cpp.

References frwd_advance(), frwd_fetch(), OJPH_REPEAT4, OJPH_REPEAT8, vsx_i16x8_add(), vsx_i16x8_const(), vsx_i16x8_mul(), vsx_i32x4_add(), vsx_i32x4_const(), vsx_i32x4_eq(), vsx_i32x4_shl(), vsx_i32x4_shuffle, vsx_i32x4_sub(), vsx_i64x2_const(), vsx_i64x2_shuffle, vsx_i8x16_bitmask(), vsx_i8x16_const(), vsx_i8x16_swizzle(), vsx_u16x8_extract_lane, vsx_u16x8_shr(), vsx_u32x4_const(), vsx_u32x4_extract_lane, vsx_u32x4_shr(), vsx_v128_and(), vsx_v128_andnot(), and vsx_v128_or().

Referenced by ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ decode_one_quad32() [2/2]

template<int N>

v128_t ojph::local::decode_one_quad32 | ( | const v128_t | inf_u_q,
|  | v128_t | U_q,
|  | frwd_struct * | magsgn,
|  | ui32 | p,
|  | v128_t & | vn )
| inlinestatic

decodes one quad, using 32 bit data

Template Parameters

  N | 0 for the first quad and 1 for the second quad in an octet

Parameters

  inf_u_q | decoded VLC code, with interleaved u values
  U_q | U values
  magsgn | structure for forward data buffer
  p | bitplane at which we are decoding
  vn | used for handling E values (stores v_n values)

Returns
  v128_t decoded quad

Definition at line 799 of file ojph_block_decoder_wasm.cpp.

References frwd_advance(), frwd_fetch(), OJPH_REPEAT4, and OJPH_REPEAT8.

## ◆ decode_two_quad16() [1/2]

v128_t ojph::local::decode_two_quad16 | ( | const v128_t | inf_u_q,
|  | v128_t | U_q,
|  | const ui8 * | dbuf,
|  | ui32 | limit,
|  | ui32 & | pos,
|  | ui32 | p,
|  | v128_t & | vn )
| inlinestatic

decodes twos consecutive quads (one octet), using 16 bit data

Parameters

  inf_u_q | decoded VLC code, with interleaved u values
  U_q | U values
  magsgn | structure for forward data buffer
  p | bitplane at which we are decoding
  vn | used for handling E values (stores v_n values)

Returns
  v128_t decoded quad

Definition at line 1018 of file ojph_block_decoder_vsx.cpp.

References OJPH_REPEAT8, vsx_dfetch(), vsx_i16x8_add(), vsx_i16x8_const(), vsx_i16x8_eq(), vsx_i16x8_mul(), vsx_i16x8_shl(), vsx_i16x8_shuffle, vsx_i16x8_sub(), vsx_i32x4_shl(), vsx_i32x4_shuffle, vsx_i32x4_sub(), vsx_i64x2_const(), vsx_i64x2_shuffle, vsx_i8x16_bitmask(), vsx_i8x16_const(), vsx_i8x16_swizzle(), vsx_u16x8_const(), vsx_u16x8_extract_lane, vsx_u16x8_shr(), vsx_v128_and(), vsx_v128_andnot(), and vsx_v128_or().

Referenced by ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ decode_two_quad16() [2/2]

v128_t ojph::local::decode_two_quad16 | ( | const v128_t | inf_u_q,
|  | v128_t | U_q,
|  | frwd_struct * | magsgn,
|  | ui32 | p,
|  | v128_t & | vn )
| inlinestatic

decodes twos consecutive quads (one octet), using 16 bit data

Parameters

  inf_u_q | decoded VLC code, with interleaved u values
  U_q | U values
  magsgn | structure for forward data buffer
  p | bitplane at which we are decoding
  vn | used for handling E values (stores v_n values)

Returns
  v128_t decoded quad

Definition at line 915 of file ojph_block_decoder_wasm.cpp.

References frwd_advance(), frwd_fetch(), and OJPH_REPEAT8.

## ◆ destuff_frwd()

template<int X>

ui32 ojph::local::destuff_frwd | ( | const ui8 * | src,
|  | int | size,
|  | ui8 * | dst,
|  | ui32 | cap )
| inlinestatic

Destuffs a bitstream into a contiguous buffer, upfront.

Removes bit stuffing once for the whole stream, so that fetching bits at a given position later needs no serial state; this keeps the per-quad bit-consumption chain in general-purpose registers (pos += bits) instead of shifting a vector-resident window, which on POWER costs vector stores/reloads through the stack.

Template Parameters

  X | is the value fed in when the bitstream is exhausted

Parameters

  [in] | src | is a pointer to the start of the bitstream
  [in] | size | is the number of bytes in the bitstream
  [in] | dst | is the destination buffer, of capacity cap + 72
  [in] | cap | is the destination capacity, excluding padding

Returns
  the clamp offset; bytes at or beyond this offset hold no stream bits (they read as X)

Definition at line 804 of file ojph_block_decoder_vsx.cpp.

References vsx_v128_load().

Referenced by ojph_decode_codeblock_vsx().

## ◆ find_marker()

int ojph::local::find_marker | ( | infile_base * | f,
|  | const ui16 * | char_list,
|  | int | list_len )
| static

Definition at line 708 of file ojph_codestream_local.cpp.

References ojph::infile_base::eof(), and ojph::infile_base::read().

Referenced by ojph::local::codestream::read(), and ojph::local::codestream::read_headers().

## ◆ frwd_advance() [1/4]

void ojph::local::frwd_advance | ( | frwd_struct * | msp,
|  | ui32 | num_bits )
| inlinestatic

Consume num_bits bits from the bitstream of frwd_struct.

Parameters

  [in] | msp | is a pointer to frwd_struct
  [in] | num_bits | is the number of bit to consume

Definition at line 730 of file ojph_block_decoder_vsx.cpp.

References ojph::local::frwd_struct::bits, ojph::local::frwd_struct::tmp, vsx_i64x2_const(), vsx_i64x2_shl(), vsx_i64x2_shuffle, vsx_u64x2_shr(), vsx_v128_load(), vsx_v128_or(), and vsx_v128_store().

## ◆ frwd_advance() [2/4]

void ojph::local::frwd_advance | ( | frwd_struct * | msp,
|  | ui32 | num_bits )
| inlinestatic

Consume num_bits bits from the bitstream of frwd_struct.

Parameters

  [in] | msp | is a pointer to frwd_struct
  [in] | num_bits | is the number of bit to consume

Definition at line 730 of file ojph_block_decoder_wasm.cpp.

## ◆ frwd_advance() [3/4]

void ojph::local::frwd_advance | ( | frwd_struct32 * | msp,
|  | ui32 | num_bits )
| inlinestatic

Consume num_bits bits from the bitstream of frwd_struct32.

Parameters

  [in] | msp | is a pointer to frwd_struct32
  [in] | num_bits | is the number of bit to consume

Definition at line 698 of file ojph_block_decoder32.cpp.

References ojph::local::frwd_struct32::bits, and ojph::local::frwd_struct32::tmp.

Referenced by decode_one_quad32(), decode_two_quad16(), ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ frwd_advance() [4/4]

void ojph::local::frwd_advance | ( | frwd_struct64 * | msp,
|  | ui32 | num_bits )
| inlinestatic

Consume num_bits bits from the bitstream of frwd_struct64.

Parameters

  [in] | msp | is a pointer to frwd_struct64
  [in] | num_bits | is the number of bit to consume

Definition at line 706 of file ojph_block_decoder64.cpp.

References ojph::local::frwd_struct64::bits, and ojph::local::frwd_struct64::tmp.

## ◆ frwd_fetch() [1/4]

template<int X>

v128_t ojph::local::frwd_fetch | ( | frwd_struct * | msp | ) |
| inlinestatic

Fetches 32 bits from the frwd_struct bitstream.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct

Definition at line 773 of file ojph_block_decoder_vsx.cpp.

References ojph::local::frwd_struct::bits, frwd_read(), ojph::local::frwd_struct::tmp, and vsx_v128_load().

## ◆ frwd_fetch() [2/4]

template<int X>

v128_t ojph::local::frwd_fetch | ( | frwd_struct * | msp | ) |
| inlinestatic

Fetches 32 bits from the frwd_struct bitstream.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct

Definition at line 773 of file ojph_block_decoder_wasm.cpp.

References frwd_read().

## ◆ frwd_fetch() [3/4]

template<int X>

ui32 ojph::local::frwd_fetch | ( | frwd_struct32 * | msp | ) |
| inlinestatic

Fetches 32 bits from the frwd_struct32 bitstream.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct32

Definition at line 714 of file ojph_block_decoder32.cpp.

References ojph::local::frwd_struct32::bits, frwd_read(), and ojph::local::frwd_struct32::tmp.

Referenced by decode_one_quad32(), decode_two_quad16(), ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ frwd_fetch() [4/4]

template<int X>

ui32 ojph::local::frwd_fetch | ( | frwd_struct64 * | msp | ) |
| inlinestatic

Fetches 32 bits from the frwd_struct64 bitstream.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct64

Definition at line 722 of file ojph_block_decoder64.cpp.

References ojph::local::frwd_struct64::bits, frwd_read(), and ojph::local::frwd_struct64::tmp.

## ◆ frwd_fetch64()

template<ui8 X>

ui64 ojph::local::frwd_fetch64 | ( | frwd_struct64 * | msp | ) |
| inlinestatic

Fetches up to 64 bits from the frwd_struct64 bitstream.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct64

Definition at line 742 of file ojph_block_decoder64.cpp.

References ojph::local::frwd_struct64::bits, frwd_read8(), and ojph::local::frwd_struct64::tmp.

Referenced by ojph_decode_codeblock64().

## ◆ frwd_init() [1/4]

template<int X>

void ojph::local::frwd_init | ( | frwd_struct * | msp,
|  | const ui8 * | data,
|  | int | size )
| inlinestatic

Initialize frwd_struct struct and reads some bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct
  [in] | data | is a pointer to the start of data
  [in] | size | is the number of byte in the bitstream

Definition at line 709 of file ojph_block_decoder_vsx.cpp.

References ojph::local::frwd_struct::bits, ojph::local::frwd_struct::data, frwd_read(), ojph::local::frwd_struct::size, ojph::local::frwd_struct::tmp, ojph::local::frwd_struct::unstuff, vsx_i64x2_const(), and vsx_v128_store().

## ◆ frwd_init() [2/4]

template<int X>

void ojph::local::frwd_init | ( | frwd_struct * | msp,
|  | const ui8 * | data,
|  | int | size )
| inlinestatic

Initialize frwd_struct struct and reads some bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct
  [in] | data | is a pointer to the start of data
  [in] | size | is the number of byte in the bitstream

Definition at line 709 of file ojph_block_decoder_wasm.cpp.

References frwd_read().

## ◆ frwd_init() [3/4]

template<int X>

void ojph::local::frwd_init | ( | frwd_struct32 * | msp,
|  | const ui8 * | data,
|  | int | size )
| inlinestatic

Initialize frwd_struct32 struct and reads some bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct32
  [in] | data | is a pointer to the start of data
  [in] | size | is the number of byte in the bitstream

Definition at line 666 of file ojph_block_decoder32.cpp.

References ojph::local::frwd_struct32::bits, ojph::local::frwd_struct32::data, frwd_read(), ojph::local::frwd_struct32::size, ojph::local::frwd_struct32::tmp, and ojph::local::frwd_struct32::unstuff.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ frwd_init() [4/4]

template<int X>

void ojph::local::frwd_init | ( | frwd_struct64 * | msp,
|  | const ui8 * | data,
|  | int | size )
| inlinestatic

Initialize frwd_struct64 struct and reads some bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct64
  [in] | data | is a pointer to the start of data
  [in] | size | is the number of byte in the bitstream

Definition at line 653 of file ojph_block_decoder64.cpp.

References ojph::local::frwd_struct64::bits, ojph::local::frwd_struct64::data, frwd_read(), ojph::local::frwd_struct64::size, ojph::local::frwd_struct64::tmp, and ojph::local::frwd_struct64::unstuff.

## ◆ frwd_init8()

template<ui8 X>

void ojph::local::frwd_init8 | ( | frwd_struct64 * | msp,
|  | const ui8 * | data,
|  | int | size )
| inlinestatic

Initialize frwd_struct64 struct and reads some bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted. See frwd_read regarding the template

Parameters

  [in] | msp | is a pointer to frwd_struct64
  [in] | data | is a pointer to the start of data
  [in] | size | is the number of byte in the bitstream

Definition at line 689 of file ojph_block_decoder64.cpp.

References ojph::local::frwd_struct64::bits, ojph::local::frwd_struct64::data, frwd_read8(), ojph::local::frwd_struct64::size, ojph::local::frwd_struct64::tmp, and ojph::local::frwd_struct64::unstuff.

Referenced by ojph_decode_codeblock64().

## ◆ frwd_read() [1/4]

template<int X>

void ojph::local::frwd_read | ( | frwd_struct * | msp | ) |
| inlinestatic

Read and unstuffs 16 bytes from forward-growing bitstream.

A template is used to accommodate a different requirement for MagSgn and SPP bitstreams; in particular, when MagSgn bitstream is consumed, 0xFF's are fed, while when SPP is exhausted 0's are fed in. X controls this value.

Unstuffing prevent sequences that are more than 0xFF7F from appearing in the conpressed sequence. So whenever a value of 0xFF is coded, the MSB of the next byte is set 0 and must be ignored during decoding.

Reading can go beyond the end of buffer by up to 16 bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted

Parameters

  [in] | msp | is a pointer to frwd_struct structure

Definition at line 618 of file ojph_block_decoder_vsx.cpp.

References ojph::local::frwd_struct::bits, ojph::count_leading_zeros(), ojph::local::frwd_struct::data, OJPH_REPEAT16, ojph::local::frwd_struct::size, ojph::local::frwd_struct::tmp, ojph::local::frwd_struct::unstuff, vsx_i64x2_const(), vsx_i64x2_shl(), vsx_i64x2_shuffle, vsx_i8x16_bitmask(), vsx_i8x16_const(), vsx_i8x16_eq(), vsx_i8x16_gt(), vsx_i8x16_splat(), vsx_u16x8_extract_lane, vsx_u64x2_shr(), vsx_v128_and(), vsx_v128_andnot(), vsx_v128_load(), vsx_v128_or(), vsx_v128_store(), and vsx_v128_xor().

## ◆ frwd_read() [2/4]

template<int X>

void ojph::local::frwd_read | ( | frwd_struct * | msp | ) |
| inlinestatic

Read and unstuffs 16 bytes from forward-growing bitstream.

A template is used to accommodate a different requirement for MagSgn and SPP bitstreams; in particular, when MagSgn bitstream is consumed, 0xFF's are fed, while when SPP is exhausted 0's are fed in. X controls this value.

Unstuffing prevent sequences that are more than 0xFF7F from appearing in the conpressed sequence. So whenever a value of 0xFF is coded, the MSB of the next byte is set 0 and must be ignored during decoding.

Reading can go beyond the end of buffer by up to 16 bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted

Parameters

  [in] | msp | is a pointer to frwd_struct structure

Definition at line 618 of file ojph_block_decoder_wasm.cpp.

References ojph::count_leading_zeros(), and OJPH_REPEAT16.

## ◆ frwd_read() [3/4]

template<int X>

void ojph::local::frwd_read | ( | frwd_struct32 * | msp | ) |
| inlinestatic

Read and unstuffs 32 bits from forward-growing bitstream.

A template is used to accommodate a different requirement for MagSgn and SPP bitstreams; in particular, when MagSgn bitstream is consumed, 0xFF's are fed, while when SPP is exhausted 0's are fed in. X controls this value.

Unstuffing prevent sequences that are more than 0xFF7F from appearing in the conpressed sequence. So whenever a value of 0xFF is coded, the MSB of the next byte is set 0 and must be ignored during decoding.

Reading can go beyond the end of buffer by up to 3 bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted

Parameters

  [in] | msp | is a pointer to frwd_struct32 structure

Definition at line 609 of file ojph_block_decoder32.cpp.

References ojph::local::frwd_struct32::bits, ojph::local::frwd_struct32::data, ojph::load_le_ui32(), ojph::local::frwd_struct32::size, ojph::local::frwd_struct32::tmp, and ojph::local::frwd_struct32::unstuff.

Referenced by frwd_fetch(), frwd_fetch(), frwd_fetch(), frwd_init(), frwd_init(), and frwd_init().

## ◆ frwd_read() [4/4]

template<int X>

void ojph::local::frwd_read | ( | frwd_struct64 * | msp | ) |
| inlinestatic

Read and unstuffs 32 bits from forward-growing bitstream.

A template is used to accommodate a different requirement for MagSgn and SPP bitstreams; in particular, when MagSgn bitstream is consumed, 0xFF's are fed, while when SPP is exhausted 0's are fed in. X controls this value.

Unstuffing prevent sequences that are more than 0xFF7F from appearing in the conpressed sequence. So whenever a value of 0xFF is coded, the MSB of the next byte is set 0 and must be ignored during decoding.

Reading can go beyond the end of buffer by up to 3 bytes.

Template Parameters

  X | is the value fed in when the bitstream is exhausted

Parameters

  [in] | msp | is a pointer to frwd_struct64 structure

Definition at line 561 of file ojph_block_decoder64.cpp.

References ojph::local::frwd_struct64::bits, ojph::local::frwd_struct64::data, ojph::load_le_ui32(), ojph::local::frwd_struct64::size, ojph::local::frwd_struct64::tmp, and ojph::local::frwd_struct64::unstuff.

## ◆ frwd_read8()

template<ui8 X>

void ojph::local::frwd_read8 | ( | frwd_struct64 * | msp | ) |
| inlinestatic

Read and unstuffs 8 bits from forward-growing bitstream.

A template is used to accommodate a different requirement for MagSgn and SPP bitstreams; in particular, when MagSgn bitstream is consumed, 0xFF's are fed, while when SPP is exhausted 0's are fed in. X controls this value.

Unstuffing prevent sequences that are more than 0xFF7F from appearing in the conpressed sequence. So whenever a value of 0xFF is coded, the MSB of the next byte is set 0 and must be ignored during decoding.

Template Parameters

  X | is the value fed in when the bitstream is exhausted

Parameters

  [in] | msp | is a pointer to frwd_struct64 structure

Definition at line 625 of file ojph_block_decoder64.cpp.

References ojph::local::frwd_struct64::bits, ojph::local::frwd_struct64::data, ojph::local::frwd_struct64::size, ojph::local::frwd_struct64::tmp, and ojph::local::frwd_struct64::unstuff.

Referenced by frwd_fetch64(), and frwd_init8().

## ◆ gen_find_max_val32()

ui32 ojph::local::gen_find_max_val32 | ( | ui32 * | address | ) |

Definition at line 53 of file ojph_codestream_gen.cpp.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_find_max_val64()

ui64 ojph::local::gen_find_max_val64 | ( | ui64 * | address | ) |

Definition at line 56 of file ojph_codestream_gen.cpp.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_ict_backward()

void ojph::local::gen_ict_backward | ( | const float * | y,
|  | const float * | cb,
|  | const float * | cr,
|  | float * | r,
|  | float * | g,
|  | float * | b,
|  | ui32 | repeat )

Definition at line 559 of file ojph_colour.cpp.

References ojph::local::CT_CNST::GAMMA_CB2B, ojph::local::CT_CNST::GAMMA_CB2G, ojph::local::CT_CNST::GAMMA_CR2G, and ojph::local::CT_CNST::GAMMA_CR2R.

Referenced by init_colour_transform_functions().

## ◆ gen_ict_forward()

void ojph::local::gen_ict_forward | ( | const float * | r,
|  | const float * | g,
|  | const float * | b,
|  | float * | y,
|  | float * | cb,
|  | float * | cr,
|  | ui32 | repeat )

Definition at line 545 of file ojph_colour.cpp.

References ojph::local::CT_CNST::ALPHA_BF, ojph::local::CT_CNST::ALPHA_GF, ojph::local::CT_CNST::ALPHA_RF, ojph::local::CT_CNST::BETA_CbF, and ojph::local::CT_CNST::BETA_CrF.

Referenced by init_colour_transform_functions().

## ◆ gen_irv_convert_to_float()

void ojph::local::gen_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 425 of file ojph_colour.cpp.

References local_gen_irv_convert_to_float().

Referenced by init_colour_transform_functions().

## ◆ gen_irv_convert_to_float_nlt_type3()

void ojph::local::gen_irv_convert_to_float_nlt_type3 | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 434 of file ojph_colour.cpp.

References local_gen_irv_convert_to_float().

Referenced by init_colour_transform_functions().

## ◆ gen_irv_convert_to_integer()

void ojph::local::gen_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 369 of file ojph_colour.cpp.

References local_gen_irv_convert_to_integer().

Referenced by init_colour_transform_functions().

## ◆ gen_irv_convert_to_integer_nlt_type3()

void ojph::local::gen_irv_convert_to_integer_nlt_type3 | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 378 of file ojph_colour.cpp.

References local_gen_irv_convert_to_integer().

Referenced by init_colour_transform_functions().

## ◆ gen_irv_horz_ana()

void ojph::local::gen_irv_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Definition at line 715 of file ojph_transform.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, ojph::local::param_atk::get_K(), ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), and ojph::local::lifting_step::irv.

Referenced by init_wavelet_transform_functions().

## ◆ gen_irv_horz_syn()

void ojph::local::gen_irv_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 786 of file ojph_transform.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, ojph::local::param_atk::get_K(), ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), and ojph::local::lifting_step::irv.

Referenced by init_wavelet_transform_functions().

## ◆ gen_irv_tx_from_cb32()

void ojph::local::gen_irv_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 156 of file ojph_codestream_gen.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_irv_tx_from_cb64()

void ojph::local::gen_irv_tx_from_cb64 | ( | const ui64 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 171 of file ojph_codestream_gen.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_irv_tx_to_cb32()

void ojph::local::gen_irv_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Definition at line 103 of file ojph_codestream_gen.cpp.

References ojph::ojph_trunc(), and ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_irv_vert_step()

void ojph::local::gen_irv_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 691 of file ojph_transform.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, and ojph::local::lifting_step::irv.

Referenced by init_wavelet_transform_functions().

## ◆ gen_irv_vert_times_K()

void ojph::local::gen_irv_vert_times_K | ( | float | K,
|  | const line_buf * | aug,
|  | ui32 | repeat )

Definition at line 707 of file ojph_transform.cpp.

References ojph::line_buf::f32.

Referenced by init_wavelet_transform_functions().

## ◆ gen_mem_clear()

void ojph::local::gen_mem_clear | ( | void * | addr,
|  | size_t | count )

Definition at line 47 of file ojph_codestream_gen.cpp.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_rct_backward()

void ojph::local::gen_rct_backward | ( | const line_buf * | y,
|  | const line_buf * | cb,
|  | const line_buf * | cr,
|  | line_buf * | r,
|  | line_buf * | g,
|  | line_buf * | b,
|  | ui32 | repeat )

Definition at line 493 of file ojph_colour.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, and ojph::line_buf::LFT_INTEGER.

Referenced by init_colour_transform_functions().

## ◆ gen_rct_forward()

void ojph::local::gen_rct_forward | ( | const line_buf * | r,
|  | const line_buf * | g,
|  | const line_buf * | b,
|  | line_buf * | y,
|  | line_buf * | cb,
|  | line_buf * | cr,
|  | ui32 | repeat )

Definition at line 443 of file ojph_colour.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, and ojph::line_buf::LFT_INTEGER.

Referenced by init_colour_transform_functions().

## ◆ gen_rev_convert()

void ojph::local::gen_rev_convert | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Definition at line 238 of file ojph_colour.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_64BIT.

Referenced by init_colour_transform_functions().

## ◆ gen_rev_convert_nlt_type3()

void ojph::local::gen_rev_convert_nlt_type3 | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Definition at line 273 of file ojph_colour.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_64BIT.

Referenced by init_colour_transform_functions().

## ◆ gen_rev_horz_ana()

void ojph::local::gen_rev_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Definition at line 493 of file ojph_transform.cpp.

References ojph::line_buf::flags, gen_rev_horz_ana32(), gen_rev_horz_ana64(), ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_64BIT.

Referenced by init_wavelet_transform_functions().

## ◆ gen_rev_horz_ana32()

void ojph::local::gen_rev_horz_ana32 | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 336 of file ojph_transform.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i32, and ojph::local::lifting_step::rev.

Referenced by gen_rev_horz_ana().

## ◆ gen_rev_horz_ana64()

void ojph::local::gen_rev_horz_ana64 | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 415 of file ojph_transform.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i64, and ojph::local::lifting_step::rev.

Referenced by gen_rev_horz_ana().

## ◆ gen_rev_horz_syn()

void ojph::local::gen_rev_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 671 of file ojph_transform.cpp.

References ojph::line_buf::flags, gen_rev_horz_syn32(), gen_rev_horz_syn64(), ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_64BIT.

Referenced by init_wavelet_transform_functions().

## ◆ gen_rev_horz_syn32()

void ojph::local::gen_rev_horz_syn32 | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 514 of file ojph_transform.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i32, and ojph::local::lifting_step::rev.

Referenced by gen_rev_horz_syn().

## ◆ gen_rev_horz_syn64()

void ojph::local::gen_rev_horz_syn64 | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 593 of file ojph_transform.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i64, and ojph::local::lifting_step::rev.

Referenced by gen_rev_horz_syn().

## ◆ gen_rev_tx_from_cb32()

void ojph::local::gen_rev_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 124 of file ojph_codestream_gen.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_rev_tx_from_cb64()

void ojph::local::gen_rev_tx_from_cb64 | ( | const ui64 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 140 of file ojph_codestream_gen.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_rev_tx_to_cb32()

void ojph::local::gen_rev_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Definition at line 59 of file ojph_codestream_gen.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_rev_tx_to_cb64()

void ojph::local::gen_rev_tx_to_cb64 | ( | const void * | sp,
|  | ui64 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui64 * | max_val )

Definition at line 81 of file ojph_codestream_gen.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ gen_rev_vert_step()

void ojph::local::gen_rev_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 312 of file ojph_transform.cpp.

References ojph::line_buf::flags, gen_rev_vert_step32(), gen_rev_vert_step64(), ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_64BIT.

Referenced by init_wavelet_transform_functions().

## ◆ gen_rev_vert_step32()

void ojph::local::gen_rev_vert_step32 | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )
| static

Definition at line 209 of file ojph_transform.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::i32, and ojph::local::lifting_step::rev.

Referenced by gen_rev_vert_step().

## ◆ gen_rev_vert_step64()

void ojph::local::gen_rev_vert_step64 | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )
| static

Definition at line 261 of file ojph_transform.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::i64, and ojph::local::lifting_step::rev.

Referenced by gen_rev_vert_step().

## ◆ init_colour_transform_functions()

void ojph::local::init_colour_transform_functions | ( |  | ) |

Definition at line 109 of file ojph_colour.cpp.

References avx2_irv_convert_to_float(), avx2_irv_convert_to_float_nlt_type3(), avx2_irv_convert_to_integer(), avx2_irv_convert_to_integer_nlt_type3(), avx2_rct_backward(), avx2_rct_forward(), avx2_rev_convert(), avx2_rev_convert_nlt_type3(), avx_ict_backward(), avx_ict_forward(), gen_ict_backward(), gen_ict_forward(), gen_irv_convert_to_float(), gen_irv_convert_to_float_nlt_type3(), gen_irv_convert_to_integer(), gen_irv_convert_to_integer_nlt_type3(), gen_rct_backward(), gen_rct_forward(), gen_rev_convert(), gen_rev_convert_nlt_type3(), ojph::get_cpu_ext_level(), ict_backward, ict_forward, irv_convert_to_float, irv_convert_to_float_nlt_type3, irv_convert_to_integer, irv_convert_to_integer_nlt_type3, ojph::PPC_CPU_EXT_LEVEL_ARCH_3_00, rct_backward, rct_forward, rev_convert, rev_convert_nlt_type3, sse2_irv_convert_to_float(), sse2_irv_convert_to_float_nlt_type3(), sse2_irv_convert_to_integer(), sse2_irv_convert_to_integer_nlt_type3(), sse2_rct_backward(), sse2_rct_forward(), sse2_rev_convert(), sse2_rev_convert_nlt_type3(), sse_ict_backward(), sse_ict_forward(), vsx_ict_backward(), vsx_ict_forward(), vsx_irv_convert_to_float(), vsx_irv_convert_to_float_nlt_type3(), vsx_irv_convert_to_integer(), vsx_irv_convert_to_integer_nlt_type3(), vsx_rct_backward(), vsx_rct_forward(), vsx_rev_convert(), vsx_rev_convert_nlt_type3(), wasm_ict_backward(), wasm_ict_forward(), wasm_irv_convert_to_float(), wasm_irv_convert_to_float_nlt_type3(), wasm_irv_convert_to_integer(), wasm_irv_convert_to_integer_nlt_type3(), wasm_rct_backward(), wasm_rct_forward(), wasm_rev_convert(), wasm_rev_convert_nlt_type3(), ojph::X86_CPU_EXT_LEVEL_AVX, ojph::X86_CPU_EXT_LEVEL_AVX2, ojph::X86_CPU_EXT_LEVEL_SSE, and ojph::X86_CPU_EXT_LEVEL_SSE2.

Referenced by ojph::local::codestream::codestream().

## ◆ init_wavelet_transform_functions()

void ojph::local::init_wavelet_transform_functions | ( |  | ) |

Definition at line 98 of file ojph_transform.cpp.

References avx2_rev_horz_ana(), avx2_rev_horz_syn(), avx2_rev_vert_step(), avx512_irv_horz_ana(), avx512_irv_horz_syn(), avx512_irv_vert_step(), avx512_irv_vert_times_K(), avx_irv_horz_ana(), avx_irv_horz_syn(), avx_irv_vert_step(), avx_irv_vert_times_K(), gen_irv_horz_ana(), gen_irv_horz_syn(), gen_irv_vert_step(), gen_irv_vert_times_K(), gen_rev_horz_ana(), gen_rev_horz_syn(), gen_rev_vert_step(), ojph::get_cpu_ext_level(), irv_horz_ana, irv_horz_syn, irv_vert_step, irv_vert_times_K, ojph::PPC_CPU_EXT_LEVEL_ARCH_3_00, rev_horz_ana, rev_horz_syn, rev_vert_step, sse2_rev_horz_ana(), sse2_rev_horz_syn(), sse2_rev_vert_step(), sse_irv_horz_ana(), sse_irv_horz_syn(), sse_irv_vert_step(), sse_irv_vert_times_K(), vsx_irv_horz_ana(), vsx_irv_horz_syn(), vsx_irv_vert_step(), vsx_irv_vert_times_K(), vsx_rev_horz_ana(), vsx_rev_horz_syn(), vsx_rev_vert_step(), wasm_irv_horz_ana(), wasm_irv_horz_syn(), wasm_irv_vert_step(), wasm_irv_vert_times_K(), wasm_rev_horz_ana(), wasm_rev_horz_syn(), wasm_rev_vert_step(), ojph::X86_CPU_EXT_LEVEL_AVX, ojph::X86_CPU_EXT_LEVEL_AVX2, ojph::X86_CPU_EXT_LEVEL_AVX512, ojph::X86_CPU_EXT_LEVEL_SSE, and ojph::X86_CPU_EXT_LEVEL_SSE2.

Referenced by ojph::local::codestream::codestream().

## ◆ initialize_block_encoder_tables()

bool ojph::local::initialize_block_encoder_tables | ( |  | ) |

Definition at line 258 of file ojph_block_encoder.cpp.

References uvlc_init_tables(), vlc_init_tables(), vlc_tbl0, and vlc_tbl1.

Referenced by ojph::local::codeblock_fun::init().

## ◆ initialize_block_encoder_tables_avx2()

bool ojph::local::initialize_block_encoder_tables_avx2 | ( |  | ) |

Referenced by ojph::local::codeblock_fun::init().

## ◆ initialize_block_encoder_tables_avx512()

bool ojph::local::initialize_block_encoder_tables_avx512 | ( |  | ) |

Referenced by ojph::local::codeblock_fun::init().

## ◆ local_gen_irv_convert_to_float()

template<bool NLT_TYPE3>

void ojph::local::local_gen_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )
| inlinestatic

Definition at line 389 of file ojph_colour.cpp.

References ojph::line_buf::f32, ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_INTEGER.

Referenced by gen_irv_convert_to_float(), and gen_irv_convert_to_float_nlt_type3().

## ◆ local_gen_irv_convert_to_integer()

template<bool NLT_TYPE3>

void ojph::local::local_gen_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )
| inlinestatic

Definition at line 317 of file ojph_colour.cpp.

References ojph::line_buf::f32, ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_INTEGER, and ojph::ojph_round().

Referenced by gen_irv_convert_to_integer(), and gen_irv_convert_to_integer_nlt_type3().

## ◆ local_vsx_irv_convert_to_float()

template<bool NLT_TYPE3>

void ojph::local::local_vsx_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )
| inlinestatic

Definition at line 376 of file ojph_colour_vsx.cpp.

References ojph::line_buf::f32, ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_INTEGER, vsx_f32x4_convert_i32x4(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_i32x4_lt(), vsx_i32x4_splat(), vsx_i32x4_sub(), vsx_v128_and(), vsx_v128_andnot(), vsx_v128_load(), vsx_v128_or(), and vsx_v128_store().

Referenced by vsx_irv_convert_to_float(), and vsx_irv_convert_to_float_nlt_type3().

## ◆ local_vsx_irv_convert_to_integer()

template<bool NLT_TYPE3>

void ojph::local::local_vsx_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )
| inlinestatic

Definition at line 294 of file ojph_colour_vsx.cpp.

References ojph::line_buf::f32, ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_INTEGER, ojph_convert_float_to_i32(), ojph_vsx_i32x4_max_ge(), ojph_vsx_i32x4_min_lt(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_i32x4_add(), vsx_i32x4_gt(), vsx_i32x4_splat(), vsx_i32x4_sub(), vsx_v128_and(), vsx_v128_andnot(), vsx_v128_load(), vsx_v128_or(), and vsx_v128_store().

Referenced by vsx_irv_convert_to_integer(), and vsx_irv_convert_to_integer_nlt_type3().

## ◆ local_wasm_irv_convert_to_float()

template<bool NLT_TYPE3>

void ojph::local::local_wasm_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )
| inlinestatic

Definition at line 386 of file ojph_colour_wasm.cpp.

References ojph::line_buf::f32, ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_INTEGER.

Referenced by wasm_irv_convert_to_float(), and wasm_irv_convert_to_float_nlt_type3().

## ◆ local_wasm_irv_convert_to_integer()

template<bool NLT_TYPE3>

void ojph::local::local_wasm_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )
| inlinestatic

Definition at line 301 of file ojph_colour_wasm.cpp.

References ojph::line_buf::f32, ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_INTEGER, ojph_convert_float_to_i32(), ojph_wasm_i32x4_max_ge(), and ojph_wasm_i32x4_min_lt().

Referenced by wasm_irv_convert_to_integer(), and wasm_irv_convert_to_integer_nlt_type3().

## ◆ log2ceil()

ui32 ojph::local::log2ceil | ( | ui32 | x | ) |
| inlinestatic

Definition at line 87 of file ojph_precinct.cpp.

References ojph::count_leading_zeros().

Referenced by ojph::local::precinct::parse(), and ojph::local::precinct::prepare_precinct().

## ◆ mel_decode() [1/4]

void ojph::local::mel_decode | ( | dec_mel_st * | melp | ) |
| inlinestatic

Decodes unstuffed MEL segment bits stored in tmp to runs.

Runs are stored in "runs" and the number of runs in "num_runs". Each run represents a number of zero events that may or may not terminate in a 1 event. Each run is stored in 7 bits. The LSB is 1 if the run terminates in a 1 event, 0 otherwise. The next 6 bits, for the case terminating with 1, contain the number of consecutive 0 zero events * 2; for the case terminating with 0, they store (number of consecutive 0 zero events - 1) * 2. A total of 6 bits (made up of 1 + 5) should have been enough.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 170 of file ojph_block_decoder32.cpp.

References ojph::local::dec_mel_st::bits, ojph::local::dec_mel_st::k, mel_read(), ojph::local::dec_mel_st::num_runs, ojph::local::dec_mel_st::runs, and ojph::local::dec_mel_st::tmp.

Referenced by mel_get_run().

## ◆ mel_decode() [2/4]

void ojph::local::mel_decode | ( | dec_mel_st * | melp | ) |
| inlinestatic

Decodes unstuffed MEL segment bits stored in tmp to runs.

Runs are stored in "runs" and the number of runs in "num_runs". Each run represents a number of zero events that may or may not terminate in a 1 event. Each run is stored in 7 bits. The LSB is 1 if the run terminates in a 1 event, 0 otherwise. The next 6 bits, for the case terminating with 1, contain the number of consecutive 0 zero events * 2; for the case terminating with 0, they store (number of consecutive 0 zero events - 1) * 2. A total of 6 bits (made up of 1 + 5) should have been enough.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 170 of file ojph_block_decoder64.cpp.

References mel_read().

## ◆ mel_decode() [3/4]

void ojph::local::mel_decode | ( | dec_mel_st * | melp | ) |
| inlinestatic

Decodes unstuffed MEL segment bits stored in tmp to runs.

Runs are stored in "runs" and the number of runs in "num_runs". Each run represents a number of zero events that may or may not terminate in a 1 event. Each run is stored in 7 bits. The LSB is 1 if the run terminates in a 1 event, 0 otherwise. The next 6 bits, for the case terminating with 1, contain the number of consecutive 0 zero events * 2; for the case terminating with 0, they store (number of consecutive 0 zero events - 1) * 2. A total of 6 bits (made up of 1 + 5) should have been enough.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 180 of file ojph_block_decoder_vsx.cpp.

References mel_read().

## ◆ mel_decode() [4/4]

void ojph::local::mel_decode | ( | dec_mel_st * | melp | ) |
| inlinestatic

Decodes unstuffed MEL segment bits stored in tmp to runs.

Runs are stored in "runs" and the number of runs in "num_runs". Each run represents a number of zero events that may or may not terminate in a 1 event. Each run is stored in 7 bits. The LSB is 1 if the run terminates in a 1 event, 0 otherwise. The next 6 bits, for the case terminating with 1, contain the number of consecutive 0 zero events * 2; for the case terminating with 0, they store (number of consecutive 0 zero events - 1) * 2. A total of 6 bits (made up of 1 + 5) should have been enough.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 180 of file ojph_block_decoder_wasm.cpp.

References mel_read().

## ◆ mel_emit_bit()

void ojph::local::mel_emit_bit | ( | mel_struct * | melp,
|  | int | v )
| inlinestatic

Definition at line 303 of file ojph_block_encoder.cpp.

References ojph::local::mel_struct::buf, ojph::local::mel_struct::buf_size, OJPH_ERROR, ojph::local::mel_struct::pos, ojph::local::mel_struct::remaining_bits, and ojph::local::mel_struct::tmp.

Referenced by mel_encode(), and terminate_mel_vlc().

## ◆ mel_encode()

void ojph::local::mel_encode | ( | mel_struct * | melp,
|  | bool | bit )
| inlinestatic

Definition at line 321 of file ojph_block_encoder.cpp.

References ojph::local::mel_struct::k, mel_emit_bit(), ojph_max, ojph_min, ojph::local::mel_struct::run, and ojph::local::mel_struct::threshold.

Referenced by ojph_encode_codeblock32(), and ojph_encode_codeblock64().

## ◆ mel_get_run() [1/4]

int ojph::local::mel_get_run | ( | dec_mel_st * | melp | ) |
| inlinestatic

Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 260 of file ojph_block_decoder32.cpp.

References mel_decode(), ojph::local::dec_mel_st::num_runs, and ojph::local::dec_mel_st::runs.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ mel_get_run() [2/4]

int ojph::local::mel_get_run | ( | dec_mel_st * | melp | ) |
| inlinestatic

Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 260 of file ojph_block_decoder64.cpp.

References mel_decode().

## ◆ mel_get_run() [3/4]

int ojph::local::mel_get_run | ( | dec_mel_st * | melp | ) |
| inlinestatic

Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 270 of file ojph_block_decoder_vsx.cpp.

References mel_decode().

## ◆ mel_get_run() [4/4]

int ojph::local::mel_get_run | ( | dec_mel_st * | melp | ) |
| inlinestatic

Retrieves one run from dec_mel_st; if there are no runs stored MEL segment is decoded.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 270 of file ojph_block_decoder_wasm.cpp.

References mel_decode().

## ◆ mel_init() [1/5]

void ojph::local::mel_init | ( | dec_mel_st * | melp,
|  | ui8 * | bbuf,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure
  [in] | bbuf | is a pointer to byte buffer
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 221 of file ojph_block_decoder32.cpp.

References ojph::local::dec_mel_st::bits, ojph::local::dec_mel_st::data, ojph::local::dec_mel_st::k, ojph::local::dec_mel_st::num_runs, ojph::local::dec_mel_st::runs, ojph::local::dec_mel_st::size, ojph::local::dec_mel_st::tmp, and ojph::local::dec_mel_st::unstuff.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), ojph_decode_codeblock_wasm(), ojph_encode_codeblock32(), and ojph_encode_codeblock64().

## ◆ mel_init() [2/5]

void ojph::local::mel_init | ( | dec_mel_st * | melp,
|  | ui8 * | bbuf,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure
  [in] | bbuf | is a pointer to byte buffer
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 221 of file ojph_block_decoder64.cpp.

## ◆ mel_init() [3/5]

void ojph::local::mel_init | ( | dec_mel_st * | melp,
|  | ui8 * | bbuf,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure
  [in] | bbuf | is a pointer to byte buffer
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 231 of file ojph_block_decoder_vsx.cpp.

## ◆ mel_init() [4/5]

void ojph::local::mel_init | ( | dec_mel_st * | melp,
|  | ui8 * | bbuf,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates a dec_mel_st structure for MEL decoding and reads some bytes in order to get the read address to a multiple of 4.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure
  [in] | bbuf | is a pointer to byte buffer
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 231 of file ojph_block_decoder_wasm.cpp.

## ◆ mel_init() [5/5]

void ojph::local::mel_init | ( | mel_struct * | melp,
|  | ui32 | buffer_size,
|  | ui8 * | data )
| inlinestatic

Definition at line 289 of file ojph_block_encoder.cpp.

References ojph::local::mel_struct::buf, ojph::local::mel_struct::buf_size, ojph::local::mel_struct::k, ojph::local::mel_struct::pos, ojph::local::mel_struct::remaining_bits, ojph::local::mel_struct::run, ojph::local::mel_struct::threshold, and ojph::local::mel_struct::tmp.

## ◆ mel_read() [1/4]

void ojph::local::mel_read | ( | dec_mel_st * | melp | ) |
| inlinestatic

Reads and unstuffs the MEL bitstream.

This design needs more bytes in the codeblock buffer than the length of the cleanup pass by up to 2 bytes.

Unstuffing removes the MSB of the byte following a byte whose value is 0xFF; this prevents sequences larger than 0xFF7F in value from appearing the bitstream.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 93 of file ojph_block_decoder32.cpp.

References ojph::local::dec_mel_st::bits, ojph::local::dec_mel_st::data, ojph::load_le_ui32(), ojph::local::dec_mel_st::size, ojph::local::dec_mel_st::tmp, and ojph::local::dec_mel_st::unstuff.

Referenced by mel_decode().

## ◆ mel_read() [2/4]

void ojph::local::mel_read | ( | dec_mel_st * | melp | ) |
| inlinestatic

Reads and unstuffs the MEL bitstream.

This design needs more bytes in the codeblock buffer than the length of the cleanup pass by up to 2 bytes.

Unstuffing removes the MSB of the byte following a byte whose value is 0xFF; this prevents sequences larger than 0xFF7F in value from appearing the bitstream.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 93 of file ojph_block_decoder64.cpp.

References ojph::load_le_ui32().

## ◆ mel_read() [3/4]

void ojph::local::mel_read | ( | dec_mel_st * | melp | ) |
| inlinestatic

Reads and unstuffs the MEL bitstream.

This design needs more bytes in the codeblock buffer than the length of the cleanup pass by up to 2 bytes.

Unstuffing removes the MSB of the byte following a byte whose value is 0xFF; this prevents sequences larger than 0xFF7F in value from appearing the bitstream.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 103 of file ojph_block_decoder_vsx.cpp.

## ◆ mel_read() [4/4]

void ojph::local::mel_read | ( | dec_mel_st * | melp | ) |
| inlinestatic

Reads and unstuffs the MEL bitstream.

This design needs more bytes in the codeblock buffer than the length of the cleanup pass by up to 2 bytes.

Unstuffing removes the MSB of the byte following a byte whose value is 0xFF; this prevents sequences larger than 0xFF7F in value from appearing the bitstream.

Parameters

  [in] | melp | is a pointer to dec_mel_st structure

Definition at line 103 of file ojph_block_decoder_wasm.cpp.

## ◆ ms_encode()

void ojph::local::ms_encode | ( | ms_struct * | msp,
|  | ui32 | cwd,
|  | int | cwd_len )
| inlinestatic

Definition at line 471 of file ojph_block_encoder.cpp.

References ojph::local::ms_struct::buf, ojph::local::ms_struct::buf_size, ojph::local::ms_struct::max_bits, OJPH_ERROR, ojph_min, ojph::local::ms_struct::pos, ojph::local::ms_struct::tmp, and ojph::local::ms_struct::used_bits.

Referenced by ojph_encode_codeblock32().

## ◆ ms_encode64()

void ojph::local::ms_encode64 | ( | ms_struct * | msp,
|  | ui64 | cwd,
|  | int | cwd_len )
| inlinestatic

Definition at line 494 of file ojph_block_encoder.cpp.

References ojph::local::ms_struct::buf, ojph::local::ms_struct::buf_size, ojph::local::ms_struct::max_bits, OJPH_ERROR, ojph_min, ojph::local::ms_struct::pos, ojph::local::ms_struct::tmp, and ojph::local::ms_struct::used_bits.

Referenced by ojph_encode_codeblock64().

## ◆ ms_init()

void ojph::local::ms_init | ( | ms_struct * | msp,
|  | ui32 | buffer_size,
|  | ui8 * | data )
| inlinestatic

Definition at line 459 of file ojph_block_encoder.cpp.

References ojph::local::ms_struct::buf, ojph::local::ms_struct::buf_size, ojph::local::ms_struct::max_bits, ojph::local::ms_struct::pos, ojph::local::ms_struct::tmp, and ojph::local::ms_struct::used_bits.

Referenced by ojph_encode_codeblock32(), and ojph_encode_codeblock64().

## ◆ ms_terminate()

void ojph::local::ms_terminate | ( | ms_struct * | msp | ) |
| inlinestatic

Definition at line 517 of file ojph_block_encoder.cpp.

References ojph::local::ms_struct::buf, ojph::local::ms_struct::buf_size, ojph::local::ms_struct::max_bits, OJPH_ERROR, ojph::local::ms_struct::pos, ojph::local::ms_struct::tmp, and ojph::local::ms_struct::used_bits.

Referenced by ojph_encode_codeblock32(), and ojph_encode_codeblock64().

## ◆ ojph_convert_float_to_i32() [1/2]

v128_t ojph::local::ojph_convert_float_to_i32 | ( | v128_t | a | ) |
| inlinestatic

Definition at line 52 of file ojph_colour_vsx.cpp.

Referenced by local_vsx_irv_convert_to_integer(), local_wasm_irv_convert_to_integer(), vsx_cnvrt_float_to_si32(), vsx_cnvrt_float_to_si32_shftd(), wasm_cnvrt_float_to_si32(), and wasm_cnvrt_float_to_si32_shftd().

## ◆ ojph_convert_float_to_i32() [2/2]

v128_t ojph::local::ojph_convert_float_to_i32 | ( | v128_t | a,
|  | v128_t | zero,
|  | v128_t | half )
| inlinestatic

Definition at line 52 of file ojph_colour_wasm.cpp.

## ◆ ojph_decode_codeblock32()

bool ojph::local::ojph_decode_codeblock32 | ( | 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 )

Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.

Parameters

  [in] | coded_data | is a pointer to bitstream
  [in] | decoded_data | is a pointer to decoded codeblock data buf.
  [in] | missing_msbs | is the number of missing MSBs
  [in] | num_passes | is the number of passes: 1 if CUP only, 2 for CUP+SPP, and 3 for CUP+SPP+MRP
  [in] | lengths1 | is the length of cleanup pass
  [in] | lengths2 | is the length of refinement passes (either SPP only or SPP+MRP)
  [in] | width | is the decoded codeblock width
  [in] | height | is the decoded codeblock height
  [in] | stride | is the decoded codeblock buffer stride
  [in] | stripe_causal | is true for stripe causal mode

Definition at line 742 of file ojph_block_decoder32.cpp.

References ojph::count_leading_zeros(), frwd_advance(), frwd_fetch(), frwd_init(), ojph::load_le_ui16x2(), mel_get_run(), mel_init(), ojph_max, OJPH_WARN, ojph::population_count(), rev_advance(), rev_advance_mrp(), rev_fetch(), rev_fetch_mrp(), rev_init(), rev_init_mrp(), uvlc_tbl0, uvlc_tbl1, vlc_tbl0, and vlc_tbl1.

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_decode_codeblock64()

bool ojph::local::ojph_decode_codeblock64 | ( | 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 )

Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.

Parameters

  [in] | coded_data | is a pointer to bitstream
  [in] | decoded_data | is a pointer to decoded codeblock data buf.
  [in] | missing_msbs | is the number of missing MSBs
  [in] | num_passes | is the number of passes: 1 if CUP only, 2 for CUP+SPP, and 3 for CUP+SPP+MRP
  [in] | lengths1 | is the length of cleanup pass
  [in] | lengths2 | is the length of refinement passes (either SPP only or SPP+MRP)
  [in] | width | is the decoded codeblock width
  [in] | height | is the decoded codeblock height
  [in] | stride | is the decoded codeblock buffer stride
  [in] | stripe_causal | is true for stripe causal mode

Definition at line 766 of file ojph_block_decoder64.cpp.

References ojph::count_leading_zeros(), frwd_advance(), frwd_fetch(), frwd_fetch64(), frwd_init(), frwd_init8(), ojph::load_le_ui16x2(), mel_get_run(), mel_init(), ojph_max, OJPH_WARN, ojph::population_count(), rev_advance64(), rev_advance_mrp(), rev_fetch64(), rev_fetch_mrp(), rev_init8(), rev_init_mrp(), uvlc_bias, uvlc_tbl0, uvlc_tbl1, vlc_tbl0, and vlc_tbl1.

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_decode_codeblock_avx2()

bool ojph::local::ojph_decode_codeblock_avx2 | ( | 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 )

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_decode_codeblock_ssse3()

bool ojph::local::ojph_decode_codeblock_ssse3 | ( | 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 )

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_decode_codeblock_vsx()

bool ojph::local::ojph_decode_codeblock_vsx | ( | 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 )

Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.

Parameters

  [in] | coded_data | is a pointer to bitstream
  [in] | decoded_data | is a pointer to decoded codeblock data buf.
  [in] | missing_msbs | is the number of missing MSBs
  [in] | num_passes | is the number of passes: 1 if CUP only, 2 for CUP+SPP, and 3 for CUP+SPP+MRP
  [in] | lengths1 | is the length of cleanup pass
  [in] | lengths2 | is the length of refinement passes (either SPP only or SPP+MRP)
  [in] | width | is the decoded codeblock width
  [in] | height | is the decoded codeblock height
  [in] | stride | is the decoded codeblock buffer stride
  [in] | stripe_causal | is true for stripe causal mode

Definition at line 1154 of file ojph_block_decoder_vsx.cpp.

References decode_one_quad32(), decode_two_quad16(), destuff_frwd(), frwd_advance(), frwd_fetch(), frwd_init(), mel_get_run(), mel_init(), ojph_max, OJPH_REPEAT16, OJPH_REPEAT2, OJPH_REPEAT4, OJPH_REPEAT8, OJPH_WARN, rev_advance(), rev_advance_mrp(), rev_fetch(), rev_fetch_mrp(), rev_init(), rev_init_mrp(), uvlc_tbl0, uvlc_tbl1, vlc_tbl0, vlc_tbl1, vsx_i16x8_const(), vsx_i16x8_max(), vsx_i16x8_shuffle, vsx_i16x8_splat(), vsx_i16x8_sub(), vsx_i32x4_add(), vsx_i32x4_const(), vsx_i32x4_eq(), vsx_i32x4_gt(), vsx_i32x4_shl(), vsx_i32x4_shuffle, vsx_i32x4_splat(), vsx_i32x4_sub(), vsx_i64x2_const(), vsx_i64x2_shuffle, vsx_i8x16_abs(), vsx_i8x16_add(), vsx_i8x16_bitmask(), vsx_i8x16_const(), vsx_i8x16_eq(), vsx_i8x16_shuffle, vsx_i8x16_swizzle(), vsx_u16x8_shr(), vsx_u32x4_extract_lane, vsx_u32x4_shr(), vsx_u32x4_splat(), vsx_u64x2_const(), vsx_u8x16_extract_lane, vsx_u8x16_min(), vsx_v128_and(), vsx_v128_andnot(), vsx_v128_load(), vsx_v128_or(), vsx_v128_store(), vsx_v128_store32_lane, and vsx_v128_xor().

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_decode_codeblock_wasm()

bool ojph::local::ojph_decode_codeblock_wasm | ( | 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 )

Decodes one codeblock, processing the cleanup, siginificance propagation, and magnitude refinement pass.

Parameters

  [in] | coded_data | is a pointer to bitstream
  [in] | decoded_data | is a pointer to decoded codeblock data buf.
  [in] | missing_msbs | is the number of missing MSBs
  [in] | num_passes | is the number of passes: 1 if CUP only, 2 for CUP+SPP, and 3 for CUP+SPP+MRP
  [in] | lengths1 | is the length of cleanup pass
  [in] | lengths2 | is the length of refinement passes (either SPP only or SPP+MRP)
  [in] | width | is the decoded codeblock width
  [in] | height | is the decoded codeblock height
  [in] | stride | is the decoded codeblock buffer stride
  [in] | stripe_causal | is true for stripe causal mode

Definition at line 1051 of file ojph_block_decoder_wasm.cpp.

References decode_one_quad32(), decode_two_quad16(), frwd_advance(), frwd_fetch(), frwd_init(), mel_get_run(), mel_init(), ojph_max, OJPH_REPEAT16, OJPH_REPEAT2, OJPH_REPEAT4, OJPH_REPEAT8, OJPH_WARN, rev_advance(), rev_advance_mrp(), rev_fetch(), rev_fetch_mrp(), rev_init(), rev_init_mrp(), uvlc_tbl0, uvlc_tbl1, vlc_tbl0, and vlc_tbl1.

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_encode_codeblock32()

void ojph::local::ojph_encode_codeblock32 | ( | 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 )

Definition at line 542 of file ojph_block_encoder.cpp.

References ojph::coded_lists::avail_size, ojph::coded_lists::buf, ojph::local::mel_struct::buf, ojph::local::ms_struct::buf, ojph::local::vlc_struct::buf, ojph::count_leading_zeros(), ojph::mem_elastic_allocator::get_buffer(), mel_encode(), mel_init(), ms_encode(), ms_init(), ms_terminate(), ojph_max, ojph_min, ojph::local::mel_struct::pos, ojph::local::ms_struct::pos, ojph::local::vlc_struct::pos, terminate_mel_vlc(), uvlc_tbl, vlc_encode(), vlc_init(), vlc_tbl0, and vlc_tbl1.

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_encode_codeblock64()

void ojph::local::ojph_encode_codeblock64 | ( | 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 )

Definition at line 1026 of file ojph_block_encoder.cpp.

References ojph::coded_lists::avail_size, ojph::coded_lists::buf, ojph::local::mel_struct::buf, ojph::local::ms_struct::buf, ojph::local::vlc_struct::buf, ojph::count_leading_zeros(), ojph::mem_elastic_allocator::get_buffer(), mel_encode(), mel_init(), ms_encode64(), ms_init(), ms_terminate(), ojph_max, ojph_min, ojph::local::mel_struct::pos, ojph::local::ms_struct::pos, ojph::local::vlc_struct::pos, terminate_mel_vlc(), uvlc_tbl, vlc_encode(), vlc_init(), vlc_tbl0, and vlc_tbl1.

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_encode_codeblock_avx2()

void ojph::local::ojph_encode_codeblock_avx2 | ( | 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 )

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_encode_codeblock_avx512()

void ojph::local::ojph_encode_codeblock_avx512 | ( | 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 )

Referenced by ojph::local::codeblock_fun::init().

## ◆ ojph_vsx_i32x4_max_ge()

v128_t ojph::local::ojph_vsx_i32x4_max_ge | ( | v128_t | a,
|  | v128_t | b,
|  | v128_t | x,
|  | v128_t | y )
| inlinestatic

Definition at line 277 of file ojph_colour_vsx.cpp.

References vsx_f32x4_ge().

Referenced by local_vsx_irv_convert_to_integer().

## ◆ ojph_vsx_i32x4_min_lt()

v128_t ojph::local::ojph_vsx_i32x4_min_lt | ( | v128_t | a,
|  | v128_t | b,
|  | v128_t | x,
|  | v128_t | y )
| inlinestatic

Definition at line 285 of file ojph_colour_vsx.cpp.

References vsx_f32x4_lt().

Referenced by local_vsx_irv_convert_to_integer().

## ◆ ojph_wasm_i32x4_max_ge()

v128_t ojph::local::ojph_wasm_i32x4_max_ge | ( | v128_t | a,
|  | v128_t | b,
|  | v128_t | x,
|  | v128_t | y )
| inlinestatic

Definition at line 280 of file ojph_colour_wasm.cpp.

Referenced by local_wasm_irv_convert_to_integer().

## ◆ ojph_wasm_i32x4_min_lt()

v128_t ojph::local::ojph_wasm_i32x4_min_lt | ( | v128_t | a,
|  | v128_t | b,
|  | v128_t | x,
|  | v128_t | y )
| inlinestatic

Definition at line 290 of file ojph_colour_wasm.cpp.

Referenced by local_wasm_irv_convert_to_integer().

## ◆ rev_advance() [1/3]

ui32 ojph::local::rev_advance | ( | rev_struct * | vlcp,
|  | ui32 | num_bits )
| inlinestatic

Consumes num_bits from a rev_struct structure.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | num_bits | is the number of bits to be removed

Definition at line 433 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, and ojph::local::rev_struct::tmp.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ rev_advance() [2/3]

ui32 ojph::local::rev_advance | ( | rev_struct * | vlcp,
|  | ui32 | num_bits )
| inlinestatic

Consumes num_bits from a rev_struct structure.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | num_bits | is the number of bits to be removed

Definition at line 443 of file ojph_block_decoder_vsx.cpp.

## ◆ rev_advance() [3/3]

ui32 ojph::local::rev_advance | ( | rev_struct * | vlcp,
|  | ui32 | num_bits )
| inlinestatic

Consumes num_bits from a rev_struct structure.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | num_bits | is the number of bits to be removed

Definition at line 443 of file ojph_block_decoder_wasm.cpp.

## ◆ rev_advance64()

ui64 ojph::local::rev_advance64 | ( | rev_struct * | vlcp,
|  | ui32 | num_bits )
| inlinestatic

Consumes num_bits from a rev_struct structure.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | num_bits | is the number of bits to be removed

Definition at line 385 of file ojph_block_decoder64.cpp.

Referenced by ojph_decode_codeblock64().

## ◆ rev_advance_mrp() [1/2]

ui32 ojph::local::rev_advance_mrp | ( | rev_struct * | mrp,
|  | ui32 | num_bits )
| inlinestatic

Consumes num_bits from a rev_struct structure.

Parameters

  [in] | mrp | is a pointer to rev_struct structure
  [in] | num_bits | is the number of bits to be removed

Definition at line 569 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, and ojph::local::rev_struct::tmp.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ rev_advance_mrp() [2/2]

ui32 ojph::local::rev_advance_mrp | ( | rev_struct * | mrp,
|  | ui32 | num_bits )
| inlinestatic

Consumes num_bits from a rev_struct structure.

Parameters

  [in] | mrp | is a pointer to rev_struct structure
  [in] | num_bits | is the number of bits to be removed

Definition at line 521 of file ojph_block_decoder64.cpp.

## ◆ rev_fetch() [1/3]

ui32 ojph::local::rev_fetch | ( | rev_struct * | vlcp | ) |
| inlinestatic

Retrieves 32 bits from the head of a rev_struct structure.

By the end of this call, vlcp->tmp must have no less than 33 bits

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 415 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, rev_read(), and ojph::local::rev_struct::tmp.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ rev_fetch() [2/3]

ui32 ojph::local::rev_fetch | ( | rev_struct * | vlcp | ) |
| inlinestatic

Retrieves 32 bits from the head of a rev_struct structure.

By the end of this call, vlcp->tmp must have no less than 33 bits

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 425 of file ojph_block_decoder_vsx.cpp.

References rev_read().

## ◆ rev_fetch() [3/3]

ui32 ojph::local::rev_fetch | ( | rev_struct * | vlcp | ) |
| inlinestatic

Retrieves 32 bits from the head of a rev_struct structure.

By the end of this call, vlcp->tmp must have no less than 33 bits

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 425 of file ojph_block_decoder_wasm.cpp.

References rev_read().

## ◆ rev_fetch64()

ui64 ojph::local::rev_fetch64 | ( | rev_struct * | vlcp | ) |
| inlinestatic

Fills the temporary variable (vlcp->tmp) by up to 64 bits.

By the end of this call, vlcp->tmp must have no less than 56 bits

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 371 of file ojph_block_decoder64.cpp.

References rev_read8().

Referenced by ojph_decode_codeblock64().

## ◆ rev_fetch_mrp() [1/4]

ui32 ojph::local::rev_fetch_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Retrieves 32 bits from the head of a rev_struct structure.

By the end of this call, mrp->tmp must have no less than 33 bits

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 551 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, rev_read_mrp(), and ojph::local::rev_struct::tmp.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ rev_fetch_mrp() [2/4]

ui32 ojph::local::rev_fetch_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Retrieves 32 bits from the head of a rev_struct structure.

By the end of this call, mrp->tmp must have no less than 33 bits

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 503 of file ojph_block_decoder64.cpp.

References rev_read_mrp().

## ◆ rev_fetch_mrp() [3/4]

ui32 ojph::local::rev_fetch_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Retrieves 32 bits from the head of a rev_struct structure.

By the end of this call, mrp->tmp must have no less than 33 bits

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 561 of file ojph_block_decoder_vsx.cpp.

References rev_read_mrp().

## ◆ rev_fetch_mrp() [4/4]

ui32 ojph::local::rev_fetch_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Retrieves 32 bits from the head of a rev_struct structure.

By the end of this call, mrp->tmp must have no less than 33 bits

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 561 of file ojph_block_decoder_wasm.cpp.

References rev_read_mrp().

## ◆ rev_init() [1/3]

void ojph::local::rev_init | ( | rev_struct * | vlcp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates the rev_struct structure and reads a few bytes to move the read address to multiple of 4.

There is another similar rev_init_mrp subroutine. The difference is that this one, rev_init, discards the first 12 bits (they have the sum of the lengths of VLC and MEL segments), and first unstuff depends on first 4 bits.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 374 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, ojph::local::rev_struct::data, rev_read(), ojph::local::rev_struct::size, ojph::local::rev_struct::tmp, and ojph::local::rev_struct::unstuff.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ rev_init() [2/3]

void ojph::local::rev_init | ( | rev_struct * | vlcp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates the rev_struct structure and reads a few bytes to move the read address to multiple of 4.

There is another similar rev_init_mrp subroutine. The difference is that this one, rev_init, discards the first 12 bits (they have the sum of the lengths of VLC and MEL segments), and first unstuff depends on first 4 bits.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 384 of file ojph_block_decoder_vsx.cpp.

References rev_read().

## ◆ rev_init() [3/3]

void ojph::local::rev_init | ( | rev_struct * | vlcp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates the rev_struct structure and reads a few bytes to move the read address to multiple of 4.

There is another similar rev_init_mrp subroutine. The difference is that this one, rev_init, discards the first 12 bits (they have the sum of the lengths of VLC and MEL segments), and first unstuff depends on first 4 bits.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 384 of file ojph_block_decoder_wasm.cpp.

References rev_read().

## ◆ rev_init8()

void ojph::local::rev_init8 | ( | rev_struct * | vlcp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | scup )
| inlinestatic

Initiates the rev_struct structure and reads the first byte.

This subroutine initializes the VLC decoder. It discards the first 12 bits (they have the sum of the lengths of VLC and MEL segments), and depending on unstuffing, stores 3 or 4 bits in the unstuffed decoded buffer.

Parameters

  [in] | vlcp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | scup | is the length of MEL+VLC segments

Definition at line 343 of file ojph_block_decoder64.cpp.

Referenced by ojph_decode_codeblock64().

## ◆ rev_init_mrp() [1/4]

void ojph::local::rev_init_mrp | ( | rev_struct * | mrp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | len2 )
| inlinestatic

Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.

There is another similar subroutine rev_init. This subroutine does NOT skip the first 12 bits, and starts with unstuff set to true.

Parameters

  [in] | mrp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | len2 | is the length of SPP+MRP segments

Definition at line 517 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, ojph::local::rev_struct::data, rev_read_mrp(), ojph::local::rev_struct::size, ojph::local::rev_struct::tmp, and ojph::local::rev_struct::unstuff.

Referenced by ojph_decode_codeblock32(), ojph_decode_codeblock64(), ojph_decode_codeblock_vsx(), and ojph_decode_codeblock_wasm().

## ◆ rev_init_mrp() [2/4]

void ojph::local::rev_init_mrp | ( | rev_struct * | mrp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | len2 )
| inlinestatic

Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.

There is another similar subroutine rev_init. This subroutine does NOT skip the first 12 bits, and starts with unstuff set to true.

Parameters

  [in] | mrp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | len2 | is the length of SPP+MRP segments

Definition at line 469 of file ojph_block_decoder64.cpp.

References rev_read_mrp().

## ◆ rev_init_mrp() [3/4]

void ojph::local::rev_init_mrp | ( | rev_struct * | mrp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | len2 )
| inlinestatic

Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.

There is another similar subroutine rev_init. This subroutine does NOT skip the first 12 bits, and starts with unstuff set to true.

Parameters

  [in] | mrp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | len2 | is the length of SPP+MRP segments

Definition at line 527 of file ojph_block_decoder_vsx.cpp.

References rev_read_mrp().

## ◆ rev_init_mrp() [4/4]

void ojph::local::rev_init_mrp | ( | rev_struct * | mrp,
|  | ui8 * | data,
|  | int | lcup,
|  | int | len2 )
| inlinestatic

Initialized rev_struct structure for MRP segment, and reads a number of bytes such that the next 32 bits read are from an address that is a multiple of 4. Note this is designed for an architecture that read size must be compatible with the alignment of the read address.

There is another similar subroutine rev_init. This subroutine does NOT skip the first 12 bits, and starts with unstuff set to true.

Parameters

  [in] | mrp | is a pointer to rev_struct structure
  [in] | data | is a pointer to byte at the start of the cleanup pass
  [in] | lcup | is the length of MagSgn+MEL+VLC segments
  [in] | len2 | is the length of SPP+MRP segments

Definition at line 527 of file ojph_block_decoder_wasm.cpp.

References rev_read_mrp().

## ◆ rev_read() [1/3]

void ojph::local::rev_read | ( | rev_struct * | vlcp | ) |
| inlinestatic

Read and unstuff data from a backwardly-growing segment.

This reader can read up to 8 bytes from before the VLC segment. Care must be taken not read from unreadable memory, causing a segmentation fault.

Note that there is another subroutine rev_read_mrp that is slightly different. The other one fills zeros when the buffer is exhausted. This one basically does not care if the bytes are consumed, because any extra data should not be used in the actual decoding.

Unstuffing is needed to prevent sequences more than 0xFF8F from appearing in the bits stream; since we are reading backward, we keep watch when a value larger than 0x8F appears in the bitstream. If the byte following this is 0x7F, we unstuff this byte (ignore the MSB of that byte, which should be 0).

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 308 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, ojph::local::rev_struct::data, ojph::load_le_ui32(), ojph::local::rev_struct::size, ojph::local::rev_struct::tmp, and ojph::local::rev_struct::unstuff.

Referenced by rev_fetch(), and rev_init().

## ◆ rev_read() [2/3]

void ojph::local::rev_read | ( | rev_struct * | vlcp | ) |
| inlinestatic

Read and unstuff data from a backwardly-growing segment.

This reader can read up to 8 bytes from before the VLC segment. Care must be taken not read from unreadable memory, causing a segmentation fault.

Note that there is another subroutine rev_read_mrp that is slightly different. The other one fills zeros when the buffer is exhausted. This one basically does not care if the bytes are consumed, because any extra data should not be used in the actual decoding.

Unstuffing is needed to prevent sequences more than 0xFF8F from appearing in the bits stream; since we are reading backward, we keep watch when a value larger than 0x8F appears in the bitstream. If the byte following this is 0x7F, we unstuff this byte (ignore the MSB of that byte, which should be 0).

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 318 of file ojph_block_decoder_vsx.cpp.

## ◆ rev_read() [3/3]

void ojph::local::rev_read | ( | rev_struct * | vlcp | ) |
| inlinestatic

Read and unstuff data from a backwardly-growing segment.

This reader can read up to 8 bytes from before the VLC segment. Care must be taken not read from unreadable memory, causing a segmentation fault.

Note that there is another subroutine rev_read_mrp that is slightly different. The other one fills zeros when the buffer is exhausted. This one basically does not care if the bytes are consumed, because any extra data should not be used in the actual decoding.

Unstuffing is needed to prevent sequences more than 0xFF8F from appearing in the bits stream; since we are reading backward, we keep watch when a value larger than 0x8F appears in the bitstream. If the byte following this is 0x7F, we unstuff this byte (ignore the MSB of that byte, which should be 0).

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 318 of file ojph_block_decoder_wasm.cpp.

## ◆ rev_read8()

void ojph::local::rev_read8 | ( | rev_struct * | vlcp | ) |
| inlinestatic

Read and unstuff data from a backwardly-growing segment.

This reader reads 8 bits from the VLC segment. It fills zeros when the buffer is exhausted; we basically do not care about these zeros because we should not need them – any extra data should not be used in the actual decoding. If these bytes are needed, then there is a problem in the bitstream, but we do not flag this error.

Unstuffing is needed to prevent sequences larger than 0xFF8F from appearing in the bits stream; since we are reading backward, we keep watch when a value larger than 0x8F appears in the bitstream. If the byte following this is 0x7F, we unstuff this byte (ignore the MSB of that byte, which should be 0).

Parameters

  [in] | vlcp | is a pointer to rev_struct structure

Definition at line 305 of file ojph_block_decoder64.cpp.

Referenced by rev_fetch64().

## ◆ rev_read_mrp() [1/4]

void ojph::local::rev_read_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Reads and unstuffs from rev_struct.

This is different than rev_read in that this fills in zeros when the the available data is consumed. The other does not care about the values when all data is consumed.

See rev_read for more information about unstuffing

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 453 of file ojph_block_decoder32.cpp.

References ojph::local::rev_struct::bits, ojph::local::rev_struct::data, ojph::load_le_ui32(), ojph::local::rev_struct::size, ojph::local::rev_struct::tmp, and ojph::local::rev_struct::unstuff.

Referenced by rev_fetch_mrp(), and rev_init_mrp().

## ◆ rev_read_mrp() [2/4]

void ojph::local::rev_read_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Reads and unstuffs from rev_struct.

This is different than rev_read in that this fills in zeros when the the available data is consumed. The other does not care about the values when all data is consumed.

See rev_read for more information about unstuffing

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 405 of file ojph_block_decoder64.cpp.

References ojph::load_le_ui32().

## ◆ rev_read_mrp() [3/4]

void ojph::local::rev_read_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Reads and unstuffs from rev_struct.

This is different than rev_read in that this fills in zeros when the the available data is consumed. The other does not care about the values when all data is consumed.

See rev_read for more information about unstuffing

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 463 of file ojph_block_decoder_vsx.cpp.

## ◆ rev_read_mrp() [4/4]

void ojph::local::rev_read_mrp | ( | rev_struct * | mrp | ) |
| inlinestatic

Reads and unstuffs from rev_struct.

This is different than rev_read in that this fills in zeros when the the available data is consumed. The other does not care about the values when all data is consumed.

See rev_read for more information about unstuffing

Parameters

  [in] | mrp | is a pointer to rev_struct structure

Definition at line 463 of file ojph_block_decoder_wasm.cpp.

## ◆ skip_marker()

int ojph::local::skip_marker | ( | infile_base * | file,
|  | const char * | marker,
|  | const char * | msg,
|  | int | msg_level,
|  | bool | resilient )
| static

Definition at line 734 of file ojph_codestream_local.cpp.

References OJPH_ERROR, OJPH_INFO, ojph::OJPH_MSG_ERROR, ojph::OJPH_MSG_INFO, ojph::OJPH_MSG_NO_MSG, ojph::OJPH_MSG_WARN, ojph::infile_base::OJPH_SEEK_CUR, ojph_unused, OJPH_WARN, ojph::infile_base::read(), and ojph::swap_bytes_if_le().

Referenced by ojph::local::codestream::read(), and ojph::local::codestream::read_headers().

## ◆ sse2_find_max_val32()

ui32 ojph::local::sse2_find_max_val32 | ( | ui32 * | address | ) |

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_find_max_val64()

ui64 ojph::local::sse2_find_max_val64 | ( | ui64 * | address | ) |

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_irv_convert_to_float()

void ojph::local::sse2_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ sse2_irv_convert_to_float_nlt_type3()

void ojph::local::sse2_irv_convert_to_float_nlt_type3 | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ sse2_irv_convert_to_integer()

void ojph::local::sse2_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ sse2_irv_convert_to_integer_nlt_type3()

void ojph::local::sse2_irv_convert_to_integer_nlt_type3 | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ sse2_irv_tx_from_cb32()

void ojph::local::sse2_irv_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_irv_tx_to_cb32()

void ojph::local::sse2_irv_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_rct_backward()

void ojph::local::sse2_rct_backward | ( | const line_buf * | y,
|  | const line_buf * | cb,
|  | const line_buf * | cr,
|  | line_buf * | r,
|  | line_buf * | g,
|  | line_buf * | b,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ sse2_rct_forward()

void ojph::local::sse2_rct_forward | ( | const line_buf * | r,
|  | const line_buf * | g,
|  | const line_buf * | b,
|  | line_buf * | y,
|  | line_buf * | cb,
|  | line_buf * | cr,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ sse2_rev_convert()

void ojph::local::sse2_rev_convert | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ sse2_rev_convert_nlt_type3()

void ojph::local::sse2_rev_convert_nlt_type3 | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Referenced by init_colour_transform_functions().

## ◆ sse2_rev_horz_ana()

void ojph::local::sse2_rev_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ sse2_rev_horz_syn()

void ojph::local::sse2_rev_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ sse2_rev_tx_from_cb32()

void ojph::local::sse2_rev_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_rev_tx_from_cb64()

void ojph::local::sse2_rev_tx_from_cb64 | ( | const ui64 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_rev_tx_to_cb32()

void ojph::local::sse2_rev_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_rev_tx_to_cb64()

void ojph::local::sse2_rev_tx_to_cb64 | ( | const void * | sp,
|  | ui64 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui64 * | max_val )

Referenced by ojph::local::codeblock_fun::init().

## ◆ sse2_rev_vert_step()

void ojph::local::sse2_rev_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Referenced by init_wavelet_transform_functions().

## ◆ sse_ict_backward()

void ojph::local::sse_ict_backward | ( | const float * | y,
|  | const float * | cb,
|  | const float * | cr,
|  | float * | r,
|  | float * | g,
|  | float * | b,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ sse_ict_forward()

void ojph::local::sse_ict_forward | ( | const float * | r,
|  | const float * | g,
|  | const float * | b,
|  | float * | y,
|  | float * | cb,
|  | float * | cr,
|  | ui32 | repeat )

Referenced by init_colour_transform_functions().

## ◆ sse_irv_horz_ana()

void ojph::local::sse_irv_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ sse_irv_horz_syn()

void ojph::local::sse_irv_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Referenced by init_wavelet_transform_functions().

## ◆ sse_irv_vert_step()

void ojph::local::sse_irv_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Referenced by init_wavelet_transform_functions().

## ◆ sse_irv_vert_times_K()

void ojph::local::sse_irv_vert_times_K | ( | float | K,
|  | const line_buf * | aug,
|  | ui32 | repeat )

Referenced by init_wavelet_transform_functions().

## ◆ sse_mem_clear()

void ojph::local::sse_mem_clear | ( | void * | addr,
|  | size_t | count )

Referenced by ojph::local::codeblock_fun::init().

## ◆ terminate_mel_vlc()

void ojph::local::terminate_mel_vlc | ( | mel_struct * | melp,
|  | vlc_struct * | vlcp )
| inlinestatic

Definition at line 413 of file ojph_block_encoder.cpp.

References ojph::local::mel_struct::buf, ojph::local::vlc_struct::buf, ojph::local::mel_struct::buf_size, ojph::local::vlc_struct::buf_size, mel_emit_bit(), OJPH_ERROR, ojph::local::mel_struct::pos, ojph::local::vlc_struct::pos, ojph::local::mel_struct::remaining_bits, ojph::local::mel_struct::run, ojph::local::mel_struct::tmp, ojph::local::vlc_struct::tmp, and ojph::local::vlc_struct::used_bits.

Referenced by ojph_encode_codeblock32(), and ojph_encode_codeblock64().

## ◆ uvlc_init_tables()

bool ojph::local::uvlc_init_tables | ( |  | ) |
| static

Definition at line 196 of file ojph_block_encoder.cpp.

References num_uvlc_entries, and uvlc_tbl.

## ◆ vlc_encode()

void ojph::local::vlc_encode | ( | vlc_struct * | vlcp,
|  | int | cwd,
|  | int | cwd_len )
| inlinestatic

Definition at line 379 of file ojph_block_encoder.cpp.

References ojph::local::vlc_struct::buf, ojph::local::vlc_struct::buf_size, ojph::local::vlc_struct::last_greater_than_8F, OJPH_ERROR, ojph_min, ojph::local::vlc_struct::pos, ojph::local::vlc_struct::tmp, and ojph::local::vlc_struct::used_bits.

Referenced by ojph_encode_codeblock32(), and ojph_encode_codeblock64().

## ◆ vlc_init()

void ojph::local::vlc_init | ( | vlc_struct * | vlcp,
|  | ui32 | buffer_size,
|  | ui8 * | data )
| inlinestatic

Definition at line 365 of file ojph_block_encoder.cpp.

References ojph::local::vlc_struct::buf, ojph::local::vlc_struct::buf_size, ojph::local::vlc_struct::last_greater_than_8F, ojph::local::vlc_struct::pos, ojph::local::vlc_struct::tmp, and ojph::local::vlc_struct::used_bits.

Referenced by ojph_encode_codeblock32(), and ojph_encode_codeblock64().

## ◆ vlc_init_tables()

bool ojph::local::vlc_init_tables | ( |  | ) |
| static

Definition at line 76 of file ojph_block_encoder.cpp.

References ojph::population_count(), vlc_tbl0, and vlc_tbl1.

## ◆ vsx_cnvrt_float_to_si32()

void ojph::local::vsx_cnvrt_float_to_si32 | ( | const float * | sp,
|  | si32 * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 261 of file ojph_colour_vsx.cpp.

References ojph_convert_float_to_i32(), vsx_f32x4_add(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_v128_load(), and vsx_v128_store().

## ◆ vsx_cnvrt_float_to_si32_shftd()

void ojph::local::vsx_cnvrt_float_to_si32_shftd | ( | const float * | sp,
|  | si32 * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 245 of file ojph_colour_vsx.cpp.

References ojph_convert_float_to_i32(), vsx_f32x4_add(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_v128_load(), and vsx_v128_store().

## ◆ vsx_cnvrt_si32_to_float()

void ojph::local::vsx_cnvrt_si32_to_float | ( | const si32 * | sp,
|  | float * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 231 of file ojph_colour_vsx.cpp.

References vsx_f32x4_convert_i32x4(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_v128_load(), and vsx_v128_store().

## ◆ vsx_cnvrt_si32_to_float_shftd()

void ojph::local::vsx_cnvrt_si32_to_float_shftd | ( | const si32 * | sp,
|  | float * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 215 of file ojph_colour_vsx.cpp.

References vsx_f32x4_convert_i32x4(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_f32x4_sub(), vsx_v128_load(), and vsx_v128_store().

## ◆ vsx_deinterleave32()

void ojph::local::vsx_deinterleave32 | ( | float * | dpl,
|  | float * | dph,
|  | float * | sp,
|  | int | width )
| inlinestatic

Definition at line 55 of file ojph_transform_vsx.cpp.

References vsx_i32x4_shuffle, vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_irv_horz_ana(), and vsx_rev_horz_ana32().

## ◆ vsx_deinterleave64()

void ojph::local::vsx_deinterleave64 | ( | void * | dpl,
|  | void * | dph,
|  | const void * | sp,
|  | int | width )
| inlinestatic

Definition at line 89 of file ojph_transform_vsx.cpp.

References vsx_i64x2_shuffle, vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_horz_ana64().

## ◆ vsx_dfetch()

v128_t ojph::local::vsx_dfetch | ( | const ui8 * | dbuf,
|  | ui32 | limit,
|  | ui32 | pos )
| inlinestatic

Fetches 128 bits from a destuffed bitstream buffer.

Returns the 128 bits starting at bit position pos of the buffer produced by destuff_frwd. Carries no serial state; fetches at independent positions can execute out of order. The byte offset is clamped to limit so that positions past the end of the stream read from the padding without leaving the buffer.

Parameters

  [in] | dbuf | is the destuffed bitstream buffer
  [in] | limit | is the clamp offset returned by destuff_frwd
  [in] | pos | is the absolute bit position to fetch from

Definition at line 873 of file ojph_block_decoder_vsx.cpp.

References vsx_i64x2_shl(), vsx_u64x2_shr(), vsx_v128_load(), and vsx_v128_or().

Referenced by decode_two_quad16().

## ◆ vsx_find_max_val32()

ui32 ojph::local::vsx_find_max_val32 | ( | ui32 * | address | ) |

Definition at line 56 of file ojph_codestream_vsx.cpp.

References vsx_i32x4_extract_lane, vsx_i32x4_shuffle, vsx_v128_load(), and vsx_v128_or().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_find_max_val64()

ui64 ojph::local::vsx_find_max_val64 | ( | ui64 * | address | ) |

Definition at line 68 of file ojph_codestream_vsx.cpp.

References vsx_i64x2_extract_lane, vsx_i64x2_shuffle, vsx_v128_load(), and vsx_v128_or().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_ict_backward()

void ojph::local::vsx_ict_backward | ( | const float * | y,
|  | const float * | cb,
|  | const float * | cr,
|  | float * | r,
|  | float * | g,
|  | float * | b,
|  | ui32 | repeat )

Definition at line 645 of file ojph_colour_vsx.cpp.

References ojph::local::CT_CNST::GAMMA_CB2B, ojph::local::CT_CNST::GAMMA_CB2G, ojph::local::CT_CNST::GAMMA_CR2G, ojph::local::CT_CNST::GAMMA_CR2R, vsx_f32x4_add(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_f32x4_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_colour_transform_functions().

## ◆ vsx_ict_forward()

void ojph::local::vsx_ict_forward | ( | const float * | r,
|  | const float * | g,
|  | const float * | b,
|  | float * | y,
|  | float * | cb,
|  | float * | cr,
|  | ui32 | repeat )

Definition at line 620 of file ojph_colour_vsx.cpp.

References ojph::local::CT_CNST::ALPHA_BF, ojph::local::CT_CNST::ALPHA_GF, ojph::local::CT_CNST::ALPHA_RF, ojph::local::CT_CNST::BETA_CbF, ojph::local::CT_CNST::BETA_CrF, vsx_f32x4_add(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_f32x4_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_colour_transform_functions().

## ◆ vsx_interleave32()

void ojph::local::vsx_interleave32 | ( | float * | dp,
|  | float * | spl,
|  | float * | sph,
|  | int | width )
| inlinestatic

Definition at line 72 of file ojph_transform_vsx.cpp.

References vsx_i32x4_shuffle, vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_irv_horz_syn(), and vsx_rev_horz_syn32().

## ◆ vsx_interleave64()

void ojph::local::vsx_interleave64 | ( | void * | dp,
|  | const void * | spl,
|  | const void * | sph,
|  | int | width )
| inlinestatic

Definition at line 107 of file ojph_transform_vsx.cpp.

References vsx_i64x2_shuffle, vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_horz_syn64().

## ◆ vsx_irv_convert_to_float()

void ojph::local::vsx_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 423 of file ojph_colour_vsx.cpp.

References local_vsx_irv_convert_to_float().

Referenced by init_colour_transform_functions().

## ◆ vsx_irv_convert_to_float_nlt_type3()

void ojph::local::vsx_irv_convert_to_float_nlt_type3 | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 432 of file ojph_colour_vsx.cpp.

References local_vsx_irv_convert_to_float().

Referenced by init_colour_transform_functions().

## ◆ vsx_irv_convert_to_integer()

void ojph::local::vsx_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 356 of file ojph_colour_vsx.cpp.

References local_vsx_irv_convert_to_integer().

Referenced by init_colour_transform_functions().

## ◆ vsx_irv_convert_to_integer_nlt_type3()

void ojph::local::vsx_irv_convert_to_integer_nlt_type3 | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 365 of file ojph_colour_vsx.cpp.

References local_vsx_irv_convert_to_integer().

Referenced by init_colour_transform_functions().

## ◆ vsx_irv_horz_ana()

void ojph::local::vsx_irv_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Definition at line 166 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, ojph::local::param_atk::get_K(), ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::local::lifting_step::irv, vsx_deinterleave32(), vsx_f32x4_add(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_multiply_const(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_wavelet_transform_functions().

## ◆ vsx_irv_horz_syn()

void ojph::local::vsx_irv_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 244 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, ojph::local::param_atk::get_K(), ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::local::lifting_step::irv, vsx_f32x4_add(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_f32x4_sub(), vsx_interleave32(), vsx_multiply_const(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_wavelet_transform_functions().

## ◆ vsx_irv_tx_from_cb32()

void ojph::local::vsx_irv_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 199 of file ojph_codestream_vsx.cpp.

References ojph_unused, vsx_f32x4_convert_i32x4(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_i32x4_splat(), vsx_v128_and(), vsx_v128_andnot(), vsx_v128_load(), vsx_v128_or(), and vsx_v128_store().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_irv_tx_to_cb32()

void ojph::local::vsx_irv_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Definition at line 126 of file ojph_codestream_vsx.cpp.

References ojph_unused, vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_i32x4_add(), vsx_i32x4_gt(), vsx_i32x4_lt(), vsx_i32x4_make(), vsx_i32x4_shl(), vsx_i32x4_splat(), vsx_i32x4_trunc_sat_f32x4(), vsx_v128_and(), vsx_v128_load(), vsx_v128_or(), vsx_v128_store(), and vsx_v128_xor().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_irv_vert_step()

void ojph::local::vsx_irv_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 136 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, ojph::local::lifting_step::irv, vsx_f32x4_add(), vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_wavelet_transform_functions().

## ◆ vsx_irv_vert_times_K()

void ojph::local::vsx_irv_vert_times_K | ( | float | K,
|  | const line_buf * | aug,
|  | ui32 | repeat )

Definition at line 160 of file ojph_transform_vsx.cpp.

References ojph::line_buf::f32, and vsx_multiply_const().

Referenced by init_wavelet_transform_functions().

## ◆ vsx_mem_clear()

void ojph::local::vsx_mem_clear | ( | void * | addr,
|  | size_t | count )

Definition at line 48 of file ojph_codestream_vsx.cpp.

References vsx_i32x4_splat(), and vsx_v128_store().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_multiply_const()

void ojph::local::vsx_multiply_const | ( | float * | p,
|  | float | f,
|  | int | width )
| inlinestatic

Definition at line 125 of file ojph_transform_vsx.cpp.

References vsx_f32x4_mul(), vsx_f32x4_splat(), vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_irv_horz_ana(), vsx_irv_horz_syn(), and vsx_irv_vert_times_K().

## ◆ vsx_rct_backward()

void ojph::local::vsx_rct_backward | ( | const line_buf * | y,
|  | const line_buf * | cb,
|  | const line_buf * | cr,
|  | line_buf * | r,
|  | line_buf * | g,
|  | line_buf * | b,
|  | ui32 | repeat )

Definition at line 531 of file ojph_colour_vsx.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, ojph::line_buf::LFT_INTEGER, vsx_i32x4_add(), vsx_i32x4_shr(), vsx_i32x4_shuffle, vsx_i32x4_sub(), vsx_i64x2_add(), vsx_i64x2_shr(), vsx_i64x2_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_colour_transform_functions().

## ◆ vsx_rct_forward()

void ojph::local::vsx_rct_forward | ( | const line_buf * | r,
|  | const line_buf * | g,
|  | const line_buf * | b,
|  | line_buf * | y,
|  | line_buf * | cb,
|  | line_buf * | cr,
|  | ui32 | repeat )

Definition at line 441 of file ojph_colour_vsx.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, ojph::line_buf::LFT_INTEGER, vsx_i32x4_add(), vsx_i32x4_shl(), vsx_i32x4_shr(), vsx_i32x4_sub(), vsx_i64x2_add(), vsx_i64x2_extend_high_i32x4(), vsx_i64x2_extend_low_i32x4(), vsx_i64x2_shl(), vsx_i64x2_shr(), vsx_i64x2_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_colour_transform_functions().

## ◆ vsx_rev_convert()

void ojph::local::vsx_rev_convert | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Definition at line 64 of file ojph_colour_vsx.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, vsx_i32x4_add(), vsx_i32x4_shuffle, vsx_i32x4_splat(), vsx_i64x2_add(), vsx_i64x2_extend_high_i32x4(), vsx_i64x2_extend_low_i32x4(), vsx_i64x2_splat(), vsx_v128_load(), and vsx_v128_store().

Referenced by init_colour_transform_functions().

## ◆ vsx_rev_convert_nlt_type3()

void ojph::local::vsx_rev_convert_nlt_type3 | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Definition at line 125 of file ojph_colour_vsx.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, vsx_i32x4_lt(), vsx_i32x4_shuffle, vsx_i32x4_splat(), vsx_i32x4_sub(), vsx_i64x2_extend_high_i32x4(), vsx_i64x2_extend_low_i32x4(), vsx_i64x2_lt(), vsx_i64x2_splat(), vsx_i64x2_sub(), vsx_v128_and(), vsx_v128_andnot(), vsx_v128_load(), vsx_v128_or(), and vsx_v128_store().

Referenced by init_colour_transform_functions().

## ◆ vsx_rev_horz_ana()

void ojph::local::vsx_rev_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Definition at line 943 of file ojph_transform_vsx.cpp.

References ojph::line_buf::flags, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, vsx_rev_horz_ana32(), and vsx_rev_horz_ana64().

Referenced by init_wavelet_transform_functions().

## ◆ vsx_rev_horz_ana32()

void ojph::local::vsx_rev_horz_ana32 | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 608 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::f32, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i32, ojph::local::lifting_step::rev, vsx_deinterleave32(), vsx_i32x4_add(), vsx_i32x4_mul(), vsx_i32x4_shr(), vsx_i32x4_splat(), vsx_i32x4_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_horz_ana().

## ◆ vsx_rev_horz_ana64()

void ojph::local::vsx_rev_horz_ana64 | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 776 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i64, ojph::line_buf::p, ojph::local::lifting_step::rev, vsx_deinterleave64(), vsx_i64x2_add(), vsx_i64x2_mul(), vsx_i64x2_shr(), vsx_i64x2_splat(), vsx_i64x2_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_horz_ana().

## ◆ vsx_rev_horz_syn()

void ojph::local::vsx_rev_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 1297 of file ojph_transform_vsx.cpp.

References ojph::line_buf::flags, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, vsx_rev_horz_syn32(), and vsx_rev_horz_syn64().

Referenced by init_wavelet_transform_functions().

## ◆ vsx_rev_horz_syn32()

void ojph::local::vsx_rev_horz_syn32 | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 963 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::f32, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i32, ojph::local::lifting_step::rev, vsx_i32x4_add(), vsx_i32x4_mul(), vsx_i32x4_shr(), vsx_i32x4_splat(), vsx_i32x4_sub(), vsx_interleave32(), vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_horz_syn().

## ◆ vsx_rev_horz_syn64()

void ojph::local::vsx_rev_horz_syn64 | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 1130 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i64, ojph::line_buf::p, ojph::local::lifting_step::rev, vsx_i64x2_add(), vsx_i64x2_mul(), vsx_i64x2_shr(), vsx_i64x2_splat(), vsx_i64x2_sub(), vsx_interleave64(), vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_horz_syn().

## ◆ vsx_rev_tx_from_cb32()

void ojph::local::vsx_rev_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 176 of file ojph_codestream_vsx.cpp.

References ojph_unused, vsx_i32x4_add(), vsx_i32x4_lt(), vsx_i32x4_shr(), vsx_i32x4_splat(), vsx_v128_and(), vsx_v128_load(), vsx_v128_store(), and vsx_v128_xor().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_rev_tx_from_cb64()

void ojph::local::vsx_rev_tx_from_cb64 | ( | const ui64 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 266 of file ojph_codestream_vsx.cpp.

References ojph_unused, vsx_i64x2_add(), vsx_i64x2_lt(), vsx_i64x2_shr(), vsx_i64x2_splat(), vsx_v128_and(), vsx_v128_load(), vsx_v128_store(), and vsx_v128_xor().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_rev_tx_to_cb32()

void ojph::local::vsx_rev_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Definition at line 78 of file ojph_codestream_vsx.cpp.

References ojph_unused, vsx_i32x4_add(), vsx_i32x4_gt(), vsx_i32x4_lt(), vsx_i32x4_make(), vsx_i32x4_shl(), vsx_i32x4_splat(), vsx_v128_and(), vsx_v128_load(), vsx_v128_or(), vsx_v128_store(), and vsx_v128_xor().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_rev_tx_to_cb64()

void ojph::local::vsx_rev_tx_to_cb64 | ( | const void * | sp,
|  | ui64 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui64 * | max_val )

Definition at line 219 of file ojph_codestream_vsx.cpp.

References ojph_unused, vsx_i32x4_make(), vsx_i64x2_add(), vsx_i64x2_lt(), vsx_i64x2_shl(), vsx_i64x2_splat(), vsx_v128_and(), vsx_v128_load(), vsx_v128_or(), vsx_v128_store(), and vsx_v128_xor().

Referenced by ojph::local::codeblock_fun::init().

## ◆ vsx_rev_vert_step()

void ojph::local::vsx_rev_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 584 of file ojph_transform_vsx.cpp.

References ojph::line_buf::flags, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, vsx_rev_vert_step32(), and vsx_rev_vert_step64().

Referenced by init_wavelet_transform_functions().

## ◆ vsx_rev_vert_step32()

void ojph::local::vsx_rev_vert_step32 | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 324 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::i32, ojph::local::lifting_step::rev, vsx_i32x4_add(), vsx_i32x4_mul(), vsx_i32x4_shr(), vsx_i32x4_splat(), vsx_i32x4_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_vert_step().

## ◆ vsx_rev_vert_step64()

void ojph::local::vsx_rev_vert_step64 | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 454 of file ojph_transform_vsx.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::i64, ojph::local::lifting_step::rev, vsx_i64x2_add(), vsx_i64x2_mul(), vsx_i64x2_shr(), vsx_i64x2_splat(), vsx_i64x2_sub(), vsx_v128_load(), and vsx_v128_store().

Referenced by vsx_rev_vert_step().

## ◆ wasm_cnvrt_float_to_si32()

void ojph::local::wasm_cnvrt_float_to_si32 | ( | const float * | sp,
|  | si32 * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 263 of file ojph_colour_wasm.cpp.

References ojph_convert_float_to_i32().

## ◆ wasm_cnvrt_float_to_si32_shftd()

void ojph::local::wasm_cnvrt_float_to_si32_shftd | ( | const float * | sp,
|  | si32 * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 246 of file ojph_colour_wasm.cpp.

References ojph_convert_float_to_i32().

## ◆ wasm_cnvrt_si32_to_float()

void ojph::local::wasm_cnvrt_si32_to_float | ( | const si32 * | sp,
|  | float * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 232 of file ojph_colour_wasm.cpp.

## ◆ wasm_cnvrt_si32_to_float_shftd()

void ojph::local::wasm_cnvrt_si32_to_float_shftd | ( | const si32 * | sp,
|  | float * | dp,
|  | float | mul,
|  | ui32 | width )

Definition at line 216 of file ojph_colour_wasm.cpp.

## ◆ wasm_deinterleave32()

void ojph::local::wasm_deinterleave32 | ( | float * | dpl,
|  | float * | dph,
|  | float * | sp,
|  | int | width )
| inlinestatic

Definition at line 55 of file ojph_transform_wasm.cpp.

Referenced by wasm_irv_horz_ana(), and wasm_rev_horz_ana32().

## ◆ wasm_deinterleave64()

void ojph::local::wasm_deinterleave64 | ( | void * | dpl,
|  | void * | dph,
|  | const void * | sp,
|  | int | width )
| inlinestatic

Definition at line 89 of file ojph_transform_wasm.cpp.

Referenced by wasm_rev_horz_ana64().

## ◆ wasm_find_max_val32()

ui32 ojph::local::wasm_find_max_val32 | ( | ui32 * | address | ) |

Definition at line 56 of file ojph_codestream_wasm.cpp.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_find_max_val64()

ui64 ojph::local::wasm_find_max_val64 | ( | ui64 * | address | ) |

Definition at line 68 of file ojph_codestream_wasm.cpp.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_ict_backward()

void ojph::local::wasm_ict_backward | ( | const float * | y,
|  | const float * | cb,
|  | const float * | cr,
|  | float * | r,
|  | float * | g,
|  | float * | b,
|  | ui32 | repeat )

Definition at line 655 of file ojph_colour_wasm.cpp.

References ojph::local::CT_CNST::GAMMA_CB2B, ojph::local::CT_CNST::GAMMA_CB2G, ojph::local::CT_CNST::GAMMA_CR2G, and ojph::local::CT_CNST::GAMMA_CR2R.

Referenced by init_colour_transform_functions().

## ◆ wasm_ict_forward()

void ojph::local::wasm_ict_forward | ( | const float * | r,
|  | const float * | g,
|  | const float * | b,
|  | float * | y,
|  | float * | cb,
|  | float * | cr,
|  | ui32 | repeat )

Definition at line 630 of file ojph_colour_wasm.cpp.

References ojph::local::CT_CNST::ALPHA_BF, ojph::local::CT_CNST::ALPHA_GF, ojph::local::CT_CNST::ALPHA_RF, ojph::local::CT_CNST::BETA_CbF, and ojph::local::CT_CNST::BETA_CrF.

Referenced by init_colour_transform_functions().

## ◆ wasm_interleave32()

void ojph::local::wasm_interleave32 | ( | float * | dp,
|  | float * | spl,
|  | float * | sph,
|  | int | width )
| inlinestatic

Definition at line 72 of file ojph_transform_wasm.cpp.

Referenced by wasm_irv_horz_syn(), and wasm_rev_horz_syn32().

## ◆ wasm_interleave64()

void ojph::local::wasm_interleave64 | ( | void * | dp,
|  | const void * | spl,
|  | const void * | sph,
|  | int | width )
| inlinestatic

Definition at line 107 of file ojph_transform_wasm.cpp.

Referenced by wasm_rev_horz_syn64().

## ◆ wasm_irv_convert_to_float()

void ojph::local::wasm_irv_convert_to_float | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 433 of file ojph_colour_wasm.cpp.

References local_wasm_irv_convert_to_float().

Referenced by init_colour_transform_functions().

## ◆ wasm_irv_convert_to_float_nlt_type3()

void ojph::local::wasm_irv_convert_to_float_nlt_type3 | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 442 of file ojph_colour_wasm.cpp.

References local_wasm_irv_convert_to_float().

Referenced by init_colour_transform_functions().

## ◆ wasm_irv_convert_to_integer()

void ojph::local::wasm_irv_convert_to_integer | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 366 of file ojph_colour_wasm.cpp.

References local_wasm_irv_convert_to_integer().

Referenced by init_colour_transform_functions().

## ◆ wasm_irv_convert_to_integer_nlt_type3()

void ojph::local::wasm_irv_convert_to_integer_nlt_type3 | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width )

Definition at line 375 of file ojph_colour_wasm.cpp.

References local_wasm_irv_convert_to_integer().

Referenced by init_colour_transform_functions().

## ◆ wasm_irv_horz_ana()

void ojph::local::wasm_irv_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Definition at line 166 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, ojph::local::param_atk::get_K(), ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::local::lifting_step::irv, wasm_deinterleave32(), and wasm_multiply_const().

Referenced by init_wavelet_transform_functions().

## ◆ wasm_irv_horz_syn()

void ojph::local::wasm_irv_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 244 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, ojph::local::param_atk::get_K(), ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::local::lifting_step::irv, wasm_interleave32(), and wasm_multiply_const().

Referenced by init_wavelet_transform_functions().

## ◆ wasm_irv_tx_from_cb32()

void ojph::local::wasm_irv_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 199 of file ojph_codestream_wasm.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_irv_tx_to_cb32()

void ojph::local::wasm_irv_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Definition at line 126 of file ojph_codestream_wasm.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_irv_vert_step()

void ojph::local::wasm_irv_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 136 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::irv_data::Aatk, ojph::line_buf::f32, and ojph::local::lifting_step::irv.

Referenced by init_wavelet_transform_functions().

## ◆ wasm_irv_vert_times_K()

void ojph::local::wasm_irv_vert_times_K | ( | float | K,
|  | const line_buf * | aug,
|  | ui32 | repeat )

Definition at line 160 of file ojph_transform_wasm.cpp.

References ojph::line_buf::f32, and wasm_multiply_const().

Referenced by init_wavelet_transform_functions().

## ◆ wasm_mem_clear()

void ojph::local::wasm_mem_clear | ( | void * | addr,
|  | size_t | count )

Definition at line 48 of file ojph_codestream_wasm.cpp.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_multiply_const()

void ojph::local::wasm_multiply_const | ( | float * | p,
|  | float | f,
|  | int | width )
| inlinestatic

Definition at line 125 of file ojph_transform_wasm.cpp.

Referenced by wasm_irv_horz_ana(), wasm_irv_horz_syn(), and wasm_irv_vert_times_K().

## ◆ wasm_rct_backward()

void ojph::local::wasm_rct_backward | ( | const line_buf * | y,
|  | const line_buf * | cb,
|  | const line_buf * | cr,
|  | line_buf * | r,
|  | line_buf * | g,
|  | line_buf * | b,
|  | ui32 | repeat )

Definition at line 541 of file ojph_colour_wasm.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, and ojph::line_buf::LFT_INTEGER.

Referenced by init_colour_transform_functions().

## ◆ wasm_rct_forward()

void ojph::local::wasm_rct_forward | ( | const line_buf * | r,
|  | const line_buf * | g,
|  | const line_buf * | b,
|  | line_buf * | y,
|  | line_buf * | cb,
|  | line_buf * | cr,
|  | ui32 | repeat )

Definition at line 451 of file ojph_colour_wasm.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, and ojph::line_buf::LFT_INTEGER.

Referenced by init_colour_transform_functions().

## ◆ wasm_rev_convert()

void ojph::local::wasm_rev_convert | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Definition at line 65 of file ojph_colour_wasm.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_64BIT.

Referenced by init_colour_transform_functions().

## ◆ wasm_rev_convert_nlt_type3()

void ojph::local::wasm_rev_convert_nlt_type3 | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width )

Definition at line 126 of file ojph_colour_wasm.cpp.

References ojph::line_buf::flags, ojph::line_buf::i32, ojph::line_buf::i64, ojph::line_buf::LFT_32BIT, and ojph::line_buf::LFT_64BIT.

Referenced by init_colour_transform_functions().

## ◆ wasm_rev_horz_ana()

void ojph::local::wasm_rev_horz_ana | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )

Definition at line 943 of file ojph_transform_wasm.cpp.

References ojph::line_buf::flags, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, wasm_rev_horz_ana32(), and wasm_rev_horz_ana64().

Referenced by init_wavelet_transform_functions().

## ◆ wasm_rev_horz_ana32()

void ojph::local::wasm_rev_horz_ana32 | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 608 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::f32, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i32, ojph::local::lifting_step::rev, and wasm_deinterleave32().

Referenced by wasm_rev_horz_ana().

## ◆ wasm_rev_horz_ana64()

void ojph::local::wasm_rev_horz_ana64 | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even )
| static

Definition at line 776 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i64, ojph::line_buf::p, ojph::local::lifting_step::rev, and wasm_deinterleave64().

Referenced by wasm_rev_horz_ana().

## ◆ wasm_rev_horz_syn()

void ojph::local::wasm_rev_horz_syn | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 1297 of file ojph_transform_wasm.cpp.

References ojph::line_buf::flags, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, wasm_rev_horz_syn32(), and wasm_rev_horz_syn64().

Referenced by init_wavelet_transform_functions().

## ◆ wasm_rev_horz_syn32()

void ojph::local::wasm_rev_horz_syn32 | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 963 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::f32, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i32, ojph::local::lifting_step::rev, and wasm_interleave32().

Referenced by wasm_rev_horz_syn().

## ◆ wasm_rev_horz_syn64()

void ojph::local::wasm_rev_horz_syn64 | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even )

Definition at line 1130 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::local::param_atk::get_num_steps(), ojph::local::param_atk::get_step(), ojph::line_buf::i64, ojph::line_buf::p, ojph::local::lifting_step::rev, and wasm_interleave64().

Referenced by wasm_rev_horz_syn().

## ◆ wasm_rev_tx_from_cb32()

void ojph::local::wasm_rev_tx_from_cb32 | ( | const ui32 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 176 of file ojph_codestream_wasm.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_rev_tx_from_cb64()

void ojph::local::wasm_rev_tx_from_cb64 | ( | const ui64 * | sp,
|  | void * | dp,
|  | ui32 | K_max,
|  | float | delta,
|  | ui32 | count )

Definition at line 266 of file ojph_codestream_wasm.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_rev_tx_to_cb32()

void ojph::local::wasm_rev_tx_to_cb32 | ( | const void * | sp,
|  | ui32 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui32 * | max_val )

Definition at line 78 of file ojph_codestream_wasm.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_rev_tx_to_cb64()

void ojph::local::wasm_rev_tx_to_cb64 | ( | const void * | sp,
|  | ui64 * | dp,
|  | ui32 | K_max,
|  | float | delta_inv,
|  | ui32 | count,
|  | ui64 * | max_val )

Definition at line 219 of file ojph_codestream_wasm.cpp.

References ojph_unused.

Referenced by ojph::local::codeblock_fun::init().

## ◆ wasm_rev_vert_step()

void ojph::local::wasm_rev_vert_step | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 584 of file ojph_transform_wasm.cpp.

References ojph::line_buf::flags, ojph::line_buf::LFT_32BIT, ojph::line_buf::LFT_64BIT, wasm_rev_vert_step32(), and wasm_rev_vert_step64().

Referenced by init_wavelet_transform_functions().

## ◆ wasm_rev_vert_step32()

void ojph::local::wasm_rev_vert_step32 | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 324 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::i32, and ojph::local::lifting_step::rev.

Referenced by wasm_rev_vert_step().

## ◆ wasm_rev_vert_step64()

void ojph::local::wasm_rev_vert_step64 | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis )

Definition at line 454 of file ojph_transform_wasm.cpp.

References ojph::local::lifting_step::rev_data::Aatk, ojph::local::lifting_step::rev_data::Batk, ojph::local::lifting_step::rev_data::Eatk, ojph::line_buf::i64, and ojph::local::lifting_step::rev.

Referenced by wasm_rev_vert_step().

## Variable Documentation

## ◆ ict_backward

void(* ojph::local::ict_backward)(const float *y, const float *cb, const float *cr, float *r, float *g, float *b, ui32 repeat) | ( | const float * | y,
|  | const float * | cb,
|  | const float * | cr,
|  | float * | r,
|  | float * | g,
|  | float * | b,
|  | ui32 | repeat ) = NULL

Definition at line 104 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::pull().

## ◆ ict_forward

void(* ojph::local::ict_forward)(const float *r, const float *g, const float *b, float *y, float *cb, float *cr, ui32 repeat) | ( | const float * | r,
|  | const float * | g,
|  | const float * | b,
|  | float * | y,
|  | float * | cb,
|  | float * | cr,
|  | ui32 | repeat ) = NULL

Definition at line 99 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::push().

## ◆ irv_convert_to_float

void(* ojph::local::irv_convert_to_float)(const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width) | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width ) = NULL

Definition at line 74 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::push().

## ◆ irv_convert_to_float_nlt_type3

void(* ojph::local::irv_convert_to_float_nlt_type3)(const line_buf *src_line, ui32 src_line_offset, line_buf *dst_line, ui32 bit_depth, bool is_signed, ui32 width) | ( | const line_buf * | src_line,
|  | ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width ) = NULL

Definition at line 84 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::push().

## ◆ irv_convert_to_integer

void(* ojph::local::irv_convert_to_integer)(const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width) | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width ) = NULL

Definition at line 69 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::pull().

## ◆ irv_convert_to_integer_nlt_type3

void(* ojph::local::irv_convert_to_integer_nlt_type3)(const line_buf *src_line, line_buf *dst_line, ui32 dst_line_offset, ui32 bit_depth, bool is_signed, ui32 width) | ( | const line_buf * | src_line,
|  | line_buf * | dst_line,
|  | ui32 | dst_line_offset,
|  | ui32 | bit_depth,
|  | bool | is_signed,
|  | ui32 | width ) = NULL

Definition at line 79 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::pull().

## ◆ irv_horz_ana

void(* ojph::local::irv_horz_ana)(const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even) | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even ) = NULL

Definition at line 88 of file ojph_transform.cpp.

Referenced by init_wavelet_transform_functions(), and ojph::local::resolution::push_line().

## ◆ irv_horz_syn

void(* ojph::local::irv_horz_syn)(const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even) | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even ) = NULL

Definition at line 93 of file ojph_transform.cpp.

Referenced by init_wavelet_transform_functions(), and ojph::local::resolution::pull_line().

## ◆ irv_vert_step

void(* ojph::local::irv_vert_step)(const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis) | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis ) = NULL

Definition at line 79 of file ojph_transform.cpp.

Referenced by init_wavelet_transform_functions(), ojph::local::resolution::pull_line(), and ojph::local::resolution::push_line().

## ◆ irv_vert_times_K

void(* ojph::local::irv_vert_times_K)(float K, const line_buf *aug, ui32 repeat) | ( | float | K,
|  | const line_buf * | aug,
|  | ui32 | repeat ) = NULL

Definition at line 84 of file ojph_transform.cpp.

Referenced by init_wavelet_transform_functions(), ojph::local::resolution::pull_line(), and ojph::local::resolution::push_line().

## ◆ num_uvlc_entries

const int ojph::local::num_uvlc_entries = 75

Definition at line 69 of file ojph_block_encoder.cpp.

Referenced by uvlc_init_tables().

## ◆ rct_backward

void(* ojph::local::rct_backward)(const line_buf *y, const line_buf *cb, const line_buf *cr, line_buf *r, line_buf *g, line_buf *b, ui32 repeat) | ( | const line_buf * | r,
|  | const line_buf * | g,
|  | const line_buf * | b,
|  | line_buf * | y,
|  | line_buf * | cb,
|  | line_buf * | cr,
|  | ui32 | repeat ) = NULL

Definition at line 94 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::pull().

## ◆ rct_forward

void(* ojph::local::rct_forward)(const line_buf *r, const line_buf *g, const line_buf *b, line_buf *y, line_buf *cb, line_buf *cr, ui32 repeat) | ( | const line_buf * | r,
|  | const line_buf * | g,
|  | const line_buf * | b,
|  | line_buf * | y,
|  | line_buf * | cb,
|  | line_buf * | cr,
|  | ui32 | repeat ) = NULL

Definition at line 89 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), and ojph::local::tile::push().

## ◆ rev_convert

void(* ojph::local::rev_convert)(const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width) | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width ) = NULL

Definition at line 56 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), ojph::local::tile::pull(), and ojph::local::tile::push().

## ◆ rev_convert_nlt_type3

void(* ojph::local::rev_convert_nlt_type3)(const line_buf *src_line, const ui32 src_line_offset, line_buf *dst_line, const ui32 dst_line_offset, si64 shift, ui32 width) | ( | const line_buf * | src_line,
|  | const ui32 | src_line_offset,
|  | line_buf * | dst_line,
|  | const ui32 | dst_line_offset,
|  | si64 | shift,
|  | ui32 | width ) = NULL

Definition at line 62 of file ojph_colour.cpp.

Referenced by init_colour_transform_functions(), ojph::local::tile::pull(), and ojph::local::tile::push().

## ◆ rev_horz_ana

void(* ojph::local::rev_horz_ana)(const param_atk *atk, const line_buf *ldst, const line_buf *hdst, const line_buf *src, ui32 width, bool even) | ( | const param_atk * | atk,
|  | const line_buf * | ldst,
|  | const line_buf * | hdst,
|  | const line_buf * | src,
|  | ui32 | width,
|  | bool | even ) = NULL

Definition at line 65 of file ojph_transform.cpp.

Referenced by init_wavelet_transform_functions(), and ojph::local::resolution::push_line().

## ◆ rev_horz_syn

void(* ojph::local::rev_horz_syn)(const param_atk *atk, const line_buf *dst, const line_buf *lsrc, const line_buf *hsrc, ui32 width, bool even) | ( | const param_atk * | atk,
|  | const line_buf * | dst,
|  | const line_buf * | lsrc,
|  | const line_buf * | hsrc,
|  | ui32 | width,
|  | bool | even ) = NULL

Definition at line 70 of file ojph_transform.cpp.

Referenced by init_wavelet_transform_functions(), and ojph::local::resolution::pull_line().

## ◆ rev_vert_step

void(* ojph::local::rev_vert_step)(const lifting_step *s, const line_buf *sig, const line_buf *other, const line_buf *aug, ui32 repeat, bool synthesis) | ( | const lifting_step * | s,
|  | const line_buf * | sig,
|  | const line_buf * | other,
|  | const line_buf * | aug,
|  | ui32 | repeat,
|  | bool | synthesis ) = NULL

Definition at line 60 of file ojph_transform.cpp.

Referenced by init_wavelet_transform_functions(), ojph::local::resolution::pull_line(), and ojph::local::resolution::push_line().

## ◆ uvlc_tbl

uvlc_tbl_struct ojph::local::uvlc_tbl[num_uvlc_entries]
| static

Definition at line 73 of file ojph_block_encoder.cpp.

Referenced by ojph_encode_codeblock32(), ojph_encode_codeblock64(), and uvlc_init_tables().