COmxBufferManager Class Reference

class COmxBufferManager : public CBase

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

COmxBufferManager(OMX_COMPONENTTYPE *)

COmxBufferManager(OMX_COMPONENTTYPE *aHandle)

Parameters

OMX_COMPONENTTYPE * aHandle

~COmxBufferManager()

~COmxBufferManager()

Member Functions Documentation

AllocateBufferL(TUint, TUint)

CMMFBuffer *AllocateBufferL(TUintnPortIndex,
TUintnSizeBytes
)

Parameters

TUint nPortIndex
TUint nSizeBytes

EmptyThisBuffer(const CMMFBuffer *, MOmxILComponentIfObserver *)

TInt EmptyThisBuffer(const CMMFBuffer *aBuffer,
MOmxILComponentIfObserver *aObserver
)

Parameters

const CMMFBuffer * aBuffer
MOmxILComponentIfObserver * aObserver

FillThisBuffer(CMMFBuffer *, MOmxILComponentIfObserver *)

TInt FillThisBuffer(CMMFBuffer *aBuffer,
MOmxILComponentIfObserver *aObserver
)

Parameters

CMMFBuffer * aBuffer
MOmxILComponentIfObserver * aObserver

FindBuffer(const CMMFBuffer *)

COmxBuffer *FindBuffer(const CMMFBuffer *aBuffer)const

Parameters

const CMMFBuffer * aBuffer

FindBuffer(OMX_BUFFERHEADERTYPE *)

COmxBuffer *FindBuffer(OMX_BUFFERHEADERTYPE *aBuffer)const

Parameters

OMX_BUFFERHEADERTYPE * aBuffer

FreeBuffer(CMMFBuffer *)

TInt FreeBuffer(CMMFBuffer *aBuffer)

Parameters

CMMFBuffer * aBuffer

StoreBufferL(OMX_BUFFERHEADERTYPE *, CMMFBuffer *)

voidStoreBufferL(OMX_BUFFERHEADERTYPE *aBufferHeader,
CMMFBuffer *aBuffer
)

Parameters

OMX_BUFFERHEADERTYPE * aBufferHeader
CMMFBuffer * aBuffer

UseBuffer(CMMFBuffer &, TUint)

TInt UseBuffer(CMMFBuffer &aBuffer,
TUintnPortIndex
)

Parameters

CMMFBuffer & aBuffer
TUint nPortIndex

Member Data Documentation

RPointerArray< COmxBuffer > iBuffers

RPointerArray< COmxBuffer >iBuffers[private]

OMX_COMPONENTTYPE * iHandle

OMX_COMPONENTTYPE *iHandle[private]