beautypg.com

Sensoray 614 Windows User Manual

Page 20

background image

percent

a numerator of the position in the file expressed as a fraction of a total file size.

range

a denominator of the position in the file expressed as a fraction of a total file size.

Returns

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

MID314_API int SN_PlaybackGetSeekPosition(

int range

);

Retrieves the current position in the file being played back. The position is calculated as file_size *
percent / range.

Parameters

range

a denominator of the position in the file expressed as a fraction of a total file size.

Returns

a numerator of the position in the file expressed as a fraction of a total file size, negative value

if error (see mid314types.h for error codes list).

MID314_API int SN_SetLevels(

int param,

char value,

int board

);

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

Parameters

param

defines the parameter to set (

MID314_LEVEL_CONTRAST,

MID314_LEVEL_BRIGHTNESS, MID314_LEVEL_SATURATION, MID314_LEVEL_HUE)

.

See see mid314types.h for definitions.

value

defines the value of selected parameter

20

This manual is related to the following products: