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

📄 imgqueue.h

📁 有关嵌入式的摄像头视频采集的论文
💻 H
字号:
/********************************************************************* * webcam_server                                                     * *                                                                   * * (c) 2002 Donn Morrison donn@donn.dyndns.org                       * *                                                                   * * code used from Gerd Knorr's xawtv (libng)                         * * - and -                                                           * * Cory Lueninghoener's gqcam                                        * *                                                                   * *    waits for connections from a viewer and sends                  * *    jpeg encoded captures as a live video feed                     * *                                                                   * *********************************************************************/#ifndef _IMGQUEUE_H_INCLUDED_#define _IMGQUEUE_H_INCLUDED_#include <pthread.h>struct imagequeue *peek(struct caminfo *cam);int clean(struct caminfo *cam);void push(struct caminfo *cam, struct imagequeue *new);struct imagequeue{	int id;	int ref;	pthread_mutex_t lock_ref;	char *jpeg_data;	int len;	struct imagequeue *next;	struct imagequeue *prev;};#endif

⌨️ 快捷键说明

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