#include <ExifImageDisplayExt.h>
This item is not part of the S60 5th Edition SDK
Class MExifImageDisplayExtension
class MExifImageDisplayExtension : public MImageDisplayPluginExtension;
Description
This class extends the functionality of the Image Display Library client API defined in the class CImageDisplay
. This extension is supported only by the EXIF-specific framework plug-ins. In order to invoke the extended functionality,
the user needs to call the CImageDisplay::ExtensionInterface(TUid,TAny *&)
with the KExifImageDisplayExtensionUid interface UID and an interface pointer to the object of this class.
Derivation
MExifImageDisplayExtension
- This class extends the functionality of the Image Display Library client API def...
Members
Defined in MExifImageDisplayExtension
:
Inherited from MImageDisplayPluginExtension
:
Release()
Can be called to indicate that extension is no longer needed
Uid()const
Get a Uid by which a plugin extension can be identified.
Member functions
GetExifMetadataReader(MExifMetadataReader *&)
virtual TInt GetExifMetadataReader(MExifMetadataReader *&aPtr)=0;
Description
Obtains an MExifMetadataReader
that can be used to access the EXIF metadata of the image.
Parameters
Return value
TInt
|
A system-wide error code.
|
|
virtual TInt SetScaleQuality(TInt aQualityLevel)=0;
Description
Sets the level of quality for the scaling algorithm. If quality level is not set by calling this function then the fastest/lowest
quality algorithm is used. Note: This function must be called before calling CImageDisplay::Play()
Parameters
Return value
TInt
|
A system-wide error code.
|
|
SetMaximumReductionFactor(TInt)
virtual TInt SetMaximumReductionFactor(TInt aMaxReductionFactor)=0;
Description
Sets the maximum quality reduction factor for image decoding. By default, the plug-in calculates an optimal maximum reduction
factor and uses it to produce a series of roughly-decoded images, passing each of them to the observer interface with the
CImageDisplayPlugin::EStatusPartialFrame
flag set. Note: This function must be called before calling CImageDisplay::Play()
.
Parameters
TInt aMaxReductionFactor |
The maximum quality reduction factor. Usually the maximum reduction can be specfied in range of 0-3. A value of 0 means no
quality reduction is allowed, so a full-quality image will be decoded as the first frame. A value of 1 means (1/2)^1=1/2 of
the original image quality. A value of 3 means (1/2)^3=1/8 of the original image quality. If the reduction factor is not set
by calling this function then the reduction factor value of 3 is used for jpeg images.
|
|
Return value
TInt
|
KErrArgument if the aMaxReductionFactor parameter is not in the supported range, or a system-wide error code.
|
|