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

#include <ojph_params_local.h>

Public Member Functions

 param_siz ()
 
 ~param_siz ()
 
void set_num_components (ui32 num_comps)
 
void set_comp_info (ui32 comp_num, const point &downsampling, ui32 bit_depth, bool is_signed)
 
void check_validity ()
 
ui16 get_num_components () const
 
ui32 get_bit_depth (ui32 comp_num) const
 
bool is_signed (ui32 comp_num) const
 
point get_downsampling (ui32 comp_num) const
 
bool write (outfile_base *file)
 
void read (infile_base *file)
 
void set_skipped_resolutions (ui32 skipped_resolutions)
 
ui32 get_width (ui32 comp_num) const
 
ui32 get_height (ui32 comp_num) const
 
ui32 get_recon_width (ui32 comp_num) const
 
ui32 get_recon_height (ui32 comp_num) const
 

Private Member Functions

 param_siz (const param_siz &)=delete
 
param_sizoperator= (const param_siz &)=delete
 

Private Attributes

ui16 Lsiz
 
ui16 Rsiz
 
ui32 Xsiz
 
ui32 Ysiz
 
ui32 XOsiz
 
ui32 YOsiz
 
ui32 XTsiz
 
ui32 YTsiz
 
ui32 XTOsiz
 
ui32 YTOsiz
 
ui16 Csiz
 
siz_comp_infocptr
 
ui32 skipped_resolutions
 
int old_Csiz
 
siz_comp_info store [4]
 

Detailed Description

Definition at line 151 of file ojph_params_local.h.

Constructor & Destructor Documentation

◆ param_siz() [1/2]

ojph::local::param_siz::param_siz ( )
inline

Definition at line 156 of file ojph_params_local.h.

References cptr, old_Csiz, Rsiz, and store.

◆ ~param_siz()

ojph::local::param_siz::~param_siz ( )
inline

Definition at line 164 of file ojph_params_local.h.

References cptr, and store.

◆ param_siz() [2/2]

ojph::local::param_siz::param_siz ( const param_siz )
privatedelete

Member Function Documentation

◆ check_validity()

void ojph::local::param_siz::check_validity ( )
inline

Definition at line 192 of file ojph_params_local.h.

References OJPH_ERROR, XOsiz, Xsiz, XTOsiz, XTsiz, YOsiz, Ysiz, YTOsiz, and YTsiz.

Referenced by ojph::local::codestream::write_headers().

◆ get_bit_depth()

ui32 ojph::local::param_siz::get_bit_depth ( ui32  comp_num) const
inline

◆ get_downsampling()

point ojph::local::param_siz::get_downsampling ( ui32  comp_num) const
inline

◆ get_height()

ui32 ojph::local::param_siz::get_height ( ui32  comp_num) const
inline

◆ get_num_components()

◆ get_recon_height()

ui32 ojph::local::param_siz::get_recon_height ( ui32  comp_num) const
inline

◆ get_recon_width()

ui32 ojph::local::param_siz::get_recon_width ( ui32  comp_num) const
inline

◆ get_width()

ui32 ojph::local::param_siz::get_width ( ui32  comp_num) const
inline

◆ is_signed()

bool ojph::local::param_siz::is_signed ( ui32  comp_num) const
inline

◆ operator=()

param_siz & ojph::local::param_siz::operator= ( const param_siz )
privatedelete

◆ read()

◆ set_comp_info()

void ojph::local::param_siz::set_comp_info ( ui32  comp_num,
const point downsampling,
ui32  bit_depth,
bool  is_signed 
)
inline

◆ set_num_components()

void ojph::local::param_siz::set_num_components ( ui32  num_comps)
inline

Definition at line 169 of file ojph_params_local.h.

References cptr, Csiz, old_Csiz, and store.

Referenced by ojph::param_siz::set_num_components().

◆ set_skipped_resolutions()

void ojph::local::param_siz::set_skipped_resolutions ( ui32  skipped_resolutions)
inline

◆ write()

Member Data Documentation

◆ cptr

◆ Csiz

◆ Lsiz

ui16 ojph::local::param_siz::Lsiz
private

Definition at line 261 of file ojph_params_local.h.

Referenced by read(), and write().

◆ old_Csiz

int ojph::local::param_siz::old_Csiz
private

Definition at line 276 of file ojph_params_local.h.

Referenced by param_siz(), read(), and set_num_components().

◆ Rsiz

ui16 ojph::local::param_siz::Rsiz
private

Definition at line 262 of file ojph_params_local.h.

Referenced by param_siz(), read(), and write().

◆ skipped_resolutions

ui32 ojph::local::param_siz::skipped_resolutions
private

Definition at line 275 of file ojph_params_local.h.

Referenced by get_recon_height(), get_recon_width(), and set_skipped_resolutions().

◆ store

siz_comp_info ojph::local::param_siz::store[4]
private

Definition at line 277 of file ojph_params_local.h.

Referenced by param_siz(), read(), set_num_components(), and ~param_siz().

◆ XOsiz

ui32 ojph::local::param_siz::XOsiz
private

◆ Xsiz

◆ XTOsiz

ui32 ojph::local::param_siz::XTOsiz
private

◆ XTsiz

ui32 ojph::local::param_siz::XTsiz
private

◆ YOsiz

◆ Ysiz

◆ YTOsiz

ui32 ojph::local::param_siz::YTOsiz
private

◆ YTsiz

ui32 ojph::local::param_siz::YTsiz
private

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