Parameters, Returns, Mid2246_api int sn_isvaliddv (int board) – Sensoray 2246 User Manual

Page 32: Mid2246_api int sn_getvidstatus (int board)

Advertising
background image

MID2246_API int SN_IsValidVid (MID2246_SOURCE checksource, int board)

Check to see if there are any valid Composite or S-Video inputs. Note: This function takes
over 4 seconds to complete because the inputs must settle in order for the decoder to detect
new video systems. Also, the input channel is changed to the analog decoder.

Parameters:

checksource Set to MID2246_SOURCE_COMPOSITE_0,MID2246_SOURCE_COMPOSITE_1,
MID2246_SOURCE_SVIDEO_0 or MID2246_SOURCE_SVIDEO_1 to check if one specific
video source is valid. Any other value will return true if any of the above sources are valid.
board ID if multiple boards installed.

Returns:

TRUE(1) if video locked else FALSE(0)

MID2246_API int SN_IsValidSdi (MID2246_SOURCE checksource, int board)

Tests to see if there are any valid High Definition or Standard Definition SDI video streams
present.

Parameters:

checksource Set to MID2246_SOURCE_SDI, MID2246_SOURCE_HDSDI,
MID2246_SOURCE_HDSDI2, MID2246_SOURCE_HDSDI720P, or
MID2246_SOURCE_HDSDI720P2 to check if one specific video source is valid. Any other value
will return true if any of the above sources are valid.
board ID if multiple boards installed.

Returns:

TRUE(1) if video locked else FALSE(0)

MID2246_API int SN_IsValidDv (int board)

Test to see if there are any valid DV (1394/Firewire) inputs.

Parameters:

board ID if multiple boards installed.

Returns:

TRUE(1) if video locked else FALSE(0)

MID2246_API int SN_EnumerateInputs (int * pStatus, int * pVidSys, int board)

Enumerate connected inputs. Note: This function over 4 seconds to complete because inputs
must settle in order for the decoder to detect new video systems. Also, input channel is
changed on the analog decoder.

Parameters:

pStatus pointer to array of inputs of size MID2246_SOURCE_NUM. returns status for each
input(0-unlocked, 1--locked, -1 unknown)
pVidSys pointer to array of inputs of size MID2246_SOURCE_NUM. returns vidsys for each
input(MID2246_VIDSYS or -1 if unknown).
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_GetVidStatus (int board)

GetVidStatus Checks and waits for status of the Built In Self Test (BIST) of the DDR
memory and then returns current lock status of the current input.

32

Advertising