OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_params_local.h>
Public Member Functions | |
param_qcd () | |
void | set_delta (float delta) |
void | set_rev_quant (ui32 bit_depth, bool is_employing_color_transform) |
void | set_irrev_quant () |
void | check_validity (const param_siz &siz, const param_cod &cod) |
ui32 | get_num_guard_bits () const |
ui32 | get_MAGBp () const |
ui32 | get_Kmax (ui32 resolution, ui32 subband) const |
float | irrev_get_delta (ui32 resolution, ui32 subband) const |
bool | write (outfile_base *file) |
void | read (infile_base *file) |
Protected Attributes | |
ui16 | Lqcd |
ui8 | Sqcd |
union { | |
ui8 u8_SPqcd [97] | |
ui16 u16_SPqcd [97] | |
}; | |
ui32 | num_decomps |
float | base_delta |
Definition at line 435 of file ojph_params_local.h.
|
inline |
Definition at line 439 of file ojph_params_local.h.
References base_delta, Lqcd, num_decomps, Sqcd, and u16_SPqcd.
Definition at line 453 of file ojph_params_local.h.
References base_delta, ojph::local::param_siz::get_bit_depth(), ojph::local::param_siz::get_num_components(), ojph::local::param_cod::get_num_decompositions(), ojph::local::param_cod::is_employing_color_transform(), ojph::local::param_cod::is_reversible(), ojph::local::param_siz::is_signed(), num_decomps, ojph_max, set_irrev_quant(), and set_rev_quant().
Referenced by ojph::local::codestream::write_headers().
Definition at line 903 of file ojph_params.cpp.
References get_num_guard_bits(), Sqcd, u16_SPqcd, and u8_SPqcd.
Referenced by ojph::local::subband::finalize_alloc().
ui32 ojph::local::param_qcd::get_MAGBp | ( | ) | const |
Definition at line 860 of file ojph_params.cpp.
References get_num_guard_bits(), num_decomps, ojph_max, Sqcd, u16_SPqcd, and u8_SPqcd.
Referenced by ojph::local::param_cap::check_validity().
ui32 ojph::local::param_qcd::get_num_guard_bits | ( | ) | const |
Definition at line 897 of file ojph_params.cpp.
References Sqcd.
Referenced by get_Kmax(), and get_MAGBp().
Definition at line 880 of file ojph_params.cpp.
References Sqcd, and u16_SPqcd.
Referenced by ojph::local::subband::finalize_alloc().
void ojph::local::param_qcd::read | ( | infile_base * | file | ) |
Definition at line 970 of file ojph_params.cpp.
References Lqcd, num_decomps, OJPH_ERROR, ojph::infile_base::read(), Sqcd, ojph::local::swap_byte(), u16_SPqcd, and u8_SPqcd.
Referenced by ojph::local::codestream::read_headers().
|
inline |
Definition at line 449 of file ojph_params_local.h.
References base_delta.
Referenced by ojph::param_qcd::set_irrev_quant().
void ojph::local::param_qcd::set_irrev_quant | ( | ) |
Definition at line 818 of file ojph_params.cpp.
References base_delta, ojph::local::sqrt_energy_gains::get_gain_h(), ojph::local::sqrt_energy_gains::get_gain_l(), num_decomps, Sqcd, and u16_SPqcd.
Referenced by check_validity().
void ojph::local::param_qcd::set_rev_quant | ( | ui32 | bit_depth, |
bool | is_employing_color_transform | ||
) |
Definition at line 793 of file ojph_params.cpp.
References ojph::local::bibo_gains::get_bibo_gain_h(), ojph::local::bibo_gains::get_bibo_gain_l(), num_decomps, Sqcd, and u8_SPqcd.
Referenced by check_validity().
bool ojph::local::param_qcd::write | ( | outfile_base * | file | ) |
Definition at line 926 of file ojph_params.cpp.
References Lqcd, num_decomps, ojph::local::QCD, Sqcd, ojph::local::swap_byte(), u16_SPqcd, u8_SPqcd, and ojph::outfile_base::write().
Referenced by ojph::local::codestream::write_headers().
union { ... } ojph::local::param_qcd::@1 |
|
protected |
Definition at line 493 of file ojph_params_local.h.
Referenced by check_validity(), param_qcd(), set_delta(), and set_irrev_quant().
|
protected |
Definition at line 485 of file ojph_params_local.h.
Referenced by param_qcd(), read(), ojph::local::param_qcc::read(), and write().
|
protected |
Definition at line 492 of file ojph_params_local.h.
Referenced by check_validity(), get_MAGBp(), param_qcd(), read(), ojph::local::param_qcc::read(), set_irrev_quant(), set_rev_quant(), and write().
|
protected |
Definition at line 486 of file ojph_params_local.h.
Referenced by get_Kmax(), get_MAGBp(), get_num_guard_bits(), irrev_get_delta(), param_qcd(), read(), ojph::local::param_qcc::read(), set_irrev_quant(), set_rev_quant(), and write().
ui16 ojph::local::param_qcd::u16_SPqcd[97] |
Definition at line 490 of file ojph_params_local.h.
Referenced by get_Kmax(), get_MAGBp(), irrev_get_delta(), param_qcd(), read(), ojph::local::param_qcc::read(), set_irrev_quant(), and write().
ui8 ojph::local::param_qcd::u8_SPqcd[97] |
Definition at line 489 of file ojph_params_local.h.
Referenced by get_Kmax(), get_MAGBp(), read(), ojph::local::param_qcc::read(), set_rev_quant(), and write().