CImageWriteCodec Class Reference

class CImageWriteCodec : public CBase

Provides read related processing functions for bitmaps.

Note: For use by plugin writers only.

Inherits from

Constructor & Destructor Documentation

CImageWriteCodec()

IMPORT_CCImageWriteCodec()[protected]

Default constructor.

~CImageWriteCodec()

IMPORT_C~CImageWriteCodec()

Destructor.

Member Functions Documentation

ConstructL()

IMPORT_C voidConstructL()[protected]

Second phase constructor.

InitFrameL(TBufPtr8 &, const CFbsBitmap &)

IMPORT_C voidInitFrameL(TBufPtr8 &aDst,
const CFbsBitmap &aSource
)[virtual]

Performs initial processing of image data from an internally held buffer.

Used to initialise the frame header. The default version of this function does nothing. It should be implemented by the codec, if required.

Parameters

TBufPtr8 & aDstThe destination buffer.
const CFbsBitmap & aSourceThe source internally held buffer.

ProcessFrameL(TBufPtr8 &)

TFrameState ProcessFrameL(TBufPtr8 &aDst)[pure virtual]

Processes the frame data contained in aDst.

The internally held buffer must have been previously set, either by InitFrameL() or by a SetSource().

This is a pure virtual function that each derived class must implement.

Parameters

TBufPtr8 & aDstA reference to the buffer containing the frame data.

ReservedVirtual1()

IMPORT_C voidReservedVirtual1()[private, virtual]

Intended for future proofing - will panic if called

panic
ImageConversion 30

ReservedVirtual2()

IMPORT_C voidReservedVirtual2()[private, virtual]

Intended for future proofing - will panic if called

panic
ImageConversion 30

ReservedVirtual3()

IMPORT_C voidReservedVirtual3()[private, virtual]

Intended for future proofing - will panic if called

panic
ImageConversion 30

ReservedVirtual4()

IMPORT_C voidReservedVirtual4()[private, virtual]

Intended for future proofing - will panic if called

panic
ImageConversion 30

SetSource(const CFbsBitmap *)

IMPORT_C voidSetSource(const CFbsBitmap *aSource)

Sets the codec's source bitmap.

Use this function if you need to process more than one internally held buffer. This will be necessary if, for example, you need to add a bitmap mask to the destination buffer.

Parameters

const CFbsBitmap * aSourceA pointer to the codec's source bitmap.

Source()

IMPORT_C const CFbsBitmap *Source()const

Returns the codec's source bitmap.

Member Data Documentation

const CFbsBitmap * iSource

const CFbsBitmap *iSource[private]