OpenJPH
Open-source implementation of JPEG2000 Part-15
Loading...
Searching...
No Matches
ojph::param_cod Class Reference

#include <ojph_params.h>

Public Member Functions

 param_cod (local::param_cod *p)
void set_num_decomposition (ui32 num_decompositions)
void set_block_dims (ui32 width, ui32 height)
void set_precinct_size (int num_levels, size *precinct_size)
void set_progression_order (const char *name)
void set_color_transform (bool color_transform)
void set_reversible (bool reversible)
ui32 get_num_decompositions () const
size get_block_dims () const
size get_log_block_dims () const
bool is_reversible () const
size get_precinct_size (ui32 level_num) const
size get_log_precinct_size (ui32 level_num) const
int get_progression_order () const
const char * get_progression_order_as_string () const
int get_num_layers () const
bool is_using_color_transform () const
bool packets_may_use_sop () const
bool packets_use_eph () const
bool get_block_vertical_causality () const
void set_num_decomposition (ui32 comp_idx, ui32 num_decompositions)
void set_block_dims (ui32 comp_idx, ui32 width, ui32 height)
void set_precinct_size (ui32 comp_idx, int num_levels, size *precinct_size)
void set_reversible (ui32 comp_idx, bool reversible)
ui32 get_num_decompositions (ui32 comp_idx) const
size get_block_dims (ui32 comp_idx) const
size get_log_block_dims (ui32 comp_idx) const
bool is_reversible (ui32 comp_idx) const
size get_precinct_size (ui32 comp_idx, ui32 level_num) const
size get_log_precinct_size (ui32 comp_idx, ui32 level_num) const
bool get_block_vertical_causality (ui32 comp_idx) const

Private Attributes

local::param_cod * state

Detailed Description

Definition at line 119 of file ojph_params.h.

Constructor & Destructor Documentation

◆ param_cod()

ojph::param_cod::param_cod ( local::param_cod * p)
inline

Definition at line 122 of file ojph_params.h.

References state.

Member Function Documentation

◆ get_block_dims() [1/2]

size ojph::param_cod::get_block_dims ( ) const

Definition at line 292 of file ojph_params.cpp.

References state.

◆ get_block_dims() [2/2]

size ojph::param_cod::get_block_dims ( ui32 comp_idx) const

Definition at line 380 of file ojph_params.cpp.

References state.

◆ get_block_vertical_causality() [1/2]

bool ojph::param_cod::get_block_vertical_causality ( ) const

Definition at line 370 of file ojph_params.cpp.

References state.

◆ get_block_vertical_causality() [2/2]

bool ojph::param_cod::get_block_vertical_causality ( ui32 comp_idx) const

Definition at line 400 of file ojph_params.cpp.

References state.

◆ get_log_block_dims() [1/2]

size ojph::param_cod::get_log_block_dims ( ) const

◆ get_log_block_dims() [2/2]

size ojph::param_cod::get_log_block_dims ( ui32 comp_idx) const

Definition at line 384 of file ojph_params.cpp.

References state.

◆ get_log_precinct_size() [1/2]

size ojph::param_cod::get_log_precinct_size ( ui32 comp_idx,
ui32 level_num ) const

Definition at line 396 of file ojph_params.cpp.

References state.

◆ get_log_precinct_size() [2/2]

size ojph::param_cod::get_log_precinct_size ( ui32 level_num) const

◆ get_num_decompositions() [1/2]

ui32 ojph::param_cod::get_num_decompositions ( ) const

◆ get_num_decompositions() [2/2]

ui32 ojph::param_cod::get_num_decompositions ( ui32 comp_idx) const

Definition at line 376 of file ojph_params.cpp.

References state.

◆ get_num_layers()

int ojph::param_cod::get_num_layers ( ) const

Definition at line 346 of file ojph_params.cpp.

References state.

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

◆ get_precinct_size() [1/2]

size ojph::param_cod::get_precinct_size ( ui32 comp_idx,
ui32 level_num ) const

