CImageMaskProcessorReadCodecExtension Class Reference

#include <icl/imagecodec.h>

Link against: imageconversion.lib

class CImageMaskProcessorReadCodecExtension : public CImageMaskProcessorReadCodec, public MReadCodecExtension
Public Member Functions
~CImageMaskProcessorReadCodecExtension()
Protected Member Functions
CImageMaskProcessorReadCodecExtension()
IMPORT_C voidConstructL()
virtual IMPORT_C TIntGetReducedSize(const TSize &, TInt, TSize &)
virtual IMPORT_C TIntScalingCoefficient(const TSize &, const TSize &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CImageMaskProcessorReadCodec::CImageMaskProcessorReadCodec()
CImageMaskProcessorReadCodec::MaskProcessor()const
CImageMaskProcessorReadCodec::SetMaskProcessor(CImageProcessor *)
CImageMaskProcessorReadCodec::~CImageMaskProcessorReadCodec()
CImageProcessorReadCodec::CImageProcessorReadCodec()
CImageProcessorReadCodec::ImageProcessor()const
CImageProcessorReadCodec::Pos()
CImageProcessorReadCodec::Pos()const
CImageProcessorReadCodec::SetImageProcessor(CImageProcessor *)
CImageProcessorReadCodec::SetPos(const TPoint &)
CImageProcessorReadCodec::~CImageProcessorReadCodec()
CImageReadCodec::CImageReadCodec()
CImageReadCodec::ClearBitmapL(CFbsBitmap &,TRgb)
CImageReadCodec::Complete()
CImageReadCodec::CurrentFrame()const
CImageReadCodec::GetNewDataPosition(TInt &,TInt &)
CImageReadCodec::InitFrameHeader(TFrameInfo &,CFrameImageData &)
CImageReadCodec::InitFrameL(TFrameInfo &,CFrameImageData &,TBool,CFbsBitmap &,CFbsBitmap *)
CImageReadCodec::ProcessFrameHeaderL(TBufPtr8 &)
CImageReadCodec::ProcessFrameL(TBufPtr8 &)
CImageReadCodec::ReducedSize(const TSize &,TInt,TSize &)const
CImageReadCodec::ReductionFactor(const TSize &,const TSize &)const
CImageReadCodec::SetCurrentFrame(TInt)
CImageReadCodec::~CImageReadCodec()

Detailed Description

Provides functions to determine or set features of the codec's CImageProcessor plus provide extra functionality for Framework Extensions.

Note: For use by plugin writers only.

Constructor & Destructor Documentation

CImageMaskProcessorReadCodecExtension ( )

IMPORT_CCImageMaskProcessorReadCodecExtension()[protected]

~CImageMaskProcessorReadCodecExtension ( )

IMPORT_C~CImageMaskProcessorReadCodecExtension()

Member Function Documentation

ConstructL ( )

IMPORT_C voidConstructL()[protected]

Second phase constructor.

GetReducedSize ( const TSize &, TInt, TSize & )

IMPORT_C TIntGetReducedSize(const TSize &aOriginalSize,
TIntaScalingCoeff,
TSize &aReducedSize
)const [protected, virtual]

Obtains the reduced size of the decoded bitmap based on the input parameters and updates aReducedSize with this value.

Parameters
aOriginalSizeA reference to the original size of an image.
aScalingCoeffThe scaling coefficient to be applied.
aReducedSizeA reference to the new size of an image.
Return Value
KErrNone If the function call was successful. A range of system wide error values.

ScalingCoefficient ( const TSize &, const TSize & )

IMPORT_C TIntScalingCoefficient(const TSize &aOriginalSize,
const TSize &aDesiredSize
)const [protected, virtual]

Obtains the scaling coefficient

Parameters
aOriginalSizeA reference to the original size of an image.
aDesiredSizeA reference to the desired size of an image.
Return Value
The scaling coefficient, for example: Original size = 1 or -1, Half original size = -2, Quarter original size = -3 etc.