COmxInputPort Class Reference

class COmxInputPort : public CBase

Base class for OpenMAX Input Ports.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

COmxInputPort()

IMPORT_CCOmxInputPort()[protected]

Constructor.

~COmxInputPort()

IMPORT_C~COmxInputPort()[protected]

Destructor.

Member Functions Documentation

Component()

IMPORT_C COmxProcessingUnit *Component()const [protected]

Synchronous function used to return the OpenMAX Processing Unit this Input Port belongs to.

ConstructL(TInt, COmxProcessingUnit *)

IMPORT_C voidConstructL(TIntaIndex,
COmxProcessingUnit *aComponent
)[protected]

Class constructor.

Parameters

TInt aIndex
COmxProcessingUnit * aComponent

MipBufferSize()

IMPORT_C TUint32MipBufferSize()const

Synchronous function used to get the size of the buffer(s) used by the OpenMAX Input Port.

MipConfigure(const TPuConfig &)

IMPORT_C TIntMipConfigure(const TPuConfig &aConfiguration)

Synchronous function used to configure the OpenMAX Input Port.

Parameters

const TPuConfig & aConfigurationHolds the configuration parameters for the OpenMAX Input Port.

MipCreateBuffer(TInt)

IMPORT_C CMMFBuffer *MipCreateBuffer(TIntaBufferSize)

Synchronous function used to instruct the OpenMAX Input Port to create a buffer.

Parameters

TInt aBufferSizeThe size of the buffer to be created.

MipCreateCustomInterface(TUid)

IMPORT_C TIntMipCreateCustomInterface(TUidaUid)

Request extension feature. This is intended to provide additional features.

Parameters

TUid aUidUsed to indicate which interface is required.

MipCustomInterface(TUid)

IMPORT_C TAny *MipCustomInterface(TUidaUid)

Return previously created extension. This returns a custom interface. This should only be used if CreateCustomInterface() has already been called for the same UID value. This means that any construction for that interface has already been called, and thus this call cannot fail. MipCreateCustomInterface()

Parameters

TUid aUidUsed to indicate which interface is required.

MipDisconnectTunnel()

IMPORT_C voidMipDisconnectTunnel()

Asynchronous function used to disconnect a tunnelled port, and thus stop the data processing.

MipFreeBuffer(CMMFBuffer *)

IMPORT_C TIntMipFreeBuffer(CMMFBuffer *aBuffer)

Synchronous function used to instruct the OpenMAX Input Port to free the buffer given passed in the function's argument.

Parameters

CMMFBuffer * aBufferThe buffer to be freed

MipGetConfig(TPuConfig &)

IMPORT_C TIntMipGetConfig(TPuConfig &aConfigurationSetup)

Synchronous method which gets a configuration structure for the OpenMAX Input Port

Parameters

TPuConfig & aConfigurationSetupThe reference to the structure that is to contain the configuration information.

MipIndex()

IMPORT_C TIntMipIndex()const

Synchronous function used to get the OpenMAX Input Port index

MipInitialize()

IMPORT_C voidMipInitialize()

Synchronous function used to initialise the OpenMAX Input Port.

MipIsTunnelled()

IMPORT_C TBoolMipIsTunnelled()const

Synchronous function used to find out if an OpenMAX Input Port is tunnelled or not.

MipRestartTunnel()

IMPORT_C voidMipRestartTunnel()

Asynchronous function used to restart the data processing of a tunnelled port.

MipSetObserver(const MMdfInputPortObserver &)

IMPORT_C voidMipSetObserver(const MMdfInputPortObserver &aInputPortObserver)

Synchronous function used to set the observer for the OpenMAX Input Port.

Parameters

const MMdfInputPortObserver & aInputPortObserverThe observer of the OpenMAX Input Port.

MipTunnelRequest(const MMdfOutputPort &, TTunnelFlags &, TSupplierType &)

IMPORT_C TIntMipTunnelRequest(const MMdfOutputPort &aOutputPortToBeConnectedTo,
TTunnelFlags &aTunnelFlags,
TSupplierType &aSupplierType
)

Synchronous function used to request the set up of a tunnel between this OpenMAX Input Port and an OpenMAX Output Port.

Parameters

const MMdfOutputPort & aOutputPortToBeConnectedToReference to the Output Port to be connected to.
TTunnelFlags & aTunnelFlagsControl flags for tunneling
TSupplierType & aSupplierTypeSpecifies the supplier of the buffers for the tunnel.

MipUseBuffer(CMMFBuffer &)

IMPORT_C TIntMipUseBuffer(CMMFBuffer &aBuffer)

Synchronous function used to instruct the OpenMAX Input Port to use the buffer passed in the function's argument.

Parameters

CMMFBuffer & aBufferThe buffer to be used by the Input Port.

MipWriteData(CMMFBuffer &)

IMPORT_C voidMipWriteData(CMMFBuffer &aBuffer)

Asynchronous function used to write data to the OpenMAX Input Port.

Parameters

CMMFBuffer & aBufferReference to the buffer containing data.

Observer()

IMPORT_C MMdfInputPortObserver *Observer()const [protected]

Synchronous function used to return the observer for the OpenMAx Input Port.

Member Data Documentation

CBody * iBody

CBody *iBody[private]