MOmxILComponentIfObserver Class Reference

class MOmxILComponentIfObserver

OpenMAX component interface observer class. This is an internal interface class that encapsulates and represents the OpenMAX callback API as defined by the OpenMAX specification.

Member Functions Documentation

EmptyBufferDone(const CMMFBuffer *, TInt)

TInt EmptyBufferDone ( const CMMFBuffer * aBuffer,
TInt aPortIndex
) [pure virtual]

Callback method that returns the buffer that has been emptied.

Parameters

const CMMFBuffer * aBuffer The buffer returned by the OpenMAX component.
TInt aPortIndex The OpenMAX component's port index returning the buffer.

EventHandler(OMX_EVENTTYPE, TUint32, TUint32, TAny *)

TInt EventHandler ( OMX_EVENTTYPE aEvent,
TUint32 aData1,
TUint32 aData2,
TAny * aExtraInfo
) [pure virtual]

Callback method used by the component to notify the client application of a particular event.

Parameters

OMX_EVENTTYPE aEvent Event the component wants to notify the application about.
TUint32 aData1 The first integer event-specific parameter.
TUint32 aData2 The second integer event-specific parameter.
TAny * aExtraInfo A pointer to additional event-specific data the component wants to send to the application. The component owns the memory.

FillBufferDone(CMMFBuffer *, TInt)

TInt FillBufferDone ( CMMFBuffer * aBuffer,
TInt aPortIndex
) [pure virtual]

Callback method that returns the buffer that has been filled.

Parameters

CMMFBuffer * aBuffer The buffer returned by the OpenMAX component.
TInt aPortIndex The OpenMAX component's port index returning the buffer.