OMX_VIDEO_PORTDEFINITIONTYPE Struct Reference
[OpenMAX IL Video Domain]

#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 122 of file OMX_Video.h.


Field Documentation

OMX_STRING OMX_VIDEO_PORTDEFINITIONTYPE::cMIMEType

Definition at line 123 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), base_video_port_Destructor(), omx_fbdev_sink_component_SetParameter(), and SetInternalVideoEncParameters().

OMX_NATIVE_DEVICETYPE OMX_VIDEO_PORTDEFINITIONTYPE::pNativeRender

Definition at line 124 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), and omx_base_component_SetParameter().

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::nFrameWidth

Definition at line 125 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), omx_base_component_SetParameter(), omx_fbdev_sink_component_SetParameter(), omx_ffmpeg_colorconv_component_SetParameter(), omx_parser3gp_component_Init(), omx_videodec_component_BufferMgmtCallback(), omx_videoenc_component_BufferMgmtCallback(), omx_videoenc_component_ffmpegLibInit(), omx_videosrc_component_Init(), omx_videosrc_component_SetParameter(), setCameraParameters(), setColorConvParameters(), setFbsinkParameters(), setPortParameters(), and SetPortParametersVideo().

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::nFrameHeight

Definition at line 126 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), omx_base_component_SetParameter(), omx_fbdev_sink_component_SetParameter(), omx_ffmpeg_colorconv_component_SetParameter(), omx_parser3gp_component_Init(), omx_videodec_component_BufferMgmtCallback(), omx_videoenc_component_BufferMgmtCallback(), omx_videoenc_component_ffmpegLibInit(), omx_videosrc_component_Init(), omx_videosrc_component_SetParameter(), setCameraParameters(), setColorConvParameters(), setFbsinkParameters(), setPortParameters(), and SetPortParametersVideo().

OMX_S32 OMX_VIDEO_PORTDEFINITIONTYPE::nStride

Definition at line 127 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), omx_base_component_SetParameter(), setCameraParameters(), setColorConvParameters(), and setFbsinkParameters().

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::nSliceHeight

Definition at line 128 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), setCameraParameters(), setColorConvParameters(), and setFbsinkParameters().

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::nBitrate

Definition at line 129 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), omx_fbdev_sink_component_SetParameter(), and omx_ffmpeg_colorconv_component_SetParameter().

OMX_U32 OMX_VIDEO_PORTDEFINITIONTYPE::xFramerate

Definition at line 130 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), omx_base_component_SetParameter(), omx_fbdev_sink_component_SetParameter(), omx_ffmpeg_colorconv_component_SetParameter(), omx_videoenc_component_ffmpegLibInit(), and setPortParameters().

OMX_BOOL OMX_VIDEO_PORTDEFINITIONTYPE::bFlagErrorConcealment

Definition at line 131 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), omx_base_component_SetParameter(), omx_fbdev_sink_component_SetParameter(), and omx_ffmpeg_colorconv_component_SetParameter().

OMX_VIDEO_CODINGTYPE OMX_VIDEO_PORTDEFINITIONTYPE::eCompressionFormat

Definition at line 132 of file OMX_Video.h.

Referenced by base_port_ComponentTunnelRequest(), base_video_port_Constructor(), main(), omx_base_component_SetParameter(), omx_parser3gp_component_Init(), omx_videoenc_component_SetParameter(), setCameraParameters(), setColorConvParameters(), setFbsinkParameters(), SetInternalVideoEncParameters(), and SetPortParametersVideo().

OMX_COLOR_FORMATTYPE OMX_VIDEO_PORTDEFINITIONTYPE::eColorFormat

Definition at line 133 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), omx_base_component_SetParameter(), omx_videodec_component_SetParameter(), omx_videoenc_component_SetParameter(), omx_videosrc_component_Init(), setCameraParameters(), setColorConvParameters(), setFbsinkParameters(), setPortParameters(), and SetPortParametersVideo().

OMX_NATIVE_WINDOWTYPE OMX_VIDEO_PORTDEFINITIONTYPE::pNativeWindow

Definition at line 134 of file OMX_Video.h.

Referenced by base_video_port_Constructor(), and omx_base_component_SetParameter().


The documentation for this struct was generated from the following file:
Generated for OpenMAX Bellagio rel. 0.3.5-svn by  doxygen 1.5.1
SourceForge.net Logo