#include <icl/imagecodec.h>
Link against: imageconversion.lib
class CImageProcessorReadCodecExtension : public CImageProcessorReadCodec, public MReadCodecExtension |
Public Member Functions | |
---|---|
~CImageProcessorReadCodecExtension() |
Protected Member Functions | |
---|---|
CImageProcessorReadCodecExtension() | |
IMPORT_C void | ConstructL() |
virtual IMPORT_C TInt | GetReducedSize(const TSize &, TInt, TSize &) |
virtual IMPORT_C TInt | ScalingCoefficient(const TSize &, const TSize &) |
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.
IMPORT_C | CImageProcessorReadCodecExtension | ( | ) | [protected] |
Constructor for this class.
IMPORT_C | ~CImageProcessorReadCodecExtension | ( | ) |
Destructor for this class.
IMPORT_C void | ConstructL | ( | ) | [protected] |
Reimplemented from CImageProcessorReadCodec::ConstructL()
Second phase constructor.
IMPORT_C TInt | GetReducedSize | ( | const TSize & | aOriginalSize, |
TInt | aScalingCoeff, | |||
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 | |
---|---|
aOriginalSize | A reference to the original size of an image. |
aScalingCoeff | The scaling coefficient to be applied. |
aReducedSize | A reference to the new size of an image. |
IMPORT_C TInt | ScalingCoefficient | ( | const TSize & | aOriginalSize, |
const TSize & | aDesiredSize | |||
) | const [protected, virtual] |
Reimplemented from MReadCodecExtension::ScalingCoefficient(const TSize &,const TSize &)const
Obtains the scaling coefficient
Parameters | |
---|---|
aOriginalSize | A reference to the original size of an image. |
aDesiredSize | A reference to the desired size of an image. |