CMMFBitmapFrameBuffer Class Reference

#include "mmfvideoframebuffer.h"

Link against: mmfserverbaseclasses.lib

class CMMFBitmapFrameBuffer : public CMMFBuffer

Inherits from

Detailed Description

Deprecated

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

Constructor & Destructor Documentation

~CMMFBitmapFrameBuffer ( )

IMPORT_C~CMMFBitmapFrameBuffer()

Destructor.

Member Function Documentation

BufferSize ( )

TUint BufferSize()const [inline, virtual]

Reimplemented from CMMFBuffer::BufferSize()const

Dummy implementation. Not applicable to bitmap frame data.

Returns: Always zero for bitmap frames

Data ( )

CFbsBitmap *Data()[inline]

Retrieves the frame data.

Returns: A pointer to a bitmap containing the frame data.

NewL ( const TSize &, TDisplayMode )

IMPORT_C CMMFBitmapFrameBuffer *NewL(const TSize &aSize,
TDisplayModeaDisplayMode
)[static]

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.

ParameterDescription
aSizeThe bitmap frame buffer size.
aDisplayModeThe display mode.

Returns: A pointer to a fully constructed CMMFBitmapFrameBuffer.

NewL ( TInt )

IMPORT_C CMMFBitmapFrameBuffer *NewL(TIntaBitmapHandle)[static]

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

ParameterDescription
aBitmapHandleThe handle to the bitmap from which to make a copy.

Returns: A pointer to a fully constructed CMMFBitmapFrameBuffer.