43#ifndef _PICTURE_DECOMPRESS_H_
44#define _PICTURE_DECOMPRESS_H_
ChromaFormat
Definition common_types.h:58
Definition of class SequenceHeaderByteIO.
Definition accessunit_byteio.h:52
CompSort
Types of picture component.
Definition common.h:87
PredMode
Prediction modes for blocks.
Definition common.h:84
Represents a collection of data in a Dirac bytestream that can be parsed as a self-contained unit.
Definition parseunit_byteio.h:73
A compressed picture in Dirac bytestream format.
Definition picture_byteio.h:61
Represents compressed sequence-parameter data used in an AccessUnit.
Definition transform_byteio.h:60
Parameters for initialising picture class objects.
Definition common.h:533
Parameters for the decoding process.
Definition common.h:1549
Class for all the motion vector data.
Definition motion.h:220
Holds pictures both for reference and to overcome reordering delay.
Definition picture_buffer.h:59
A class for wavelet coefficient data.
Definition wavelet_utils.h:623
bool m_use_global
An indicator that is true if we use global motion vectors, false otherwise.
Definition picture_decompress.h:142
void CompDecompress(TransformByteIO *p_transform_byteio, PictureBuffer &my_buffer, int pnum, CompSort cs)
Decodes component data.
void InitCoeffData(CoeffArray &coeff_data, const int xl, const int yl)
Initialise the padded coefficient data for the IDWT and subband decoding.
PictureParams m_pparams
Current Picture Parameters.
Definition picture_decompress.h:151
PictureDecompressor & operator=(const PictureDecompressor &rhs)
Assignment = is private and body-less.
void PushPicture(PictureBuffer &my_buffer)
Add a picture to the picture buffer.
PictureDecompressor(DecoderParams &decp, ChromaFormat cf)
Constructor.
~PictureDecompressor()
Destructor.
void DecompressMVData(std::auto_ptr< MvData > &mv_data, PictureByteIO &picture_byteio)
Decodes the motion data.
void SetMVBlocks()
Set the number of superblocks and blocks.
ChromaFormat m_cformat
Chroma format of the picture being decompressed.
Definition picture_decompress.h:136
bool m_skipped
An indicator which is true if the picture has been skipped, false otherwise.
Definition picture_decompress.h:139
const PictureParams & GetPicParams() const
Returns the picture parameters of the current picture being decoded.
Definition picture_decompress.h:93
bool Decompress(ParseUnitByteIO &parseunit_byteio, PictureBuffer &my_buffer)
Decompress the next picture into the buffer.
bool m_use_block_mv
An indicator that is true if we use block motion vectors, false otherwise.
Definition picture_decompress.h:145
PredMode m_global_pred_mode
Prediction mode to use if we only have global motion vectors.
Definition picture_decompress.h:148
PictureDecompressor(const PictureDecompressor &cpy)
Copy constructor is private and body-less.
DecoderParams & m_decparams
Parameters for the decompression, as provided in constructor.
Definition picture_decompress.h:133
void CleanReferencePictures(PictureBuffer &my_buffer)
Removes all the reference pictures in the retired list.