beautypg.com

Sensoray 2246 User Manual

Page 4

background image

#define MID2246_REGION_MPEG 2

.............................................................................................

20

#define MID2246_REGION_STILL 4

..............................................................................................

20

#define MID2246_BOARD_A 1

.......................................................................................................

20

#define MID2246_BOARD_H 2

.......................................................................................................

20

#define MID2246_BOARD_K 3

.......................................................................................................

20

Enumeration Type Documentation

.........................................................................................................

20

enum MID2246_VIDSYS

..................................................................................................................

20

enum MID2246_SOURCE

.................................................................................................................

20

enum MID2246_AUDIO_INPUT

......................................................................................................

21

enum MID2246_AUDIO_OUTPUT

..................................................................................................

21

enum MID2246_FIELDALG

.............................................................................................................

21

enum MID2246_DVIRES

..................................................................................................................

22

enum MID2246_ASPECT_MODE

....................................................................................................

22

enum MID2246_REC

.........................................................................................................................

22

enum MID2246_RC

...........................................................................................................................

22

mid2246func.h File Reference

....................................................................................................................

24

Data Structures

........................................................................................................................................

24

Defines

...................................................................................................................................................

24

Typedefs

.................................................................................................................................................

24

Functions

.................................................................................................................................................

24

Define Documentation

............................................................................................................................

26

#define MAX_PATH

260

..................................................................................................................

26

#define MID2246_API

__declspec(dllimport)

..................................................................................

26

#define MID2246_MERGEAPI

int

...................................................................................................

27

#define MAX_PATH

260

..................................................................................................................

27

#define MID2246_MAX_TEXT

256

................................................................................................

27

#define MID2246_MAX_FONTFILE

256

.......................................................................................

27

Typedef Documentation

.........................................................................................................................

27

typedef int(* mergefunc_t)(BYTE *merged, int size, BYTE *f0, int h0, BYTE *f1, int h1, int w, int
*pRetW, int *pRetH)

..........................................................................................................................

27

Function Documentation - Configuration and Setup functions

..............................................................

27

MID2246_API int SN_GetNumBoards (int * pBoards)

....................................................................

27

MID2246_API int SN_GetVersion (char ** sMid2246Version, char ** sFPGA2246Version, int *
pBoardId, int board)

............................................................................................................................

28

MID2246_API int SN_Initialize (HWND hwnd, HWND messageHwnd, int removeMsg, int board)

............................................................................................................................................................

28

MID2246_API int SN_Shutdown (int board)

.....................................................................................

28

MID2246_API int SN_UpdateClippingWindow (HWND hwnd, int board)

.....................................

28

MID2246_API int SN_SetVideoPosition (int xpos, int ypos, int xsize, int ysize, int left_clip, int
top_clip, int right_clip, int bottom_clip, int board)

............................................................................

28

MID2246_API int SN_SetSource (MID2246_SOURCE input, BOOL bTest, int board)

.................

29

MID2246_API int SN_GetSource (MID2246_SOURCE * pSource, int board)

...............................

29

MID2246_API int SN_SetVidSys (MID2246_VIDSYS vidsys, int board)

......................................

29

MID2246_API int SN_GetVidSys (int board)

...................................................................................

29

MID2246_API int SN_SetDvi (MID2246_DVIRES res, BOOL bColorBars, int DviCropLeft, int
DviCropTop, int DviCropRight, int DviCropBottom, int board)

.......................................................

30

MID2246_API int SN_SetMpegCrop (int MpegCropLeft, int MpegCropTop, int MpegCropRight,
int MpegCropBottom, int board)

........................................................................................................

30

MID2246_API int SN_SetMpegConfig (MPEG_CONFIG * pConfig, int board)

............................

30

MID2246_API int SN_GetMpegConfig (MPEG_CONFIG * pConfig, int board)

...........................

30

MID2246_API int SN_SetLevels (int param, unsigned char value, int board)

..................................

30

MID2246_API int SN_SetAudioInput (MID2246_AUDIO_INPUT audio, int micBoost, int board)

............................................................................................................................................................

31

0 on success

.......................................................................................................................................

31

MID2246_API int SN_SetAudioOutput (MID2246_AUDIO_OUTPUT audio, int board)

..............

31

MID2246_API int SN_GetStatus (MIDSRAYSTATUS * pStats, int board)

....................................

31

4