OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph::local::param_nlt Struct Reference

#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_nltget_comp_object (ui32 comp_num) const
 
param_nltget_comp_object (ui32 comp_num)
 
param_nltadd_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_nltnext
 
bool alloced_next
 

Detailed Description

Definition at line 697 of file ojph_params_local.h.

Member Typedef Documentation

◆ special_comp_num

Constructor & Destructor Documentation

◆ param_nlt()

ojph::local::param_nlt::param_nlt ( )
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().

◆ ~param_nlt()

ojph::local::param_nlt::~param_nlt ( )
inline

Definition at line 709 of file ojph_params_local.h.

References alloced_next, and next.

Member Function Documentation

◆ add_object()

param_nlt * ojph::local::param_nlt::add_object ( ui32  comp_num)
private

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().

◆ check_validity()

◆ get_comp_object() [1/2]

param_nlt * ojph::local::param_nlt::get_comp_object ( ui32  comp_num)
private

Definition at line 1456 of file ojph_params.cpp.

References get_comp_object().

◆ get_comp_object() [2/2]

const param_nlt * ojph::local::param_nlt::get_comp_object ( ui32  comp_num) const
private

◆ get_type3_transformation()

bool ojph::local::param_nlt::get_type3_transformation ( ui32  comp_num,
ui8 bit_depth,
bool &  is_signed 
) const

◆ is_any_enabled()

bool ojph::local::param_nlt::is_any_enabled ( ) const
private

Definition at line 1494 of file ojph_params.cpp.

References enabled, and next.

Referenced by check_validity(), and write().

◆ read()

void ojph::local::param_nlt::read ( infile_base file)

◆ set_type3_transformation()

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().

◆ trim_non_existing_components()

void ojph::local::param_nlt::trim_non_existing_components ( ui32  num_comps)
private

Definition at line 1504 of file ojph_params.cpp.

References Cnlt, enabled, and next.

Referenced by check_validity().

◆ write()

bool ojph::local::param_nlt::write ( outfile_base file) const

Member Data Documentation

◆ alloced_next

bool ojph::local::param_nlt::alloced_next
private

Definition at line 738 of file ojph_params_local.h.

Referenced by add_object(), param_nlt(), and ~param_nlt().

◆ BDnlt

ui8 ojph::local::param_nlt::BDnlt
private

Definition at line 734 of file ojph_params_local.h.

Referenced by check_validity(), get_type3_transformation(), param_nlt(), read(), and write().

◆ Cnlt

ui16 ojph::local::param_nlt::Cnlt
private

◆ enabled

bool ojph::local::param_nlt::enabled
private

◆ Lnlt

ui16 ojph::local::param_nlt::Lnlt
private

Definition at line 732 of file ojph_params_local.h.

Referenced by param_nlt(), and write().

◆ next

param_nlt* ojph::local::param_nlt::next
private

◆ Tnlt

ui8 ojph::local::param_nlt::Tnlt
private

Definition at line 735 of file ojph_params_local.h.

Referenced by param_nlt(), and write().


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