library_entry_point.c File Reference

#include <st_static_component_loader.h>
#include <omx_audiodec_component.h>
#include <omx_videodec_component.h>
#include <omx_videoenc_component.h>
#include <omx_ffmpeg_colorconv_component.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 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 ffmpeg/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

component 1 - audio decoder

component 2 - video decoder

component 3 - video color converter

component 4 - video encoder

Definition at line 54 of file ffmpeg/library_entry_point.c.

References stLoaderComponentType::componentVersion, stLoaderComponentType::constructor, DEB_LEV_FUNCTION_NAME, DEBUG, stLoaderComponentType::name, stLoaderComponentType::name_specific, stLoaderComponentType::name_specific_length, OMX_VERSIONTYPE::nRevision, OMX_VERSIONTYPE::nStep, OMX_VERSIONTYPE::nVersionMajor, OMX_VERSIONTYPE::nVersionMinor, omx_audiodec_component_Constructor(), OMX_ErrorInsufficientResources, omx_ffmpeg_colorconv_component_Constructor(), OMX_MAX_STRINGNAME_SIZE, omx_videodec_component_Constructor(), omx_videoenc_component_Constructor(), stLoaderComponentType::role_specific, and OMX_VERSIONTYPE::s.


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