beautypg.com

Sensoray 812 Windows User Manual

Page 13

background image

device id in the system (use 0 with a single board installed).

strmidx

channel index (0-7)

Returns

0 on success, negative value if error (see mid812types.h for error codes list).

MID812_API int S812_GetLevel(

int param,

int value,

int devid,

int strmidx

);

Retrieves video levels.

Parameters

param

defines the parameter to get (MID812_LEVEL_CONTRAST,

MID812_LEVEL_BRIGHTNESS, MID812_LEVEL_SATURATION, MID812_LEVEL_HUE).

value

pointer to returned value of selected parameter

devid

device id in the system (use 0 with a single board installed).

strmidx

channel index (0-7)

Returns

0 on success, negative value if error (see mid812types.h for error codes list).

MID812_API int S812_SetVidSize(

MID812_RES vidsize,

int devid,

int strmidx

);

Sets the video size.

Parameters

13