CImageProcessorReadCodecExtension Class Reference

#include <icl/imagecodec.h>

Link against: imageconversion.lib

class CImageProcessorReadCodecExtension : public CImageProcessorReadCodec, public MReadCodecExtension

Inherits from

Public Member Functions
~CImageProcessorReadCodecExtension()
Protected Member Functions
CImageProcessorReadCodecExtension()
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()
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

CImageProcessorReadCodecExtension ( )

IMPORT_CCImageProcessorReadCodecExtension()[protected]

Constructor for this class.

~CImageProcessorReadCodecExtension ( )

IMPORT_C~CImageProcessorReadCodecExtension()

Destructor for this class.

Member Function Documentation

ConstructL ( )

IMPORT_C voidConstructL()[protected]

Reimplemented from CImageProcessorReadCodec::ConstructL()

Second phase constructor.

GetReducedSize ( const TSize &, TInt, TSize & )

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

Reimplemented from MReadCodecExtension::GetReducedSize(const TSize &,TInt,TSize &)const

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]

Reimplemented from MReadCodecExtension::ScalingCoefficient(const TSize &,const TSize &)const

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.