|
|
|
class CJPEGExifDecoder : public CImageDecoder;
Provides access to the exif jpeg decoder.
This class provides functions to decode jpeg images held in files or descriptors.
CBase -
Base class for all classes to be instantiated on the heap.
CImageDecoder -
Provides access to the Image Conversion Library decoders.
CJPEGExifDecoder -
Provides access to the exif jpeg decoder.
Defined in CJPEGExifDecoder:
ConstructL()Initialises an exif decoder.ExifMetadata()gets the metadata associated to this instance of the decoderNewL()Constructs a new exif decoder.Inherited from CBase:
Delete(CBase *)Deletes the specified object.Extension_(TUint,TAny *&,TAny *)Extension function operator new(TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)Initialises the object to binary zeroes.operator new(TUint,TLeave)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)Allocates the object from the heap and then initialises its contents to binary z...Inherited from CImageDecoder:
Cancel()Cancels any conversions currently in progress (Cancel is synchronous). ContinueConvert(TRequestStatus *)Continue decoding a frame and/or mask after new image data was added to the sour...ContinueProcessingHeaderL()Continue processing image headers after new image data was added to the source f...Convert(TRequestStatus *,CFbsBitmap &,CFbsBitmap &,TInt)Start decoding an image frame and mask asynchronously.Convert(TRequestStatus *,CFbsBitmap &,TInt)Start decoding an image frame asynchronously.CustomAsync(TRequestStatus *,TInt)Sets up background convert cycle, bypassing CImageDecoder::Convert(TRequestStatu...CustomSyncL(TInt)Calls CImageDecoderPlugin::HandleCustomSyncL(aParam) that executes user defined ...DataNewL(RFs &,const TDesC8 &,const TDesC8 &,const TOptions)Create a decoder for the image in the source buffer. The client supplies a MIME ...DataNewL(RFs &,const TDesC8 &,const TOptions,const TUid,const TUid,const TUid)Creates a decoder for the image in the source buffer.EAllowGeneratedMaskSetting this flag requests that the plugin generate a mask during decoding.EImageTypeMainUse the main imageEImageTypeThumbnailUse the thumbnail as source imageEOptionAllowZeroFrameOpenAllow Opens to complete with no error if there is less than one frame available....EOptionAlwaysThreadPerform the decoding in a separate threadEOptionExtReserved7Reserved.EOptionExtReserved8Reserved.EOptionIgnoreExifMetaDataWhen specified, this flag indicates that the decoder must ignore the EXIF meta-d...EOptionNoDitherDo not dither the decoded imageEOptionNoneNo flag setEPreferFastDecodeUse the highest possible image decoding speed; this may result in lower image qu...FileNewL(RFs &,const TDesC &,const TDesC8 &,const TOptions)Create a decoder for the image in the named file. The client supplies a MIME typ...FileNewL(RFs &,const TDesC &,const TOptions,const TUid,const TUid,const TUid)Create a decoder for the image in the named file.FileNewL(RFs &,const TMMSource &,const TDesC8 &,const TOptions)Create a decoder for the image in the named file. The client supplies a MIME typ...FileNewL(RFs &,const TMMSource &,const TOptions,const TUid,const TUid,const TUid)Create a decoder for the image in the named source.FrameCommentL(TInt,TInt)constReturn a particular comment attached to a given frame of the image.FrameCount()constReturn the number of frames in the image being decoded.FrameData(TInt)constReturns additional plugin specific information on a specified frame.FrameInfo(TInt)constReturn the frame info for a specified frame of the image.FrameInfoStringsL(TInt)Return the formatted frame information strings for a specific frame. Ownership i...FrameInfoStringsLC(TInt)Return the formatted frame information strings for a specific frame and leave it...GetFileTypesL(RFileExtensionMIMETypeArray &)Get a list of the file extensions that can be decoded and their corresponding MI...GetImageSubTypesL(const TUid,RImageTypeDescriptionArray &)For a given basic image type, get a list of the sub image types that can be deco...GetImageTypesL(RImageTypeDescriptionArray &)Get a list of the basic image types that can be decoded, based on the currently ...GetImplementationInformationL(TUid)Gets the implementation information for a specific decoder pluginGetMimeTypeDataL(const TDesC8 &,TDes8 &)Get the primary MIME type of the decoder that will be used to decode a descripto...GetMimeTypeFileL(RFs &,const TDesC &,TDes8 &)Get the primary MIME type of the decoder that will be used to decode a file. Som...ImageCommentL(TInt)constReturn a particular comment attached to the image.ImageType(TInt,TUid &,TUid &)constRetrieves the image type and sub-type for a given frame of the image that has ju...ImplementationUid()constReturn the implementation UID of the decoder being used to decode the image.IsImageHeaderProcessingComplete()constReturn the status of the image.NumberOfFrameComments(TInt)constReturn the number of comments attached to a given frame of the image (as opposed...NumberOfImageComments()constReturn the number of comments attached to the image (as opposed to a particular ...Plugin()constReturns associated CImageDecoderPlugin.ReducedSize(const TSize &,TInt,TSize &)constCalculates reduced size of the decoded bitmap based on the input parameters and ...ReductionFactor(const TSize &,const TSize &)constFunction to calculate the reduction factor based on the input parameters.SetDecoderThreadPriority(TThreadPriority)Set the decoder worker thread prioritySetImageTypeL(TInt)Set the source image type, this can be any value from TImageType. It can leave w...TImageTypeFlags to control which image is decoded. This can be used when the source file o...TOptionsFlags to control how the image is decoded. These can be combined using an OR ope...IMPORT_C static CJPEGExifDecoder* NewL();
Constructs a new exif decoder.
A leave occurs if there is insufficient memory available.
|
protected: IMPORT_C void ConstructL();
Initialises an exif decoder.
A leave occurs if the associated ICL plugin could not be instanciated
IMPORT_C MExifMetadata* ExifMetadata();
gets the metadata associated to this instance of the decoder
NULL is returned if no metadata was found
|