OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_params_local.h>
Public Member Functions | |
param_qcd () | |
void | set_delta (float delta) |
void | check_validity (const param_siz &siz, const param_cod &cod) |
ui32 | get_num_guard_bits () const |
ui32 | get_MAGBp () const |
ui32 | get_Kmax (const param_dfs *dfs, ui32 num_decompositions, ui32 resolution, ui32 subband) const |
float | irrev_get_delta (const param_dfs *dfs, ui32 num_decompositions, ui32 resolution, ui32 subband) const |
bool | write (outfile_base *file) |
void | read (infile_base *file) |
Protected Member Functions | |
void | set_rev_quant (ui32 num_decomps, ui32 bit_depth, bool is_employing_color_transform) |
void | set_irrev_quant (ui32 num_decomps) |
ui8 | decode_SPqcd (ui8 v) const |
ui8 | encode_SPqcd (ui8 v) const |
Protected Attributes | ||
ui16 | Lqcd | |
ui8 | Sqcd | |
union { | ||
ui8 u8_SPqcd [97] | ||
ui16 u16_SPqcd [97] | ||
}; | ||
ui32 | num_subbands | |
float | base_delta | |
Definition at line 595 of file ojph_params_local.h.
|
inline |
Definition at line 599 of file ojph_params_local.h.
References base_delta, Lqcd, num_subbands, Sqcd, and u16_SPqcd.
Definition at line 610 of file ojph_params_local.h.
References base_delta, ojph::local::param_cod::DWT_IRV97, ojph::local::param_cod::DWT_REV53, 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::get_wavelet_kern(), ojph::local::param_cod::is_employing_color_transform(), ojph::local::param_siz::is_signed(), num_subbands, ojph_max, set_irrev_quant(), and set_rev_quant().
Referenced by ojph::local::codestream::write_headers().
Definition at line 652 of file ojph_params_local.h.
Referenced by get_Kmax(), and get_MAGBp().
Definition at line 654 of file ojph_params_local.h.
Referenced by set_rev_quant().
ui32 ojph::local::param_qcd::get_Kmax | ( | const param_dfs * | dfs, |
ui32 | num_decompositions, | ||
ui32 | resolution, | ||
ui32 | subband | ||
) | const |
Definition at line 1100 of file ojph_params.cpp.
References decode_SPqcd(), ojph::local::param_dfs::exists(), get_num_guard_bits(), ojph::local::param_dfs::get_subband_idx(), num_subbands, OJPH_INFO, Sqcd, u16_SPqcd, and u8_SPqcd.
Referenced by ojph::local::subband::finalize_alloc().
ui32 ojph::local::param_qcd::get_MAGBp | ( | ) | const |
Definition at line 1037 of file ojph_params.cpp.
References decode_SPqcd(), get_num_guard_bits(), num_subbands, 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 1094 of file ojph_params.cpp.
References Sqcd.
Referenced by get_Kmax(), and get_MAGBp().
float ojph::local::param_qcd::irrev_get_delta | ( | const param_dfs * | dfs, |
ui32 | num_decompositions, | ||
ui32 | resolution, | ||
ui32 | subband | ||
) | const |
Definition at line 1064 of file ojph_params.cpp.
References ojph::local::param_dfs::exists(), ojph::local::param_dfs::get_subband_idx(), num_subbands, OJPH_INFO, Sqcd, and u16_SPqcd.
Referenced by ojph::local::subband::finalize_alloc().
void ojph::local::param_qcd::read | ( | infile_base * | file | ) |
Definition at line 1179 of file ojph_params.cpp.
References Lqcd, num_subbands, 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 608 of file ojph_params_local.h.
References base_delta.
Referenced by ojph::param_qcd::set_irrev_quant().
|
protected |
Definition at line 995 of file ojph_params.cpp.
References base_delta, ojph::local::sqrt_energy_gains::get_gain_h(), ojph::local::sqrt_energy_gains::get_gain_l(), Sqcd, and u16_SPqcd.
Referenced by check_validity().
|
protected |
Definition at line 948 of file ojph_params.cpp.
References encode_SPqcd(), ojph::local::bibo_gains::get_bibo_gain_h(), ojph::local::bibo_gains::get_bibo_gain_l(), OJPH_ERROR, ojph_max, Sqcd, and u8_SPqcd.
Referenced by check_validity().
bool ojph::local::param_qcd::write | ( | outfile_base * | file | ) |
Definition at line 1136 of file ojph_params.cpp.
References Lqcd, num_subbands, 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 |
|
protected |
Definition at line 665 of file ojph_params_local.h.
Referenced by check_validity(), param_qcd(), set_delta(), and set_irrev_quant().
|
protected |
Definition at line 657 of file ojph_params_local.h.
Referenced by param_qcd(), read(), ojph::local::param_qcc::read(), and write().
|
protected |
Definition at line 664 of file ojph_params_local.h.
Referenced by check_validity(), get_Kmax(), get_MAGBp(), irrev_get_delta(), param_qcd(), read(), ojph::local::param_qcc::read(), and write().
|
protected |
Definition at line 658 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 662 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 661 of file ojph_params_local.h.
Referenced by get_Kmax(), get_MAGBp(), read(), ojph::local::param_qcc::read(), set_rev_quant(), and write().