Dirac - A Video Codec
Created by the British Broadcasting Corporation.
dirac::QuantChooser Class Reference
Choose a quantiser.
More...
#include <quant_chooser.h>
Collaboration diagram for dirac::QuantChooser:
[legend]List of all members.Public Member Functions
Private Member Functions
- QuantChooser (const QuantChooser &cpy)
- Copy constructor is private and body-less. This class should not be copied.
- QuantChooser & operator= (const QuantChooser &rhs)
- Assignment = is private and body-less. This class should not be assigned.
- void IntegralErrorCalc (const CodeBlock &code_block, const int block_idx, const int xratio, const int yratio)
- Calculate errors and entropies for integral-bit quantisers on a block of coeffs.
- void NonIntegralErrorCalc (const CodeBlock &code_block, const int block_idx, const int xratio, const int yratio)
- Calculate errors and entropies for non-integral-bit quantisers on a block of coeffs.
- void LagrangianCalc (const CodeBlock &code_block, const int block_idx)
- Having got statistics, calculate the Lagrangian costs.
- void SelectBestQuant ()
- Select the best quantisation index for a whole subband on the basis of the Lagrangian calculations.
- void SelectBestQuant (const int block_idx)
- Select the best quantisation index for a code block on the basis of the Lagrangian calculations.
- ValueType BlockAbsMax (const CodeBlock &code_block)
- Find the absolute max value in the block under consideration.
Private Attributes
Detailed Description
This class chooses a quantiser or quantisers for a subband
Constructor & Destructor Documentation
dirac::QuantChooser::QuantChooser |
( |
const PicArray & |
pic_data, |
|
|
const float |
lambda |
|
) |
|
|
dirac::QuantChooser::QuantChooser |
( |
const QuantChooser & |
cpy |
) |
[private] |
|
Member Function Documentation
int dirac::QuantChooser::GetBestQuant |
( |
Subband & |
node |
) |
|
|
void dirac::QuantChooser::IntegralErrorCalc |
( |
const CodeBlock & |
code_block, |
|
|
const int |
block_idx, |
|
|
const int |
xratio, |
|
|
const int |
yratio |
|
) |
[private] |
|
void dirac::QuantChooser::LagrangianCalc |
( |
const CodeBlock & |
code_block, |
|
|
const int |
block_idx |
|
) |
[private] |
|
void dirac::QuantChooser::NonIntegralErrorCalc |
( |
const CodeBlock & |
code_block, |
|
|
const int |
block_idx, |
|
|
const int |
xratio, |
|
|
const int |
yratio |
|
) |
[private] |
|
void dirac::QuantChooser::SelectBestQuant |
( |
const int |
block_idx |
) |
[private] |
|
void dirac::QuantChooser::SelectBestQuant |
( |
|
) |
[private] |
|
void dirac::QuantChooser::SetEntropyCorrection |
( |
const float |
ecfac |
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.