xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Video::XMVWMV2Codec::DecodeContext Struct Reference

Context for decoding a frame. More...

Collaboration diagram for Video::XMVWMV2Codec::DecodeContext:
Collaboration graph
[legend]

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::BitStreambits
 
int32 qScale
 
int32 dcStepSize
 
int32 defaultPredictor
 
int32acQuantTop [3]
 
int32 acQuantLeft [4][kBlockSize]
 
int32 dcTopLeft [4]
 
ACDecoderdecoderAC [2]
 
Common::HuffmanhuffDC [2]
 
CBProwCBP
 
CBPcurCBP
 
CBP cbpTopLeft
 
CBP cbpTop
 
bool hasACPerMacroBlock
 
bool hasACPrediction
 
uint32 acRLERunLength
 
uint32 acRLELevelLength
 
BlockContext block [6]
 

Detailed Description

Context for decoding a frame.

Definition at line 132 of file xmvwmv2.h.

Constructor & Destructor Documentation

◆ DecodeContext()

Video::XMVWMV2Codec::DecodeContext::DecodeContext ( Common::BitStream b)

Member Function Documentation

◆ finishMacroBlock()

void Video::XMVWMV2Codec::DecodeContext::finishMacroBlock ( )

Definition at line 217 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::decodeIFrame().

Here is the caller graph for this function:

◆ finishRow()

void Video::XMVWMV2Codec::DecodeContext::finishRow ( )

Definition at line 202 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::decodeIFrame().

Here is the caller graph for this function:

◆ setQScale()

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().

Here is the caller graph for this function:

◆ startMacroBlock()

void Video::XMVWMV2Codec::DecodeContext::startMacroBlock ( uint32  cbp)

Definition at line 209 of file xmvwmv2.cpp.

Referenced by Video::XMVWMV2Codec::decodeIFrame().

Here is the caller graph for this function:

◆ startRow()

void Video::XMVWMV2Codec::DecodeContext::startRow ( )

Definition at line 178 of file xmvwmv2.cpp.

References Video::XMVWMV2Codec::kBlockSize.

Referenced by Video::XMVWMV2Codec::decodeIFrame().

Here is the caller graph for this function:

Member Data Documentation

◆ acQuantLeft

int32 Video::XMVWMV2Codec::DecodeContext::acQuantLeft[4][kBlockSize]

Definition at line 140 of file xmvwmv2.h.

Referenced by DecodeContext().

◆ acQuantTop

int32* Video::XMVWMV2Codec::DecodeContext::acQuantTop[3]

Definition at line 139 of file xmvwmv2.h.

Referenced by Video::XMVWMV2Codec::initDecodeContext().

◆ acRLELevelLength

uint32 Video::XMVWMV2Codec::DecodeContext::acRLELevelLength

Definition at line 157 of file xmvwmv2.h.

Referenced by Video::XMVWMV2Codec::decodeIBlock().

◆ acRLERunLength

uint32 Video::XMVWMV2Codec::DecodeContext::acRLERunLength

Definition at line 156 of file xmvwmv2.h.

Referenced by Video::XMVWMV2Codec::decodeIBlock().

◆ bits

Common::BitStream& Video::XMVWMV2Codec::DecodeContext::bits

◆ block

BlockContext Video::XMVWMV2Codec::DecodeContext::block[6]

◆ cbpTop

CBP Video::XMVWMV2Codec::DecodeContext::cbpTop

Definition at line 151 of file xmvwmv2.h.

◆ cbpTopLeft

CBP Video::XMVWMV2Codec::DecodeContext::cbpTopLeft

Definition at line 150 of file xmvwmv2.h.

◆ curCBP

CBP* Video::XMVWMV2Codec::DecodeContext::curCBP

◆ dcStepSize

int32 Video::XMVWMV2Codec::DecodeContext::dcStepSize

Definition at line 136 of file xmvwmv2.h.

Referenced by Video::XMVWMV2Codec::decodeIBlock().

◆ dcTopLeft

int32 Video::XMVWMV2Codec::DecodeContext::dcTopLeft[4]

Definition at line 142 of file xmvwmv2.h.

Referenced by DecodeContext().

◆ decoderAC

ACDecoder* Video::XMVWMV2Codec::DecodeContext::decoderAC[2]

Definition at line 144 of file xmvwmv2.h.

Referenced by DecodeContext(), and Video::XMVWMV2Codec::decodeIFrame().

◆ defaultPredictor

int32 Video::XMVWMV2Codec::DecodeContext::defaultPredictor

Definition at line 137 of file xmvwmv2.h.

◆ hasACPerMacroBlock

bool Video::XMVWMV2Codec::DecodeContext::hasACPerMacroBlock

Definition at line 153 of file xmvwmv2.h.

Referenced by Video::XMVWMV2Codec::decodeIFrame().

◆ hasACPrediction

bool Video::XMVWMV2Codec::DecodeContext::hasACPrediction

◆ huffDC

Common::Huffman* Video::XMVWMV2Codec::DecodeContext::huffDC[2]

Definition at line 145 of file xmvwmv2.h.

Referenced by DecodeContext(), and Video::XMVWMV2Codec::decodeIFrame().

◆ qScale

int32 Video::XMVWMV2Codec::DecodeContext::qScale

Definition at line 135 of file xmvwmv2.h.

Referenced by Video::XMVWMV2Codec::decodeIBlock().

◆ rowCBP

CBP* Video::XMVWMV2Codec::DecodeContext::rowCBP

Definition at line 147 of file xmvwmv2.h.

Referenced by Video::XMVWMV2Codec::initDecodeContext().


The documentation for this struct was generated from the following files: