#include <icl/imagecodec.h>
class MReadCodecExtension |
Public Member Functions | |
---|---|
pure virtual TInt | GetReducedSize(const TSize &, TInt, TSize &) |
pure virtual TInt | ScalingCoefficient(const TSize &, const TSize &) |
Interface to be used by read codec implementations in conjunction with framework extension.
TInt | GetReducedSize | ( | const TSize & | aOriginalSize, |
TInt | aScalingCoeff, | |||
TSize & | aReducedSize | |||
) | const [pure virtual] |
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. |
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. |