Mid2246func.h file reference, Data structures, Defines – Sensoray 2246 User Manual

Page 24: Typedefs, Functions

Advertising
background image

mid2246func.h File Reference

#include "windows.h"

#include "mid2246const.h"

Data Structures

struct MIDSRAYSTATUS

struct MIDSRAYSTATUS_UNICODE

struct image_raw_t

struct overlay_text_t

Defines

#define MID2246_API __declspec(dllimport)

#define MID2246_MERGEAPI int

#define MAX_PATH 260

#define MID2246_MAX_TEXT 256

#define MID2246_MAX_FONTFILE 256

Typedefs

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

int *pRetW, int *pRetH)

Functions

MID2246_API int SN_GetNumBoards (int *pBoards)

MID2246_API int SN_GetVersion (char **sMid2246Version, char **sFPGA2246Version, int

*pBoardId, int board)

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

board)

MID2246_API int SN_Shutdown (int board)

MID2246_API int SN_UpdateClippingWindow (HWND hwnd, int board)

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)

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

MID2246_API int SN_GetSource (MID2246_SOURCE *pSource, int board)

MID2246_API int SN_SetVidSys (MID2246_VIDSYS vidsys, int board)

MID2246_API int SN_GetVidSys (int board)

MID2246_API int SN_SetDvi (MID2246_DVIRES res, BOOL bColorBars, int DviCropLeft, int

DviCropTop, int DviCropRight, int DviCropBottom, int board)

MID2246_API int SN_SetMpegCrop (int MpegCropLeft, int MpegCropTop, int

MpegCropRight, int MpegCropBottom, int board)

MID2246_API int SN_SetMpegConfig (MPEG_CONFIG *pConfig, int board)

MID2246_API int SN_GetMpegConfig (MPEG_CONFIG *pConfig, int board)

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

MID2246_API int SN_SetAudioInput (MID2246_AUDIO_INPUT audio, int micBoost, int

board)

MID2246_API int SN_SetAudioOutput (MID2246_AUDIO_OUTPUT audio, int board)

MID2246_API int SN_GetStatus (MIDSRAYSTATUS *pStats, int board)

MID2246_API int SN_GetFrameSync (int *sync, int board)

24

Advertising