Definition at line 392 of file ojph_params.cpp.

References state.

◆ get_precinct_size() [2/2]

size ojph::param_cod::get_precinct_size ( ui32 level_num) const

Definition at line 310 of file ojph_params.cpp.

References state.

Referenced by LLVMFuzzerTestOneInput().

◆ get_progression_order()

◆ get_progression_order_as_string()

◆ is_reversible() [1/2]

bool ojph::param_cod::is_reversible ( ) const

Definition at line 304 of file ojph_params.cpp.

References state.

Referenced by ojph::local::codestream::check_imf_validity(), and TEST().

◆ is_reversible() [2/2]

bool ojph::param_cod::is_reversible ( ui32 comp_idx) const

Definition at line 388 of file ojph_params.cpp.

References state.

◆ is_using_color_transform()

bool ojph::param_cod::is_using_color_transform ( ) const

Definition at line 352 of file ojph_params.cpp.

References state.

Referenced by main().

◆ packets_may_use_sop()

bool ojph::param_cod::packets_may_use_sop ( ) const

Definition at line 358 of file ojph_params.cpp.

References state.

◆ packets_use_eph()

bool ojph::param_cod::packets_use_eph ( ) const

Definition at line 364 of file ojph_params.cpp.

References state.

◆ set_block_dims() [1/2]

void ojph::param_cod::set_block_dims ( ui32 comp_idx,
ui32 width,
ui32 height )

Definition at line 264 of file ojph_params.cpp.

References set_block_dims(), and state.

◆ set_block_dims() [2/2]

void ojph::param_cod::set_block_dims ( ui32 width,
ui32 height )

Definition at line 176 of file ojph_params.cpp.

References ojph::count_leading_zeros(), OJPH_ERROR, and state.

Referenced by main(), set_block_dims(), and TEST().

◆ set_color_transform()

void ojph::param_cod::set_color_transform ( bool color_transform)

Definition at line 245 of file ojph_params.cpp.

References state.

Referenced by LLVMFuzzerTestOneInput(), main(), and TEST().

◆ set_num_decomposition() [1/2]

void ojph::param_cod::set_num_decomposition ( ui32 comp_idx,
ui32 num_decompositions )

Definition at line 257 of file ojph_params.cpp.

References set_num_decomposition(), and state.

◆ set_num_decomposition() [2/2]

void ojph::param_cod::set_num_decomposition ( ui32 num_decompositions)

Definition at line 167 of file ojph_params.cpp.

References OJPH_ERROR, and state.

Referenced by LLVMFuzzerTestOneInput(), main(), set_num_decomposition(), and TEST().

◆ set_precinct_size() [1/2]

void ojph::param_cod::set_precinct_size ( int num_levels,
size * precinct_size )

Definition at line 190 of file ojph_params.cpp.

References ojph::count_leading_zeros(), ojph::size::h, OJPH_ERROR, state, and ojph::size::w.

Referenced by main(), and set_precinct_size().

◆ set_precinct_size() [2/2]

void ojph::param_cod::set_precinct_size ( ui32 comp_idx,
int num_levels,
size * precinct_size )

Definition at line 271 of file ojph_params.cpp.

References set_precinct_size(), and state.

◆ set_progression_order()

◆ set_reversible() [1/2]

void ojph::param_cod::set_reversible ( bool reversible)

Definition at line 251 of file ojph_params.cpp.

References state.

Referenced by LLVMFuzzerTestOneInput(), main(), set_reversible(), and TEST().

◆ set_reversible() [2/2]

void ojph::param_cod::set_reversible ( ui32 comp_idx,
bool reversible )

Definition at line 279 of file ojph_params.cpp.

References set_reversible(), and state.

Member Data Documentation

◆ state


The documentation for this class was generated from the following files:
  • /build/reproducible-path/openjph-0.32.0/src/core/openjph/ojph_params.h
  • /build/reproducible-path/openjph-0.32.0/src/core/codestream/ojph_params.cpp