Sensoray 819 Linuxs SDK User Manual
Page 5

int hue;
int sharpness;
} 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
controls sharpness enhancement of video. Valid values are 0 (no enhancement) to 15
(most enhancement).
Stream mode
typedef struct {
S819_RESOLUTION resolution;
int fps;
S819_INTERLACE interlace;
int gopSize;
S819_BR_CTRL brCtrl;
int bitrate;
} STREAM_MODE;
resolution
resolution of the captured stream.
fps
capture rate (frames per second). Range: 1-25 (PAL), 1-30 (NTSC) in 1 fps increments.
This parameter does not affect JPEG capture rate, which is fixed at 2 fps.
interlace
interlacing mode.
gopSize
GOP size. 1 to 256, default 60. Irrelevant for JPEG stream.
brCtrl
Bitrate control mode. Irrelevant for JPEG stream.
bitrate
Requested bitrate (in bits per second). Please refer to s819.h for allowed ranges.
Irrelevant for JPEG stream, JPEG quality is fixed.
Stream type
typedef enum {
STREAM_H264_PRI = 0,
STREAM_H264_SEC,
STREAM_JPEG,
STREAM_YUV,
STREAM_AUDIO,
STREAM_ALARM,
STREAM_CAPTION,
STREAM_MAX
} S819_STREAM_TYPE;
5