xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Video::XMVWMV2Codec::CBP Class Reference

Which block pattern are coded? More...

Public Member Functions

 CBP (uint32 cbp=0)
 
void clear ()
 
bool empty () const
 
bool isSet (int block) const
 
void set (int block, bool coded)
 
void decode (uint32 cbp)
 
void decode (uint32 cbp, const CBP &topLeft, const CBP &top, const CBP &left)
 

Private Attributes

uint8 _cbp
 

Detailed Description

Which block pattern are coded?

Definition at line 80 of file xmvwmv2.h.

Constructor & Destructor Documentation

◆ CBP()

Video::XMVWMV2Codec::CBP::CBP ( uint32  cbp = 0)

Definition at line 80 of file xmvwmv2.cpp.

References decode().

Here is the call graph for this function:

Member Function Documentation

◆ clear()

void Video::XMVWMV2Codec::CBP::clear ( )

Definition at line 84 of file xmvwmv2.cpp.

References Video::XMVWMV2Codec::_cbp.

◆ decode() [1/2]

void Video::XMVWMV2Codec::CBP::decode ( uint32  cbp)

Definition at line 103 of file xmvwmv2.cpp.

References Video::XMVWMV2Codec::_cbp.

Referenced by CBP().

Here is the caller graph for this function:

◆ decode() [2/2]

void Video::XMVWMV2Codec::CBP::decode ( uint32  cbp,
const CBP topLeft,
const CBP top,
const CBP left 
)

Definition at line 107 of file xmvwmv2.cpp.

References isSet().

Here is the call graph for this function:

◆ empty()

bool Video::XMVWMV2Codec::CBP::empty ( ) const

Definition at line 88 of file xmvwmv2.cpp.

References Video::XMVWMV2Codec::_cbp.

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

Here is the caller graph for this function:

◆ isSet()

bool Video::XMVWMV2Codec::CBP::isSet ( int  block) const

Definition at line 92 of file xmvwmv2.cpp.

References Video::XMVWMV2Codec::_cbp.

Referenced by decode(), and Video::XMVWMV2Codec::decodeIMacroBlock().

Here is the caller graph for this function:

◆ set()

void Video::XMVWMV2Codec::CBP::set ( int  block,
bool  coded 
)

Definition at line 98 of file xmvwmv2.cpp.

References Video::XMVWMV2Codec::_cbp.

Member Data Documentation

◆ _cbp

uint8 Video::XMVWMV2Codec::CBP::_cbp
private

Definition at line 95 of file xmvwmv2.h.


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