#include <icl/imagecodec.h>
Link against: imageconversion.lib
| class CImageMaskProcessorReadCodecExtension : public CImageMaskProcessorReadCodec, public MReadCodecExtension |
| Public Member Functions | |
|---|---|
| ~CImageMaskProcessorReadCodecExtension() | |
| Protected Member Functions | |
|---|---|
| CImageMaskProcessorReadCodecExtension() | |
| 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 | CImageMaskProcessorReadCodecExtension | ( | ) | [protected] |
| IMPORT_C | ~CImageMaskProcessorReadCodecExtension | ( | ) |
| IMPORT_C void | ConstructL | ( | ) | [protected] |
Reimplemented from CImageMaskProcessorReadCodec::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. |