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 |
Public Member Functions | |
param_nlt () | |
~param_nlt () | |
void | check_validity (param_siz &siz) |
void | set_type3_transformation (ui32 comp_num, bool enable) |
bool | get_type3_transformation (ui32 comp_num, ui8 &bit_depth, bool &is_signed) const |
bool | write (outfile_base *file) const |
void | read (infile_base *file) |
Private Member Functions | |
const param_nlt * | get_comp_object (ui32 comp_num) const |
param_nlt * | get_comp_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 |
bool | alloced_next |
Definition at line 697 of file ojph_params_local.h.
Definition at line 699 of file ojph_params_local.h.
|
inline |
Definition at line 701 of file ojph_params_local.h.
References alloced_next, BDnlt, Cnlt, enabled, Lnlt, next, and Tnlt.
Referenced by add_object().
|
inline |
Definition at line 709 of file ojph_params_local.h.
References alloced_next, and next.
Definition at line 1478 of file ojph_params.cpp.
References alloced_next, Cnlt, next, and param_nlt().
Referenced by check_validity(), read(), and set_type3_transformation().
void ojph::local::param_nlt::check_validity | ( | param_siz & | siz | ) |
Definition at line 1291 of file ojph_params.cpp.
References add_object(), BDnlt, enabled, ojph::local::param_siz::get_bit_depth(), get_comp_object(), ojph::local::param_siz::get_num_components(), is_any_enabled(), ojph::local::param_siz::is_signed(), ojph::local::param_siz::RSIZ_EXT_FLAG, ojph::local::param_siz::RSIZ_NLT_FLAG, ojph::local::param_siz::set_Rsiz_flag(), and trim_non_existing_components().
Referenced by ojph::local::codestream::write_headers().
Definition at line 1456 of file ojph_params.cpp.
References get_comp_object().
Definition at line 1465 of file ojph_params.cpp.
Referenced by check_validity(), get_comp_object(), get_type3_transformation(), read(), and set_type3_transformation().
bool ojph::local::param_nlt::get_type3_transformation | ( | ui32 | comp_num, |
ui8 & | bit_depth, | ||
bool & | is_signed | ||
) | const |
Definition at line 1388 of file ojph_params.cpp.
References BDnlt, enabled, and get_comp_object().
Referenced by ojph::local::tile::finalize_alloc(), and ojph::param_nlt::get_type3_transformation().
|
private |
Definition at line 1494 of file ojph_params.cpp.
Referenced by check_validity(), and write().
void ojph::local::param_nlt::read | ( | infile_base * | file | ) |
Definition at line 1431 of file ojph_params.cpp.
References add_object(), BDnlt, Cnlt, enabled, get_comp_object(), OJPH_ERROR, ojph::infile_base::read(), and ojph::local::swap_byte().
Referenced by ojph::local::codestream::read_headers().
void ojph::local::param_nlt::set_type3_transformation | ( | ui32 | comp_num, |
bool | enable | ||
) |
Definition at line 1379 of file ojph_params.cpp.
References add_object(), enabled, and get_comp_object().
Referenced by ojph::param_nlt::set_type3_transformation().
|
private |
Definition at line 1504 of file ojph_params.cpp.
References Cnlt, enabled, and next.
Referenced by check_validity().
bool ojph::local::param_nlt::write | ( | outfile_base * | file | ) | const |
Definition at line 1403 of file ojph_params.cpp.
References BDnlt, Cnlt, enabled, is_any_enabled(), Lnlt, next, ojph::local::NLT, ojph::local::swap_byte(), Tnlt, and ojph::outfile_base::write().
Referenced by ojph::local::codestream::write_headers().
|
private |
Definition at line 738 of file ojph_params_local.h.
Referenced by add_object(), param_nlt(), and ~param_nlt().
|
private |
Definition at line 734 of file ojph_params_local.h.
Referenced by check_validity(), get_type3_transformation(), param_nlt(), read(), and write().
|
private |
Definition at line 733 of file ojph_params_local.h.
Referenced by add_object(), get_comp_object(), param_nlt(), read(), trim_non_existing_components(), and write().
|
private |
Definition at line 736 of file ojph_params_local.h.
Referenced by check_validity(), get_type3_transformation(), is_any_enabled(), param_nlt(), read(), set_type3_transformation(), trim_non_existing_components(), and write().
|
private |
Definition at line 732 of file ojph_params_local.h.
Referenced by param_nlt(), and write().
|
private |
Definition at line 737 of file ojph_params_local.h.
Referenced by add_object(), get_comp_object(), is_any_enabled(), param_nlt(), trim_non_existing_components(), write(), and ~param_nlt().
|
private |
Definition at line 735 of file ojph_params_local.h.
Referenced by param_nlt(), and write().