struct vdIn { int fd; char *videodevice; char *status; char *pictName; struct v4l2_capability cap; struct v4l2_format fmt; struct v4l2_buffer buf; struct v4l2_requestbuffers rb; void *mem[NB_BUFFER]; unsigned char *tmpbuffer; unsigned char *framebuffer; int isstreaming; int grabmethod; int width; int height; int fps; int formatIn; int formatOut; int framesizeIn; int signalquit; int toggleAvi;
2011-5-18 17:05
2楼
int getPict; int rawFrameCapture; /* raw frame capture */ unsigned int fileCounter; /* raw frame stream capture */ unsigned int rfsFramesWritten; unsigned int rfsBytesWritten; /* raw stream capture */ FILE *captureFile; unsigned int framesWritten; unsigned int bytesWritten; int framecount; int recordstart; int recordtime; };