⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 capture.h

📁 OV511摄像头在Linux中的简单应用
💻 H
字号:
#include <stdio.h>#include <sys/types.h>#include <fcntl.h>#include <linux/fb.h>#include <unistd.h>#include <stdlib.h>#include <linux/videodev.h>#include <sys/ioctl.h>#include <asm/page.h>#include <sys/mman.h>#include <string.h>#include <pthread.h>typedef struct _v4ldevice{	int fd;	struct video_capability capability;	struct video_buffer buffer;	struct video_mmap mmap;	struct video_mbuf mbuf;	unsigned char *map;	pthread_mutex_t mutex;	int frame;	int framestat[2];	}v4ldevice;typedef struct _pthread_1{	struct _v4ldevice *device;	int frame;}pth_1;typedef struct _pthread_2{	int x;	int y;	char *buffer;        char* link;}pth_2;struct Rect {	int x;	int y;	char *l;};	void *other_set_image(void *);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -