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.
Public Member Functions | |
---|---|
~CJPEGImageFrameEncoder() | |
IMPORT_C void | ConvertFrame(TRequestStatus *, const CImageFrame &) |
IMPORT_C void | ConvertFrame(TRequestStatus *, const CImageFrame &, const CFrameImageData *) |
IMPORT_C CJPEGImageFrameEncoder * | NewL() |
Protected Member Functions | |
---|---|
CJPEGImageFrameEncoder() |
Inherited Enumerations | |
---|---|
CImageEncoder:TOptions |
IMPORT_C | CJPEGImageFrameEncoder | ( | ) | [protected] |
Constructor for the CJPEGImageFrameEncoder class.
IMPORT_C | ~CJPEGImageFrameEncoder | ( | ) |
Destructor for the CJPEGImageFrameEncoder class.
IMPORT_C void | ConvertFrame | ( | 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.
TRequestStatus * aRequestStatus | Pointer 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 & aSrcFrame | A CImageFrame wrapping the image data to encode. |
IMPORT_C void | ConvertFrame | ( | 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.
TRequestStatus * aRequestStatus | Pointer 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 & aSrcFrame | A CImageFrame wrapping the image data to encode. |
const CFrameImageData * aFrameImageData | The frame image data. |
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.