CSAA7134Source Class Reference

#include <SAA7134Source.h>

Inheritance diagram for CSAA7134Source:

Inheritance graph
[legend]
Collaboration diagram for CSAA7134Source:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CSAA7134Source (CSAA7134Card *pSAA7134Card, CContigMemory *PagelistDMAMem[kMAX_PAGETABLES], CUserMemory *DisplayDMAMem[kMAX_FRAMEBUFFERS], CUserMemory *VBIDMAMem[kMAX_FRAMEBUFFERS], LPCSTR IniSection, LPCSTR ChipName, int DeviceIndex)
void Start ()
 start capturing. Perform any initilization here

void Stop ()
 start capturing. Perform any clean-up here

void Reset ()
 Reset to known state.

void Mute ()
 Turn off any sound.

void UnMute ()
 Turn back on the sound.

CSAA7134CardGetCard ()
void GetNextField (TDeinterlaceInfo *pInfo, BOOL AccurateTiming)
void DecodeVBI (TDeinterlaceInfo *pInfo)
 If VBI data is being captured, decode it.

BOOL SetTunerFrequency (long FrequencyId, eVideoFormat VideoFormat)
 Tune into channel.

LPCSTR GetStatus ()
 Returns a string to be displayed in the UI.

BOOL IsInTunerMode ()
 Are we currently showing the output from the tuner.

BOOL IsVideoPresent ()
 Are we capturing a proper video signal.

ITunerGetTuner ()
void SetFormat (eVideoFormat NewFormat)
eVideoFormat GetFormat ()
 Get the original video format e.g. PAL, NTSC.

void SetAspectRatioData ()
int GetInitialWidth ()
 Gets the initial width of each picture in pixels.

int GetInitialHeight ()
 Gets the initial height of each picture in pixels, for interlaced this is FieldHeight.

int GetWidth ()
 Gets the width of each picture in pixels.

int GetHeight ()
 Gets the height of each frame in pixels, for interlaced this is x2 FieldHeight.

void SetWidth (int w)
 Sets the width of each picture in pixels.

int GetDeviceIndex ()
const char * GetChipName ()
LPCSTR IDString ()
int NumInputs (eSourceInputType InputType)
BOOL SetInput (eSourceInputType InputType, int Nr)
int GetInput (eSourceInputType InputType)
const char * GetInputName (eSourceInputType InputType, int Nr)
BOOL InputHasTuner (eSourceInputType InputType, int Nr)
ISettingGetVolume ()
 returns NULL if there is no control over this value

ISettingGetBalance ()
 returns NULL if there is no control over this value

ISettingGetBrightness ()
 returns NULL if there is no control over this value

ISettingGetContrast ()
 returns NULL if there is no control over this value

ISettingGetHue ()
 returns NULL if there is no control over this value

ISettingGetSaturation ()
 returns NULL if there is no control over this value

ISettingGetSaturationU ()
 returns NULL if there is no control over this value

ISettingGetSaturationV ()
 returns NULL if there is no control over this value

ISettingGetAnalogueBlanking ()
 returns NULL if there is no control over this value

ISettingGetTopOverscan ()
 returns NULL if there is no control over this value

ISettingGetBottomOverscan ()
 returns NULL if there is no control over this value

ISettingGetLeftOverscan ()
 returns NULL if there is no control over this value

ISettingGetRightOverscan ()
 returns NULL if there is no control over this value

ISettingGetHDelay ()
 returns NULL if there is no control over this value

ISettingGetVDelay ()
 returns NULL if there is no control over this value

LPCSTR GetMenuLabel ()
 Get string to display in source menu.

void SetMenu (HMENU hMenu)
 Update the menu with any settings.

void UpdateMenu ()
 Update the content of the menu.

virtual void OnEvent (CEventObject *pEventObject, eEventType Event, long OldValue, long NewValue, eEventType *ComingUp)
BOOL HandleWindowsCommands (HWND hWnd, UINT wParam, LONG lParam)
 Returns TRUE is we process the command.

void HandleTimerMessages (int TimerId)
 Handle any timers that you control.

void ChangeSettingsBasedOnHW (int ProcessorSpeed, int TradeOff)
BOOL OpenMediaFile (LPCSTR FileName, BOOL NewPlayList)
 Open the following file, return TRUE if you understand the file.

BOOL IsAccessAllowed ()
BOOL HasSquarePixels ()
CTreeSettingsPageGetTreeSettingsPage ()
 returns NULL if there is no tree settings page

void SetSourceAsCurrent ()

Protected Attributes

HINSTANCE m_hSAA7134ResourceInst

Detailed Description

The source controls a specific CSAA7134Card to provide interlaced video


Member Function Documentation

void CSAA7134Source::GetNextField TDeinterlaceInfo *  pInfo,
BOOL  AccurateTiming
[virtual]
 

Fill the TDeinteralceInfo structure with the most recent data and update the history. The Accuarate timing flag is used by JudderTermonator to tell the code to time the input Frequency exactly.

Implements CSource.

void CSAA7134Source::SetFormat eVideoFormat  NewFormat  )  [virtual]
 

Set the video format e.g. PAL, NTSC Will get called by auto forfat detect in the processing thread so do not stop the processing to habdle this command Normal processing is to post message to yourself using API

Implements CSource.


The documentation for this class was generated from the following files:
Generated on Mon Oct 27 09:54:50 2003 for DScaler by doxygen 1.3.4