OpenJPH
Open-source implementation of JPEG2000 Part-15
ojph::local::sqrt_energy_gains Class Reference

Static Public Member Functions

static float get_gain_l (ui32 num_decomp, bool reversible)
 
static float get_gain_h (ui32 num_decomp, bool reversible)
 

Static Private Attributes

static const float gain_9x7_l [34]
 
static const float gain_9x7_h [34]
 
static const float gain_5x3_l [34]
 
static const float gain_5x3_h [34]
 

Detailed Description

Definition at line 430 of file ojph_params.cpp.

Member Function Documentation

◆ get_gain_h()

static float ojph::local::sqrt_energy_gains::get_gain_h ( ui32  num_decomp,
bool  reversible 
)
inlinestatic

Definition at line 435 of file ojph_params.cpp.

References gain_5x3_h, and gain_9x7_h.

Referenced by ojph::local::param_qcd::set_irrev_quant().

◆ get_gain_l()

static float ojph::local::sqrt_energy_gains::get_gain_l ( ui32  num_decomp,
bool  reversible 
)
inlinestatic

Definition at line 433 of file ojph_params.cpp.

References gain_5x3_l, and gain_9x7_l.

Referenced by ojph::local::param_qcd::set_irrev_quant().

Member Data Documentation

◆ gain_5x3_h

const float ojph::local::sqrt_energy_gains::gain_5x3_h
staticprivate
Initial value:
= { 1.0458e+00f,
1.3975e+00f, 1.4389e+00f, 1.7287e+00f, 1.8880e+00f, 2.1841e+00f,
2.4392e+00f, 2.7830e+00f, 3.1341e+00f, 3.5576e+00f, 4.0188e+00f,
4.5532e+00f, 5.1494e+00f, 5.8301e+00f, 6.5963e+00f, 7.4663e+00f,
8.4489e+00f, 9.5623e+00f, 1.0821e+01f, 1.2247e+01f, 1.3860e+01f,
1.5685e+01f, 1.7751e+01f, 2.0089e+01f, 2.2735e+01f, 2.5729e+01f,
2.9117e+01f, 3.2952e+01f, 3.7292e+01f, 4.2203e+01f, 4.7761e+01f,
5.4051e+01f, 6.1170e+01f, 6.9226e+01f }

Definition at line 442 of file ojph_params.cpp.

Referenced by get_gain_h().

◆ gain_5x3_l

const float ojph::local::sqrt_energy_gains::gain_5x3_l
staticprivate
Initial value:
= { 1.0000e+00f,
1.2247e+00f, 1.3229e+00f, 1.5411e+00f, 1.7139e+00f, 1.9605e+00f,
2.2044e+00f, 2.5047e+00f, 2.8277e+00f, 3.2049e+00f, 3.6238e+00f,
4.1033e+00f, 4.6423e+00f, 5.2548e+00f, 5.9462e+00f, 6.7299e+00f,
7.6159e+00f, 8.6193e+00f, 9.7544e+00f, 1.1039e+01f, 1.2493e+01f,
1.4139e+01f, 1.6001e+01f, 1.8108e+01f, 2.0493e+01f, 2.3192e+01f,
2.6246e+01f, 2.9702e+01f, 3.3614e+01f, 3.8041e+01f, 4.3051e+01f,
4.8721e+01f, 5.5138e+01f, 6.2399e+01f }

Definition at line 441 of file ojph_params.cpp.

Referenced by get_gain_l().

◆ gain_9x7_h

const float ojph::local::sqrt_energy_gains::gain_9x7_h
staticprivate
Initial value:
= { 1.4425e+00f,
1.9669e+00f, 2.8839e+00f, 4.1475e+00f, 5.8946e+00f, 8.3472e+00f,
1.1809e+01f, 1.6701e+01f, 2.3620e+01f, 3.3403e+01f, 4.7240e+01f,
6.6807e+01f, 9.4479e+01f, 1.3361e+02f, 1.8896e+02f, 2.6723e+02f,
3.7792e+02f, 5.3446e+02f, 7.5583e+02f, 1.0689e+03f, 1.5117e+03f,
2.1378e+03f, 3.0233e+03f, 4.2756e+03f, 6.0467e+03f, 8.5513e+03f,
1.2093e+04f, 1.7103e+04f, 2.4187e+04f, 3.4205e+04f, 4.8373e+04f,
6.8410e+04f, 9.6747e+04f, 1.3682e+05f }

Definition at line 440 of file ojph_params.cpp.

Referenced by get_gain_h().

◆ gain_9x7_l

const float ojph::local::sqrt_energy_gains::gain_9x7_l
staticprivate
Initial value:
= { 1.0000e+00f,
1.4021e+00f, 2.0304e+00f, 2.9012e+00f, 4.1153e+00f, 5.8245e+00f,
8.2388e+00f, 1.1652e+01f, 1.6479e+01f, 2.3304e+01f, 3.2957e+01f,
4.6609e+01f, 6.5915e+01f, 9.3217e+01f, 1.3183e+02f, 1.8643e+02f,
2.6366e+02f, 3.7287e+02f, 5.2732e+02f, 7.4574e+02f, 1.0546e+03f,
1.4915e+03f, 2.1093e+03f, 2.9830e+03f, 4.2185e+03f, 5.9659e+03f,
8.4371e+03f, 1.1932e+04f, 1.6874e+04f, 2.3864e+04f, 3.3748e+04f,
4.7727e+04f, 6.7496e+04f, 9.5454e+04f }

Definition at line 439 of file ojph_params.cpp.

Referenced by get_gain_l().


The documentation for this class was generated from the following file: