Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: mmfvideoframebuffer.h
Link against: mmfserverbaseclasses.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CMMFBitmapFrameBuffer

class CMMFBitmapFrameBuffer : public CMMFBuffer;

Description

Class to store a frame of video data using an EPOC bitmap (RGB data).

Derivation

Members

Defined in CMMFBitmapFrameBuffer:
BufferSize(), Data(), NewL(), NewL(), ~CMMFBitmapFrameBuffer()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CMMFBuffer:
FrameNumber(), IsFileServerSafe(), IsSupportedDataBuffer(), LastBuffer(), NextFrame(), Position(), RequestSize(), SetFrameNumber(), SetLastBuffer(), SetPosition(), SetStatus(), SetTimeToPlay(), Status(), TimeToPlay(), Type(), iFrameNumber, iLastBuffer, iPosition, iRequestSize, iStatus, iTimeToPlay, iType


Construction and destruction


~CMMFBitmapFrameBuffer()

IMPORT_C ~CMMFBitmapFrameBuffer();

Description

Destructor.


NewL()

static IMPORT_C CMMFBitmapFrameBuffer *NewL(const TSize &aSize, TDisplayMode aDisplayMode);

Description

Factory function to create objects of type CMMFBitmapFrameBuffer used to store a frame an EPOC bitmap. Allocates and constructs a bitmap frame buffer with the specified size and display mode.

Parameters

const TSize &aSize

The bitmap frame buffer size.

TDisplayMode aDisplayMode

The display mode.

Return value

CMMFBitmapFrameBuffer *

A pointer to a fully constructed CMMFBitmapFrameBuffer.


NewL()

static IMPORT_C CMMFBitmapFrameBuffer *NewL(TInt aBitmapHandle);

Description

Factory function to create objects of type CMMFBitmapFrameBuffer used to store a frame using an EPOC bitmap.

Parameters

TInt aBitmapHandle

The handle to the bitmap from which to make a copy.

Return value

CMMFBitmapFrameBuffer *

A pointer to a fully constructed CMMFBitmapFrameBuffer.

[Top]


Member functions


BufferSize()

virtual inline TUint BufferSize() const;

Description

Dummy implementation. Not applicable to bitmap frame data.

Return value

TUint

Always zero for bitmap frames


Data()

inline CFbsBitmap *Data();

Description

Retrieves the frame data.

Return value

CFbsBitmap *

A pointer to a bitmap containing the frame data.