xoreos
0.0.5
|
Context for decoding a frame. More...
Public Member Functions | |
DecodeContext (Common::BitStream &b) | |
void | setQScale (int32 qS) |
Set the quantizer scale and calculate the DC step size and default predictor. More... | |
void | startRow () |
void | finishRow () |
void | startMacroBlock (uint32 cbp) |
void | finishMacroBlock () |
Public Attributes | |
Common::BitStream & | bits |
int32 | qScale |
int32 | dcStepSize |
int32 | defaultPredictor |
int32 * | acQuantTop [3] |
int32 | acQuantLeft [4][kBlockSize] |
int32 | dcTopLeft [4] |
ACDecoder * | decoderAC [2] |
Common::Huffman * | huffDC [2] |
CBP * | rowCBP |
CBP * | curCBP |
CBP | cbpTopLeft |
CBP | cbpTop |
bool | hasACPerMacroBlock |
bool | hasACPrediction |
uint32 | acRLERunLength |
uint32 | acRLELevelLength |
BlockContext | block [6] |
Video::XMVWMV2Codec::DecodeContext::DecodeContext | ( | Common::BitStream & | b | ) |
Definition at line 120 of file xmvwmv2.cpp.
References Video::XMVWMV2Codec::BlockContext::acQuantLeft, acQuantLeft, block, Video::XMVWMV2Codec::BlockContext::dcEscapeCode, Video::XMVWMV2Codec::BlockContext::dcTopLeft, dcTopLeft, Video::XMVWMV2Codec::BlockContext::decoderAC, decoderAC, Video::XMVWMV2Codec::BlockContext::hasACCoeffs, Video::XMVWMV2Codec::BlockContext::huffDC, huffDC, Video::kEscapeCodeChroma, and Video::kEscapeCodeLuma.
void Video::XMVWMV2Codec::DecodeContext::finishMacroBlock | ( | ) |
Definition at line 217 of file xmvwmv2.cpp.
Referenced by Video::XMVWMV2Codec::decodeIFrame().
void Video::XMVWMV2Codec::DecodeContext::finishRow | ( | ) |
Definition at line 202 of file xmvwmv2.cpp.
Referenced by Video::XMVWMV2Codec::decodeIFrame().
void Video::XMVWMV2Codec::DecodeContext::setQScale | ( | int32 | qS | ) |
Set the quantizer scale and calculate the DC step size and default predictor.
Definition at line 154 of file xmvwmv2.cpp.
Referenced by Video::XMVWMV2Codec::decodeFrame().
void Video::XMVWMV2Codec::DecodeContext::startMacroBlock | ( | uint32 | cbp | ) |
Definition at line 209 of file xmvwmv2.cpp.
Referenced by Video::XMVWMV2Codec::decodeIFrame().
void Video::XMVWMV2Codec::DecodeContext::startRow | ( | ) |
Definition at line 178 of file xmvwmv2.cpp.
References Video::XMVWMV2Codec::kBlockSize.
Referenced by Video::XMVWMV2Codec::decodeIFrame().
int32 Video::XMVWMV2Codec::DecodeContext::acQuantLeft[4][kBlockSize] |
Definition at line 140 of file xmvwmv2.h.
Referenced by DecodeContext().
int32* Video::XMVWMV2Codec::DecodeContext::acQuantTop[3] |
Definition at line 139 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::initDecodeContext().
uint32 Video::XMVWMV2Codec::DecodeContext::acRLELevelLength |
Definition at line 157 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeIBlock().
uint32 Video::XMVWMV2Codec::DecodeContext::acRLERunLength |
Definition at line 156 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeIBlock().
Common::BitStream& Video::XMVWMV2Codec::DecodeContext::bits |
Definition at line 133 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeFrame(), Video::XMVWMV2Codec::decodeIBlock(), and Video::XMVWMV2Codec::decodeIFrame().
BlockContext Video::XMVWMV2Codec::DecodeContext::block[6] |
Definition at line 159 of file xmvwmv2.h.
Referenced by DecodeContext(), Video::XMVWMV2Codec::decodeIMacroBlock(), and Video::XMVWMV2Codec::initDecodeContext().
CBP* Video::XMVWMV2Codec::DecodeContext::curCBP |
Definition at line 148 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeIFrame(), and Video::XMVWMV2Codec::decodeIMacroBlock().
int32 Video::XMVWMV2Codec::DecodeContext::dcStepSize |
Definition at line 136 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeIBlock().
int32 Video::XMVWMV2Codec::DecodeContext::dcTopLeft[4] |
Definition at line 142 of file xmvwmv2.h.
Referenced by DecodeContext().
ACDecoder* Video::XMVWMV2Codec::DecodeContext::decoderAC[2] |
Definition at line 144 of file xmvwmv2.h.
Referenced by DecodeContext(), and Video::XMVWMV2Codec::decodeIFrame().
int32 Video::XMVWMV2Codec::DecodeContext::defaultPredictor |
bool Video::XMVWMV2Codec::DecodeContext::hasACPerMacroBlock |
Definition at line 153 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeIFrame().
bool Video::XMVWMV2Codec::DecodeContext::hasACPrediction |
Definition at line 154 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeIBlock(), and Video::XMVWMV2Codec::decodeIFrame().
Common::Huffman* Video::XMVWMV2Codec::DecodeContext::huffDC[2] |
Definition at line 145 of file xmvwmv2.h.
Referenced by DecodeContext(), and Video::XMVWMV2Codec::decodeIFrame().
int32 Video::XMVWMV2Codec::DecodeContext::qScale |
Definition at line 135 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::decodeIBlock().
CBP* Video::XMVWMV2Codec::DecodeContext::rowCBP |
Definition at line 147 of file xmvwmv2.h.
Referenced by Video::XMVWMV2Codec::initDecodeContext().