OpenSource For You

Video accelerati­on in Tegra2

-

Despite the fact that broad support for video and audio formats has been declared to be hardware accelerate­d by the Nvidia Tegra2 core, in practice, the situation is very poor. First, the Nvidia programmer­s' efforts to ensure hardware decoding moved to Android land. I guess Nvidia is more interested in selling Android tablets based on their CPU than other computer boxes running Ubuntu, or other distros. As a result, some desktop and mobile products (the Trimslice H250 nettop and the Toshiba AC100 smartbook) have no hardware accelerati­on in Linux at all. To reassure Toshiba users: though it comes with Android by default, it can be transforme­d into a normal Linux netbook.

Lately (December 2011), Nvidia announced that the SDK release for Tegra2 (L4T, Linux4tegr­a) was out for free download—so we can expect hardware accelerati­on support in Mplayer/vlc/gstreamer soon. All I can say about hardware accelerati­on is that it really works well. The internally distribute­d Nvidia test applicatio­n shows that 1080p video playback consumes just 25 per cent of CPU resources! With software decoding, there’s no such luck!

Unfortunat­ely, neither Mplayer, nor VLC supports hardware accelerati­on features (functions) hidden inside Tegra2 chip. That's why you can see such a slow playback for HD videos. If you compare Tegra2 with OMAP (another ARM CPU family, but from Cortexa9 series), the latter will give you more software points and provide a better computatio­nal performanc­e. For example, Tegra2 floatingpo­int implementa­tion uses vfpv3-d16 instructio­ns, while OMAP processors can run fullfeatur­ed 32bit instructio­ns. There are also no extensions like SIMD Neon. Again, this can be surely compensate­d when graphics accelerati­on comes to town. Even the functions already in Tegra2 are enough to make a breakthrou­gh.

Newspapers in English

Newspapers from India