资源说明:把这个dll文件放在wince的windows文件下就能调用摄像头驱动中的函数
/* Name : capInitCamera
* Initialize driver and get current available cameras number.
* Return : The number, of the available cameras, indicates success.
*/
ZC030XLIB_API int capInitCamera(void);
/* Name : capGetCurrentVersion
* Get the current driver version information.
* Return : The length, in characters, of the copied string,
* not including the terminating null character, indicates success.
*/
ZC030XLIB_API
int capGetCurrentVersion(
int index, /* [IN] Camera index, 0 - first */
unsigned char *pBufOut, /* [OUT] Long pointer to the buffer that will receive the text */
int lenOut /* [IN] Specifies the maximum number of characters to copy to the buffer,
including the NULL character. If the text exceeds this limit, it is truncated. */
);
/*
* Name : capGetVideoFormat
* Get the current video format.
* Return : Zero indicates success.
*/
ZC030XLIB_API
int capGetVideoFormat(
int index, /* [IN] Camera index */
int *pFormat, /* [OUT] Long pointer to the buffer that will receive the video format, VIDEO_PALETTE_RGB565 - VIDEO_PALETTE_JPEG */
int *pSizeMode /* [OUT] Long pointer to the buffer that will receive the size mode, VIDEO_SIZE_VGA - VIDEO_SIZE_SIF */
);
/*
* Name : capSetVideoFormat
* Set video format.
* Return : Zero indicates success.
*/
ZC030XLIB_API
int capSetVideoFormat(
int index, /* [IN] Camera index */
int format, /* [IN] Video format, VIDEO_PALETTE_RGB565 - VIDEO_PALETTE_JPEG */
int sizeMode /* [IN] Size mode, VIDEO_SIZE_VGA - VIDEO_SIZE_SIF */
);
/*
* Name : capGrabFrame
* Grab a frame from driver.
* Return : The length, in bytes, of the copied video frame data, indicates success.
*/
ZC030XLIB_API
int capGrabFrame(
int index, /* [IN] Camera index */
unsigned char *pFrameBuf, /* [OUT] Long pointer to the buffer that will receive the video frame */
unsigned int bufferLen /* [IN] Specifies the maximum number of bytes to copy to the buffer */
);
/*
* Name : capGetLastJpeg
* Get a last JPEG frame from driver.
* Return : The length, in bytes, of the copied JPEG frame data, indicates success.
*/
ZC030XLIB_API
int capGetLastJpeg(
int index, /* [IN] Camera index */
unsigned char *pFrameBuf, /* [OUT] Long pointer to the buffer that will receive the video frame */
unsigned int bufferLen /* [IN] Specifies the maximum number of bytes to copy to the buffer */
);
/*
* Name : capStartCamera
* Start camera to capture video.
* Return : Zero indicates success.
*/
ZC030XLIB_API
int capStartCamera(
int index /* [IN] Camera index */
);
/*
* Name : capStopCamera
* Stop camera to capture video.
* Return : Zero indicates success.
*/
ZC030XLIB_API
int capStopCamera(
int index /* [IN] Camera index */
);
/*
* Name : capCloseCamera
* Close all available camera.
* Return : Void.
*/
ZC030XLIB_API void capCloseCamera(void);
/*
* Name : capGetPciture
* Get a last bitmap and jpeg from driver
* Return : Zero indicates success.
*/
ZC030XLIB_API
int capGetPicture(
int index, /* [IN] Camera index */
unsigned char *pFrameBuf, /* [OUT] Long pointer to the buffer that will receive the video frame */
unsigned int bufferLen, /* [IN] Size, in bytes, of the buffer pointed to by pFrameBuf */
unsigned char *pJpgBuf, /* [OUT] Long pointer to the buffer that will receive the jpeg picture */
unsigned int jpgLen, /* [IN] Size, in bytes, of the buffer pointed to by pJpgBuf */
PDWORD pdwActualOut /* [OUT] Pointer to an array of the return lengths */
);
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
-
- 嵌入式图像处理与接口设计研究:该文介绍了两种用于嵌入式系统的数字图像采集接口方法,I/O接口和内存直接写入.对 ...
- ARM 嵌入式系统开发综述 ARM 开发工程师入门宝典嵌入式系统通常是以具体应用为中心, 以处理器为核心且面向实际应用的软 硬件系统,其 ...
- IIC总线中文详解 (嵌入式视讯平台开发必备背景知识)嵌入式开发中的IIC总线详细资料 多用于DTV等视讯平台中,是系统驱动编写的重要参考资 ...
- 基于ARM的嵌入式电力远程监测系统的研究.nh基于ARM的嵌入式电力远程监测系统的研究.nh
- Monqueror 0.6MiniGUI的嵌入式浏览器Monqueror 0.6
- FPGA_DOCUMENT.DOC通过提高密度、降低功耗和成本等手段,FPGA已经披靡传统ASIC领域,在众多新兴应用领域 ...
- mp3decode.rar嵌入式开发的重要资料 关于MP3的一个重要工程
- 嵌入式基础&ARM体系架构嵌入式系统 引导代码bootloader引导,针对不同电路板进行移植,操作系统WINCE,LINUX ...
- QQ2440 开发板QQ2440是一款低价实用的 ARM9 开发板,是目前国内性价比最高的一款学习板;它 采用Sam ...
- wince 教案 (易懂PPT格式)wince 教案: 0.课程介绍1.嵌入式系统2.嵌入式操作系统3.WindowsCE简介4.应用程序开发5 ...
-
- LINUX设备驱动程序第二版配套源码.rarLINUX设备驱动2源代码,是学习linux设备驱动的好资料
- SBC-2410X_kernel.tar.gzMIZI Research, Inc.发布的嵌入式Linux内核源码,现在的版本是是2.4.18-rmk7-pxa1-mz5 ...
- ucos移植心得大全.rarucos移植心得,非常好,写得很有用途,使用ucos的朋友应该要好好的看看,会学到很多东 ...
- ARM_embedded_Linux.rar《ARM嵌入式Linux系统开发技术详解》,该书由浅入深、通俗易懂地讲解了嵌入式Linux的 ...
- rtl8139.rar44b0uclinux下的8319网卡芯片驱动程序
- vdm51.dll.rarkeil和proteus联调用的vdm51.dll文件,很有用的链接文件,是学习单片机仿真的中会要工 ...
- cgi-web.rar嵌入式linux的一个cgi网站,实现了对嵌入式系统配置的更改以及实时控制视频流参数的配 ...
- arm_cross-3.4.4.tar.gz此工具是arm-linux-GCC交叉编译工具(cross-3.4.4),这个是我自己编译的,下载后解压 ...
- arm-linux-gcc3.4.1.rararm-linux-gcc编译器,S3C2410开发板移植目前最新的linux2.6.14的内核,需要使用这个 ...
- qianrushiruanjianceshi.zip电子书 嵌入式软件测试学习 适合软件专业同学使用