|
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 | restart () |
| 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 Member Functions | |
| void | init () |
| void | destroy () |
Private Attributes | |
| ui16 | Ldfs |
| ui16 | Sdfs |
| ui8 | Ids |
| ui8 | Ddfs [8] |
| param_dfs * | next |
| param_dfs * | avail |
Definition at line 978 of file ojph_params_local.h.
| Enumerator | |
|---|---|
| NO_DWT | |
| BIDIR_DWT | |
| HORZ_DWT | |
| VERT_DWT | |
Definition at line 981 of file ojph_params_local.h.
|
inline |
|
inline |
Definition at line 990 of file ojph_params_local.h.
References destroy().
|
inlineprivate |
Definition at line 1020 of file ojph_params_local.h.
Referenced by ~param_dfs().
|
inline |
Definition at line 1003 of file ojph_params_local.h.
References Ldfs.
Referenced by ojph::local::param_qcd::get_irrev_delta(), and ojph::local::param_qcd::get_Kmax().
| const param_dfs * ojph::local::param_dfs::get_dfs | ( | int | index | ) | const |
Definition at line 2194 of file ojph_params.cpp.
References next, param_dfs(), and Sdfs.
Referenced by ojph::local::resolution::finalize_alloc(), ojph::local::subband::finalize_alloc(), 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 2203 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 2239 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 2214 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().
|
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().
| bool ojph::local::param_dfs::read | ( | infile_base * | file | ) |
Definition at line 2260 of file ojph_params.cpp.
References avail, Ddfs, Ids, init(), Ldfs, next, OJPH_ERROR, OJPH_INFO, param_dfs(), ojph::infile_base::read(), read(), Sdfs, and ojph::local::swap_byte().
Referenced by read().
|
inline |
Definition at line 993 of file ojph_params_local.h.
References avail, init(), next, and param_dfs().
|
private |
Definition at line 1039 of file ojph_params_local.h.
Referenced by destroy(), param_dfs(), read(), and restart().
|
private |
Definition at line 1034 of file ojph_params_local.h.
Referenced by get_dwt_type(), init(), and read().
|
private |
Definition at line 1033 of file ojph_params_local.h.
Referenced by get_dwt_type(), init(), and read().
|
private |
Definition at line 1031 of file ojph_params_local.h.
|
private |
|
private |
Definition at line 1032 of file ojph_params_local.h.