OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#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_dfs * | get_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_dfs * | next |
Definition at line 914 of file ojph_params_local.h.
Enumerator | |
---|---|
NO_DWT | |
BIDIR_DWT | |
HORZ_DWT | |
VERT_DWT |
Definition at line 917 of file ojph_params_local.h.
|
inline |
|
inline |
Definition at line 926 of file ojph_params_local.h.
References next.
|
inline |
Definition at line 930 of file ojph_params_local.h.
References Ldfs.
Referenced by ojph::local::codestream::access_dfs(), ojph::local::param_qcd::get_irrev_delta(), ojph::local::param_qcd::get_Kmax(), and ojph::local::codestream::read_headers().
const param_dfs * ojph::local::param_dfs::get_dfs | ( | int | index | ) | const |
Definition at line 2180 of file ojph_params.cpp.
Referenced by ojph::local::resolution::finalize_alloc(), ojph::local::subband::finalize_alloc(), ojph::local::param_siz::get_recon_downsampling(), and ojph::local::resolution::pre_alloc().
param_dfs::dfs_dwt_type ojph::local::param_dfs::get_dwt_type | ( | ui32 | decomp_level | ) | const |
Definition at line 2189 of file ojph_params.cpp.
References Ddfs, Ids, and ojph_min.
Referenced by ojph::local::resolution::finalize_alloc(), get_res_downsamp(), get_subband_idx(), and ojph::local::resolution::pre_alloc().
Definition at line 2225 of file ojph_params.cpp.
References BIDIR_DWT, get_dwt_type(), HORZ_DWT, VERT_DWT, ojph::point::x, and ojph::point::y.
Referenced by ojph::local::param_siz::get_recon_downsampling().
ui32 ojph::local::param_dfs::get_subband_idx | ( | ui32 | num_decompositions, |
ui32 | resolution, | ||
ui32 | subband ) const |
Definition at line 2200 of file ojph_params.cpp.
References get_dwt_type(), and VERT_DWT.
Referenced by ojph::local::param_qcd::get_irrev_delta(), and ojph::local::param_qcd::get_Kmax().
|
inline |
Definition at line 927 of file ojph_params_local.h.
References Ddfs, Ids, Ldfs, next, and Sdfs.
Referenced by param_dfs().
bool ojph::local::param_dfs::read | ( | infile_base * | file | ) |
Definition at line 2246 of file ojph_params.cpp.
References Ddfs, Ids, Ldfs, next, OJPH_ERROR, OJPH_INFO, param_dfs(), ojph::infile_base::read(), read(), Sdfs, and ojph::local::swap_byte().
Referenced by read(), and ojph::local::codestream::read_headers().
|
private |
Definition at line 945 of file ojph_params_local.h.
Referenced by get_dwt_type(), init(), and read().
|
private |
Definition at line 944 of file ojph_params_local.h.
Referenced by get_dwt_type(), init(), and read().
|
private |
Definition at line 942 of file ojph_params_local.h.
|
private |
Definition at line 947 of file ojph_params_local.h.
Referenced by get_dfs(), init(), read(), and ~param_dfs().
|
private |
Definition at line 943 of file ojph_params_local.h.