OpenMAXBellagio 0.9.3
OMX_PARAM_PORTDEFINITIONTYPE Struct Reference

#include <OMX_Component.h>

Data Fields

OMX_U32 nSize
OMX_VERSIONTYPE nVersion
OMX_U32 nPortIndex
OMX_DIRTYPE eDir
OMX_U32 nBufferCountActual
OMX_U32 nBufferCountMin
OMX_U32 nBufferSize
OMX_BOOL bEnabled
OMX_BOOL bPopulated
OMX_PORTDOMAINTYPE eDomain
union {
   OMX_AUDIO_PORTDEFINITIONTYPE   audio
   OMX_VIDEO_PORTDEFINITIONTYPE   video
   OMX_IMAGE_PORTDEFINITIONTYPE   image
   OMX_OTHER_PORTDEFINITIONTYPE   other
format
OMX_BOOL bBuffersContiguous
OMX_U32 nBufferAlignment

Detailed Description

Definition at line 61 of file OMX_Component.h.


Field Documentation

Ports default to enabled and are enabled/disabled by OMX_CommandPortEnable/OMX_CommandPortDisable. When disabled a port is unpopulated. A disabled port is not populated with buffers on a transition to IDLE.

Definition at line 69 of file OMX_Component.h.

Referenced by base_port_DisablePort(), base_port_EnablePort(), and omx_video_scheduler_component_Constructor().

Port is populated with all of its buffers as indicated by nBufferCountActual. A disabled port is always unpopulated. An enabled port is populated on a transition to OMX_StateIdle and unpopulated on a transition to loaded.

Definition at line 73 of file OMX_Component.h.

Referenced by base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_EnablePort(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), and base_port_UseBuffer().

The minimum number of buffers this port requires

Definition at line 67 of file OMX_Component.h.

Referenced by base_clock_port_Constructor(), and omx_base_component_SetParameter().

Size of the structure in bytes

Definition at line 62 of file OMX_Component.h.

OMX specification version information

Definition at line 63 of file OMX_Component.h.


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