omxcore.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <strings.h>
#include <errno.h>
#include <assert.h>
#include <OMX_Types.h>
#include <OMX_Core.h>
#include <OMX_Component.h>
#include "omxcore.h"
#include "omx_create_loaders.h"

Go to the source code of this file.

Defines

#define _GNU_SOURCE

Functions

OMX_ERRORTYPE BOSA_AddComponentLoader (BOSA_COMPONENTLOADER *pLoader)
OMX_ERRORTYPE OMX_Init ()
 The OMX_Init standard function.
OMX_ERRORTYPE OMX_Deinit ()
 The OMX_Deinit standard function.
OMX_ERRORTYPE OMX_GetHandle (OMX_OUT OMX_HANDLETYPE *pHandle, OMX_IN OMX_STRING cComponentName, OMX_IN OMX_PTR pAppData, OMX_IN OMX_CALLBACKTYPE *pCallBacks)
 the OMX_GetHandle standard function
OMX_ERRORTYPE OMX_FreeHandle (OMX_IN OMX_HANDLETYPE pHandle)
 the OMX_FreeHandle standard function
OMX_ERRORTYPE OMX_ComponentNameEnum (OMX_OUT OMX_STRING cComponentName, OMX_IN OMX_U32 nNameLength, OMX_IN OMX_U32 nIndex)
 the OMX_ComponentNameEnum standard function
OMX_ERRORTYPE OMX_SetupTunnel (OMX_IN OMX_HANDLETYPE hOutput, OMX_IN OMX_U32 nPortOutput, OMX_IN OMX_HANDLETYPE hInput, OMX_IN OMX_U32 nPortInput)
 the OMX_SetupTunnel standard function
OMX_ERRORTYPE OMX_GetRolesOfComponent (OMX_IN OMX_STRING CompName, OMX_INOUT OMX_U32 *pNumRoles, OMX_OUT OMX_U8 **roles)
 the OMX_GetRolesOfComponent standard function
OMX_ERRORTYPE OMX_GetComponentsOfRole (OMX_IN OMX_STRING role, OMX_INOUT OMX_U32 *pNumComps, OMX_INOUT OMX_U8 **compNames)
 the OMX_GetComponentsOfRole standard function
OMX_API OMX_ERRORTYPE OMX_GetContentPipe (OMX_OUT OMX_HANDLETYPE *hPipe, OMX_IN OMX_STRING szURI)

Variables

BOSA_COMPONENTLOADER ** loadersList = NULL


Detailed Description

OpenMax Integration Layer Core. This library implements the OpenMAX core responsible for environment setup, components tunneling and communication.

Copyright (C) 2007 STMicroelectronics Copyright (C) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

$Date$ Revision $Rev$ Author $Author$

Definition in file omxcore.c.


Define Documentation

#define _GNU_SOURCE

Definition at line 31 of file omxcore.c.


Function Documentation

OMX_ERRORTYPE BOSA_AddComponentLoader ( BOSA_COMPONENTLOADER pLoader  ) 

Definition at line 67 of file omxcore.c.

References DEB_LEV_SIMPLE_SEQ, DEBUG, loadersList, OMX_ErrorInsufficientResources, and OMX_ErrorNone.

Referenced by createComponentLoaders().


Variable Documentation

BOSA_COMPONENTLOADER** loadersList = NULL

The pointer to the loaders list. This list contains the all the different component loaders present in the system or added by the IL Client with the BOSA_AddComponentLoader function. The component loader is a implementation specific way to handle a set of components. The implementation of the IL core accesses to the loaders in a standard way, but the different loaders can handle different types of components, or handle in different ways the same components. It can be used also to create a multi-OS support

Definition at line 65 of file omxcore.c.

Referenced by BOSA_AddComponentLoader(), OMX_ComponentNameEnum(), OMX_Deinit(), OMX_FreeHandle(), OMX_GetComponentsOfRole(), OMX_GetHandle(), OMX_GetRolesOfComponent(), and OMX_Init().


Generated for OpenMAX Bellagio rel. 0.3.5-svn by  doxygen 1.5.1
SourceForge.net Logo