S2263_setlevel, S2263_getlevel – Sensoray 2263 User Manual

Page 17

Advertising
background image

int

*interlaced,

int

devid);

Gets information about the currently selected video source.
width

pointer to variable receiving width in pixels.

height

pointer to variable receiving height in pixels.

framerate

pointer to variable receiving frame rate scaled by 1000.

interlaced

pointer to variable receiving boolean indicating interlaced video.

devid

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

S2263_SetLevel

MID2263_API int __stdcall S2263_SetLevel (

int

param,

unsigned char

value,

int

devid);

Sets brightness, contrast, saturation and hue of the captured video. Note:
applies to both streams.
param

defines the parameter to set (MID2263_LEVEL_CONTRAST,
MID2263_LEVEL_BRIGHTNESS, MID2263_LEVEL_SATURATION,
MID2263_LEVEL_HUE). See mid2263types.h for definitions.

value

defines the value of selected parameter.

devid

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

S2263_GetLevel

MID2263_API int __stdcall S2263_GetLevel (

int

param,

unsigned char

*value,

int

devid);

Retrieves current brightness, contrast, saturation and hue settings.

17

Advertising