OpenMAX Bellagio 0.9.3
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_Core.h>
#include <OMX_ContentPipe.h>
#include "omxcore.h"
#include "omx_create_loaders.h"

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

CPresult file_pipe_Constructor (CP_PIPETYPE *pPipe, CPstring szURI)
 
CPresult inet_pipe_Constructor (CP_PIPETYPE *pPipe, CPstring szURI)
 
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_HANDLETYPE *pHandle, OMX_STRING cComponentName, OMX_PTR pAppData, OMX_CALLBACKTYPE *pCallBacks)
 the OMX_GetHandle standard function
 
OMX_ERRORTYPE OMX_FreeHandle (OMX_HANDLETYPE hComponent)
 The OMX_FreeHandle standard function.
 
OMX_ERRORTYPE OMX_ComponentNameEnum (OMX_STRING cComponentName, OMX_U32 nNameLength, OMX_U32 nIndex)
 the OMX_ComponentNameEnum standard function
 
OMX_ERRORTYPE OMX_SetupTunnel (OMX_HANDLETYPE hOutput, OMX_U32 nPortOutput, OMX_HANDLETYPE hInput, OMX_U32 nPortInput)
 the OMX_SetupTunnel standard function
 
OMX_ERRORTYPE OMX_GetRolesOfComponent (OMX_STRING CompName, OMX_U32 *pNumRoles, OMX_U8 **roles)
 the OMX_GetRolesOfComponent standard function
 
OMX_ERRORTYPE OMX_GetComponentsOfRole (OMX_STRING role, OMX_U32 *pNumComps, OMX_U8 **compNames)
 the OMX_GetComponentsOfRole standard function
 
OMX_ERRORTYPE OMX_GetContentPipe (OMX_HANDLETYPE *hPipe, OMX_STRING szURI)
 

Variables

BOSA_COMPONENTLOADER ** loadersList = NULL
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

src/omxcore.c

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

Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 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

Definition at line 27 of file omxcore.c.

Function Documentation

◆ BOSA_AddComponentLoader()

OMX_ERRORTYPE BOSA_AddComponentLoader ( BOSA_COMPONENTLOADER * pLoader)

◆ file_pipe_Constructor()

CPresult file_pipe_Constructor ( CP_PIPETYPE * pPipe,
CPstring szURI )
extern

Referenced by OMX_GetContentPipe().

◆ inet_pipe_Constructor()

CPresult inet_pipe_Constructor ( CP_PIPETYPE * pPipe,
CPstring szURI )
extern

Referenced by OMX_GetContentPipe().

Variable Documentation

◆ loadersList

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 62 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.9.3 by  doxygen 1.5.1
SourceForge.net Logo