OpenMAXBellagio  0.9.3
OMX_IMAGE_PORTDEFINITIONTYPE Struct Reference

#include <OMX_Image.h>

Data Fields

OMX_STRING cMIMEType
 
OMX_NATIVE_DEVICETYPE pNativeRender
 
OMX_U32 nFrameWidth
 
OMX_U32 nFrameHeight
 
OMX_S32 nStride
 
OMX_U32 nSliceHeight
 
OMX_BOOL bFlagErrorConcealment
 
OMX_IMAGE_CODINGTYPE eCompressionFormat
 
OMX_COLOR_FORMATTYPE eColorFormat
 
OMX_NATIVE_WINDOWTYPE pNativeWindow
 

Detailed Description

Data structure used to define an image path. The number of image paths for input and output will vary by type of the image component.

Input (aka Source) : Zero Inputs, one Output, Splitter : One Input, 2 or more Outputs, Processing Element : One Input, one output, Mixer : 2 or more inputs, one output, Output (aka Sink) : One Input, zero outputs.

The PortDefinition structure is used to define all of the parameters necessary for the compliant component to setup an input or an output image path. If additional vendor specific data is required, it should be transmitted to the component using the CustomCommand function. Compliant components will prepopulate this structure with optimal values during the OMX_GetParameter() command.

STRUCT MEMBERS: cMIMEType : MIME type of data for the port pNativeRender : Platform specific reference for a display if a sync, otherwise this field is 0 nFrameWidth : Width of frame to be used on port if uncompressed format is used. Use 0 for unknown, don't care or variable nFrameHeight : Height of frame to be used on port if uncompressed format is used. Use 0 for unknown, don't care or variable nStride : Number of bytes per span of an image (i.e. indicates the number of bytes to get from span N to span N+1, where negative stride indicates the image is bottom up nSliceHeight : Height used when encoding in slices bFlagErrorConcealment : Turns on error concealment if it is supported by the OMX component eCompressionFormat : Compression format used in this instance of the component. When OMX_IMAGE_CodingUnused is specified, eColorFormat is valid eColorFormat : Decompressed format used by this component pNativeWindow : Platform specific reference for a window object if a display sink , otherwise this field is 0x0.

Definition at line 111 of file OMX_Image.h.

Field Documentation

OMX_BOOL OMX_IMAGE_PORTDEFINITIONTYPE::bFlagErrorConcealment

Definition at line 118 of file OMX_Image.h.

Referenced by base_image_port_Constructor(), and omx_base_component_SetParameter().

OMX_STRING OMX_IMAGE_PORTDEFINITIONTYPE::cMIMEType

Definition at line 112 of file OMX_Image.h.

Referenced by base_image_port_Constructor(), and base_image_port_Destructor().

OMX_COLOR_FORMATTYPE OMX_IMAGE_PORTDEFINITIONTYPE::eColorFormat

Definition at line 120 of file OMX_Image.h.

Referenced by omx_base_component_SetParameter().

OMX_IMAGE_CODINGTYPE OMX_IMAGE_PORTDEFINITIONTYPE::eCompressionFormat

Definition at line 119 of file OMX_Image.h.

Referenced by base_image_port_Constructor(), and omx_base_component_SetParameter().

OMX_U32 OMX_IMAGE_PORTDEFINITIONTYPE::nFrameHeight

Definition at line 115 of file OMX_Image.h.

Referenced by omx_base_component_SetParameter().

OMX_U32 OMX_IMAGE_PORTDEFINITIONTYPE::nFrameWidth

Definition at line 114 of file OMX_Image.h.

Referenced by omx_base_component_SetParameter().

OMX_U32 OMX_IMAGE_PORTDEFINITIONTYPE::nSliceHeight

Definition at line 117 of file OMX_Image.h.

OMX_S32 OMX_IMAGE_PORTDEFINITIONTYPE::nStride

Definition at line 116 of file OMX_Image.h.

Referenced by omx_base_component_SetParameter().

OMX_NATIVE_DEVICETYPE OMX_IMAGE_PORTDEFINITIONTYPE::pNativeRender

Definition at line 113 of file OMX_Image.h.

Referenced by base_image_port_Constructor().

OMX_NATIVE_WINDOWTYPE OMX_IMAGE_PORTDEFINITIONTYPE::pNativeWindow

Definition at line 121 of file OMX_Image.h.

Referenced by omx_base_component_SetParameter().


The documentation for this struct was generated from the following file:

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