SubtitleVMR9Filter Class Reference

#include <SubtitleVMR9Filter.h>

List of all members.

Public Member Functions

 SubtitleVMR9Filter (void)
virtual ~SubtitleVMR9Filter (void)
virtual int GetPinCount (void)
virtual CBasePin * GetPin (int inPinNo)
HRESULT CheckMediaType (const CMediaType *inMediaType)
HRESULT DoRenderSample (IMediaSample *pMediaSample)
virtual STDMETHODIMP GetState (DWORD dw, FILTER_STATE *pState)
HRESULT Receive (IMediaSample *pMediaSample)

Static Public Member Functions

DECLARE_IUNKNOWN CUnknown
*WINAPI 
CreateInstance (LPUNKNOWN pUnk, HRESULT *pHr)

Protected Member Functions

void SetColorRef (VMR9AlphaBitmap &bmpInfo)
virtual HRESULT SetSubtitle (wstring inSubtitle)

Protected Attributes

HRESULT mHR
IVideoWindow * mVideoWindow
IVMRMixerBitmap9 * mBitmapMixer
IVMRWindowlessControl9 * mWindowLess
VMR9AlphaBitmap mAlphaBitmap


Constructor & Destructor Documentation

SubtitleVMR9Filter::SubtitleVMR9Filter void   ) 
 

Definition at line 68 of file SubtitleVMR9Filter.cpp.

Referenced by CreateInstance().

SubtitleVMR9Filter::~SubtitleVMR9Filter void   )  [virtual]
 

Definition at line 78 of file SubtitleVMR9Filter.cpp.

References mBitmapMixer, mVideoWindow, and mWindowLess.


Member Function Documentation

HRESULT SubtitleVMR9Filter::CheckMediaType const CMediaType *  inMediaType  ) 
 

Definition at line 117 of file SubtitleVMR9Filter.cpp.

CUnknown *WINAPI SubtitleVMR9Filter::CreateInstance LPUNKNOWN  pUnk,
HRESULT *  pHr
[static]
 

Definition at line 51 of file SubtitleVMR9Filter.cpp.

References SubtitleVMR9Filter().

Here is the call graph for this function:

HRESULT SubtitleVMR9Filter::DoRenderSample IMediaSample *  pMediaSample  ) 
 

Definition at line 120 of file SubtitleVMR9Filter.cpp.

References mBitmapMixer, mVideoWindow, mWindowLess, and SetSubtitle().

Here is the call graph for this function:

CBasePin * SubtitleVMR9Filter::GetPin int  inPinNo  )  [virtual]
 

Definition at line 109 of file SubtitleVMR9Filter.cpp.

int SubtitleVMR9Filter::GetPinCount void   )  [virtual]
 

Definition at line 106 of file SubtitleVMR9Filter.cpp.

STDMETHODIMP SubtitleVMR9Filter::GetState DWORD  dw,
FILTER_STATE *  pState
[virtual]
 

Definition at line 96 of file SubtitleVMR9Filter.cpp.

HRESULT SubtitleVMR9Filter::Receive IMediaSample *  pMediaSample  ) 
 

Definition at line 63 of file SubtitleVMR9Filter.cpp.

void SubtitleVMR9Filter::SetColorRef VMR9AlphaBitmap &  bmpInfo  )  [protected]
 

Definition at line 415 of file SubtitleVMR9Filter.cpp.

Referenced by SetSubtitle().

HRESULT SubtitleVMR9Filter::SetSubtitle wstring  inSubtitle  )  [protected, virtual]
 

Definition at line 198 of file SubtitleVMR9Filter.cpp.

References DEFAULT_FONT_NAME, DEFAULT_FONT_STYLE, mAlphaBitmap, mBitmapMixer, mVideoWindow, mWindowLess, and SetColorRef().

Referenced by DoRenderSample().

Here is the call graph for this function:


Member Data Documentation

VMR9AlphaBitmap SubtitleVMR9Filter::mAlphaBitmap [protected]
 

Definition at line 93 of file SubtitleVMR9Filter.h.

Referenced by SetSubtitle().

IVMRMixerBitmap9* SubtitleVMR9Filter::mBitmapMixer [protected]
 

Definition at line 91 of file SubtitleVMR9Filter.h.

Referenced by DoRenderSample(), SetSubtitle(), and ~SubtitleVMR9Filter().

HRESULT SubtitleVMR9Filter::mHR [protected]
 

Definition at line 87 of file SubtitleVMR9Filter.h.

IVideoWindow* SubtitleVMR9Filter::mVideoWindow [protected]
 

Definition at line 90 of file SubtitleVMR9Filter.h.

Referenced by DoRenderSample(), SetSubtitle(), and ~SubtitleVMR9Filter().

IVMRWindowlessControl9* SubtitleVMR9Filter::mWindowLess [protected]
 

Definition at line 92 of file SubtitleVMR9Filter.h.

Referenced by DoRenderSample(), SetSubtitle(), and ~SubtitleVMR9Filter().


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:05:01 2005 for oggdsf by  doxygen 1.3.9