基于S3C2440的媒体播放器的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
媒体播放器是一种大众娱乐消费类电子产品,一般定义为多媒体影音播放器。它除了看电影的基本功能外还支持音乐播放、浏览图片,甚至部分产品还具有上网等功能,能够满足人们随时播放视频的需要。随着当今社会人们的旅游、出差、户外活动的日益增加,对媒体播放器的需求量将迅速增加,而由于现在多媒体技术中采用的视频、音频编码方式和文件格式的多样性和复杂性,要求媒体播放器要具有很强的性能和功能,这就对其硬件和软件系统都提出了很高的要求。
     本文选择ARM核心的三星S3C2440微处理器,在此基础上进行了硬件扩展和软件系统的选择,设计了一个简单的媒体播放器系统。在该系统中,首先,以S3C2440为核心,设计了系统终端的硬件,给出了系统硬件的总体架构,设计了S3C2440处理器和外部电路的硬件接口以及总线连接,详细设计了存储器、LCD、电源管理模块的电路。
     其次,阐述了将嵌入式Linux移植到本系统的具体方法,分析了混合文件系统的构建,选择Cramfs+Yaffs作为本系统的文件系统,并给出了具体的实现方法。同时,从硬件、操作系统以及软件代码设计的层面上,研究如何降低系统的功耗,通过减少系统的耗能从而节约能源、提高速度以及减小尺寸。
     再次,分别使用libmad和ffmpeg实现MP3音频解码和MP4视频解码,并对音视频同步进行了深入的研究。同时选择挪威Trolltech公司的Qt/Embedded作为系统上层图形界面应用程序,并成功地完成了其到系统的移植。
     最后,由于解码后的图像是YUV格式,需要转化成RGB格式来播放,并且每帧图像在播放前都要经过YUV到RGB的转换,降低了整体解码速度,为了解决这个问题,本文使用完全查表法来转换色彩空间,每次转换只需要一次查表,从而大大降低了算法的时间复杂度,加快了解码速度,保证了系统的实时性。
Media Player is a kind of electronic production for mass recreation and consumption. In addition to the basic function of movie playing, it also support playing music and scanning pictures. Furthermore, some of the productions have further functions, such as surfing the internet, so as to satisfy needs of playing videos at any time. As social travel, going on errands, outdoors activities increase nowadays, the demand of Media player increases dramatically. For the diversity and complexity of the video and audio coding mode and file format used in current multimedia technique,it is essential for Media player with powerful performance and functions, and so the high requirements are proposed for their hardware and software system.
     In this thesis, an ordinary Media player system is designed and implemented based on S3C2440 microprocessor with ARM core with which hardware is expended and software system is developed. In this system, using S3C2440 as its core,the system terminal hardware is designed, first the system hardware whole structure is presented, then not only the design of the interface and bus connecting between S3C2440 processor and exterior circuits is presented but also and the design of the circuits of memorizer, LCD and power supply management module in details.
     In the next place, the concrete method of transplanting embedded Linux to this system is stated, the construction of mixed file system is analyzed, Cramfs+Yaffs is chose as the file system of the system and the concrete implementing method is presented. Meanwhile, from the aspect of hardware and operating system and software code designing, how to reduce system power consumption is researched.
     Third, LIBMAD and FFMPEG are used to implement MP3 audio and MP4 video decoding and the synchronization between audio and video is further studied. Qt/Embedded of Norwegian TROLLTECH Company is employed as system upper graphical interfaces application program.
     Finally, Using complete checking table method, the image format transformation is realized, and so time complexity of algorithmic is decreased a lot, system efficiency is improved and real-time nature of the system is ensured.
