OpenMAXBellagio  0.9.3
omxregister.c File Reference
#include <dlfcn.h>
#include <dirent.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "st_static_component_loader.h"
#include "common.h"

Go to the source code of this file.

Macros

#define DEFAULT_LINE_LENGHT   500
 

Functions

int int2strlen (int value)
 
int main (int argc, char *argv[])
 execution of registration function
 

Macro Definition Documentation

#define DEFAULT_LINE_LENGHT   500

src/omxregister.c

Register OpenMAX components. This application registers the installed OpenMAX components and stores the list in the file: $HOME/.omxregistry

It must be run before using components. The components are searched in the default directory: OMXILCOMPONENTSPATH If the components are installed in a different location, specify:

omxregister-bellagio installation_path

If the installation path parameter is not set also the environment variable BELLAGIO_SEARCH_PATH is checked. If set it contains the locations of the components, separated by colons

Copyright (C) 2007-2010 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 50 of file omxregister.c.

Function Documentation

int int2strlen ( int  value)

Definition at line 56 of file omxregister.c.

int main ( int  argc,
char *  argv[] 
)

execution of registration function

This register by default searches for OpenMAX libraries in OMXILCOMPONENTSPATH If specified it can search in a different directory

Definition at line 402 of file omxregister.c.

References componentsRegistryGetFilename(), DEB_LEV_ERR, DEBUG, err, and makedir().


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