omx_base_sink.h File Reference

#include <OMX_Types.h>
#include <OMX_Component.h>
#include <OMX_Core.h>
#include <pthread.h>
#include <omx_base_component.h>
#include <stdlib.h>

Go to the source code of this file.

Defines

#define OMX_BASE_SINK_INPUTPORT_INDEX   0
#define OMX_BASE_SINK_ALLPORT_INDEX   -1
#define omx_base_sink_PrivateType_FIELDS

Functions

OMX_ERRORTYPE omx_base_sink_Constructor (OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
OMX_ERRORTYPE omx_base_sink_Destructor (OMX_COMPONENTTYPE *openmaxStandComp)
void * omx_base_sink_BufferMgmtFunction (void *param)


Detailed Description

OpenMAX base sink 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 sink components.

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 omx_base_sink.h.


Define Documentation

#define OMX_BASE_SINK_ALLPORT_INDEX   -1

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

Definition at line 49 of file omx_base_sink.h.

#define OMX_BASE_SINK_INPUTPORT_INDEX   0

#define omx_base_sink_PrivateType_FIELDS

Value:

omx_base_component_PrivateType_FIELDS \ \
  void (*BufferMgmtCallback)(OMX_COMPONENTTYPE* openmaxStandComp, OMX_BUFFERHEADERTYPE* inputbuffer);
base sink component private structure.

Definition at line 54 of file omx_base_sink.h.


Function Documentation

void* omx_base_sink_BufferMgmtFunction ( void *  param  ) 

OMX_ERRORTYPE omx_base_sink_Constructor ( OMX_COMPONENTTYPE openmaxStandComp,
OMX_STRING  cComponentName 
)

OMX_ERRORTYPE omx_base_sink_Destructor ( OMX_COMPONENTTYPE openmaxStandComp  ) 

The base sink destructor. It simply calls the base destructor

Definition at line 64 of file omx_base_sink.c.

References omx_base_component_Destructor().

Referenced by omx_alsasink_component_Destructor(), omx_fbdev_sink_component_Destructor(), and omx_symbianoutputstreamsink_component_Destructor().


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