#include <iclexifimageframe.h>
Link against: jpegimageframeplugin.lib
class CJPEGImageFrameEncoder : public 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 |
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.
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.
Parameters | |
---|---|
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. |
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.
Parameters | |
---|---|
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. |
aSrcFrame | A CImageFrame wrapping the image data to encode. |
aFrameImageData | The frame image data. |
IMPORT_C CJPEGImageFrameEncoder * | NewL | ( | ) | [static] |
Reimplemented from CJPEGExifEncoder::NewL()
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.