Created by the British Broadcasting Corporation.
Decompress a picture component. More...
#include <comp_decompress.h>
Public Member Functions | |
CompDecompressor (DecoderParams &decp, const PictureParams &fp) | |
Constructor. | |
void | Decompress (ComponentByteIO *p_component_byteio, CoeffArray &coeff_data, SubbandList &bands) |
Decompress a picture component. |
Private Member Functions | |
CompDecompressor (const CompDecompressor &cpy) | |
Copy constructor is private and body-less. | |
CompDecompressor & | operator= (const CompDecompressor &rhs) |
Assignment = is private and body-less. | |
void | SetToVal (CoeffArray &pic_data, const Subband &node, CoeffType val) |
Sets the data of a specific subband node to a given value. | |
void | SetupCodeBlocks (SubbandList &bands) |
Set up the code block structures for each subband. |
Private Attributes | |
DecoderParams & | m_decparams |
Copy of the decompression parameters provided to the constructor. | |
const PictureParams & | m_pparams |
Reference to the picture parameters provided to the constructor. | |
const PictureSort & | m_psort |
Reference to the picture sort. |
This class decompresses one of the three components (Y, U, or V) of a picture according to a given set or parameters. CompDecompressor is used by PictureCompressor..
dirac::CompDecompressor::CompDecompressor | ( | DecoderParams & | decp, |
const PictureParams & | fp | ||
) |
Create and initialize a component decompressor with the given characteristics.
decp | decoding parameters |
fp | picture parameters |
|
private |
Copy constructor is private and body-less. This class should not be copied.
void dirac::CompDecompressor::Decompress | ( | ComponentByteIO * | p_component_byteio, |
CoeffArray & | coeff_data, | ||
SubbandList & | bands | ||
) |
Decompress a PicArray containing a picture component (Y, U, or V).
p_component_byteio | Bytestream of component data |
coeff_data | contains the component data to be decompressed |
bands | the subband metadata |
|
private |
Assignment = is private and body-less. This class should not be assigned.
|
private |
Sets the data of a specific subband node to a given value
pic_data | contains the component data |
node | subband node |
val | the value to set |
|
private |
Set up the code block structures for each subband
bands | the set of all the subbands |
|
private |
|
private |
|
private |
© 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.