COmxOutputPort Class Reference

class COmxOutputPort : public CBase

Base class for OpenMAX Output Ports.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

COmxOutputPort()

IMPORT_C COmxOutputPort ( ) [protected]

Constructor

~COmxOutputPort()

IMPORT_C ~COmxOutputPort ( ) [protected]

Destructor

Member Functions Documentation

Component()

IMPORT_C COmxProcessingUnit * Component ( ) const [protected]

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

ConstructL(TInt, COmxProcessingUnit *)

IMPORT_C void ConstructL ( TInt aIndex,
COmxProcessingUnit * aComponent
) [protected]

ConstructL. Must be used by derived class to create the component

Parameters

TInt aIndex
COmxProcessingUnit * aComponent

MipoDisconnectTunnelComplete(const MMdfInputPort *, TInt)

IMPORT_C void MipoDisconnectTunnelComplete ( const MMdfInputPort * aInputPort,
TInt aErrorCode
)

Called by an Input Port when MipDisconnectTunnel() has completed.

Parameters

const MMdfInputPort * aInputPort The Input Port which sent the callback.
TInt aErrorCode An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error codes.

MipoRestartTunnelComplete(const MMdfInputPort *, TInt)

IMPORT_C void MipoRestartTunnelComplete ( const MMdfInputPort * aInputPort,
TInt aErrorCode
)

Called by an Input Port when MipRestartTunnel() has completed.

Parameters

const MMdfInputPort * aInputPort The Input Port which sent the callback.
TInt aErrorCode An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error codes.

MipoWriteDataComplete(const MMdfInputPort *, CMMFBuffer *, TInt)

IMPORT_C void MipoWriteDataComplete ( const MMdfInputPort * aInputPort,
CMMFBuffer * aBuffer,
TInt aErrorCode
)

Called by an Input Port when MipWriteData() has completed.

Parameters

const MMdfInputPort * aInputPort The Input Port which sent the callback.
CMMFBuffer * aBuffer The data buffer which was written.
TInt aErrorCode An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error codes.

MopBufferSize()

IMPORT_C TUint32 MopBufferSize ( ) const

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

MopConfigure(const TPuConfig &)

IMPORT_C TInt MopConfigure ( const TPuConfig & aConfiguration )

Synchronous function used to configure the OpenMAX Output Port.

Parameters

const TPuConfig & aConfiguration Holds the configuration parameters for the Output Port.

MopCreateBuffer(TInt)

IMPORT_C CMMFBuffer * MopCreateBuffer ( TInt aBufferSize )

Synchronous function used to instruct the Output Port to create a buffer.

Parameters

TInt aBufferSize The size of the buffer to be created.

MopCreateCustomInterface(TUid)

IMPORT_C TInt MopCreateCustomInterface ( TUid aUid )

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

Parameters

TUid aUid Used to indicate which interface is required.

MopCustomInterface(TUid)

IMPORT_C TAny * MopCustomInterface ( TUid aUid )

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 aUid Used to indicate which interface is required.

MopDisconnectTunnel()

IMPORT_C void MopDisconnectTunnel ( )

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

MopFreeBuffer(CMMFBuffer *)

IMPORT_C TInt MopFreeBuffer ( CMMFBuffer * aBuffer )

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

Parameters

CMMFBuffer * aBuffer The buffer to be freed

MopGetConfig(TPuConfig &)

IMPORT_C TInt MopGetConfig ( TPuConfig & aConfigurationSetup )

Synchronous method which gets a configuration structure for the Output Port

Parameters

TPuConfig & aConfigurationSetup The reference to the structure that is to contain the configuration information

MopIndex()

IMPORT_C TInt MopIndex ( ) const

Synchronous function used to get the Output Port index

MopInitialize()

IMPORT_C void MopInitialize ( )

Synchronous function used to initialise the OpenMAX Output Port.

MopIsTunnelled()

IMPORT_C TBool MopIsTunnelled ( ) const

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

MopReadData(CMMFBuffer &)

IMPORT_C void MopReadData ( CMMFBuffer & aBuffer )

Asynchronous function used to read data from the Output Port.

Parameters

CMMFBuffer & aBuffer Reference to the buffer containing data.

MopRestartTunnel()

IMPORT_C void MopRestartTunnel ( )

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

MopSetObserver(const MMdfOutputPortObserver &)

IMPORT_C void MopSetObserver ( const MMdfOutputPortObserver & aOutputPortObserver )

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

Parameters

const MMdfOutputPortObserver & aOutputPortObserver The observer of the Output Port.

MopTunnelRequest(const MMdfInputPort &, TTunnelFlags &, TSupplierType &)

IMPORT_C TInt MopTunnelRequest ( const MMdfInputPort & aInputPortToBeConnectedTo,
TTunnelFlags & aTunnelFlags,
TSupplierType & aSupplierType
)

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

Parameters

const MMdfInputPort & aInputPortToBeConnectedTo Reference to the Input Port to be connected to.
TTunnelFlags & aTunnelFlags Control flags for tunneling
TSupplierType & aSupplierType Specifies the supplier of the buffers for the tunnel.

MopUseBuffer(CMMFBuffer &)

IMPORT_C TInt MopUseBuffer ( CMMFBuffer & aBuffer )

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

Parameters

CMMFBuffer & aBuffer The buffer to be used by the OpenMAX Output Port.

Observer()

IMPORT_C MMdfOutputPortObserver * Observer ( ) const [protected]

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

Member Data Documentation

CBody * iBody

CBody * iBody [private]