beautypg.com

Sensoray 819 Windows SDK User Manual

Page 4

background image

TVS_NTSC,
TVS_MAX, //for array sizing
} S819_TVSTANDARD;

Bitrate control mode

typedef enum {
BITRATE_H264_NO_RC, // Var with max limit
BITRATE_H264_CBR, //constant bitrate
BITRATE_H264_VBR, //variable bitrate
BITRATE_MAX, //for array sizing only
} S819_BR_CTRL;

TBC.

Capture mode

typedef struct {
S819_TVSTANDARD tvs;
int bright;
int contrast;
int saturation;
int hue;
int sharpness;
int reserved[8]
} CHAN_MODE;

bright

brightness control. Valid values: -128 to 127. Default 0.

contrast

contrast control. Valid values: 0 to 255. Default 0x64. Adjustment rate – 1% per step.

saturation

saturation. The range of adjustment is 0 to 200%. Default value of 0x80 corresponds to
100%.

hue

color hue (for NTSC input only). Range: -128 to 127. Default 0. Two lower bits

have no effect. Positive values increase greenish tones, negative – purplish.

sharpness

Future use

reserved

Future use

Stream mode

typedef struct {
S819_RESOLUTION resolution;
int fps;
int gopSize;
S819_BR_CTRL brCtrl;
int bitrate;
int reserved[8];
} STREAM_MODE;

4