MHVideo Class Reference

#include <Stream.h>

Inheritance diagram for MHVideo:

MHVisible MHPresentable MHIngredient MHRoot

List of all members.


Detailed Description

Definition at line 77 of file Stream.h.


Public Member Functions

 MHVideo ()
virtual const char * ClassName ()
virtual void Initialise (MHParseNode *p, MHEngine *engine)
virtual void PrintMe (FILE *fd, int nTabs) const
virtual void Preparation (MHEngine *engine)
virtual void ContentPreparation (MHEngine *engine)
virtual void Activation (MHEngine *engine)
virtual void Deactivation (MHEngine *engine)
virtual void Display (MHEngine *)
virtual QRegion GetVisibleArea ()
virtual QRegion GetOpaqueArea ()
virtual void ScaleVideo (int xScale, int yScale, MHEngine *)
virtual void SetVideoDecodeOffset (int newXOffset, int newYOffset, MHEngine *)
virtual void GetVideoDecodeOffset (MHRoot *pXOffset, MHRoot *pYOffset, MHEngine *)
virtual void SetStreamRef (const MHContentRef &)
virtual void BeginPlaying (MHEngine *engine)
virtual void StopPlaying (MHEngine *engine)

Protected Types

enum  Termination { VI_Freeze = 1, VI_Disappear }

Protected Attributes

int m_nComponentTag
enum MHVideo::Termination m_Termination
int m_nXDecodeOffset
int m_nYDecodeOffset
int m_nDecodeWidth
int m_nDecodeHeight
bool m_fStreamPlaying
MHContentRef m_streamContentRef

Member Enumeration Documentation

enum MHVideo::Termination [protected]

Enumerator:
VI_Freeze 
VI_Disappear 

Definition at line 106 of file Stream.h.


Constructor & Destructor Documentation

MHVideo::MHVideo (  ) 

Definition at line 221 of file Stream.cpp.


Member Function Documentation

virtual const char* MHVideo::ClassName (  )  [inline, virtual]

Implements MHRoot.

Definition at line 81 of file Stream.h.

void MHVideo::Initialise ( MHParseNode p,
MHEngine engine 
) [virtual]

Reimplemented from MHVisible.

Definition at line 232 of file Stream.cpp.

Referenced by MHStream::Initialise().

void MHVideo::PrintMe ( FILE *  fd,
int  nTabs 
) const [virtual]

Reimplemented from MHVisible.

Definition at line 240 of file Stream.cpp.

void MHVideo::Preparation ( MHEngine engine  )  [virtual]

Reimplemented from MHVisible.

Definition at line 249 of file Stream.cpp.

void MHVideo::ContentPreparation ( MHEngine engine  )  [virtual]

Reimplemented from MHIngredient.

Definition at line 258 of file Stream.cpp.

void MHVideo::Activation ( MHEngine engine  )  [virtual]

Reimplemented from MHVisible.

Definition at line 317 of file Stream.cpp.

void MHVideo::Deactivation ( MHEngine engine  )  [virtual]

Reimplemented from MHVisible.

Definition at line 330 of file Stream.cpp.

void MHVideo::Display ( MHEngine engine  )  [virtual]

Implements MHVisible.

Definition at line 265 of file Stream.cpp.

QRegion MHVideo::GetVisibleArea (  )  [virtual]

Reimplemented from MHVisible.

Definition at line 306 of file Stream.cpp.

Referenced by GetOpaqueArea(), ScaleVideo(), and SetVideoDecodeOffset().

virtual QRegion MHVideo::GetOpaqueArea (  )  [inline, virtual]

Reimplemented from MHVisible.

Definition at line 93 of file Stream.h.

void MHVideo::ScaleVideo ( int  xScale,
int  yScale,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 278 of file Stream.cpp.

void MHVideo::SetVideoDecodeOffset ( int  newXOffset,
int  newYOffset,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 289 of file Stream.cpp.

void MHVideo::GetVideoDecodeOffset ( MHRoot pXOffset,
MHRoot pYOffset,
MHEngine  
) [virtual]

Reimplemented from MHRoot.

Definition at line 299 of file Stream.cpp.

void MHVideo::SetStreamRef ( const MHContentRef cr  )  [virtual]

Reimplemented from MHPresentable.

Definition at line 337 of file Stream.cpp.

void MHVideo::BeginPlaying ( MHEngine engine  )  [virtual]

Reimplemented from MHPresentable.

Definition at line 342 of file Stream.cpp.

void MHVideo::StopPlaying ( MHEngine engine  )  [virtual]

Reimplemented from MHPresentable.

Definition at line 354 of file Stream.cpp.


Member Data Documentation

int MHVideo::m_nComponentTag [protected]

Definition at line 105 of file Stream.h.

Referenced by Activation(), BeginPlaying(), Initialise(), and PrintMe().

Referenced by Initialise(), MHVideo(), and PrintMe().

int MHVideo::m_nXDecodeOffset [protected]

int MHVideo::m_nYDecodeOffset [protected]

int MHVideo::m_nDecodeWidth [protected]

Definition at line 109 of file Stream.h.

Referenced by Display(), GetVisibleArea(), MHVideo(), Preparation(), and ScaleVideo().

int MHVideo::m_nDecodeHeight [protected]

Definition at line 109 of file Stream.h.

Referenced by Display(), GetVisibleArea(), MHVideo(), Preparation(), and ScaleVideo().

Definition at line 111 of file Stream.h.

Referenced by Activation(), BeginPlaying(), Deactivation(), MHVideo(), and StopPlaying().

Definition at line 112 of file Stream.h.

Referenced by Activation(), BeginPlaying(), and SetStreamRef().


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

Generated on Sat Dec 18 05:16:06 2010 for MythTV by  doxygen 1.5.5