OpenMAX Bellagio 0.9.3
OMX_VIDEO_PORTDEFINITIONTYPE Struct Reference

#include <OMX_Video.h>

Data Fields

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

Detailed Description

Data structure used to define a video path. The number of Video paths for input and output will vary by type of the Video 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 video 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 GetDefaultInitParams 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 channel if uncompressed format is used. Use 0 for unknown, don't care or variable nFrameHeight : Height of frame to be used on channel 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 nBitrate : Bit rate of frame to be used on channel if compressed format is used. Use 0 for unknown, don't care or variable xFramerate : Frame rate to be used on channel if uncompressed format is used. Use 0 for unknown, don't care or variable. Units are Q16 frames per second. 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_VIDEO_CodingUnused is specified, eColorFormat is used 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 124 of file OMX_Video.h.

Field Documentation

◆ bFlagErrorConcealment

OMX_BOOL OMX_VIDEO_PORTDEFINITIONTYPE::bFlagErrorConcealment

◆ cMIMEType

OMX_STRING OMX_VIDEO_PORTDEFINITIONTYPE::cMIMEType

◆ eColorFormat

OMX_COLOR_FORMATTYPE OMX_VIDEO_PORTDEFINITIONTYPE::eColorFormat

◆ eCompressionFormat

OMX_VIDEO_CODINGTYPE OMX_VIDEO_PORTDEFINITIONTYPE::eCompressionFormat

◆ nBitrate

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::nBitrate

◆ nFrameHeight

◆ nFrameWidth

◆ nSliceHeight

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::nSliceHeight

◆ nStride

OMX_S32 OMX_VIDEO_PORTDEFINITIONTYPE::nStride

◆ pNativeRender

OMX_NATIVE_DEVICETYPE OMX_VIDEO_PORTDEFINITIONTYPE::pNativeRender

Definition at line 126 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), and omx_base_component_SetParameter().

◆ pNativeWindow

OMX_NATIVE_WINDOWTYPE OMX_VIDEO_PORTDEFINITIONTYPE::pNativeWindow

Definition at line 136 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), and omx_base_component_SetParameter().

◆ xFramerate

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::xFramerate

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