Design and Implementation of Audio and Video Real-time Processing System
- Author
- ZhangZuo
- Advisor
- LinJiaYu
- School
- National University of Defense Science and Technology
- Major
- Information and Communication Engineering
- Classification
- TP391.4 Pattern Recognition and devices
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 232
- Citations
- 1
Abstract
The DSP with its powerful ability in signal processing is vastly used in various AV(audio and video) systems. With the fast development of modern information technology, there is more information to be handled with which has made research and application of the real-time AV processing system become especially important. But, as the DSP chip is a kind of chips mainly used for signal processing, it is emphasized particularly on algorithmic efficiency and do not have great control ability. ARM with its high Performance/Cost ratio and abundant external devices, is widely used in systems which require complicated control and communication. Moreover, when integrated with Linux, it can also use the multitask mechanism as well as the various protocols of the Linux system. This could reduce the development cycle of the product and enhance commonality and expansibility of the system。This paper put forward a real-time AV processing platform based on the DSP and ARM, including system hardware design and system software implementation. Here, we choose the multimedia microprocessor TMS320DM642 and S3C2410 as the core processor chip .The DSP sub-system is used in data collection and arithmetic implementation. The processed data is then transmitted to the ARM sub-system via the HPI interface. The ARM subsystem is used for data storage and network transmission.The design project and concrete implement of AV processing platform are discussed in this paper. Firstly, the related background knowledge is introduced and the whole design project is taken out. The circuit design of the DSP & ARM sub-system is given to the hardware aspect. The system software framework of the DSP sub-system is built upon DSP/BIOS real-time operating system and the system software framework of the ARM sub-system is built based on Linux operating system to the software aspect afterwards. The character of two operating system and the main developing point of equipment driver are discussed in this paper too. The main work of this paper are as follows: the software programming realization of the sub-system module which including the realization of the AV collection based on the DSP sub-system, the outer facilities of DSP such as I2C/EDMA/MCBSP, the cache processing of DSP, the HPI communication between the sub-systems of ARM and DSP, the realization of net-transmission based on ARM sub-system, the USB driver, the SD card driver and so on. The performance testing and analyzing of the entire system are given in the end of the paper. The system running stably, all the design requirement are also meet.The system as a secondary development of a common hardware and software platform can be added in AV processing algorithms easily to speed up the progress of the follow-up research and development projects.
Table of contents
Abstract 10-11
ABSTRACT 11-13
first chapter 13-16
1.1 audio and video processing systems research background and significance 13
1.2 main contents 13-16
Chapter II real-time audio and video processing platform overall design 16-24
2.1 system design 16-18
2.1.1 system hardware platform design 16
2.1.2 system software platform design 16-17
2.1.3 system the overall framework for the design and working principle 17
2.1.4 implementation and analysis of real-time systems 17-18
2.2 audio and video capture module design 18-20 <br / > 2.2.1 audio capture module design 18-19
2.2.2 video Capture module design 19-20
2.3 ARM and DSP system, communication interface design 20-22
2.3.1 HPI port and main pin functions 20-21
2.3.2 HPI interface read / write timing 21
2.3.3 HPI interface hardware design 21-22
2.4 network transmission module 22-23
2.5 other peripheral Interface Module 23
2.6 chapter Summary 23-24
Chapter III DSP system software design and implementation 24-53
3.1 real-time operating system DSP / BIOS 24-25
3.1. 1 DSP / BIOS device driver structure 24-25
3.1.2 DSP / BIOS device driver design features 25
3.2 TMS320DM642 chip peripherals mainly achieved 25 - 29
3.2.1 I2C 25-26
3.2.2 EDMA 26-29
3.2.3 McBSP (MCBSP) 29
3.3 audio capture module software design and implementation 29-34
3.3.1 AIC23 parameter setting 29-31
3.3.2 audio capture function realization 31-34
3.4 video capture module software design and implementation 34-40
3.4.1 video capture process 34-35
3.4.2 ADV7181 parameter settings 35
3.4.3 video Capture underlying drive to achieve 35-36
3.4.4 video Capture channel Parameter Settings 36-38
3.4.5 image synthesis 38-39
3.4.6 video capture function realization 39-40
3.5 DSP subsystem software framework designed 40-44
3.5 .1 thread synchronization mechanism 40-41
3.5.2 lip synchronization is achieved 41-43
3.5.3 DSP subsystem software design and implementation 43-44
3.6 TMS320DM642 CAHCE consistency 44-46
3.6.1 TMS320DM642 of CAHCE structure 44-45
3.6.2 CACHE nbsp consistency problems and solutions ; 45-46
3.7 DSP subsystem performance testing and analysis 46-51
3.7.1 TMS320DM642 of SDRAM test 46-47
3.7.2 audio and video capture debug and test 47-49
3.7.3 thread switching cycle and the CPU load test 49-51
3.7.4 real-time audio and video capture analysis 51
3.7.5 DSP subsystem test conclusions 51
3.8 Chapter Summary 51-53
Chapter ARM system software design and implementation 53-72
4.1 ARM-Linux embedded System Construction 53-56
4.1.1 embedded Linux cross-compiler environment structures 53-54
4.1 .2 VIVI and Embedded Linux operating system migration 54-56
4.1.3 embedded Linux file system 56
4.2 Linux device driver development points 56 - 58
4.3 ARM and DSP communication module 58-61
4.3.1 ARM and DSP HPI communication protocol 58
4.3.2 HPI device driver implementation 58-61
4.4 network transmission module 61-65
4.4.1 Linux NIC driver transplant 61-62
4.4.2 TCP / IP reference model 62
4.4.3 client - server model 62-63
4.4.4 TCP / IP protocol socket (Socket) 63-64
4.4.5 using the sockets network data transmission 64-65
4.5 data storage module 65-68
4.5.1 Configuring the Linux kernel supports the FAT file system 65-66
4.5.2 usbgadget driver transplant 66-67
4.5.3 SD card driver transplant 67-68
4.6 S3C2410 embedded systems software framework designed 68-69
4.6.1 Linux system is multi-threaded programming 68
4.6.2 ARM subsystem software framework program design 68-69
4.7 ARM subsystem performance testing and analysis 69-71
4.7.1 audio and video data stream analysis and HPI data throughput test 69-70
4.7. 2 audio and video network transmission codeword test 70-71
4.8 Chapter Summary 71-72
Chapter Summary and Outlook 72-74 <br / > Thanks 74-75
References 75-78
author during the study period academic achievements 78-79
Appendix A physical map of the hardware platform 79
Related dissertations
- Research and Design of Embedded Building Security System
- Image Monitoring System Based on ARM and GPRS Communication Technology
- Operating Properties of High-voltage Switch's Test System Study
- Bicycle Anti—Theft Surveillance and Wireless Transmission System Research
- Smart Home Control System Based on Embedded Technology
- A Hand-shape Image Acquisition and Processing System Based on DSP
- Research on Iris Recognition Device
- Research on Road Pedestrian Recognition Algorithm Based on DSP for Driver Assistance System on Vehicle
- Design and Implementation of Remote RFID System Based on Embedded Web Technology
- Design and Implementation of Modbus Master Protocol Stack Based on Linux System
- The Realization of Infrared Dim Small Target’s Track-before-detect Algorithm Based on Particle Filter Using DSP
- Real-Time Image Processing System Based on ARM and DSP
- Research and Realization of Net Video Based on DSP
- Mini-Area Precise Measurement Technology Based on Machine Vision
- Study of Iris Recognition System
- RMB crown word number recognition and image Kam Pseudo Technology and Applications
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM