ChromaKeyOSD Class Reference

#include <osdchromakey.h>

List of all members.

Public Member Functions

 ChromaKeyOSD (VideoOutputXv *vo)
 ~ChromaKeyOSD (void)
bool ProcessOSD (OSD *osd)
XImage * GetImage ()
MythPainterGetPainter (void)

Private Member Functions

bool Init (QSize new_size)
void TearDown (void)
bool CreateShmImage (QSize area)
void DestroyShmImage (void)
void BlendOrCopy (uint32_t colour, const QRect &rect)

Private Attributes

QSize current_size
QRect current_rect
VideoOutputXvvideoOutput
XImage * img
XShmSegmentInfo shm_infos
QImage * image
MythQImagePainterpainter
bool visible

Detailed Description

Definition at line 11 of file osdchromakey.h.


Constructor & Destructor Documentation

ChromaKeyOSD::ChromaKeyOSD ( VideoOutputXv vo  )  [inline]

Definition at line 14 of file osdchromakey.h.

ChromaKeyOSD::~ChromaKeyOSD ( void   ) 

Definition at line 26 of file osdchromakey.cpp.


Member Function Documentation

bool ChromaKeyOSD::ProcessOSD ( OSD osd  ) 
Returns:
true if we need a repaint, false otherwise

Definition at line 246 of file osdchromakey.cpp.

Referenced by VideoOutputXv::ProcessFrame().

XImage* ChromaKeyOSD::GetImage (  )  [inline]

Definition at line 23 of file osdchromakey.h.

Referenced by VideoOutputXv::DrawUnusedRects().

MythPainter* ChromaKeyOSD::GetPainter ( void   )  [inline]

Definition at line 24 of file osdchromakey.h.

Referenced by VideoOutputXv::GetOSDPainter().

bool ChromaKeyOSD::Init ( QSize  new_size  )  [private]

Definition at line 94 of file osdchromakey.cpp.

Referenced by ProcessOSD().

void ChromaKeyOSD::TearDown ( void   )  [private]

Definition at line 119 of file osdchromakey.cpp.

Referenced by Init(), and ~ChromaKeyOSD().

bool ChromaKeyOSD::CreateShmImage ( QSize  area  )  [private]

Definition at line 31 of file osdchromakey.cpp.

Referenced by Init().

void ChromaKeyOSD::DestroyShmImage ( void   )  [private]

Definition at line 74 of file osdchromakey.cpp.

Referenced by TearDown().

void ChromaKeyOSD::BlendOrCopy ( uint32_t  colour,
const QRect &  rect 
) [private]

Definition at line 139 of file osdchromakey.cpp.

Referenced by ProcessOSD().


Member Data Documentation

QSize ChromaKeyOSD::current_size [private]

Definition at line 33 of file osdchromakey.h.

Referenced by Init(), and ProcessOSD().

QRect ChromaKeyOSD::current_rect [private]

Definition at line 34 of file osdchromakey.h.

Referenced by ProcessOSD().

Definition at line 35 of file osdchromakey.h.

Referenced by CreateShmImage(), DestroyShmImage(), and ProcessOSD().

XImage* ChromaKeyOSD::img [private]

Definition at line 36 of file osdchromakey.h.

Referenced by BlendOrCopy(), CreateShmImage(), DestroyShmImage(), and GetImage().

XShmSegmentInfo ChromaKeyOSD::shm_infos [private]

Definition at line 37 of file osdchromakey.h.

Referenced by BlendOrCopy(), ChromaKeyOSD(), CreateShmImage(), and DestroyShmImage().

QImage* ChromaKeyOSD::image [private]

Definition at line 38 of file osdchromakey.h.

Referenced by BlendOrCopy(), Init(), ProcessOSD(), and TearDown().

Definition at line 39 of file osdchromakey.h.

Referenced by GetPainter(), Init(), ProcessOSD(), and TearDown().

Definition at line 40 of file osdchromakey.h.

Referenced by VideoOutput::DisplayOSD(), GetImage(), and ProcessOSD().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:56 2012 for MythTV by  doxygen 1.6.3