计算机与现代化 ›› 2010, Vol. 1 ›› Issue (02): 147-151.doi:

• 应用与开发 • 上一篇    下一篇

基于Windows CE的USB摄像头驱动研究与设计

邓杨1,陈泉根2   

  1. 1.西南交通大学,四川 成都 610031; 2.中国工程物理研究院电子工程研究所,四川 绵阳 621900
  • 收稿日期:2009-08-19 修回日期:1900-01-01 出版日期:2010-02-12 发布日期:2010-02-12

Research and Design of USB Camera Driver Based on Windows CE

DENG Yang1,CHEN Quangen2   

  1. 1.Southwest Jiaotong University, Chengdu 610031, China;2.Institute of Electronic Engineering, China Academy of Engineering Physics, Mianyang 621900, China
  • Received:2009-08-19 Revised:1900-01-01 Online:2010-02-12 Published:2010-02-12

摘要:

介绍在Windows CE 4.2嵌入式操作系统下进行USB摄像头驱动程序设计,通过分析USB设备总线、USB设备在WinCE平台上的驱动模型以及流驱动接口,以一款中芯微USB摄像头为例,详细介绍USB摄像头驱动开发过程,成功实现USB摄像头数据流采集、JPEG图像解码和位图显示。此方法对其他USB设备驱动开发具有参考意义。

关键词: WinCE, USB摄像头, 流接口驱动

Abstract:

This paper introduces the design of USB camera driver under Windows CE 4.2, through analyzing USB bus, USB device driver model of WinCE and stream interface, the development process of USB camera driver is detailedly introduced based on ZStar USB Camera. Collection of USB camera data stream, decoding JPEG image, and display of bitmap are realized successfully. This method makes references for development of other USB device drivers. 

Key words: WinCE, USB camera, stream interface