#include <iclexifimageframe.h>
Link against: jpegimageframeplugin.lib
class CJPEGImageFrameDecoderPlugin : public CJPEGExifDecoderPlugin |
Public Member Functions | |
---|---|
~CJPEGImageFrameDecoderPlugin() | |
IMPORT_C CImageFrame & | DstImageFrame() |
IMPORT_C TUid | FormatCode() |
IMPORT_C TInt | FrameNumber() |
TInt | RecommendedBufferSize() |
void | SetConvertParameters(CImageFrame &, TInt) |
void | SetFormatCode(TUid) |
IMPORT_C void | SetRecommendedBufferSize(TInt) |
Protected Member Functions | |
---|---|
CJPEGImageFrameDecoderPlugin() |
This is the plugin API for Image Converter Library decoder plugins relating to CImageFrames.
It is an extension of the ICL EXIF decoder plugin which provides a container for specific data required to decode a JPEG file or descriptor to a destination of type CImageFrame.
IMPORT_C | CJPEGImageFrameDecoderPlugin | ( | ) | [protected] |
Constructor for the CJPEGImageFrameDecoderPlugin class.
IMPORT_C | ~CJPEGImageFrameDecoderPlugin | ( | ) |
Destructor for the CJPEGImageFrameDecoderPlugin class.
IMPORT_C CImageFrame & | DstImageFrame | ( | ) |
Returns the destination CImageFrame stored in this plugin extension.
IMPORT_C TUid | FormatCode | ( | ) | const |
Returns a format code stored in this plugin extension. This format code can be used to calculate the recommended buffer size needed to decode the image and it may not be the format code finally used for decoding.
See also: imageframeformats.hrh
IMPORT_C TInt | FrameNumber | ( | ) | const |
Returns the frame number (in a multi-frame image to be decoded) stored in this plugin extension.
TInt | RecommendedBufferSize | ( | ) |
Returns the recommended buffer size stored in the CImageFrame decoder plugin extension.
void | SetConvertParameters | ( | CImageFrame & | aDestFrame, |
TInt | aFrameNumber | |||
) |
Sets the destination CImageFrame and the Frame Number in the CImageFrame decoder plugin extension
IMPORT_C void | SetRecommendedBufferSize | ( | TInt | aBufferSize | ) |
Stores in this plugin extension the recommended buffer size to use when decoding the image contained in a file or descriptor.
Parameters | |
---|---|
aBufferSize | The recommended buffer size to use, in bytes. |