CJPEGImageFrameEncoder Class Reference

class CJPEGImageFrameEncoder : public CJPEGExifEncoder

This class provides access to an extension of the EXIF JPEG encoder that supports encoding JPEG images from a source of type CImageFrame to either a file or a descriptor.

This is an addition to the features provided by CJPEGExifEncoder.

Inherits from

Public Member Functions
~CJPEGImageFrameEncoder()
IMPORT_C voidConvertFrame(TRequestStatus *, const CImageFrame &)
IMPORT_C voidConvertFrame(TRequestStatus *, const CImageFrame &, const CFrameImageData *)
IMPORT_C CJPEGImageFrameEncoder *NewL()
Protected Member Functions
CJPEGImageFrameEncoder()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CImageEncoder::BlockStreamerL()
CImageEncoder::CImageEncoder()
CImageEncoder::Cancel()
CImageEncoder::Convert(TRequestStatus *,const CFbsBitmap &,const CFrameImageData *)
CImageEncoder::CustomAsync(TRequestStatus *,TInt)
CImageEncoder::CustomSyncL(TInt)
CImageEncoder::DataNewL(HBufC8 *&,const TDesC8 &,const TOptions)
CImageEncoder::DataNewL(HBufC8 *&,const TOptions,const TUid,const TUid,const TUid)
CImageEncoder::FileNewL(RFile &,const TDesC8 &,const TOptions)
CImageEncoder::FileNewL(RFile &,const TOptions,const TUid,const TUid,const TUid)
CImageEncoder::FileNewL(RFs &,const TDesC &,const TDesC8 &,const TOptions)
CImageEncoder::FileNewL(RFs &,const TDesC &,const TOptions,const TUid,const TUid,const TUid)
CImageEncoder::GetFileTypesL(RFileExtensionMIMETypeArray &)
CImageEncoder::GetImageSubTypesL(const TUid,RImageTypeDescriptionArray &)
CImageEncoder::GetImageTypesL(RImageTypeDescriptionArray &)
CImageEncoder::GetInterfaceImplementationsL(const RUidDataArray &,RUidDataArray &)
CImageEncoder::GetInterfaceImplementationsL(const TUid *,const TInt,RUidDataArray &)
CImageEncoder::GetPluginPropertiesL(const TUid,RUidDataArray &)
CImageEncoder::ImplementationUid()const
CImageEncoder::OperationL()
CImageEncoder::Plugin()const
CImageEncoder::Prepare(TRequestStatus *)
CImageEncoder::SetEncoderThreadPriority(TThreadPriority)
CImageEncoder::SetThumbnail(TBool)
CImageEncoder::~CImageEncoder()
CJPEGExifEncoder::CJPEGExifEncoder()
CJPEGExifEncoder::ConstructL()
CJPEGExifEncoder::ExifMetadata()
CJPEGExifEncoder::~CJPEGExifEncoder()
Inherited Enumerations
CImageEncoder:TOptions

Constructor & Destructor Documentation

CJPEGImageFrameEncoder()

IMPORT_CCJPEGImageFrameEncoder()[protected]

Constructor for the CJPEGImageFrameEncoder class.

~CJPEGImageFrameEncoder()

IMPORT_C~CJPEGImageFrameEncoder()

Destructor for the CJPEGImageFrameEncoder class.

Member Functions Documentation

ConvertFrame(TRequestStatus *, const CImageFrame &)

IMPORT_C voidConvertFrame(TRequestStatus *aRequestStatus,
const CImageFrame &aSrcFrame
)

Basic encode convert call for sources of type CImageFrame.

This convert call is a standard asynchronous operation. It takes a pointer to the TRequestStatus object of the waiting active object in the main application which will be signalled when the operation is completed.

Parameters

TRequestStatus * aRequestStatusPointer to the TRequestStatus object that is signalled on completion. Contains an error code. KErrNone if frame was decoded successfully, otherwise another of the system-wide error codes.
const CImageFrame & aSrcFrameA CImageFrame wrapping the image data to encode.

ConvertFrame(TRequestStatus *, const CImageFrame &, const CFrameImageData *)

IMPORT_C voidConvertFrame(TRequestStatus *aRequestStatus,
const CImageFrame &aSrcFrame,
const CFrameImageData *aFrameImageData
)

Basic encode convert call for sources of type CImageFrame.

This convert call is a standard asynchronous operation. It takes a pointer to the TRequestStatus object of the waiting active object in the main application which will be signalled when the operation is completed.

Allows the client to provide the frame image data in the same way as standard CImageEncoder::Convert() calls.

The aFrameImageData parameter in this call provides additional jpeg image data that can be used by the plugin to provide transcoding to a different format to the one used in the source CImageFrame. How this information is used is plugin implementation specific.

Parameters

TRequestStatus * aRequestStatusPointer to the TRequestStatus object that is signalled on completion. Contains an error code. KErrNone if frame was decoded successfully, otherwise another of the system-wide error codes.
const CImageFrame & aSrcFrameA CImageFrame wrapping the image data to encode.
const CFrameImageData * aFrameImageDataThe frame image data.

NewL()

IMPORT_C CJPEGImageFrameEncoder *NewL()[static]

A factory function that constructs a JPEG CImageFrame encoder as an extension of the ICL EXIF encoder.

A leave occurs if there is insufficient memory available.