OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph::local::param_cod Struct Reference

#include <ojph_params_local.h>

Public Types

enum  BLOCK_CODING_STYLES { VERT_CAUSAL_MODE = 0x8 , HT_MODE = 0x40 }
 

Public Member Functions

 param_cod ()
 
void set_reversible (bool reversible)
 
void employ_color_transform (ui8 val)
 
void check_validity (const param_siz &siz)
 
ui8 get_num_decompositions () const
 
size get_block_dims () const
 
bool is_reversible () const
 
bool is_employing_color_transform () const
 
size get_log_block_dims () const
 
size get_precinct_size (ui32 res_num) const
 
size get_log_precinct_size (ui32 res_num) const
 
bool packets_may_use_sop () const
 
bool packets_use_eph () const
 
bool write (outfile_base *file)
 
void read (infile_base *file)
 

Private Attributes

ui16 Lcod
 
ui8 Scod
 
cod_SGcod SGCod
 
cod_SPcod SPcod
 

Detailed Description

Definition at line 311 of file ojph_params_local.h.

Member Enumeration Documentation

◆ BLOCK_CODING_STYLES

Enumerator
VERT_CAUSAL_MODE 
HT_MODE 

Definition at line 314 of file ojph_params_local.h.

Constructor & Destructor Documentation

◆ param_cod()

Member Function Documentation

◆ check_validity()

◆ employ_color_transform()

void ojph::local::param_cod::employ_color_transform ( ui8  val)
inline

Definition at line 337 of file ojph_params_local.h.

References ojph::local::cod_SGcod::mc_trans, and SGCod.

Referenced by ojph::param_cod::set_color_transform().

◆ get_block_dims()

size ojph::local::param_cod::get_block_dims ( ) const
inline

◆ get_log_block_dims()

◆ get_log_precinct_size()

◆ get_num_decompositions()

◆ get_precinct_size()

size ojph::local::param_cod::get_precinct_size ( ui32  res_num) const
inline

◆ is_employing_color_transform()

◆ is_reversible()

◆ packets_may_use_sop()

bool ojph::local::param_cod::packets_may_use_sop ( ) const
inline

◆ packets_use_eph()

bool ojph::local::param_cod::packets_use_eph ( ) const
inline

◆ read()

◆ set_reversible()

void ojph::local::param_cod::set_reversible ( bool  reversible)
inline

Definition at line 332 of file ojph_params_local.h.

References SPcod, and ojph::local::cod_SPcod::wavelet_trans.

Referenced by param_cod(), and ojph::param_cod::set_reversible().

◆ write()

Member Data Documentation

◆ Lcod

ui16 ojph::local::param_cod::Lcod
private

Definition at line 422 of file ojph_params_local.h.

Referenced by read(), and write().

◆ Scod

ui8 ojph::local::param_cod::Scod
private

◆ SGCod

◆ SPcod


The documentation for this struct was generated from the following files: