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

#include <ojph_params_local.h>

Public Types

enum  dfs_dwt_type : ui8 { NO_DWT = 0 , BIDIR_DWT = 1 , HORZ_DWT = 2 , VERT_DWT = 3 }

Public Member Functions

 param_dfs ()
 ~param_dfs ()
void restart ()
bool read (infile_base *file)
bool exists () const
const param_dfsget_dfs (int index) const
dfs_dwt_type get_dwt_type (ui32 decomp_level) const
ui32 get_subband_idx (ui32 num_decompositions, ui32 resolution, ui32 subband) const
point get_res_downsamp (ui32 skipped_resolutions) const

Private Member Functions

void init ()
void destroy ()

Private Attributes

ui16 Ldfs
ui16 Sdfs
ui8 Ids
ui8 Ddfs [8]
param_dfsnext
param_dfsavail

Detailed Description

Definition at line 978 of file ojph_params_local.h.

Member Enumeration Documentation

◆ dfs_dwt_type

Enumerator
NO_DWT 
BIDIR_DWT 
HORZ_DWT 
VERT_DWT 

Definition at line 981 of file ojph_params_local.h.

Constructor & Destructor Documentation

◆ param_dfs()

ojph::local::param_dfs::param_dfs ( )
inline

Definition at line 989 of file ojph_params_local.h.

References avail, and init().

Referenced by get_dfs(), read(), and restart().

◆ ~param_dfs()

ojph::local::param_dfs::~param_dfs ( )
inline

Definition at line 990 of file ojph_params_local.h.

References destroy().

Member Function Documentation

◆ destroy()

void ojph::local::param_dfs::destroy ( )
inlineprivate

Definition at line 1020 of file ojph_params_local.h.

References avail, and next.

Referenced by ~param_dfs().

◆ exists()

bool ojph::local::param_dfs::exists ( ) const
inline

◆ get_dfs()

const param_dfs * ojph::local::param_dfs::get_dfs ( int index) const

◆ get_dwt_type()

param_dfs::dfs_dwt_type ojph::local::param_dfs::get_dwt_type ( ui32 decomp_level) const

◆ get_res_downsamp()

point ojph::local::param_dfs::get_res_downsamp ( ui32 skipped_resolutions) const

◆ get_subband_idx()

ui32 ojph::local::param_dfs::get_subband_idx ( ui32 num_decompositions,
ui32 resolution,
ui32 subband ) const

◆ init()

void ojph::local::param_dfs::init ( )
inlineprivate

Definition at line 1016 of file ojph_params_local.h.

References Ddfs, Ids, Ldfs, next, and Sdfs.

Referenced by param_dfs(), read(), and restart().

◆ read()

bool ojph::local::param_dfs::read ( infile_base * file)

◆ restart()

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

Definition at line 993 of file ojph_params_local.h.

References avail, init(), next, and param_dfs().

Member Data Documentation

◆ avail

param_dfs* ojph::local::param_dfs::avail
private

Definition at line 1039 of file ojph_params_local.h.

Referenced by destroy(), param_dfs(), read(), and restart().

◆ Ddfs

ui8 ojph::local::param_dfs::Ddfs[8]
private

Definition at line 1034 of file ojph_params_local.h.

Referenced by get_dwt_type(), init(), and read().

◆ Ids

ui8 ojph::local::param_dfs::Ids
private

Definition at line 1033 of file ojph_params_local.h.

Referenced by get_dwt_type(), init(), and read().

◆ Ldfs

ui16 ojph::local::param_dfs::Ldfs
private

Definition at line 1031 of file ojph_params_local.h.

Referenced by exists(), init(), and read().

◆ next

param_dfs* ojph::local::param_dfs::next
private

Definition at line 1036 of file ojph_params_local.h.

Referenced by destroy(), get_dfs(), init(), read(), and restart().

◆ Sdfs

ui16 ojph::local::param_dfs::Sdfs
private

Definition at line 1032 of file ojph_params_local.h.

Referenced by get_dfs(), init(), and read().


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