Class for encapsulating metadata concerning a block of coefficients in a subband.
#include <wavelet_utils.h>
|
| CodeBlock () |
| Constructor.
|
| CodeBlock (const int xstart, const int ystart, const int xend, const int yend) |
| Constructor.
|
int | Xstart () const |
| Returns the horizontal start of the block.
|
int | Ystart () const |
| Returns the vertical start of the block.
|
int | Xend () const |
| Returns one past the last coefficient coord, horizontally.
|
int | Yend () const |
| Returns one past the last coefficient coord, vertically.
|
int | Xl () const |
| Returns the width of the code block.
|
int | Yl () const |
| Returns the height of the code block.
|
int | QuantIndex () const |
| Returns the quantisation index associated to the code block.
|
bool | Skipped () const |
| Returns true if the code-block is skipped, false if not.
|
void | SetQuantIndex (const int quantindex) |
| Sets the quantisation index.
|
void | SetSkip (bool skip) |
| Sets whether the code block is skipped or not.
|
|
void | Init (const int xstart, const int ystart, const int xend, const int yend) |
| Initialise the code block.
|
◆ CodeBlock() [1/2]
dirac::CodeBlock::CodeBlock |
( |
| ) |
|
◆ CodeBlock() [2/2]
dirac::CodeBlock::CodeBlock |
( |
const int | xstart, |
|
|
const int | ystart, |
|
|
const int | xend, |
|
|
const int | yend ) |
◆ Init()
void dirac::CodeBlock::Init |
( |
const int | xstart, |
|
|
const int | ystart, |
|
|
const int | xend, |
|
|
const int | yend ) |
|
private |
◆ QuantIndex()
int dirac::CodeBlock::QuantIndex |
( |
| ) |
const |
|
inline |
◆ SetQuantIndex()
void dirac::CodeBlock::SetQuantIndex |
( |
const int | quantindex | ) |
|
|
inline |
◆ SetSkip()
void dirac::CodeBlock::SetSkip |
( |
bool | skip | ) |
|
|
inline |
◆ Skipped()
bool dirac::CodeBlock::Skipped |
( |
| ) |
const |
|
inline |
◆ Xend()
int dirac::CodeBlock::Xend |
( |
| ) |
const |
|
inline |
◆ Xl()
int dirac::CodeBlock::Xl |
( |
| ) |
const |
|
inline |
◆ Xstart()
int dirac::CodeBlock::Xstart |
( |
| ) |
const |
|
inline |
◆ Yend()
int dirac::CodeBlock::Yend |
( |
| ) |
const |
|
inline |
◆ Yl()
int dirac::CodeBlock::Yl |
( |
| ) |
const |
|
inline |
◆ Ystart()
int dirac::CodeBlock::Ystart |
( |
| ) |
const |
|
inline |
◆ Subband
◆ m_quantindex
int dirac::CodeBlock::m_quantindex |
|
private |
◆ m_skipped
bool dirac::CodeBlock::m_skipped |
|
private |
◆ m_xend
int dirac::CodeBlock::m_xend |
|
private |
◆ m_xl
int dirac::CodeBlock::m_xl |
|
private |
◆ m_xstart
int dirac::CodeBlock::m_xstart |
|
private |
◆ m_yend
int dirac::CodeBlock::m_yend |
|
private |
◆ m_yl
int dirac::CodeBlock::m_yl |
|
private |
◆ m_ystart
int dirac::CodeBlock::m_ystart |
|
private |
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.