Created by the British Broadcasting Corporation.
#include <seq_decompress.h>
Collaboration diagram for dirac::SequenceDecompressor:
|
Initializes the decompressor with an input stream and level of output detail.
|
|
Closes files and releases resources. |
|
Copy constructor is private and body-less. This class should not be copied. |
|
This function decodes the next frame in coding order and returns the next frame 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 frame 0. At the end you will need to loop for longer to get all the frames out. It's up to the calling function to do something with the decoded frames as they come out -- write them to screen or to file, as required.
|
|
Indicates whether or not the last frame in the sequence has been decompressed.
|
|
|
|
|
|
Returns the parameters used for this decompression run.
|
|
Assignment = is private and body-less. This class should not be assigned. |
|
|
|
Reads the sequence data from the bitstream. This contains all the block information. Temporal prediction information is contained in the frame headers so that a simple GOP need not be used, or if so, can be reset on the fly. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
© 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.