摘要
高端的视频采集应用不仅要求接口灵活、简单,还要有强大的数据处理能力,因此亟需将两者进行恰当的集成,为大范围内的视频采集与处理提供便利。根据嵌入式图像采集的实时性和可靠性特点,使用灵敏度高、抗干扰能力强的CCD摄像头,选取ADV7180解码芯片,提出一种以S3C6410为主控芯片的图像采集和存储系统结构。在完成接口硬件连接的基础上,设计出基于Linux平台的ADV7180驱动程序,重点阐述如何通过I2C总线对ADV7180芯片寄存器进行有效配置、以及视频数据经由DMA通道写入SDRAM的驱动方法。详细给出了提取YCbCr4:2:2格式视频数据的方法,并将其进行格式转换,最后写入LCD的帧缓冲区进行显示。测试结果表明,该接口使用方便有效,采集到的图像清晰流畅,实时性较高。
High-end video capture applications need not only a flexible and convenient interface but also a powerful data processing capacity. Both should be integrated properly to create conditions for a wide range of video acquisition and processing. Embedded image capture should be real-time and reliable. According to these characteristics, using the decoder chip ADV7180 and the high-sensitive and anti-jamming CCD camera, a new image capture and storage system is designed where the S3C6410 is used as the main chip. We develop the ADV7180 drivers under the Linux platform, and mainly describe how to configure the ADV7180 registers through the I2C bus correctly and how to write video data into the SDRAM through the DMA channel. The paper details the method how to extract YCbCr4:2:2 format data. Converted video data is written into frame buffer of LCD for show. Test results show that video capture interface is effective and easy to use, and the collected images are clear, smooth and high real-time.
出处
《计算机工程与科学》
CSCD
北大核心
2012年第12期115-119,共5页
Computer Engineering & Science
基金
国家自然科学基金资助项目(11062002)