OMX_VIDEO_PORTDEFINITIONTYPE Struct Reference

struct OMX_VIDEO_PORTDEFINITIONTYPE

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.

Member Data Documentation

OMX_BOOL bFlagErrorConcealment

OMX_BOOL bFlagErrorConcealment

OMX_STRING cMIMEType

OMX_STRING cMIMEType

OMX_COLOR_FORMATTYPE eColorFormat

OMX_COLOR_FORMATTYPE eColorFormat

OMX_VIDEO_CODINGTYPE eCompressionFormat

OMX_VIDEO_CODINGTYPE eCompressionFormat

OMX_U32 nBitrate

OMX_U32 nBitrate

OMX_U32 nFrameHeight

OMX_U32 nFrameHeight

OMX_U32 nFrameWidth

OMX_U32 nFrameWidth

OMX_U32 nSliceHeight

OMX_U32 nSliceHeight

OMX_S32 nStride

OMX_S32 nStride

OMX_NATIVE_DEVICETYPE pNativeRender

OMX_NATIVE_DEVICETYPE pNativeRender

OMX_NATIVE_WINDOWTYPE pNativeWindow

OMX_NATIVE_WINDOWTYPE pNativeWindow

OMX_U32 xFramerate

OMX_U32 xFramerate