摘要:
#include #include #include #include #include #include #include #include #include #include typedef struct{void *start;int length;}BUFTYPE;BUFTYPE *user_buf;int n_buffer = 0;//打开摄像头设备int open_camer_device(){int fd;if((fd = open("/dev/video0",O_RDWR | O_NONBLOCK)) > 8)&0xff,(fmt.pixelf 阅读全文