Created by the British Broadcasting Corporation.
#include <dirac_cppparser.h>
Collaboration diagram for dirac::DiracParser:
dirac::DiracParser::DiracParser | ( | bool | verbose = false |
) |
Constructor takes
verbose | boolean flag. Set to true for verbose output |
dirac::DiracParser::~DiracParser | ( | ) |
dirac::DiracParser::DiracParser | ( | const DiracParser & | dp | ) | [private] |
const Frame& dirac::DiracParser::GetNextFrame | ( | ) | const |
const FrameParams& dirac::DiracParser::GetNextFrameParams | ( | ) | const |
const ParseParams& dirac::DiracParser::GetParseParams | ( | ) | const |
const SeqParams& dirac::DiracParser::GetSeqParams | ( | ) | const |
const SourceParams& dirac::DiracParser::GetSourceParams | ( | ) | const |
DiracParser& dirac::DiracParser::operator= | ( | const DiracParser & | dp | ) | [private] |
DecoderState dirac::DiracParser::Parse | ( | ) |
Parses the data in the input buffer. This function returns one of the following values
STATE_BUFFER : Not enough data in internal buffer to process
STATE_SEQUENCE : Start of sequence detected
STATE_PICTURE_START : Start of picture detected
STATE_PICTURE_AVAIL : Decoded picture available
STATE_SEQUENCE_END : End of sequence detected
STATE_INVALID : Invalid stream. Stop further processing
void dirac::DiracParser::SetBuffer | ( | char * | start, | |
char * | end | |||
) |
SetBuffer takes
start | Start of input buffer | |
end | End of input buffer |
void dirac::DiracParser::SetSkip | ( | bool | skip | ) |
Set the skip flag to the value specified in skip. If skip is true, the parser will skip decoding the next frame until the this function is called again with skip set to false
SequenceDecompressor* dirac::DiracParser::m_decomp [private] |
DecoderState dirac::DiracParser::m_next_state [private] |
int dirac::DiracParser::m_show_fnum [private] |
bool dirac::DiracParser::m_skip [private] |
FrameSort dirac::DiracParser::m_skip_type [private] |
DecoderState dirac::DiracParser::m_state [private] |
bool dirac::DiracParser::m_verbose [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.