Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Private Member Functions | Private Attributes
dirac::SequenceDecompressor Class Reference

Decompresses a sequence of pictures from a stream. More...

#include <seq_decompress.h>

Collaboration diagram for dirac::SequenceDecompressor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

This class decompresses a sequence of frames, picture by picture.


Constructor & Destructor Documentation

Initializes the decompressor with an input stream and level of output detail.

Parameters:
parseunitFirst access-unit of new sequence
verbositywhen true, increases the amount of information displayed during decompression

Closes files and releases resources.

Copy constructor is private and body-less. This class should not be copied.


Member Function Documentation

This function decodes the next picture in coding order and returns the next picture in display order. In general these will differ, and because of re-ordering there is a delay which needs to be imposed. This creates problems at the start and at the end of the sequence which must be dealt with. At the start we just keep outputting picture 0. At the end you will need to loop for longer to get all the pictures out. It's up to the calling function to do something with the decoded pictures as they come out -- write them to screen or to file, as required.

Parameters:
p_parseunit_byteioPicture information in Dirac-stream format
Returns:
reference to the next locally decoded picture available for display

Indicates whether or not the last picture in the sequence has been decompressed.

Returns:
true if last picture has been compressed; false if not

Returns the decoder parameters used for this decompression run.

Returns:
decoder parameters.

References m_decparams.

Returns the parse parameters used for this decompression run.

Returns:
parse parameters.

References m_parse_params.

Returns the source parameters used for this decompression run.

Returns:
source parameters.

References m_srcparams.

Parameters:
parseunit_byteioAccessUnit info in Dirac-stream format
SequenceDecompressor& dirac::SequenceDecompressor::operator= ( const SequenceDecompressor rhs) [private]

Assignment = is private and body-less. This class should not be assigned.


Member Data Documentation

Referenced by GetDecoderParams().

Referenced by GetParseParams().

Referenced by GetSourceParams().


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.