OpenMAXBellagio  0.9.3
omx_base_source.h File Reference
#include <OMX_Types.h>
#include <OMX_Component.h>
#include <OMX_Core.h>
#include "omx_base_component.h"

Go to the source code of this file.

Data Structures

struct  omx_base_source_PrivateType
 

Macros

#define OMX_BASE_SOURCE_OUTPUTPORT_INDEX   0
 
#define OMX_BASE_SOURCE_OUTPUTPORT_INDEX_1   1
 
#define OMX_BASE_SOURCE_ALLPORT_INDEX   -1
 
#define omx_base_source_PrivateType_FIELDS
 

Typedefs

typedef struct omx_base_source_PrivateType omx_base_source_PrivateType
 

Functions

OMX_ERRORTYPE omx_base_source_Constructor (OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
 
OMX_ERRORTYPE omx_base_source_Destructor (OMX_COMPONENTTYPE *openmaxStandComp)
 
void * omx_base_source_BufferMgmtFunction (void *param)
 
void * omx_base_source_twoport_BufferMgmtFunction (void *param)
 

Macro Definition Documentation

◆ OMX_BASE_SOURCE_ALLPORT_INDEX

#define OMX_BASE_SOURCE_ALLPORT_INDEX   -1

OMX_BASE_SOURCE_ALLPORT_INDEX as the standard specifies, the -1 value for port index is used to point to all the ports

Definition at line 47 of file omx_base_source.h.

◆ OMX_BASE_SOURCE_OUTPUTPORT_INDEX

#define OMX_BASE_SOURCE_OUTPUTPORT_INDEX   0

src/base/omx_base_source.h

OpenMAX base source component. This component does not perform any multimedia processing. It derives from base component and contains a single port. It can be used as base class for source components.

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 OMX_BASE_SOURCE_OUTPUTPORT_INDEX is the index of any output port for the derived components

Definition at line 39 of file omx_base_source.h.

◆ OMX_BASE_SOURCE_OUTPUTPORT_INDEX_1

#define OMX_BASE_SOURCE_OUTPUTPORT_INDEX_1   1

OMX_BASE_SPLITTER_OUTPUTPORT_INDEX_1 is the index of any output port for the derived components

Definition at line 43 of file omx_base_source.h.

◆ omx_base_source_PrivateType_FIELDS

#define omx_base_source_PrivateType_FIELDS
Value:
void (*BufferMgmtCallback)(OMX_COMPONENTTYPE* openmaxStandComp, OMX_BUFFERHEADERTYPE* outputbuffer);

Definition at line 52 of file omx_base_source.h.

Typedef Documentation

◆ omx_base_source_PrivateType

base source component private structure.

Definition at line 1 of file omx_base_source.h.

Function Documentation

◆ omx_base_source_BufferMgmtFunction()

◆ omx_base_source_Constructor()

OMX_ERRORTYPE omx_base_source_Constructor ( OMX_COMPONENTTYPE openmaxStandComp,
OMX_STRING  cComponentName 
)

Base source contructor

src/base/omx_base_source.c

OpenMAX base source component. This component does not perform any multimedia processing. It derives from base component and contains a single output port. This class can also be used for a two port source component It can be used as base class for source components.

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 32 of file omx_base_source.c.

References omx_base_source_PrivateType::BufferMgmtFunction, err, omx_base_component_Constructor(), omx_base_source_BufferMgmtFunction(), OMX_ErrorInsufficientResources, OMX_ErrorNone, and OMX_COMPONENTTYPE::pComponentPrivate.

Referenced by omx_clocksrc_component_Constructor().

◆ omx_base_source_Destructor()

OMX_ERRORTYPE omx_base_source_Destructor ( OMX_COMPONENTTYPE openmaxStandComp)

The base source destructor. It simply calls the base destructor

Definition at line 58 of file omx_base_source.c.

References omx_base_component_Destructor().

Referenced by omx_clocksrc_component_Destructor().

◆ omx_base_source_twoport_BufferMgmtFunction()

omx_base_component_PrivateType_FIELDS
#define omx_base_component_PrivateType_FIELDS
Definition: omx_base_component.h:123
OMX_COMPONENTTYPE
Definition: OMX_Component.h:308
OMX_BUFFERHEADERTYPE
Definition: OMX_Core.h:399

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