OpenMAXBellagio  0.9.3
omx_create_loaders.h File Reference

Go to the source code of this file.

Functions

int createComponentLoaders (void)
 

Function Documentation

§ createComponentLoaders()

int createComponentLoaders ( void  )

src/omx_create_loaders.h

Define a generic entry point for component loaders creation. Each component loader should provide an implementation of the createComponentLoaders function.

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

This function allocates all the structures needed by the component loaders available in the system and initialize the function pointers of the loader. Finally it searches for more loaders that can be pointed by the .omxloaders file. If this file exists it contains a list of library containing custom component loaders. Each library should contain a function named 'setup_component_loader' that will initialize the custom loader. This mechanism is similar to the default loading of the components.

Definition at line 58 of file omx_create_loaders_linux.c.

References BOSA_AddComponentLoader(), DEB_LEV_ERR, DEBUG, exists(), handle, loadersRegistryGetFilename(), MAX_LINE_LENGTH, OMX_ErrorInsufficientResources, OMX_LOADERS_DIRNAME, OMX_LOADERS_FILENAME, and st_static_setup_component_loader().


Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo