DaVinci goes with MontaVista

The integrated hardware and software solution makes a breakthrough in the field of digital video applications, promising to bring a generation of smart and versatile video devices. The video-based application is full of potential, but developers are apprehensive because of the extremely complex implementation.

The integrated hardware and software solution makes a breakthrough in the field of digital video applications, promising to bring a generation of smart and versatile video devices.

The explosion of YouTube digital video services (with hundreds of millions of viewers per day), shows the huge potential of this market and the ability to interact with video (digital) promises to open opportunities for many types. service images, and create new sources of revenue for service providers and content, such as on-demand video or local advertising.

The video-based application is full of potential, but developers are apprehensive because of the extremely complex implementation. Video standards change quickly and mastering them (to write code) takes time. Meanwhile, existing solutions are often tied to a certain system platform, the code editing is not simple.

In short, the implementation of video-based applications is a complicated and time-consuming process, which will change thanks to DaVinci technology.

Challenge of video

One of the main difficulties for today's developers is to accurately identify the characteristics of the video.

Videos can be encoded in a number of different formats such as MPEG-2, MPEG-4, WMV, DivX, H.264; can store on a variety of media such as Flash memory, hard drive, DVD or VCD, server (server) or portable entertainment device (PMP); can be accessed in many ways like file, broadcast on wired or wireless network, in real time or not . Ideal video application must be able to handle these different situations in a way "crystal-clear".

Users may not need to be concerned with the source of the video, but in terms of performance, it is important that the video device must be able to "understand" the differences between different video sources in order to be able to handle them optimally. . For example, video streaming on the network needs to be able to adjust the delay time so as not to affect quality. Videos sent over a wireless connection must be able to adjust the transfer rate according to the existing network condition. The video from the broadcast station received via the antenna must have a mechanism to correct the error because there is no way to retransmit the broken frame. Even accessing the video directly from the DVD must take into account the scratch on the disc surface that can make it stand still.

Handling these problems is complicated and difficult to implement. Users of course want these issues fixed without having to use additional hardware solutions. Meanwhile, software developers do not have the means to solve all these problems effectively.

DaVinci goes with MontaVista Picture 1DaVinci goes with MontaVista Picture 1

The power of API

In this situation, the ability to abstract through application interfaces (APIs) works. API allows developers to focus on the main task without taking much time for specific implementation issues. For example, from an application perspective, all the developer needs to consider is accessing the video stream. Through API, this can be done with a simple function call like GetVideo (). All the intricate details related to identifying the source and getting frames are "packaged" in the GetVideo () function. In this way, the application can access many different video sources (there are differences in how to do it) without having to change any program commands.

This is one of the key ideas of DaVinci technology. With the appropriate platform architecture, DaVinci's API library allows developers to access videos in a simple way such as calling functions and can exploit drivers (drivers) and codecs (encoders and decoders). ) available for application development.

DAVINCI DOUBLE DOUBLE

DaVinci goes with MontaVista Picture 2DaVinci goes with MontaVista Picture 2 Three months after its publication (September 9, 2005), in December 2005, TI launched its first product using DaVinci technology: TMS320DM6443 and TMS320DM6446 (DM644x). TMS320DM6443 chip targets video decoding applications such as PMP (Portable Media Player), and TMS320DM6446 targets video transcoding applications such as DVR (Digital Video recorder).

DM644x is a dual-core chip that combines the ARM926EJ-S application processor (RISC) with the Digital Signal Processor (DSP) C64x +. Both ARM and DSP cores are programmable (so devices using the DM644x chip can be easily updated).

ARM core has 297MHz clock, supports 16-bit instruction set and DSP expansion scripts. This kernel has a built-in Jazelle mechanism that speeds up Java and the EmbeddedICE-RT mechanism to enable real-time error trapping.

