library_entry_point.c File Reference

#include <st_static_component_loader.h>
#include <omx_camera_source_component.h>
#include <string.h>

Go to the source code of this file.

Functions

int omx_component_library_Setup (stLoaderComponentType **stComponents)
 The library entry point. It must have the same name for each library of the components loaded by the ST static component loader.


Detailed Description

The library entry point. It must have the same name for each library of the components loaded by the ST static component loader. This function fills the version, the component name and if existing also the roles and the specific names for each role. This base function is only an explanation. For each library it must be implemented, and it must fill data of any component in the library

Copyright (C) 2007 Motorola

This code is licensed under LGPL see README for full LGPL notice.

Date Author Comment Mon, 09 Jul 2007 Motorola File created

This Program 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.

$Date$ Revision $Rev$ Author $Author$

Definition in file camera/library_entry_point.c.


Function Documentation

int omx_component_library_Setup ( stLoaderComponentType **  stComponents  ) 

The library entry point. It must have the same name for each library of the components loaded by the ST static component loader.

This function fills the version, the component name and if existing also the roles and the specific names for each role. This base function is only an explanation. For each library it must be implemented, and it must fill data of any component in the library

Parameters:
stComponents pointer to an array of components descriptors.If NULL, the function will return only the number of components contained in the library
Returns:
number of components contained in the library

Definition at line 47 of file camera/library_entry_point.c.

References stLoaderComponentType::componentVersion, stLoaderComponentType::constructor, DEB_LEV_FUNCTION_NAME, DEBUG, err, stLoaderComponentType::name, stLoaderComponentType::name_specific, stLoaderComponentType::name_specific_length, OMX_VERSIONTYPE::nRevision, OMX_VERSIONTYPE::nStep, OMX_VERSIONTYPE::nVersionMajor, OMX_VERSIONTYPE::nVersionMinor, omx_camera_source_component_Constructor(), OMX_ErrorInsufficientResources, OMX_ErrorNone, OMX_MAX_STRINGNAME_SIZE, stLoaderComponentType::role_specific, and OMX_VERSIONTYPE::s.


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