OpenJPH
Open-source implementation of JPEG2000 Part-15
Loading...
Searching...
No Matches
ojph::param_cod Class Reference

#include <ojph_params.h>

Public Member Functions

 param_cod (local::param_cod *p)
 
void set_num_decomposition (ui32 num_decompositions)
 
void set_block_dims (ui32 width, ui32 height)
 
void set_precinct_size (int num_levels, size *precinct_size)
 
void set_progression_order (const char *name)
 
void set_color_transform (bool color_transform)
 
void set_reversible (bool reversible)
 
param_coc get_coc (ui32 component_idx)
 
ui32 get_num_decompositions () const
 
size get_block_dims () const
 
size get_log_block_dims () const
 
bool is_reversible () const
 
size get_precinct_size (ui32 level_num) const
 
size get_log_precinct_size (ui32 level_num) const
 
int get_progression_order () const
 
const char * get_progression_order_as_string () const
 
int get_num_layers () const
 
bool is_using_color_transform () const
 
bool packets_may_use_sop () const
 
bool packets_use_eph () const
 
bool get_block_vertical_causality () const
 

Private Attributes

local::param_codstate
 

Detailed Description

Definition at line 103 of file ojph_params.h.

Constructor & Destructor Documentation

◆ param_cod()

ojph::param_cod::param_cod ( local::param_cod p)
inline

Definition at line 106 of file ojph_params.h.

Member Function Documentation

◆ get_block_dims()

size ojph::param_cod::get_block_dims ( ) const

Definition at line 273 of file ojph_params.cpp.

References ojph::local::param_cod::get_block_dims(), and state.

Referenced by ojph::param_coc::get_block_dims().

◆ get_block_vertical_causality()

bool ojph::param_cod::get_block_vertical_causality ( ) const

◆ get_coc()

param_coc ojph::param_cod::get_coc ( ui32  component_idx)

◆ get_log_block_dims()

◆ get_log_precinct_size()

◆ get_num_decompositions()

◆ get_num_layers()

int ojph::param_cod::get_num_layers ( ) const

◆ get_precinct_size()

size ojph::param_cod::get_precinct_size ( ui32  level_num) const

◆ get_progression_order()

◆ get_progression_order_as_string()

◆ is_reversible()

bool ojph::param_cod::is_reversible ( ) const

◆ is_using_color_transform()

bool ojph::param_cod::is_using_color_transform ( ) const

Definition at line 333 of file ojph_params.cpp.

References ojph::local::param_cod::is_employing_color_transform(), and state.

Referenced by main().

◆ packets_may_use_sop()

bool ojph::param_cod::packets_may_use_sop ( ) const

Definition at line 339 of file ojph_params.cpp.

References ojph::local::param_cod::packets_may_use_sop(), and state.

◆ packets_use_eph()

bool ojph::param_cod::packets_use_eph ( ) const

Definition at line 345 of file ojph_params.cpp.

References ojph::local::param_cod::packets_use_eph(), and state.

◆ set_block_dims()

void ojph::param_cod::set_block_dims ( ui32  width,
ui32  height 
)

◆ set_color_transform()

void ojph::param_cod::set_color_transform ( bool  color_transform)

Definition at line 246 of file ojph_params.cpp.

References ojph::local::param_cod::employ_color_transform(), and state.

Referenced by main().

◆ set_num_decomposition()

void ojph::param_cod::set_num_decomposition ( ui32  num_decompositions)

◆ set_precinct_size()

◆ set_progression_order()

◆ set_reversible()

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

Definition at line 252 of file ojph_params.cpp.

References ojph::local::param_cod::set_reversible(), and state.

Referenced by main(), and ojph::param_coc::set_reversible().

Member Data Documentation

◆ state


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