AskBiography Logo   Latest News  Follow Us on Twitter  Follow Us on Google Buzz  Became Fan - Facebook  Subscribe to RSSRSS   Bookmark and Share


Software information
DeveloperSun Microsystems
Stable release2.5
Latest release dateNovember 16, 2007
Development statusActive
Written inC
Available inC

     Home | Software | MediaLib

mediaLib (from "multimedia library") is a portable low level library for accelerating multimedia applications, with interfaces in C. It is developed by Sun Microsystems and open sourced under the CDDL license as part of the OpenSolaris project. The latest released version is 2.5.

It is implemented in ANSI C, but can take advantage of SIMD multimedia instructions on various processors to gain a significant performance boost. It was originally designed to leverage VIS on SPARC processors and later added support for MMX/SSE/SSE2 on Intel/AMD processors.

Since mediaLib is written in C and SIMD multimedia compiler intrinsics, it should be usable on any system that has an ANSI C compiler that supports SIMD multimedia intrinsics. Systems without SIMD intrinsics support can also use it as pure ANSI C, forgoing any extra acceleration provided by SIMD multimedia instructions. It is also included as part of Solaris 10.

mediaLib 2.5 contains about 4000 files and 2.4 million lines of code, and contains more than 3000 functions for different areas:





*signal processing




*volume rendering

Open source applications that use mediaLib include Java, JDS for Solaris, mplayer, ffmpeg, and ogle.

There are several mediaLib versions targeting different platforms, but all share the same API, so users can switch from one platform to another without changing source code:

*Standard C: written in pure ANSI C, with some general code optimization for performance

*VIS/VIS2/VIS3: optimized for SPARC chips with VIS/VIS2/VIS3 multimedia instruction sets

*MMX/SSE/SSE2: optimized for Intel/AMD chips with MMX/SSE/SSE2 multimedia instruction sets

*Integer: optimized for chips that have no or limited floating point capabilities, such as UltraSPARC T1 and some embedded chips

*Multi-threaded version: A thin wrapper layer built with OpenMP on top of mediaLib, providing flexible multithreading multimedia acceleration for applications

Warning: simplexml_load_file( [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 410 Gone in /home/askbio/public_html/index_bio.php on line 257

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "" in /home/askbio/public_html/index_bio.php on line 257

Fatal error: Call to a member function children() on a non-object in /home/askbio/public_html/index_bio.php on line 260