引文
[1] 黄田,PMP/MP4 播放器的设计/实现.电子技术,2006,(5):13-16
    [2] 杨东岩.2007 年我国 PMP 将飞速发展.中国电子报,2006,(7):1-7
    [3] 佚名.PMP 产业曙光再现——2006 第二届个人便携式多媒体播放机技术与市场研讨会暨配套产品展示会报告.半导体技术,2006,(08):24-28
    [4] CampReal.探究 PMP 便携式媒体播放器.微型计算机,2005,(20):138-143
    [5] 李云栋,常青,张其善.嵌入式 MPEG-4 视频编码器的研究.计算机工程与应用,2006,5(10):100-102
    [6] Molloy S,Jain R.System and architecture optimizations for low power MPEG-1 video decoding.Low power Electronic,1994,10(10):10-12
    [7] 肖磊,阵卓,郑重等.流媒体技术与应用完全手册.北京:清华大学出版社,2003, 4-5
    [8] 冯继超.面向二十一世纪的嵌入式系统及发展方向.工业控制计算机,2001, 14(5):1-2
    [9] 王涛.嵌入式系统硬件抽象层的原理与实现.电子技术应用,2001(10):18-20
    [10] 刘淼.嵌入式系统接口设计与 Linux 驱动程序开发.北京:航空航天大学出版社, 2006-05
    [11] 毛德操,胡希明.嵌入式系统采用公开源代码和 StrongARM/XScale 处理器.杭州:浙江大学出版社,2003,100-150
    [12] E.Gal,S.Toledo.A Transactional Flash File System for Microcontrollers.In Proc.of the USENIX Annual Technical Conference,2005
    [13] Karlm Yaghmour.Building Embedded Linux System.USA:O’Reilly,2003
    [14] Charles Manning.Introducing YAFFS:the first NAND specific flash file System,2005
    [15] 孙苏伟. 基于 μC/OS-II 嵌入式系统的低功耗开发.中国集成电路,2007
    [16] 朱坚 .基于数据缓冲区的 PMP 硬盘动态功耗管理策略 .计算机工程与应用,2006, (28)
    [17] 廖勇,周德松.流媒体技术入门与提高.国防工业出版社,2005
    [18] 朱秀昌,刘峰,胡栋.数字图像处理与图像通信.北京:北京邮电大学出版社, 2002, 33-56
    [19] Morris O J. MPEG-2: where did it come from and what is it. The Institution of Electrical Engineers,1995,15(1):1-5
    [20] 筱叶.MPEG4 技术及其应用.电子世界, 2000(8):5-6
    [21] 马忠梅,马广云,许英慧.ARM 嵌入式处理器结构和应用基础.北京航空航天大学出版社,2002
    [22] S3C2440 Datasheet,Samsung 公司芯片资料
    [23] 郭强.液晶显示应用技术.北京:电子工业出版社,2003
    [24] 杨文志,Linux 实用大全.北京:清华大学出版社,2001
    [25] Yaghmour.K 著,韩存兵,龚波译.构建嵌入式 Linux 系统,1,北京:中国电力出版社,2004
    [26] Baiying Lei.Optimization and Implementation of AVS-M Decoder on ARM.Proceedings of the Fourth International Conference on Image and Graphics,2007,(9):33-36
    [27] 阳 富 民 . 嵌 入 式 Linux 系 统 动 态 库 小 型 化 技 术 研 究 . 华 中 科 技 大 学 学报,2004,(1):20-23
    [28] Ttolltech Inc.Qtopia Overview 2001-2002
    [29] 张娟,张雪兰.基于嵌入式 Linux 的 GUI 应用程序的实现.计算机应用,2003, (04)
    [30] PRobert Hartley.Getting started with the Trolltech Greenphone SDK. Specialized Systems Consultants,USA,2007, (03):23-34
    [31] Ttolltech Inc.Qt Reference Documentation. Specialized Systems Consultants ,2.3.7.2001:12-16
    [32] 白玉霞,刘旭辉,孙肖子.基于 Qt/Embedded 的 GUI 移植及应用程序开发.电子产品世界,2005.7
    [33] Jasmin Blanchette 著,齐亮译.C++ GUI Qt3 编程.北京航空航天大学出版社,2006,8
    [34] Aaron Weiss.Trusted computing.ACM Press 1515 Broadway,17th Floor New York,NY USA,2006,18-25
    [35] 刘汇丹.基于 Qt 的国际化图形用户界面设计与实现.中文信息学报,2006, (04)
    [36] Bhaskaran V and K Konstantinides.Image and Video Compression Standards:Algorithms and Architectures.Kluwer,1997,20(9)10-13
    [37] 江巍,杨军,罗岚,胡晨.MP3 定点解码算法的设计与实现.计算机工程,2004, (15)
    [38] Linux Journal.Letters.Specialized Systems Consultants,Inc.2219 NW Market Street Seattle, WA USA,2005,(19)
    [39] 杨高波.MPEG-4 框架下的视频对象分割及其关键技术分析.通信学报,2007,(5):13-16
    [40] Ming Ji.MPEG-4 IPMP extension for interoperable protection of multimediacontent.EURASIP Journal on Applied Signal Processing,2004,(1):17-20
    [41] J.Hormigo,K.A.Jacob.“Bit Stream Processor for Object Based MPEG-4 Profile”,in IEEE Asilomar Conference on Signals,Systems and Computers,2001,vol.2,pp.1241-1245
    [42] 金红,刘榴娣.彩色空间变换法在图像融合中的应用.光学技术,1997, (04)
    [43] Yi-Chin Huang,Yi-Shin Tung.An adaptive edge detection based colorization algorithm and its applications.ACM press 1515 Broadway,17th Floor New York,NY USA,2005,351-354
    [44] H.Nobuhara,K.Hirota.Fuzzy Relation Equations for Compression/Decompression Processes of Colour Images in the RGB and YUV Colour Spaces.Kluwer Academic Publishers PO Box 358 Accord Station Hingham,MA USA,2005,235-246

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700