PropsTheoraEncoder Class Reference

#include <PropsTheoraEncoder.h>

List of all members.

Public Member Functions

 PropsTheoraEncoder (LPUNKNOWN inUnk, HRESULT *outHR)
virtual ~PropsTheoraEncoder (void)
HRESULT OnActivate (void)
HRESULT OnConnect (IUnknown *pUnk)
HRESULT OnDisconnect (void)
INT_PTR OnReceiveMessage (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HRESULT OnApplyChanges (void)

Static Public Member Functions

CUnknown *WINAPI CreateInstance (LPUNKNOWN inUnk, HRESULT *outHR)
unsigned long log2 (unsigned long inNum)
unsigned long pow2 (unsigned long inNum)

Static Public Attributes

const UINT NOT_USED = 0

Protected Member Functions

void SetDirty ()
void SetClean ()

Protected Attributes

ITheoraEncodeSettings * mTheoraEncodeSettings


Constructor & Destructor Documentation

PropsTheoraEncoder::PropsTheoraEncoder LPUNKNOWN  inUnk,
HRESULT *  outHR
 

Definition at line 4 of file PropsTheoraEncoder.cpp.

References IDD_THEORA_ENCODE_SETTINGS, and IDS_THEORA_ENC_PROPS_STRING.

Referenced by CreateInstance().

PropsTheoraEncoder::~PropsTheoraEncoder void   )  [virtual]
 

Definition at line 13 of file PropsTheoraEncoder.cpp.


Member Function Documentation

CUnknown * PropsTheoraEncoder::CreateInstance LPUNKNOWN  inUnk,
HRESULT *  outHR
[static]
 

Definition at line 18 of file PropsTheoraEncoder.cpp.

References PropsTheoraEncoder().

Here is the call graph for this function:

unsigned long PropsTheoraEncoder::log2 unsigned long  inNum  )  [static]
 

Definition at line 60 of file PropsTheoraEncoder.cpp.

Referenced by OnActivate().

HRESULT PropsTheoraEncoder::OnActivate void   ) 
 

Definition at line 86 of file PropsTheoraEncoder.cpp.

References IDC_LABEL_BITRATE, IDC_LABEL_LOG_KEYFRAME, IDC_LABEL_QUALITY, IDC_SLIDER_BITRATE, IDC_SLIDER_LOG_KEYFRAME, IDC_SLIDER_QUALITY, log2(), mTheoraEncodeSettings, NOT_USED, and TRUE.

Here is the call graph for this function:

HRESULT PropsTheoraEncoder::OnApplyChanges void   ) 
 

Definition at line 73 of file PropsTheoraEncoder.cpp.

References IDC_SLIDER_BITRATE, IDC_SLIDER_LOG_KEYFRAME, IDC_SLIDER_QUALITY, mTheoraEncodeSettings, NOT_USED, pow2(), and SetClean().

Here is the call graph for this function:

HRESULT PropsTheoraEncoder::OnConnect IUnknown *  pUnk  ) 
 

Definition at line 121 of file PropsTheoraEncoder.cpp.

References mTheoraEncodeSettings.

HRESULT PropsTheoraEncoder::OnDisconnect void   ) 
 

Definition at line 135 of file PropsTheoraEncoder.cpp.

References mTheoraEncodeSettings.

INT_PTR PropsTheoraEncoder::OnReceiveMessage HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam
 

Definition at line 160 of file PropsTheoraEncoder.cpp.

References IDC_LABEL_BITRATE, IDC_LABEL_LOG_KEYFRAME, IDC_LABEL_QUALITY, IDC_SLIDER_BITRATE, IDC_SLIDER_LOG_KEYFRAME, IDC_SLIDER_QUALITY, NOT_USED, pow2(), and SetDirty().

Here is the call graph for this function:

unsigned long PropsTheoraEncoder::pow2 unsigned long  inNum  )  [static]
 

Definition at line 69 of file PropsTheoraEncoder.cpp.

Referenced by OnApplyChanges(), and OnReceiveMessage().

void PropsTheoraEncoder::SetClean  )  [protected]
 

Definition at line 152 of file PropsTheoraEncoder.cpp.

Referenced by OnApplyChanges().

void PropsTheoraEncoder::SetDirty  )  [protected]
 

Definition at line 143 of file PropsTheoraEncoder.cpp.

Referenced by OnReceiveMessage().


Member Data Documentation

ITheoraEncodeSettings* PropsTheoraEncoder::mTheoraEncodeSettings [protected]
 

Definition at line 39 of file PropsTheoraEncoder.h.

Referenced by OnActivate(), OnApplyChanges(), OnConnect(), and OnDisconnect().

const UINT PropsTheoraEncoder::NOT_USED = 0 [static]
 

Definition at line 13 of file PropsTheoraEncoder.h.

Referenced by OnActivate(), OnApplyChanges(), and OnReceiveMessage().


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