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. For H.264 streams only.
brCtrl Bitrate control mode. For H.264 streams only.
bitrate Requested bitrate (in bits per second). Please refer to s819.h for allowed ranges.
Irrelevant for JPEG stream, JPEG quality is fixed.
reserved Future use
Stream type
typedef enum {
STREAM_H264_PRI = 0,
STREAM_H264_SEC,
STREAM_JPEG,
STREAM_YUV,
STREAM_AUDIO,
STREAM_MV,
STREAM_MAX
} S819_STREAM_TYPE;
STREAM_H264_PRI primary H.264 stream.
STREAM_H264_SEC secondary H.264 stream. Resolution must be lower than that of the primary
stream.
STREAM_JPEG JPEG stream.
STREAM_YUV preview stream
STREAM_AUDIO audio stream. For return type from waitbuffer only.
STREAM_MV future use
Capture channel
typedef struct {
int ctrl;
} CONTROL;
Reserved for future use.
typedef struct {
CHAN_MODE cMode; //channel capture mode
STREAM_MODE psMode; //primary H.264 stream
STREAM_MODE ssMode; //secondary H.264 stream
STREAM_MODE jsMode; //JPEG stream
STREAM_MODE usMode; //Uncompressed preview stream
CONTROL ctrl; //reserved
5
Commentaires sur ces manuels