OpenJPH
Open-source implementation of JPEG2000 Part-15
|
Quantization parameters object. More...
#include <ojph_params.h>
Public Member Functions | |
param_qcd (local::param_qcd *p) | |
void | set_irrev_quant (float delta) |
Set the irreversible quantization base delta. | |
void | set_irrev_quant (ui32 comp_idx, float delta) |
Set the irreversible quantization base delta for a specific component. | |
Private Attributes | |
local::param_qcd * | state |
Quantization parameters object.
Definition at line 162 of file ojph_params.h.
|
inline |
Definition at line 165 of file ojph_params.h.
void ojph::param_qcd::set_irrev_quant | ( | float | delta | ) |
Set the irreversible quantization base delta.
This represents the default base delta and influences QCD marker segment
delta |
Definition at line 418 of file ojph_params.cpp.
References ojph::local::param_qcd::set_delta(), and state.
Referenced by main().
void ojph::param_qcd::set_irrev_quant | ( | ui32 | comp_idx, |
float | delta ) |
Set the irreversible quantization base delta for a specific component.
This represents the default base delta for component comp_idx, and influences QCC marker segment for the component, inserting one if needed, which is usually the case.
comp_idx | |
delta |
Definition at line 424 of file ojph_params.cpp.
References ojph::local::param_qcd::set_delta(), and state.
|
private |
Definition at line 191 of file ojph_params.h.
Referenced by set_irrev_quant(), and set_irrev_quant().