Sensoray 811 Windows SDK User Manual

Page 15

Advertising
background image

int devid

);

Sets brightness, contrast, saturation and hue of the captured video.

Parameters

param

defines the parameter to set (MID811_LEVEL_CONTRAST,

MID811_LEVEL_BRIGHTNESS, MID811_LEVEL_SATURATION, MID811_LEVEL_HUE).

See see mid811types.h for definitions.

value

defines the value of selected parameter

devid

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

Returns

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

MID811_API int S811_GetLevels(

int param,

int value,

int devid

);

Retrieves video levels.

Parameters

param

defines the parameter to get (MID811_LEVEL_CONTRAST,

MID811_LEVEL_BRIGHTNESS, MID811_LEVEL_SATURATION, MID811_LEVEL_HUE).

See see mid811types.h for definitions.

value

pointer to returned value of selected parameter

devid

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

15

Advertising