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 ()
void restart ()
bool read (infile_base *file)
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
param_atkget_atk (int index)
const lifting_stepget_step (ui32 s) const
ui32 get_num_steps () const
float get_K () const

Private Member Functions

void init (param_atk *top_atk)
bool read_coefficient (infile_base *file, float &K, si32 &bytes)
bool read_coefficient (infile_base *file, si16 &K, si32 &bytes)
void init_irv97 ()
void init_rev53 ()
param_atkadd_object ()

Private Attributes

ui16 Latk
ui16 Satk
float Katk
ui8 Natk
lifting_stepd
ui32 max_steps
lifting_step d_store [6]
param_atknext
param_atktop_atk
param_atkavail

Detailed Description

Definition at line 1070 of file ojph_params_local.h.

Constructor & Destructor Documentation

◆ param_atk()

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

Definition at line 1078 of file ojph_params_local.h.

References d, d_store, init(), and max_steps.

Referenced by add_object(), get_atk(), init(), and restart().

◆ ~param_atk()

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

Definition at line 1084 of file ojph_params_local.h.

References avail, d, d_store, max_steps, and next.

Member Function Documentation

◆ add_object()

param_atk * ojph::local::param_atk::add_object ( )
private

Definition at line 2590 of file ojph_params.cpp.

References avail, init(), next, param_atk(), and top_atk.

Referenced by get_atk(), and read().

◆ get_atk()

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

Definition at line 2341 of file ojph_params.cpp.

References add_object(), get_index(), init_irv97(), init_rev53(), Latk, next, param_atk(), and top_atk.

◆ get_coeff_type()

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

Definition at line 1126 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 1125 of file ojph_params_local.h.

References Satk.

Referenced by get_atk().

◆ get_K()

float ojph::local::param_atk::get_K ( ) const
inline

◆ get_num_steps()

◆ get_step()

◆ init()

void ojph::local::param_atk::init ( param_atk * top_atk)
inlineprivate

Definition at line 1139 of file ojph_params_local.h.

References avail, d, d_store, Katk, Latk, max_steps, Natk, next, param_atk(), Satk, and top_atk.

Referenced by add_object(), and param_atk().

◆ init_irv97()

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

Definition at line 2561 of file ojph_params.cpp.

References d, Katk, Latk, Natk, and Satk.

Referenced by get_atk().

◆ init_rev53()

void ojph::local::param_atk::init_rev53 ( )
private

Definition at line 2575 of file ojph_params.cpp.

References d, Latk, Natk, and Satk.

Referenced by get_atk().

◆ is_m_init0()

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

Definition at line 1129 of file ojph_params_local.h.

References Satk.

Referenced by read().

◆ is_reversible()

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

◆ is_using_ws_extension()

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

Definition at line 1130 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 1127 of file ojph_params_local.h.

References Satk.

Referenced by read().

◆ read()

◆ read_coefficient() [1/2]

bool ojph::local::param_atk::read_coefficient ( infile_base * file,
float & K,
si32 & bytes )
private

Definition at line 2374 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,
si32 & bytes )
private

◆ restart()

void ojph::local::param_atk::restart ( )
inline

Definition at line 1102 of file ojph_params_local.h.

References avail, d, d_store, Katk, Latk, max_steps, Natk, next, param_atk(), Satk, and top_atk.

Member Data Documentation

◆ avail

param_atk* ojph::local::param_atk::avail
private

Definition at line 1175 of file ojph_params_local.h.

Referenced by add_object(), init(), restart(), 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 1168 of file ojph_params_local.h.

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

◆ Katk

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

Definition at line 1164 of file ojph_params_local.h.

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

◆ Latk

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

Definition at line 1162 of file ojph_params_local.h.

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

◆ max_steps

ui32 ojph::local::param_atk::max_steps
private

Definition at line 1167 of file ojph_params_local.h.

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

◆ Natk

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

Definition at line 1165 of file ojph_params_local.h.

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

◆ next

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

Definition at line 1169 of file ojph_params_local.h.

Referenced by add_object(), get_atk(), init(), restart(), and ~param_atk().

◆ Satk

◆ top_atk

param_atk* ojph::local::param_atk::top_atk
private

Definition at line 1171 of file ojph_params_local.h.

Referenced by add_object(), get_atk(), init(), read(), and restart().


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