DSP is clocked at 594MHz. This core has 8 functional units, including 6 ALU 32/40-bit supports 4 8-bit calculations (or 1 32-bit calculation) per clock and 2 multipliers support 4 32-bit operations ( or 4 16x16-bit calculations per clock. Like the ARM kernel, the DSP kernel also supports 16-bit instructions and can address in bytes for 8, 16, 32 and 64-bit data.

In addition to two ARM and DSP, DaVinci chip also integrates video processing components, control CCD for digital cameras, external memory card communication, ATA hard disk communication, Ethernet network communication, audio port communication. .

DaVinci goes with MontaVista Picture 3DaVinci goes with MontaVista Picture 3

Support of MontaVista

A key element of DaVinci technology simplifies video application implementation by using standard Linux APIs that are familiar to many developers. Currently DaVinci uses Linux 2.6.10 Professional Edition of MontaVista (www.mvista.com), the pioneer of embedded Linux operating system.

In terms of programming, common tasks such as open (close), close (close), read (read) and write (write) can be done with standard API function calls. This allows application programmers to access a variety of devices and video sources in the same way. In addition, for devices with storage (using a hard disk or memory card), data access can be done via file system communication.

Linux-based video drivers allow developers to access and control video features without having to be aware of digital video or digital signal processing. Configuring video equipment to meet specific applications, adjusting image size, the number of bits of each pixel, refresh rate or color palette . can be easily done through the API.

An illustrative example with a video application has a rather complex feature: time shifting. This feature allows viewers to "pause" the program (video) that is playing live (for example, answering the phone for example). The video from the source will be saved to the hard disk and when the user continues watching, the device will display the saved video while continuing to save the video so that the user does not lose any video (ie done and encode video to save to hard disk and decode video for display on screen). The code to follow DaVinci technology is very simple:

InitPeripherals ()

InitEthernet ();

InitATA ();

InitDisplay ();

InitH264Encoder ();

InitH264Decoder ();

Action 1 : press the Pause button (pause)

OpenCodec ()

OpenH264Channel;

// Compress and save video to hard disk

StartEncode (Ethernet.Address, H264.EncodeChannel, ATA.Address);

.

Action 2 : press Resume button (recovery)

StartDecode (ATA.Address, H264.DecodeChannel, Display.Address);
.

DAVINCI CARDS DaVinci goes with MontaVista Picture 4DaVinci goes with MontaVista Picture 4

Motherboard for DaVinci application development

As part of the "package" strategy, recently (June 2006) TI released a set of video application development tools based on DaVinci technology, including the eXpressDSP Configuration Kit, TMS320DM644x SoC Analyzer and MontaVista Linux.

The eXpressDSP Configuration Kit is used to combine software modules together into a common system. This tool is capable of integrating video encoders / decoders (codecs), images, audio and other codecs according to TI's eXpressDSP Digital Media (xDM) standard.

DM644x SoC Analyzer has the ability to visually analyze and display the operating status of the system, data flow bottlenecks and more.

The analysis performs on both the DSP and ARM cores of the TMS320DM644x processor, providing a comprehensive view of the system.

Finally, the MontaVista Linux operating system is optimized for video applications and DM644x processors, which include MontaVista's Devium BSP Linux package and DevRocket development environment.

This development toolkit requires a platform for testing and TI has a DVEVM (Digital Video Evaluation Module) module for this purpose.

Results of DaVinci

DaVinci goes with MontaVista Picture 5DaVinci goes with MontaVista Picture 5

PMP Archos 404 and Softier Wave-400 box-top box - the first devices under DaVinci technology.

When launching DaVinci (September 9, 2005), Texas Instruments (TI) promises to bring the highest hardware and software integration and best support for video application development. DaVinci is a flexible solution that can be used for a variety of devices such as video phones, digital cameras, portable entertainment devices, DVD receivers and set-top boxes, IPTV.

DaVinci technology promises to create a new generation of smart and more versatile video devices. For example, digital cameras have the ability to automatically adjust the color and light of photos. Instead of multiple devices, a set-top box can allow users to play or record videos while talking videos with friends.

Users do not have to wait long, there are already some products under DaVinci technology. These include PMP Archos 404, 504 and 604 series of devices or Sonata STB series (set-top box for IPTV) and Sonata DVR (Digital Video Recorder) of Visioneering.

The video market is opening up opportunities for DaVinci and this technology is expected to "draw" and bring unique audiovisual "works", worthy of the name of the great painter whose name is - Leonardo da Vinci.

Documents :

- The DaVinci Effect, White paper TIs

- LinuxDevices.com

LINUX PROMOTED DaVinci goes with MontaVista Picture 6DaVinci goes with MontaVista Picture 6

MotoMing uses the MontaVista Linux OS

Do you know the MotoMing "smart" mobile phone (recently introduced in TGVT A 9/2006) is popular in the market using the operating system?Not Symbian OS or Windows Mobile but MontaVista Linux - the embedded Linux operating system version.

MotoMing is neither the first mobile phone to use the Linux OS and MontaVista nor the only embedded Linux OS. Before MotoMing there were many other mobile phones and many other devices using embedded Linux OS (including MontaVista and other Linux versions), These include well-known names such as mobile phones that support Nokia 7700 web browsing, Archos PMA400 mobile entertainment devices (PMP) or TiVo's video (DVR) receivers, . And the future will be increasingly set. suffer from embedded Linux.

According to LinuxDevices.com's recent survey of embedded Linux market, nearly two-thirds of participants plan to support or develop embedded Linux services.With 49% of users, Linux is currently the most popular embedded operating system.Based on survey data, Linux may account for 60% of the OS market embedded in the next 3-4 years.

DaVinci goes with MontaVista Picture 7DaVinci goes with MontaVista Picture 7
Trend of using embedded Linux

Phuong Uyen

5 ★ | 1 Vote