OpenJPH
Open-source implementation of JPEG2000 Part-15
Loading...
Searching...
No Matches
ojph::local::param_atk Struct Reference

#include <ojph_params_local.h>

Public Member Functions

 param_atk ()
 
 ~param_atk ()
 
bool read (infile_base *file)
 
bool read_coefficient (infile_base *file, float &K)
 
bool read_coefficient (infile_base *file, si16 &K)
 
void init (bool clear_all=true)
 
void init_irv97 ()
 
void init_rev53 ()
 
void link (param_atk *next)
 
ui8 get_index () const
 
int get_coeff_type () const
 
bool is_whole_sample () const
 
bool is_reversible () const
 
bool is_m_init0 () const
 
bool is_using_ws_extension () const
 
const param_atkget_atk (int index) const
 
const lifting_stepget_step (ui32 s) const
 
ui32 get_num_steps () const
 
float get_K () const
 

Private Attributes

ui16 Latk
 
ui16 Satk
 
float Katk
 
ui8 Natk
 
lifting_stepd
 
int max_steps
 
lifting_step d_store [6]
 
param_atknext
 
bool alloced_next
 

Detailed Description

Definition at line 933 of file ojph_params_local.h.

Constructor & Destructor Documentation

◆ param_atk()

ojph::local::param_atk::param_atk ( )
inline

Definition at line 943 of file ojph_params_local.h.

References init().

Referenced by read().

◆ ~param_atk()

ojph::local::param_atk::~param_atk ( )
inline

Definition at line 944 of file ojph_params_local.h.

References alloced_next, d, d_store, init(), and next.

Member Function Documentation

◆ get_atk()

const param_atk * ojph::local::param_atk::get_atk ( int  index) const

Definition at line 1822 of file ojph_params.cpp.

References get_index(), and next.

Referenced by ojph::local::param_cod::update_atk().

◆ get_coeff_type()

int ojph::local::param_atk::get_coeff_type ( ) const
inline

Definition at line 977 of file ojph_params_local.h.

References Satk.

Referenced by read(), read_coefficient(), and read_coefficient().

◆ get_index()

ui8 ojph::local::param_atk::get_index ( ) const
inline

Definition at line 976 of file ojph_params_local.h.

References Satk.

Referenced by get_atk().

◆ get_K()

◆ get_num_steps()

◆ get_step()

◆ init()

void ojph::local::param_atk::init ( bool  clear_all = true)
inline

Definition at line 957 of file ojph_params_local.h.

References alloced_next, d, d_store, Katk, Latk, max_steps, Natk, next, and Satk.

Referenced by param_atk(), and ~param_atk().

◆ init_irv97()

void ojph::local::param_atk::init_irv97 ( )

◆ init_rev53()

◆ is_m_init0()

bool ojph::local::param_atk::is_m_init0 ( ) const
inline

Definition at line 980 of file ojph_params_local.h.

References Satk.

Referenced by read().

◆ is_reversible()

◆ is_using_ws_extension()

bool ojph::local::param_atk::is_using_ws_extension ( ) const
inline

Definition at line 981 of file ojph_params_local.h.

References Satk.

Referenced by read().

◆ is_whole_sample()

bool ojph::local::param_atk::is_whole_sample ( ) const
inline

Definition at line 978 of file ojph_params_local.h.

References Satk.

Referenced by read().

◆ link()

void ojph::local::param_atk::link ( param_atk next)
inline

Definition at line 973 of file ojph_params_local.h.

References alloced_next, and next.

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

◆ read()

◆ read_coefficient() [1/2]

bool ojph::local::param_atk::read_coefficient ( infile_base file,
float &  K 
)

Definition at line 1831 of file ojph_params.cpp.

References d, get_coeff_type(), ojph::infile_base::read(), and ojph::local::swap_byte().

Referenced by read().

◆ read_coefficient() [2/2]

bool ojph::local::param_atk::read_coefficient ( infile_base file,
si16 K 
)

Member Data Documentation

◆ alloced_next

bool ojph::local::param_atk::alloced_next
private

Definition at line 998 of file ojph_params_local.h.

Referenced by init(), link(), read(), and ~param_atk().

◆ d

lifting_step* ojph::local::param_atk::d
private

◆ d_store

lifting_step ojph::local::param_atk::d_store[6]
private

Definition at line 995 of file ojph_params_local.h.

Referenced by init(), read(), and ~param_atk().

◆ Katk

float ojph::local::param_atk::Katk
private

Definition at line 991 of file ojph_params_local.h.

Referenced by get_K(), init(), init_irv97(), and read().

◆ Latk

ui16 ojph::local::param_atk::Latk
private

Definition at line 989 of file ojph_params_local.h.

Referenced by init(), init_irv97(), init_rev53(), and read().

◆ max_steps

int ojph::local::param_atk::max_steps
private

Definition at line 994 of file ojph_params_local.h.

Referenced by init(), and read().

◆ Natk

ui8 ojph::local::param_atk::Natk
private

Definition at line 992 of file ojph_params_local.h.

Referenced by get_num_steps(), get_step(), init(), init_irv97(), init_rev53(), and read().

◆ next

param_atk* ojph::local::param_atk::next
private

Definition at line 996 of file ojph_params_local.h.

Referenced by get_atk(), init(), link(), read(), and ~param_atk().

◆ Satk

ui16 ojph::local::param_atk::Satk
private

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