New concepts of integration in digital video systems

Source: Internet
Author: User

The primary difficulty in embedding digital videos into applications is that the complexity of video implementation far exceeds that of simple image and audio compression and decompression. Digital videos can be in various forms and formats. developers need to support complicated configurations and various aspects, these include different resolutions/Display sizes, different bit rates, real-time problems, and even the reliability of the video source. For example, the difference and processing between the video stream from the hard drive and the video stream from the wireless communication link. Even simple and clear tasks, such as efficient management of audio/video synchronization and reliable video transmission over the IP network, can still give developers a headache.

Solving these technical difficulties becomes the key to the success of digital video system design using da Vinci technology. Da Vinci technology includes four major elements: processors, development tools, software, and system expertise, which play an important role in the integration of digital video design, one of the most effective tools is the expressdsp configuration kit provided by Ti in the digital video Development Kit (dvsdk) for the development of Da Vinci ).

Since the codec engine structure is introduced in the software structure of da Vinci technology, the codec engine provides DSP Standardization Algorithm (Xdais) is fully packaged so that the application Program It is more convenient and simple to separate from DSP program development. codec engine makes it easier for DSP developers to develop a codec server according to the corresponding standards without having to care about the application. With the support of the expressdsp Configuration tool and interfaces between developers' modules, the expressdsp Configuration tool will automatically bind the codec and xdm-compliant software modules, without any other operations, you can reduce the development time from months to weeks, greatly increasing the reuse of software. The expressdsp Configuration tool integrates the codec engine of Linux and Da Vinci technology, as well as DSP/bios, DSP/BIOS link. Figure 1 shows the system integration diagram.

Figure 1 System Integration Diagram

The digital video Configuration tool makes the process of configuring a codec extremely simple. You only need to perform simple script configuration and can complete it without DSP programming. First, the xdm-compliant codec library on the DSP is obtained, perform simple configuration using the script configuration language, and recompile the codec library in the codec engine. Now all the work on codec has been completed. The following describes how to generate an application based on the da Vinci Development Board:

Step 1: Develop and complete codec. It is to develop core audio/video coding and decoding algorithms and encapsulate them into the codec library according to the xdm standard. codec mainly implements core audio and video algorithms, which are called when applications are running and are not involved in other functions.

Step 2: integrate codec into codec engine. Integrate the codec or existing xdm-compliant codec developed in the first step into the codec engine. In this step, you need to configure two Javascript script files, one of which indicates that, codec usage and configuration information. The file name is generally *. CFG, which describes the memory allocation configuration of codec on Da Vinci. The file name is generally * TCF. After these two files are configured, use the make command to generate the codec engine, the file name is generally *. x64p. Can be called directly by the application.

Step 3: Develop an audio/video application and call the codec engine. Develop audio and video applications in Linux, including user interfaces, audio and video collection, playback, and synchronization. Call the codec engine, the application must complete a script configuration file with the CFG extension to indicate the usage of the codec engine.

Step 4: load the dsplink and cmem modules and run the application.

So far, a complete da Vinci audio and video application has been completed, many of which are completed through script file configuration, and the process is very easy to understand. Below we need to run it on Da Vinci, first, we need to load the dsplink and cmem driver modules. The dsplink mainly implements the underlying communication between ARM and DSP, while the cmem mainly implements the function of allocating continuous memory on the physical segment, after loading these two modules, we can directly run the completed applications.

Graphical System visualization tools

Integrating Multiple software modules is only the first step in the entire development process. dvdsk also contains a graphical system visualization tool that can be used to analyze and display the performance of the entire system, this helps to quickly develop digital media software. Based on the visual analysis of the tms320dm644x SOC analyzer, the execution status of each part of the system is quickly identified and separated with minimal intervention. The program running status and system interaction are identified by capturing data, load Distribution and other types of behavior. After removing a large number of unnecessary breakpoint tracking and debugging tasks, developers can determine and solve the system bottleneck.

The tms320dm644x SOC analyzer enables users to spend time solving problems instead of simply discovering problems. As a complete visual analysis tool, it allows you to obtain functions such as system interaction analysis, load analysis of various parts, bottleneck separation, abnormal behavior analysis, and benchmark performance of applications.

When a task runs on the DSP and arm at the same time, the analyzer collects and displays data, provides complete system visualization for the application, and eliminates the tedious process of manual collection and comparison of data.

TI's first graphic system visualization technology has brought the maximum design efficiency and performance to digital video system design. Its Multi-Window Graphic Interface is extremely friendly, the task running status of arm and DSP is displayed on the same image, as shown in figure 3.

Figure 3 data visualization tool interface

Conclusion: new concepts of Integration

Building a video application system with Da Vinci technology has become a simple and pleasant task, and the concept of integration has been developed on a small monolithic system. Digital Video developers first need to build a general integrated development environment for DSP, and then use the industry's first optimized digital video Configuration tool to minimize the complexity of design work, then, we use the first comprehensive Graphical System visualization tool to maximize the design efficiency and performance. The application of new technologies and new means can simplify the design and development process of the digital video system and achieve a higher level of digital video innovation.

-- Source: Hangzhou qiyang smart Technology Co., Ltd.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.