#include <StillSource.h>
Inheritance diagram for CStillSource:


Public Member Functions | |
| CStillSource (LPCSTR IniSection) | |
| void | CreateSettings (LPCSTR IniSection) |
| void | Start () |
| start capturing. Perform any initilization here | |
| void | Stop () |
| start capturing. Perform any clean-up here | |
| void | Reset () |
| Reset to known state. | |
| void | GetNextField (TDeinterlaceInfo *pInfo, BOOL AccurateTiming) |
| BOOL | HandleWindowsCommands (HWND hWnd, UINT wParam, LONG lParam) |
| Returns TRUE is we process the command. | |
| LPCSTR | GetStatus () |
| Returns a string to be displayed in the UI. | |
| ISetting * | GetVolume () |
| returns NULL if there is no control over this value | |
| ISetting * | GetBalance () |
| returns NULL if there is no control over this value | |
| void | Mute () |
| Turn off any sound. | |
| void | UnMute () |
| Turn back on the sound. | |
| ISetting * | GetBrightness () |
| returns NULL if there is no control over this value | |
| ISetting * | GetContrast () |
| returns NULL if there is no control over this value | |
| ISetting * | GetHue () |
| returns NULL if there is no control over this value | |
| ISetting * | GetSaturation () |
| returns NULL if there is no control over this value | |
| ISetting * | GetSaturationU () |
| returns NULL if there is no control over this value | |
| ISetting * | GetSaturationV () |
| returns NULL if there is no control over this value | |
| ISetting * | GetAnalogueBlanking () |
| returns NULL if there is no control over this value | |
| ISetting * | GetTopOverscan () |
| returns NULL if there is no control over this value | |
| ISetting * | GetBottomOverscan () |
| returns NULL if there is no control over this value | |
| ISetting * | GetLeftOverscan () |
| returns NULL if there is no control over this value | |
| ISetting * | GetRightOverscan () |
| returns NULL if there is no control over this value | |
| ISetting * | GetHDelay () |
| returns NULL if there is no control over this value | |
| ISetting * | GetVDelay () |
| returns NULL if there is no control over this value | |
| CTreeSettingsPage * | GetTreeSettingsPage () |
| returns NULL if there is no tree settings page | |
| eVideoFormat | GetFormat () |
| Get the original video format e.g. PAL, NTSC. | |
| BOOL | IsInTunerMode () |
| Are we currently showing the output from the tuner. | |
| 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. | |
| void | UpdateMenu () |
| Update the content of the menu. | |
| void | SetMenu (HMENU hMenu) |
| Update the menu with any settings. | |
| void | HandleTimerMessages (int TimerId) |
| Handle any timers that you control. | |
| void | SetFormat (eVideoFormat NewFormat) |
| BOOL | SetTunerFrequency (long FrequencyId, eVideoFormat VideoFormat) |
| Tune into channel. | |
| BOOL | IsVideoPresent () |
| Are we capturing a proper video signal. | |
| void | DecodeVBI (TDeinterlaceInfo *pInfo) |
| If VBI data is being captured, decode it. | |
| LPCSTR | GetMenuLabel () |
| Get string to display in source menu. | |
| BOOL | ReadNextFrameInFile () |
| BOOL | LoadPlayList (LPCSTR FileName) |
| void | SaveSnapshotInFile (int FrameHeight, int FrameWidth, BYTE *pFrameBuffer, LONG LinePitch) |
| void | SaveSnapshotInMemory (int FrameHeight, int FrameWidth, BYTE *pAllocBuffer, LONG LinePitch) |
| void | SaveInFile (int pos) |
| BOOL | OpenMediaFile (LPCSTR FileName, BOOL NewPlayList) |
| Open the following file, return TRUE if you understand the file. | |
| BOOL | IsAccessAllowed () |
| void | SetAspectRatioData () |
| BOOL | HasSquarePixels () |
| void | ChangeSettingsBasedOnHW (int ProcessorSpeed, int TradeOff) |
| LPCSTR | IDString () |
| void | SetNavigOnly (BOOL NavigOnly) |
| BOOL | IsNavigOnly () |
| 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) |
| ITuner * | GetTuner () |
| int | GetPlaylistPosition () |
| int | CountMemoryUsage () |
Protected Member Functions | |
| void | ChangeDefaultsForVideoFormat (BOOL bDontSetValue) |
| void | ChangeDefaultsForVideoInput (BOOL bDontSetValue) |
| void | ChangeDefaultsForAudioInput (BOOL bDontSetValue) |
Protected Attributes | |
| int | m_InitialWidth |
| int | m_InitialHeight |
| int | m_Width |
| int | m_Height |
| BYTE * | m_StillFrameBuffer |
| TPicture | m_StillFrame |
| BYTE * | m_OriginalFrameBuffer |
| TPicture | m_OriginalFrame |
| vector< CPlayListItem * > | m_PlayList |
| int | m_Position |
| BOOL | m_IsPictureRead |
| BOOL | m_SquarePixels |
| BOOL | m_NavigOnly |
| int | m_LinePitch |
| std::string | m_IDString |
Friends | |
| class | CTiffHelper |
| class | CJpegHelper |
| class | CPatternHelper |
|
||||||||||||
|
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. |
|
|
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. |
1.3.4