代码拉取完成,页面将自动刷新
/*
* /linux-3.0.8/drivers/media/video/vcam_test.h
*/
#ifndef __VCAM_TEST_H
#define __VCAM_TEST_H
/***** user control data structure *****/
#define NB_BUFFER 4
#define DEVICE_NAME_LEN 20
struct vcam_in {
struct v4l2_capability capability;
struct v4l2_format format;
struct v4l2_buffer buffer;
struct v4l2_streamparm streamparm;
struct v4l2_requestbuffers requestbuffers;
char dev_name[DEVICE_NAME_LEN];
void *mem[NB_BUFFER];
unsigned char *tmp_buffer;
unsigned char *frame_buffer;
char *status;
char *picture_name;
int fd;
int width;
int height;
int fps;
int is_streaming;
int grab_method;
int in_format;
int out_format;
int in_framesize;
int signal_quit;
int toggle_avi;
int get_picture;
int raw_frame_capture;
unsigned int file_counter;
unsigned int rfs_written_frames;
unsigned int rfs_written_bytes;
FILE *capture_file;
unsigned int written_frames;
unsigned int written_bytes;
int frame_count;
int record_start;
int record_time;
};
struct vcam_out {
struct fb_var_screeninfo var_screeninfo;
struct fb_fix_screeninfo fix_screeninfo;
char dev_name[DEVICE_NAME_LEN];
unsigned char *fb_buffer;
int fd;
unsigned int fb_size;
};
struct vcam_control_info{
struct vcam_in in;
struct vcam_out out;
};
#define VCAM_TEST_VERSION "1.0"
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。