#include <common.h>
Public Member Functions | |
EntropyCorrector (int depth) | |
Constructor. | |
float | Factor (const int bandnum, const FrameSort fsort, const CompSort c) const |
Returns the correction factor. | |
void | Update (int bandnum, FrameSort fsort, CompSort c, int est_bits, int actual_bits) |
Update the correction factors. |
A class used by the encoder for correcting estimates of entropy. Used for selecting quantisers in subband coefficient coding. Factors can be adjusted in the light of previous experience.
Definition at line 233 of file common.h.
|
Constructor. Constructs arrays of correction factors of size.
Definition at line 68 of file common.cpp. |
|
Returns the correction factor. Returns the correction factor for the band given also the type of frame and component. Definition at line 76 of file common.cpp. |
|
Update the correction factors. Update the factors for a given subband, component and frame type.
Definition at line 133 of file common.cpp. Referenced by dirac::CompCompressor::Compress(). |