OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_params.h>
Private Attributes | |
local::param_cod * | state |
Definition at line 108 of file ojph_params.h.
|
inline |
Definition at line 112 of file ojph_params.h.
size ojph::param_cod::get_block_dims | ( | ) | const |
Definition at line 264 of file ojph_params.cpp.
References ojph::local::param_cod::get_block_dims(), and state.
bool ojph::param_cod::get_block_vertical_causality | ( | ) | const |
Definition at line 342 of file ojph_params.cpp.
References ojph::local::cod_SPcod::block_style, ojph::local::param_cod::SPcod, state, and ojph::local::param_cod::VERT_CAUSAL_MODE.
Referenced by ojph::local::codeblock::finalize_alloc().
size ojph::param_cod::get_log_block_dims | ( | ) | const |
Definition at line 270 of file ojph_params.cpp.
References ojph::local::param_cod::get_log_block_dims(), and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), and ojph::local::codestream::check_imf_validity().
Definition at line 288 of file ojph_params.cpp.
References ojph::local::param_cod::get_log_precinct_size(), and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), and ojph::local::codestream::check_imf_validity().
ui32 ojph::param_cod::get_num_decompositions | ( | ) | const |
Definition at line 258 of file ojph_params.cpp.
References ojph::local::param_cod::get_num_decompositions(), and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), and ojph::local::tile_comp::pre_alloc().
int ojph::param_cod::get_num_layers | ( | ) | const |
Definition at line 318 of file ojph_params.cpp.
References ojph::local::cod_SGcod::num_layers, ojph::local::param_cod::SGCod, and state.
Referenced by ojph::local::codestream::read_headers().
Definition at line 282 of file ojph_params.cpp.
References ojph::local::param_cod::get_precinct_size(), and state.
int ojph::param_cod::get_progression_order | ( | ) | const |
Definition at line 294 of file ojph_params.cpp.
References ojph::local::cod_SGcod::prog_order, ojph::local::param_cod::SGCod, and state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), ojph::local::tile::finalize_alloc(), and ojph::local::codestream::write_headers().
const char * ojph::param_cod::get_progression_order_as_string | ( | ) | const |
Definition at line 300 of file ojph_params.cpp.
References ojph::OJPH_PO_CPRL, ojph::OJPH_PO_LRCP, ojph::OJPH_PO_PCRL, ojph::OJPH_PO_RLCP, ojph::OJPH_PO_RPCL, ojph::OJPH_PO_STRING_CPRL, ojph::OJPH_PO_STRING_LRCP, ojph::OJPH_PO_STRING_PCRL, ojph::OJPH_PO_STRING_RLCP, ojph::OJPH_PO_STRING_RPCL, ojph::local::cod_SGcod::prog_order, ojph::local::param_cod::SGCod, and state.
bool ojph::param_cod::is_reversible | ( | ) | const |
Definition at line 276 of file ojph_params.cpp.
References ojph::local::param_cod::is_reversible(), and state.
Referenced by ojph::local::codestream::check_imf_validity(), and ojph::local::codeblock::finalize_alloc().
bool ojph::param_cod::is_using_color_transform | ( | ) | const |
Definition at line 324 of file ojph_params.cpp.
References ojph::local::param_cod::is_employing_color_transform(), and state.
Referenced by main().
bool ojph::param_cod::packets_may_use_sop | ( | ) | const |
Definition at line 330 of file ojph_params.cpp.
References ojph::local::param_cod::packets_may_use_sop(), and state.
bool ojph::param_cod::packets_use_eph | ( | ) | const |
Definition at line 336 of file ojph_params.cpp.
References ojph::local::param_cod::packets_use_eph(), and state.
Definition at line 177 of file ojph_params.cpp.
References ojph::local::cod_SPcod::block_height, ojph::local::cod_SPcod::block_width, ojph::count_leading_zeros(), OJPH_ERROR, ojph::local::param_cod::SPcod, and state.
Referenced by main().
void ojph::param_cod::set_color_transform | ( | bool | color_transform | ) |
Definition at line 246 of file ojph_params.cpp.
References ojph::local::param_cod::employ_color_transform(), and state.
Referenced by main().
void ojph::param_cod::set_num_decomposition | ( | ui32 | num_decompositions | ) |
Definition at line 168 of file ojph_params.cpp.
References ojph::local::cod_SPcod::num_decomp, OJPH_ERROR, ojph::local::param_cod::SPcod, and state.
Referenced by main().
void ojph::param_cod::set_precinct_size | ( | int | num_levels, |
size * | precinct_size | ||
) |
Definition at line 191 of file ojph_params.cpp.
References ojph::count_leading_zeros(), ojph::size::h, ojph::local::cod_SPcod::num_decomp, OJPH_ERROR, ojph::local::cod_SPcod::precinct_size, ojph::local::param_cod::Scod, ojph::local::param_cod::SPcod, state, and ojph::size::w.
Referenced by main().
void ojph::param_cod::set_progression_order | ( | const char * | name | ) |
Definition at line 219 of file ojph_params.cpp.
References OJPH_ERROR, ojph::OJPH_PO_CPRL, ojph::OJPH_PO_LRCP, ojph::OJPH_PO_PCRL, ojph::OJPH_PO_RLCP, ojph::OJPH_PO_RPCL, ojph::OJPH_PO_STRING_CPRL, ojph::OJPH_PO_STRING_LRCP, ojph::OJPH_PO_STRING_PCRL, ojph::OJPH_PO_STRING_RLCP, ojph::OJPH_PO_STRING_RPCL, ojph::local::cod_SGcod::prog_order, ojph::local::param_cod::SGCod, and state.
Referenced by main().
void ojph::param_cod::set_reversible | ( | bool | reversible | ) |
Definition at line 252 of file ojph_params.cpp.
References ojph::local::param_cod::set_reversible(), and state.
Referenced by main().
|
private |
Definition at line 155 of file ojph_params.h.
Referenced by get_block_dims(), get_block_vertical_causality(), get_log_block_dims(), get_log_precinct_size(), get_num_decompositions(), get_num_layers(), get_precinct_size(), get_progression_order(), get_progression_order_as_string(), is_reversible(), is_using_color_transform(), packets_may_use_sop(), packets_use_eph(), set_block_dims(), set_color_transform(), set_num_decomposition(), set_precinct_size(), set_progression_order(), and set_reversible().