|
OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_params_local.h>
Public Types | |
| using | special_comp_num = ojph::param_nlt::special_comp_num |
| using | nonlinearity = ojph::param_nlt::nonlinearity |
Public Member Functions | |
| param_nlt () | |
| ~param_nlt () | |
| void | restart () |
| void | check_validity (param_siz &siz) |
| void | set_nonlinear_transform (ui32 comp_num, ui8 nl_type) |
| bool | get_nonlinear_transform (ui32 comp_num, ui8 &bit_depth, bool &is_signed, ui8 &nl_type) const |
| bool | write (outfile_base *file) const |
| void | read (infile_base *file) |
Private Member Functions | |
| void | init () |
| void | destroy () |
| const param_nlt * | get_nlt_object (ui32 comp_num) const |
| param_nlt * | get_nlt_object (ui32 comp_num) |
| param_nlt * | add_object (ui32 comp_num) |
| bool | is_any_enabled () const |
| void | trim_non_existing_components (ui32 num_comps) |
Private Attributes | |
| ui16 | Lnlt |
| ui16 | Cnlt |
| ui8 | BDnlt |
| ui8 | Tnlt |
| bool | enabled |
| param_nlt * | next |
| param_nlt * | avail |
Definition at line 787 of file ojph_params_local.h.
Definition at line 790 of file ojph_params_local.h.
Definition at line 789 of file ojph_params_local.h.
|
inline |
Definition at line 792 of file ojph_params_local.h.
Referenced by add_object(), check_validity(), get_nlt_object(), get_nlt_object(), get_nonlinear_transform(), is_any_enabled(), read(), restart(), set_nonlinear_transform(), trim_non_existing_components(), and write().
|
inline |
Definition at line 793 of file ojph_params_local.h.
References destroy().
Definition at line 1954 of file ojph_params.cpp.
References avail, Cnlt, init(), next, and param_nlt().
Referenced by check_validity(), read(), and set_nonlinear_transform().
| void ojph::local::param_nlt::check_validity | ( | param_siz & | siz | ) |
Definition at line 1763 of file ojph_params.cpp.
References add_object(), BDnlt, enabled, ojph::local::param_siz::get_bit_depth(), get_nlt_object(), ojph::local::param_siz::get_num_components(), is_any_enabled(), ojph::local::param_siz::is_signed(), param_nlt(), ojph::local::param_siz::RSIZ_EXT_FLAG, ojph::local::param_siz::RSIZ_NLT_FLAG, ojph::local::param_siz::set_Rsiz_flag(), Tnlt, and trim_non_existing_components().
|
inlineprivate |
Definition at line 824 of file ojph_params_local.h.
Referenced by ~param_nlt().
Definition at line 1936 of file ojph_params.cpp.
References get_nlt_object(), and param_nlt().
Definition at line 1945 of file ojph_params.cpp.
References Cnlt, next, and param_nlt().
Referenced by check_validity(), get_nlt_object(), get_nonlinear_transform(), read(), and set_nonlinear_transform().
| bool ojph::local::param_nlt::get_nonlinear_transform | ( | ui32 | comp_num, |
| ui8 & | bit_depth, | ||
| bool & | is_signed, | ||
| ui8 & | nl_type ) const |
Definition at line 1868 of file ojph_params.cpp.
References BDnlt, Cnlt, enabled, get_nlt_object(), param_nlt(), and Tnlt.
Referenced by ojph::local::tile::finalize_alloc().
|
inlineprivate |
Definition at line 814 of file ojph_params_local.h.
References BDnlt, Cnlt, enabled, Lnlt, next, and Tnlt.
Referenced by add_object(), param_nlt(), and restart().
|
private |
Definition at line 1977 of file ojph_params.cpp.
References enabled, next, and param_nlt().
Referenced by check_validity(), and write().
| void ojph::local::param_nlt::read | ( | infile_base * | file | ) |
Definition at line 1914 of file ojph_params.cpp.
References add_object(), BDnlt, Cnlt, enabled, get_nlt_object(), OJPH_ERROR, param_nlt(), ojph::infile_base::read(), ojph::local::swap_byte(), and Tnlt.
|
inline |
Definition at line 796 of file ojph_params_local.h.
References avail, init(), next, and param_nlt().
Definition at line 1852 of file ojph_params.cpp.
References add_object(), enabled, get_nlt_object(), OJPH_ERROR, ojph::param_nlt::OJPH_NLT_BINARY_COMPLEMENT_NLT, ojph::param_nlt::OJPH_NLT_NO_NLT, param_nlt(), and Tnlt.
|
private |
Definition at line 1987 of file ojph_params.cpp.
References Cnlt, enabled, next, OJPH_INFO, and param_nlt().
Referenced by check_validity().
| bool ojph::local::param_nlt::write | ( | outfile_base * | file | ) | const |
Definition at line 1886 of file ojph_params.cpp.
References BDnlt, Cnlt, enabled, is_any_enabled(), Lnlt, next, ojph::local::NLT, param_nlt(), ojph::local::swap_byte(), Tnlt, and ojph::outfile_base::write().
|
private |
Definition at line 855 of file ojph_params_local.h.
Referenced by add_object(), destroy(), param_nlt(), and restart().
|
private |
Definition at line 844 of file ojph_params_local.h.
Referenced by check_validity(), get_nonlinear_transform(), init(), read(), and write().
|
private |
Definition at line 843 of file ojph_params_local.h.
Referenced by add_object(), get_nlt_object(), get_nonlinear_transform(), init(), read(), trim_non_existing_components(), and write().
|
private |
Definition at line 846 of file ojph_params_local.h.
Referenced by check_validity(), get_nonlinear_transform(), init(), is_any_enabled(), read(), set_nonlinear_transform(), trim_non_existing_components(), and write().
|
private |
Definition at line 842 of file ojph_params_local.h.
|
private |
Definition at line 847 of file ojph_params_local.h.
Referenced by add_object(), destroy(), get_nlt_object(), init(), is_any_enabled(), restart(), trim_non_existing_components(), and write().
|
private |
Definition at line 845 of file ojph_params_local.h.
Referenced by check_validity(), get_nonlinear_transform(), init(), read(), set_nonlinear_transform(), and write().