亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? netcam.h

?? video motion detection of linux base
?? H
字號:
/* *	netcam.h * *	Include file for handling network cameras. * *	This code was inspired by the original netcam.c module *	written by Jeroen Vreeken and enhanced by several Motion *	project contributors, particularly Angel Carpintero and *	Christopher Price. *	 *	Copyright 2005, William M. Brack *	This software is distributed under the GNU Public license *	Version 2.  See also the file 'COPYING'. */#ifndef _INCLUDE_NETCAM_H#define _INCLUDE_NETCAM_H#include <jpeglib.h>#include <setjmp.h>#include <sys/socket.h>#include <sys/types.h>#include <regex.h>/* * We are aiming to get the gcc compilation of motion practically "warning * free", when using all the possible warning switches.  The following macro * is to allow some function prototypes to include parameters which, at the * moment, are not used, but either still "need to be declared", or else are * planned to be used in the near future.  Eventually this macro will go into * motion.h, but that will be a little later. *//** * ATTRIBUTE_UNUSED: * * Macro used to signal to GCC unused function parameters */#ifdef __GNUC__#ifdef HAVE_ANSIDECL_H#include <ansidecl.h>#endif#ifndef ATTRIBUTE_UNUSED#define ATTRIBUTE_UNUSED __attribute__((unused))#endif#else#define ATTRIBUTE_UNUSED#endif/* netcam_wget.h needs to have netcam_context_ptr */typedef struct netcam_context *netcam_context_ptr;#include "netcam_wget.h"        /* needed for struct rbuf */#define NETCAM_BUFFSIZE 4096    /* Initial size reserved for a JPEG                                   image.  If expansion is required,                                   this value is also used for the                                   amount to increase. *//* * Error return codes for netcam routines.  The values are "bit * significant".  All error returns will return bit 1 set to indicate * these are "netcam errors"; additional bits set will give more detail * as to what kind of error it was. * Bit 0 is reserved for V4L type errors. * */#define NETCAM_GENERAL_ERROR       0x02          /* binary 000010 */#define NETCAM_NOTHING_NEW_ERROR   0x06          /* binary 000110 */#define NETCAM_JPEG_CONV_ERROR     0x0a          /* binary 001010 */#define NETCAM_RESTART_ERROR       0x12          /* binary 010010 */#define NETCAM_FATAL_ERROR         -2/* * struct url_t is used when parsing the user-supplied URL, as well as * when attempting to connect to the netcam. */struct url_t {	char *service;	char *userpass;	char *host;	int port;	char *path;};/* * We use a special "triple-buffer" technique.  There are * three separate buffers (latest, receiving and jpegbuf) * which are each described using a struct netcam_image_buff */typedef struct netcam_image_buff {	char *ptr;	int content_length;	size_t size;                    /* total allocated size */	size_t used;                    /* bytes already used */	struct timeval image_time;      /* time this image was received */} netcam_buff;typedef netcam_buff *netcam_buff_ptr;/* * struct netcam_context contains all the structures and other data * for an individual netcam. */typedef struct netcam_context {	struct context *cnt;        /* pointer to parent motion	                               context structure */	int finish;                 /* flag to break the camera-	                               handling thread out of it's	                               infinite loop in emergency */	int threadnr;               /* motion's thread number for	                               the camera-handling thread	                               (if required).  Used for	                               error reporting */	pthread_t thread_id;        /* thread i.d. for a camera-	                               handling thread (if required).	                               Not currently used, but may be	                               useful in the future */	pthread_mutex_t mutex;      /* mutex used with conditional waits */	pthread_cond_t exiting;     /* pthread condition structure to let	                               the camera-handler acknowledge that	                               it's finished */	pthread_cond_t cap_cond;    /* pthread condition structure to	                               initiate next capture request (used	                               only with non-streaming cameras */	pthread_cond_t pic_ready;   /* pthread condition structure used	                                for synchronisation between the	                                camera handler and the motion main	                                loop, showing new frame is ready */		int start_capture;          /* besides our signalling condition,	                               we also keep a flag to assure the	                               camera-handler will always start	                               a new cycle as soon as possible,	                               even if it's not currently waiting	                               on the condition. */	char *connect_host;         /* the host to connect to (may be	                               either the camera host, or	                               possibly a proxy) */		int connect_port;           /* usually will be 80, but can be	                               specified as something else by	                               the user */	char *connect_request;      /* contains the complete string	                               required for connection to the	                               camera */	int sock;                   /* fd for the camera's socket.	                               Note that this value is also	                               present within the struct	                               rbuf *response. */	struct timeval timeout;     /* The current timeout setting for	                               the socket. */	struct rbuf *response;      /* this structure (defined in the	                               netcam_wget module) contains	                               the context for an HTTP	                               connection.  Note that this	                               structure includes a large	                               buffer for the HTTP data */	struct ftp_context *ftp;        /* this structure contains the	                               context for FTP connection */	int (*get_image)(netcam_context_ptr);	                            /* Function to fetch the image from	                               the netcam.  It is initialised in	                               netcam_setup depending upon whether	                               the picture source is from an http	                               server or from an ftp server */	struct netcam_caps {        /* netcam capabilities: */		unsigned char streaming;        /*  1 - supported       */		unsigned char content_length;   /*  0 - unsupported     */	} caps;	char *boundary;             /* 'boundary' string when used to	                               separate mjpeg images */	size_t boundary_length;     /* string length of the boundary	                               string */	                            /* Three separate buffers are used	                               for handling the data.  Their	                               definitions follow: */		netcam_buff_ptr latest;     /* This buffer contains the latest	                               frame received from the camera */	netcam_buff_ptr receiving;  /* This buffer is used for receiving	                               data from the camera */	netcam_buff_ptr jpegbuf;    /* This buffer is used for jpeg	                               decompression */	int imgcnt;                 /* count for # of received jpegs */	int imgcnt_last;            /* remember last count to check if a new	                               image arrived */	int error_count;            /* simple count of number of errors since	                               last good frame was received */		unsigned int width;         /* info for decompression */	unsigned int height;	struct timeval last_image;  /* time the most recent image was	                               received */	float av_frame_time;        /* "running average" of time between	                               successive frames (microseconds) */	struct jpeg_error_mgr jerr;	jmp_buf setjmp_buffer;	int jpeg_error;             /* flag to show error or warning	                               occurred during decompression*/} netcam_context;/* * Declare prototypes for our external entry points *//*     Within netcam_jpeg.c    */int netcam_proc_jpeg (struct netcam_context *, unsigned char *);void netcam_get_dimensions (struct netcam_context *);/*     Within netcam.c        */int netcam_start (struct context *);int netcam_next (struct context *, unsigned char *);void netcam_cleanup (struct netcam_context *, int);ssize_t netcam_recv(netcam_context_ptr, void *, size_t);#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美一区二区在线| 欧美精选在线播放| 欧美体内she精高潮| 蜜臀99久久精品久久久久久软件| 蜜臀av一区二区在线免费观看 | 国产一区中文字幕| 在线视频一区二区三区| 26uuu亚洲| 天天影视网天天综合色在线播放| 国产精品99久久久久久久vr| 欧美人xxxx| 一区二区三区波多野结衣在线观看| 韩国欧美一区二区| 91精品国产乱码| 亚洲综合成人网| 一道本成人在线| 国产精品人成在线观看免费| 国产xxx精品视频大全| 欧美日韩精品电影| 亚洲无线码一区二区三区| 成人久久视频在线观看| 久久久久久免费毛片精品| 美女脱光内衣内裤视频久久网站 | 久久精品一区二区三区不卡牛牛| 首页亚洲欧美制服丝腿| 色噜噜狠狠一区二区三区果冻| 国产亚洲欧美一区在线观看| 国产在线一区观看| 久久综合中文字幕| 国产伦精品一区二区三区视频青涩| 4438x亚洲最大成人网| 亚洲chinese男男1069| 欧美在线免费视屏| 一区二区三区欧美日韩| 一本大道久久精品懂色aⅴ| 亚洲视频在线一区二区| 91在线无精精品入口| 亚洲精品高清在线观看| 在线一区二区三区四区五区| 亚洲综合色成人| 欧美日韩在线播放三区| 日韩精品成人一区二区三区| 日韩一区二区免费视频| 久久国产福利国产秒拍| 国产视频一区不卡| 成人黄色av电影| 一区二区三区在线免费视频| 欧美日韩国产综合一区二区三区 | 国产亚洲福利社区一区| 成人一区二区在线观看| 最新欧美精品一区二区三区| 91精彩视频在线观看| 丝袜亚洲另类丝袜在线| 精品国产一二三| 成人av动漫网站| 亚洲午夜激情网页| 精品成人在线观看| 成人97人人超碰人人99| 亚洲成人福利片| 精品粉嫩超白一线天av| 99久久精品情趣| 亚洲成av人片在线观看| 欧美一区二区三区男人的天堂| 九九**精品视频免费播放| 国产精品私房写真福利视频| 欧洲精品在线观看| 韩国中文字幕2020精品| 亚洲色图欧美偷拍| 在线播放中文字幕一区| 国产成人在线视频网站| 亚洲国产裸拍裸体视频在线观看乱了 | 国产欧美一区二区在线观看| 色就色 综合激情| 黄一区二区三区| 亚洲一区二区三区三| 久久影音资源网| 欧美在线制服丝袜| 狠狠色丁香婷婷综合久久片| 日韩一区在线播放| 欧美va亚洲va在线观看蝴蝶网| aa级大片欧美| 国内精品写真在线观看| 一区二区三区国产精品| 国产欧美日韩一区二区三区在线观看| 色综合久久综合网97色综合| 国内精品写真在线观看| 亚洲成人综合网站| 中文字幕av资源一区| 7777精品伊人久久久大香线蕉的 | 亚洲人成网站影音先锋播放| 欧美日韩色一区| thepron国产精品| 久久超碰97中文字幕| 亚洲综合久久av| 亚洲国产高清在线| 欧美www视频| 欧美日高清视频| 91成人在线观看喷潮| 国产一区二区三区在线观看免费视频 | 欧美午夜精品电影| 99久久精品国产导航| 国产乱码精品1区2区3区| 蜜桃久久久久久| 天天做天天摸天天爽国产一区 | 精品国产一区二区三区久久久蜜月| 欧美日韩一区视频| 欧美在线|欧美| 色视频一区二区| 91蜜桃在线免费视频| 国产美女久久久久| 国产美女一区二区三区| 狠狠色狠狠色合久久伊人| 免费不卡在线观看| 免费观看在线综合| 国产精品毛片久久久久久| av中文字幕亚洲| 本田岬高潮一区二区三区| 狠狠色狠狠色综合| 日韩精品成人一区二区三区| 国产一区二区主播在线| 久久久国际精品| 久久久亚洲精品石原莉奈 | 久久久www免费人成精品| 欧美一区二区私人影院日本| 这里只有精品电影| 51精品秘密在线观看| 91精品国产乱码| 日韩欧美国产一区二区在线播放| 日韩久久久久久| 国产日韩成人精品| 自拍偷在线精品自拍偷无码专区| 日韩美女视频一区| 亚洲一区自拍偷拍| 免费在线观看一区| 国产精品亚洲午夜一区二区三区| 久久久久久久综合狠狠综合| 婷婷综合五月天| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 久久精品水蜜桃av综合天堂| 国产婷婷色一区二区三区| 欧美激情一区二区在线| 综合中文字幕亚洲| 丝袜诱惑亚洲看片| 国产一区二区三区在线观看免费视频 | 免费在线欧美视频| 国产一区二区三区国产| 色综合咪咪久久| 欧美一区二区三区在线看| 久久综合久久综合亚洲| 综合久久久久久| 免费成人在线视频观看| 成人晚上爱看视频| 欧美日韩一区三区| 久久久激情视频| 亚洲mv在线观看| 成人精品鲁一区一区二区| 在线观看区一区二| 久久久综合九色合综国产精品| 亚洲免费大片在线观看| 另类小说综合欧美亚洲| 94-欧美-setu| 日韩精品中文字幕一区二区三区| 国产精品不卡视频| 免费的国产精品| 色噜噜狠狠成人中文综合 | 欧美日韩国产美女| 中文一区二区完整视频在线观看| 洋洋成人永久网站入口| 国产精品一区二区黑丝| 69堂精品视频| 亚洲精选视频免费看| 国产成人免费在线观看| 91精品国产免费久久综合| 日韩视频在线一区二区| 精品国产凹凸成av人导航| 一区二区三区不卡在线观看| 国产一区二区在线视频| 日韩一区二区视频在线观看| 国产精品123| 欧美乱妇一区二区三区不卡视频 | 欧美日本一区二区三区四区| 国产精品婷婷午夜在线观看| 久久精品国产秦先生| 欧美性猛交xxxx黑人交| 亚洲欧美日韩一区| 国产高清在线精品| 精品久久久久一区| 日韩黄色免费电影| 欧美日韩国产在线播放网站| 亚洲精品视频在线看| 成人黄色电影在线| 中文字幕不卡在线播放| 高清免费成人av| 国产视频一区二区在线| 国产高清精品网站| 国产日产欧产精品推荐色| 国产精品白丝av| 久久嫩草精品久久久久| 国产真实乱子伦精品视频| 欧美成人伊人久久综合网|