OpenJPH
Open-source implementation of JPEG2000 Part-15
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 init ()
 
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 Attributes

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

Detailed Description

Definition at line 914 of file ojph_params_local.h.

Member Enumeration Documentation

◆ dfs_dwt_type

Enumerator
NO_DWT 
BIDIR_DWT 
HORZ_DWT 
VERT_DWT 

Definition at line 917 of file ojph_params_local.h.

Constructor & Destructor Documentation

◆ param_dfs()

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

Definition at line 925 of file ojph_params_local.h.

References init().

Referenced by read().

◆ ~param_dfs()

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

Definition at line 926 of file ojph_params_local.h.

References next.

Member Function Documentation

◆ 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 ( )
inline

Definition at line 927 of file ojph_params_local.h.

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

Referenced by param_dfs().

◆ read()

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

Member Data Documentation

◆ Ddfs

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

Definition at line 945 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 944 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 942 of file ojph_params_local.h.

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

◆ next

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

Definition at line 947 of file ojph_params_local.h.

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

◆ Sdfs

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

Definition at line 943 of file ojph_params_local.h.

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


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