wince 301x 摄像头驱动
上传用户:guowx010
上传日期:2024-09-07
文件大小: 74k
源码售价: 10 个金币 积分规则     积分充值
资源说明:把这个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 */ );
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
    
  • 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电子书 嵌入式软件测试学习 适合软件专业同学使用