class CImageWriteCodec : public CBase |
Provides read related processing functions for bitmaps.
Note: For use by plugin writers only.
Public Member Functions | |
---|---|
~CImageWriteCodec () | |
IMPORT_C void | InitFrameL ( TBufPtr8 &, const CFbsBitmap &) |
TFrameState | ProcessFrameL ( TBufPtr8 &) |
IMPORT_C void | SetSource (const CFbsBitmap *) |
IMPORT_C const CFbsBitmap * | Source () |
Protected Member Functions | |
---|---|
CImageWriteCodec () | |
IMPORT_C void | ConstructL () |
Private Member Functions | |
---|---|
IMPORT_C void | ReservedVirtual1 () |
IMPORT_C void | ReservedVirtual2 () |
IMPORT_C void | ReservedVirtual3 () |
IMPORT_C void | ReservedVirtual4 () |
Private Attributes | |
---|---|
const CFbsBitmap * | iSource |
IMPORT_C void | InitFrameL | ( | 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.
TBufPtr8 & aDst | The destination buffer. |
const CFbsBitmap & aSource | The source internally held buffer. |
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.
TBufPtr8 & aDst | A reference to the buffer containing the frame data. |
IMPORT_C void | ReservedVirtual1 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called
IMPORT_C void | ReservedVirtual2 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called
IMPORT_C void | ReservedVirtual3 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called
IMPORT_C void | ReservedVirtual4 | ( | ) | [private, virtual] |
Intended for future proofing - will panic if called
IMPORT_C void | SetSource | ( | 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.
const CFbsBitmap * aSource | A pointer to the codec's source bitmap. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.