mediaLib

mediaLib
Developer(s) Sun Microsystems
Stable release
2.5 / November 16, 2007
Development status Active
Written in C
Type multimedia
License CDDL
Website sun.com/processors/vis/mlib.html

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

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:

Open source applications that use mediaLib include Java, JDS for Solaris, mplayer, 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:

This article is issued from Wikipedia - version of the 2/9/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.