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

📄 image.h

📁 网络摄像头的webserver
💻 H
字号:
#ifndef _IMAGE_H_#define _IMAGE_H_/* $Id: image.h,v 1.3 2003/04/20 21:13:41 dfx Exp $ */struct image{	unsigned int x, y;	unsigned int bufsize;	unsigned char *buf;};/* Inits image struct and allocates buf */void image_new(struct image *, unsigned int x, unsigned int y);/* Copies image with contents (= image_dup & memcpy(buf, buf)) */void image_copy(struct image *dest, const struct image *src);/* Only duplicates the structure and buffer, not the contents of the buffer */void image_dup(struct image *dest, const struct image *src);/* Moves the buffer and structure over to another var, and frees the old var and buf */void image_move(struct image *dest, const struct image *src);/* Frees buffer */void image_destroy(struct image *);/* Calculate image brightness co-efficient */float image_brightness(struct image *);#endif

⌨️ 快捷键说明

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