COmxOutputPort Class Reference
class COmxOutputPort : public CBase
|
Base class for OpenMAX Output Ports.
Nested Classes and Structures
Constructor & Destructor Documentation
COmxOutputPort()
IMPORT_C
|
COmxOutputPort
|
(
|
)
|
[protected]
|
~COmxOutputPort()
IMPORT_C
|
~COmxOutputPort
|
(
|
)
|
[protected]
|
Member Functions Documentation
Component()
Synchronous function used to return the OpenMAX Processing Unit this Output Port belongs to.
ConstructL(TInt, COmxProcessingUnit *)
ConstructL. Must be used by derived class to create the component
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)
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 &)
Synchronous function used to configure the OpenMAX Output Port.
Parameters
const
TPuConfig
& aConfiguration
|
Holds the configuration parameters for the Output Port.
|
MopCreateBuffer(TInt)
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 *)
Synchronous function used to instruct the OpenMAX Output Port to free the buffer passed in the function's argument.
MopGetConfig(TPuConfig &)
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 &)
Synchronous function used to set the observer for the OpenMAX Output Port.
MopTunnelRequest(const MMdfInputPort &, TTunnelFlags &, TSupplierType &)
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 &)
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()
Synchronous function used to return the observer for the OpenMAx Output Port.
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.