MediaLib

MediaLib

Infobox Software
name = mediaLib



caption =
author =
developer = Sun Microsystems
released =
latest release version = 2.5
latest release date = November 16, 2007
latest preview version =
latest preview date =
programming language = C
operating system =
platform =
language =
status = Active
genre = multimedia
license = CDDL
website = [http://sun.com/processors/vis/mlib.html 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 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, foregoing 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:
*algebra
*matrix
*image
*graphics
*signal processing
*video
*audio
*speech
*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

External links

* [http://sun.com/processors/vis/mlib.html mediaLib on Sun website]
* [http://sun.com/processors/vis/download/mlib/mlib_guide.pdf mediaLib User's Manual]
* [http://opensolaris.org/jive/thread.jspa?messageID=177248&tstart=0 mediaLib source code]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • mediaLib — Developer(s) Sun Microsystems Stable release 2.5 / November 16, 2007 Development status Active Written in C …   Wikipedia

  • MediaLib — (multimedia library)  низкоуровневая библиотека для ускорения мультимедийных приложений с интерфейсами к Си, разработана Sun Microsystems и открыта под лицензией CDDL как часть проекта OpenSolaris. Библиотека реализована на ANSI C, но… …   Википедия

  • Headwaters Forest — Infobox protected area | name = Headwaters Forest Reserve iucn category = Ia |thumb|288px|right|Headwaters Forest in northern California. caption = locator x = locator y = location = Eureka, California, USA nearest city = Eureka, California lat… …   Wikipedia

  • Calmy — Micheline Calmy Rey Micheline Anne Marie Calmy Rey[1] (* 8. Juli 1945 in Sion, Kanton Wallis, heimatberechtigt in Chermignon) ist eine Schweizer Politikerin (SP). Sie ist seit …   Deutsch Wikipedia

  • Calmy-Rey — Micheline Calmy Rey Micheline Anne Marie Calmy Rey[1] (* 8. Juli 1945 in Sion, Kanton Wallis, heimatberechtigt in Chermignon) ist eine Schweizer Politikerin (SP). Sie ist seit …   Deutsch Wikipedia

  • KADEK — Logo der PKK seit 1995 Das Logo der PKK von 1978 bis 1995 Die Partiya Karkerên Kurdistan (dt. Arbeiterpartei Kurdistans, PKK) ist eine kurdische …   Deutsch Wikipedia

  • Kurdische Arbeiterpartei — Logo der PKK seit 1995 Das Logo der PKK von 1978 bis 1995 Die Partiya Karkerên Kurdistan (dt. Arbeiterpartei Kurdistans, PKK) ist eine kurdische …   Deutsch Wikipedia

  • Micheline Calmyrey — Micheline Calmy Rey Micheline Anne Marie Calmy Rey[1] (* 8. Juli 1945 in Sion, Kanton Wallis, heimatberechtigt in Chermignon) ist eine Schweizer Politikerin (SP). Sie ist seit …   Deutsch Wikipedia

  • Michline — Micheline Calmy Rey Micheline Anne Marie Calmy Rey[1] (* 8. Juli 1945 in Sion, Kanton Wallis, heimatberechtigt in Chermignon) ist eine Schweizer Politikerin (SP). Sie ist seit …   Deutsch Wikipedia

  • PKK — Logo der PKK seit 1995 Das Logo der PKK von 1978 bis 1995 Die Partiya Karkerên Kurdistan (dt. Arbeiterpartei Kurdistans, PKK) ist eine kurdische …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”