1.openmax Introduction http://www.khronos.org/openmax/
OpenMAX is a framework standard for multimedia applications, launched by NVIDIA Corporation and Khronos in 2006.
The OpenMAX is divided into 3 layers:
First layer: OpenMAX DL (development layer, development tier)
Second layer: OpenMAX IL (integration layer, integration level)
layer Three: OpenMAX AL (appliction layer, application tier)
2.about OpenMAX il
OpenMAX IL is positioned in the middle tier,OpenMAX ILAs audio, video and image codecsCan interact with multimedia codecs and support components (such as resources and skins) in a unified behavior. These codecs may be a mixture of hardware and software, The bottom interface Applied to embedded or / and mobile devices. It provides the application and media framework, transparent. This standardized interface does not exist in nature, and codecs are provided for il is to use feature sets to provide a system abstraction for codecs to solve the problem of portability between multiple different media systems.
openmax il is to provide a layer of abstraction for the graphics and audio and video of the hardware platform, which provides a cross-platform support for the upper-level application. This is important for cross-platform media applications. I have also been exposed to several high-definition decoding chip, these chips the bottom of the audio and video interface Although the function of the same, but the interface design and usage of each has a different, and a lot of difference. If you want to make your own media application perfect running on different hardware vendors platform, you have to adapt to the underlying decoding interface of different chips. This is very cumbersome for application development. So it needs to resemble the You can put OpenMAX il as a porting layer interface in middleware, but now most of the middleware is home-defined. openmax want to do is define an industry standard so that media applications and hardware vendors follow this standard. Hardware manufacturers will openmax Provided with the processor, the upper-level multimedia framework wants to use the hardware audio and video acceleration function, just follow the OpenMAX interface to expand the platform to run.
> Welcome, More and more multimedia frameworks and multimedia applications are now complying with OPENMAX standards, including a variety of well-known media open source software. More and more chip manufacturers are also following the OpenMAX standard.
3.OPENMAX IL structure
The main contents of OpenMAX Il are as follows.
Client: Caller of OpenMAX IL
Component (Component): OpenMAX il Unit, each component implements a function
PORT: Input/output interface of the component
Tunneling (tunneled): A way to connect two components directly
components, ports, tunneling ideas and pipeline in GStreamer are very similar. The Component implements a single function, or Source, Host, Accelerator, and sink. Port is the component external input output. A single component is concatenated together to form a complete function through tunneled. OpenMax core is the part that assists individual components to run < Span style= "color: #333333; Font-family:helvetica,tahoma,arial,sans-serif; font-size:12px; line-height:24px; " > 4.Component Internal Structure
The basic model of Component, for example, can be imagined as a processing workshop:
Input port Input Material
Output port output processing finished product
To send instructions or or status to the shop through handle.
Send events to the outside manager of the workshop in time
Android Multimedia Development--OpenMAX IL introduction