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,
TIntaPortIndex
)[pure virtual]

Callback method that returns the buffer that has been emptied.

Parameters

const CMMFBuffer * aBufferThe buffer returned by the OpenMAX component.
TInt aPortIndexThe OpenMAX component's port index returning the buffer.

EventHandler(OMX_EVENTTYPE, TUint32, TUint32, TAny *)

TInt EventHandler(OMX_EVENTTYPEaEvent,
TUint32aData1,
TUint32aData2,
TAny *aExtraInfo
)[pure virtual]

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

Parameters

OMX_EVENTTYPE aEventEvent the component wants to notify the application about.
TUint32 aData1The first integer event-specific parameter.
TUint32 aData2The second integer event-specific parameter.
TAny * aExtraInfoA 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,
TIntaPortIndex
)[pure virtual]

Callback method that returns the buffer that has been filled.

Parameters

CMMFBuffer * aBufferThe buffer returned by the OpenMAX component.
TInt aPortIndexThe OpenMAX component's port index returning the buffer.