没有合适的资源?快使用搜索试试~ 我知道了~
首页基于ARM的Mplayer播放器的移植.doc
资源详情
资源评论
资源推荐

摘 要
目前市场上媒体播放器款式层出不穷。从原先只能用于欣赏音乐的 MP3,
至今已经发展成能够播放多种视频,音频格式的 MP4,MP5 等多功能媒体播
放器。嵌入式系统的官方定义是"以应用为中心、软件硬件可裁剪的、适应应用
系统对功能、可靠性、成本、体积、功耗等严格综合性要求的专用计算机系统"。
其硬件以一个高性能的处理器(通常是 32 位处理器)为基础,软件以一个多
任务操作系统为基础,非常适合完成 MPlayer 移植相关任务。本次毕业设计任
务就是以 Linux 嵌入式开发为主线,利用 X86PC 机与 ARM2410s 嵌入式平
台开发多种播放格式的 MPlayer。
本系统首先完成 X86PC 机 Linux 环境下 MPlayer 的实现,之后通过 QT
制作 MPlayer GUI,完成 MPlayer 向 ARM2410s 嵌入式平台的移植和调试
工作。并且通过研究多种视频的文件格式,使 MPlayer 能够播放多种视频格式。
该毕业设计完成了任务书的要求。
关键词:嵌入式;Linux;MPlayer;视频格式;QT

ABSTRACT
The present market has been seeing various designs of media players
emerging one after another. Originating from MP3 which can only serves for
appreciating music, the multifunctional media players nowadays have been
developed into MP4 and MP5, which can display many video and audio formats.
Based on the software-hardware combined multimedia processing. The official
definition for embedded system is a application-centered ware tailorable dedicated
computer system that can cater to the strict integrative requires of the
application system of function, reliability, cost, volume and power dissipation.
The graduate project plans to develop Mplayer with various play formats
using the embedded platform of X86PC machine and ARM2410S, with the
development of Linux embedded chips as the main line. The system first has
accomplished player's implementation of X86PC machine under the environment
of Linux, followed which Mplayer GUI has been constructed to achieve the
transplantation and debug from Mplayer to ARM2410 embedded platform.
Meanwhile, Mplayer is designed to display various video formats though
research on the file formats of various videos. The graduate project has accomplished
all the requires of the assignment.
Key words: embedded; Linux; video format; QT

目 录
第一章 前言.................................................1
1. 研究背景和意义...........................................1
2. 嵌入式系统概述...........................................2
2.1 嵌入式系统定义 .........................................2
2.2 嵌入式系统构架 .........................................3
2.3 嵌入式系统开发流程 .....................................5
3. 研究现状................................................7
3.1 嵌入式系统发展现状 .....................................7
3.2 嵌入式移植研究现状 .....................................8
3.3 毕设系统研究现状 .......................................9
第二章 系统分析 ..........................................10
1. 系统通用模型............................................ 10
2. 系统主要任务和目标...................................... 11
2.1 主要研究内容 ...........................................11
2.2 主要目标 ...............................................11
3. 系统结构分析.............................................12
3.1 ARM-Linux 端............................................12
3.2 X86PC 端................................................12
4. 系统选用的开发工具.......................................12
4.1 UP-NETARM2410-S 嵌入式开发平台..........................12
4.2 Linux 操作系统..........................................14
4.3 HEX EDIT ..............................................16
4.4 GCC 编译器..............................................17
第三章 系统概要设计 ..................................... 21
1. 总体设计................................................ 21
1.1 系统体系结构 ........................................ 21
1.2 基本设计概念 ........................................ 22
2. 模块设计................................................ 25
2.1 功能-模块对照表 ..................................... 25
2.2 各功能模块逻辑关系 .................................. 26

第四章 系统详细设计 ..................................... 27
1. 嵌入式开发环境的搭建.................................... 27
2. 视频格式分析模块........................................ 28
2.1 模块概述 ............................................ 28
2.2 模块分析 ............................................ 28
3. MPlayer 模块 ............................................ 36
3.1 X86-MPlayer 模块..................................... 36
3.2 ARM-MPlayer 模块..................................... 39
3.3 MPlayer 编译指令..................................... 40
4. Gcc 模块 ................................................ 42
4.1 Gcc 模块定义......................................... 42
4.2 ARM-Linux-gcc 模块安装编译........................... 43
5. MINICOM 模块 ............................................ 44
5.1 MINICOM 定义......................................... 44
5.2 配置流程 ............................................ 44
6.内核烧录................................................. 45
6.1 内核介绍 ............................................ 45
6.2 模块执行流程 ........................................ 45
7. GUI 模块 ..............................................47
7.1 模块概述 ............................................ 47
7.2 QT 环境搭建.......................................... 47
7.3 插槽机制 ............................................ 49
7.4 主要数据结构和服务方法 .............................. 51
第五章 系统测试 ............................................ 54
1. 测试计划................................................ 54
1.1 测试对象 ............................................ 54
1.2 测试目标 ............................................ 54
1.3 测试原则 ............................................ 55
1.4 测试策略 ............................................ 56
2. 测试过程................................................ 56
2.1 模块测试 ............................................ 56
2.2 模块集成测试 ........................................ 59
2.3 系统测试 ............................................ 61
3. 错误总结................................................ 62

3.1 Mplayer 移植错误分析................................. 62
3.2 内核声卡驱动 BUG 消除 ................................ 63
第六章 结 论 ......................................... 67
1. 本系统特色.............................................. 67
2. 开发心得................................................ 67
参考文献 ...................................................... 70
剩余59页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论1