OpenMAXBellagio
0.9.3
|
Go to the source code of this file.
Data Structures | |
struct | omx_base_image_PortType |
Macros | |
#define | omx_base_image_PortType_FIELDS |
Typedefs | |
typedef struct omx_base_image_PortType | omx_base_image_PortType |
the base image domain structure that describes each port. More... | |
Functions | |
OMX_ERRORTYPE | base_image_port_Constructor (OMX_COMPONENTTYPE *openmaxStandComp, omx_base_PortType **openmaxStandPort, OMX_U32 nPortIndex, OMX_BOOL isInput) |
the base contructor for the generic OpenMAX ST Image port More... | |
OMX_ERRORTYPE | base_image_port_Destructor (omx_base_PortType *openmaxStandPort) |
the base image port destructor for the generic OpenMAX ST Image port More... | |
#define omx_base_image_PortType_FIELDS |
Definition at line 41 of file omx_base_image_port.h.
typedef struct omx_base_image_PortType omx_base_image_PortType |
the base image domain structure that describes each port.
src/base/omx_base_image_port.h
Base Image Port class for OpenMAX ports to be used in derived 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 The data structure is derived from base port class and contain image domain specific parameters. Other elements can be added in the derived components structures.
Definition at line 40 of file omx_base_image_port.h.
OMX_ERRORTYPE base_image_port_Constructor | ( | OMX_COMPONENTTYPE * | openmaxStandComp, |
omx_base_PortType ** | openmaxStandPort, | ||
OMX_U32 | nPortIndex, | ||
OMX_BOOL | isInput | ||
) |
the base contructor for the generic OpenMAX ST Image port
This function is executed by the component that uses a port. The parameter contains the info about the component. It takes care of constructing the instance of the port and every object needed by the base port.
openmaxStandComp | pointer to the Handle of the component |
openmaxStandPort | the ST port to be initialized |
nPortIndex | Index of the port to be constructed |
isInput | specifices if the port is an input or an output |
the base contructor for the generic OpenMAX ST Image port
src/base/omx_base_image_port.c
Base Image Port class for OpenMAX ports to be used in derived 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 This function is executed by the component that uses a port. The parameter contains the info about the component. It takes care of constructing the instance of the port and every object needed by the base port.
openmaxStandComp | pointer to the Handle of the component |
openmaxStandPort | the ST port to be initialized |
nPortIndex | Index of the port to be constructed |
isInput | specifies if the port is an input or an output |
Definition at line 51 of file omx_base_image_port.c.
References base_image_port_Destructor(), base_port_Constructor(), OMX_IMAGE_PORTDEFINITIONTYPE::bFlagErrorConcealment, OMX_IMAGE_PORTDEFINITIONTYPE::cMIMEType, DEB_LEV_FUNCTION_NAME, DEBUG, DEFAULT_IN_BUFFER_SIZE, DEFAULT_MIME_STRING_LENGTH, DEFAULT_OUT_BUFFER_SIZE, OMX_IMAGE_PORTDEFINITIONTYPE::eCompressionFormat, OMX_IMAGE_PARAM_PORTFORMATTYPE::eCompressionFormat, OMX_PARAM_PORTDEFINITIONTYPE::eDomain, OMX_PARAM_PORTDEFINITIONTYPE::format, OMX_PARAM_PORTDEFINITIONTYPE::image, OMX_PARAM_PORTDEFINITIONTYPE::nBufferSize, OMX_IMAGE_PARAM_PORTFORMATTYPE::nIndex, OMX_IMAGE_PARAM_PORTFORMATTYPE::nPortIndex, OMX_ErrorInsufficientResources, OMX_ErrorNone, OMX_FALSE, OMX_IMAGE_CodingUnused, OMX_PortDomainImage, OMX_TRUE, OMX_IMAGE_PORTDEFINITIONTYPE::pNativeRender, omx_base_image_PortType::PortDestructor, setHeader(), omx_base_image_PortType::sImageParam, and omx_base_image_PortType::sPortParam.
OMX_ERRORTYPE base_image_port_Destructor | ( | omx_base_PortType * | openmaxStandPort) |
the base image port destructor for the generic OpenMAX ST Image port
This function is executed by the component that uses a port. The parameter contains the info about the port. It takes care of destructing the instance of the port
openmaxStandPort | the ST port to be destructed |
the base image port destructor for the generic OpenMAX ST Image port
This function is executed by the component that uses a port. The parameter contains the info about the port. It takes care of destructing the instance of the port
openmaxStandPort | the ST port to be destructed |
Definition at line 100 of file omx_base_image_port.c.
References base_port_Destructor(), OMX_IMAGE_PORTDEFINITIONTYPE::cMIMEType, DEB_LEV_ERR, DEB_LEV_FUNCTION_NAME, DEBUG, err, OMX_PARAM_PORTDEFINITIONTYPE::format, OMX_PARAM_PORTDEFINITIONTYPE::image, OMX_ErrorNone, and omx_base_PortType::sPortParam.
Referenced by base_image_port_Constructor().