基于ARM9平台的网络可视电话设计 毕业设计论文+任务书+开题报告+文献综述
摘 要随着网络通信技术的快速发展,人们对通信的要求越来越高,可视电话应运而生。现有的基于PC的网络视频图像采集与显示系统存在成本高、体积大、资源得不到充分利用的缺点。而嵌入式系统所具有的功耗低、体积小、成本低等优点恰好可以弥补上述的不足,随着嵌入式技术的发展,该系统与嵌入式技术的结合成为其未来发展的趋势之一,具有广阔的应用前景和实用价值。本文给出一种基ARM9平台和Linux操作系统的嵌入式可视电话终端解决方案。主要工作有对嵌入式Linux开发环境的搭建方法进行说明,在宿主机上建立嵌入式Linux开发的交叉编译环境。针对S3C2440处理器硬件特性,进行Linux系统移植。研究Linux系统的视频、音频相关的设备驱动,研究图片的压缩编码等。并编码实现图像的采集压缩传输和显示,实现音频的采集、传输和播放。针对嵌入式系统的硬件特点,对可视电话系统的结构进行优化设计。此外,通过采用Linux多线程技术,有效提高系统的数据吞吐量和运行效率。并对可视电话的基本功能和性能进行测试。测试结果表明,本文设计的基于ARM的网络可视电话运行稳定。可以实现网络视频通信的基本要求。关键词:ARM;Linux;可视电话;嵌入式系统;图像编码ABSTRACTWith the development of communication technique,people had more requests for telecom services.Thus,video phone emerged the times require.But the existing system of network video image capture and display based on PC has some disadvantages as follows,high cost,bulky and resource not fully utilized.Meanwhile,the embedded system with low power consumption,small size and low cost can make up for the lack of personal computer.The combination of this system with embedded technology has wide application prospect and practical value with the development of the embedded technology.It becomes one of ifs development trends.This paper mainly completed the following works: A solution to embedded video phone terminal based on ARM9 platform and Linux OS is proposed;.building a cross compiler for embedded Linux development environment builded in the host, we transplant system boot program U-Boot,finish transplanting Linux OS kernel on target board successfully, and making the root file system for S3C2440 processor hardware features; we study and research the Video and Audio related equipment driver on Linux OS,and research the image compression coding.And coding to realize the collection of the image compression, according to the transmission and realizes the audio collection, transmission and playing.The structure of video phone system is optimized to match the feature of embedded system hardware.System data throughput and efficiency is improved by multi-threaded;We tested function and performance of the system.The experimental results show in this paper: the design of the system acquires theimage quality well and can operate steadily,and it has a good real-time.Key Words:ARM;Linux;videophone;Embedded System;Image Coding目 录第一章 绪论 11.1课题研究的背景及意义 11.2国内外研究现状 21.3项目开发平台简介 21.3.1嵌入式系统与ARM微处理器 21.3.2嵌入式Linux 31.3.3Qt图形库 31.4论文主要研究内容 4第二章 系统总体设计 52.1系统设计的要求 52.2系统的硬件设计 52.2.1Mini2440开发板介绍 52.3 系统软件设计 7第三章 嵌入式Linux系统移植以及开发环境的搭建 93.1Linux操作系统 93.1.1为何要使用Linux操作系统 93.1.2Linux操作系统内核 93.1.3Linux操作系统文件管理 103.2 系统开发环境的搭建 113.2.1交叉开发环境搭建 123.3Linux系统的移植 12第四章 视频图像的采集、压缩和显示模块实现 144.1系统视频图像的采集和编码 144.1.1Video4Linux2介绍 144.1.2RGB颜色编码和摄像头介绍 154.1.3视频图像的编码 174.1.4图像采集的实现 174.2图像数据网络传输的实现 234.2.1TCP/UDP协议介绍 234.2.2socket套接字编程 244.3视频图像的显示 264.3.1Linux帧缓冲设备介绍 264.3.2图片数据的接收和显示 27第五章 音频的采集、传输和回放 305.1音频模块的设计 305.2音频录制、传输和回放的实现 31第六章 系统测试和分析 356.1系统模块单元测试 356.1.1系统界面模块测试 356.1.2系统图像模块测试 356.1.3系统音频模块测试 376.2系统整合测试 37第七章 总结与展望 387.1全文总结 387.2展望 38参考文献 39致 谢 41