CJPEGImageFrameDecoderPlugin Class Reference

class CJPEGImageFrameDecoderPlugin : public CJPEGExifDecoderPlugin

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.

Inherits from

Public Member Functions
~CJPEGImageFrameDecoderPlugin()
IMPORT_C CImageFrame &DstImageFrame()
IMPORT_C TUidFormatCode()
IMPORT_C TIntFrameNumber()
TInt RecommendedBufferSize()
voidSetConvertParameters(CImageFrame &, TInt)
voidSetFormatCode(TUid)
IMPORT_C voidSetRecommendedBufferSize(TInt)
Protected Member Functions
CJPEGImageFrameDecoderPlugin()
Private Member Functions
IMPORT_C voidReserved1()
IMPORT_C voidReserved2()
IMPORT_C voidReserved3()
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()
CImageDecoderPlugin::AmInThread()const
CImageDecoderPlugin::AppendImageData(const TImageDataBlock *)
CImageDecoderPlugin::AppendImageDataBuffer(const HBufC8 *)
CImageDecoderPlugin::CImageDecoderPlugin()
CImageDecoderPlugin::Cleanup()
CImageDecoderPlugin::DataLength()const
CImageDecoderPlugin::DecoderOptions()const
CImageDecoderPlugin::Destination()const
CImageDecoderPlugin::DestinationMask()const
CImageDecoderPlugin::DoConvert()
CImageDecoderPlugin::FrameBlockSize(TInt)const
CImageDecoderPlugin::FrameCommentL(TInt,TInt)const
CImageDecoderPlugin::FrameData(TInt)const
CImageDecoderPlugin::FrameHeaderBlockSize(TInt)const
CImageDecoderPlugin::FrameInfo(TInt)const
CImageDecoderPlugin::FrameInfoStringsL(RFs &,TInt)
CImageDecoderPlugin::GetDestinationSize(TSize &,TInt)
CImageDecoderPlugin::GetExtensionL(TUid,MImageConvExtension *&)
CImageDecoderPlugin::HandleCustomSyncL(TInt)
CImageDecoderPlugin::HandleProcessFrameResult(TInt,TFrameState)
CImageDecoderPlugin::ImageCommentL(TInt)const
CImageDecoderPlugin::ImageData(TInt)const
CImageDecoderPlugin::ImageDataCount()const
CImageDecoderPlugin::ImageInfo()const
CImageDecoderPlugin::ImageReadCodec()const
CImageDecoderPlugin::ImageType(TInt,TUid &,TUid &)const
CImageDecoderPlugin::InitConvertL()
CImageDecoderPlugin::InitCustomAsyncL(TInt)
CImageDecoderPlugin::InsertImageData(const TImageDataBlock *,TInt)
CImageDecoderPlugin::IsImageHeaderProcessingComplete()const
CImageDecoderPlugin::NotifyComplete()
CImageDecoderPlugin::NumberOfFrameComments(TInt)const
CImageDecoderPlugin::NumberOfFrames()const
CImageDecoderPlugin::NumberOfImageComments()const
CImageDecoderPlugin::OpenExtraResourceFileLC(RFs &,const TUid,RResourceFile &)const
CImageDecoderPlugin::Position()const
CImageDecoderPlugin::PrepareForProcessFrameL()
CImageDecoderPlugin::ReadDataL(TInt,TPtrC8 &,TInt)
CImageDecoderPlugin::ReadFrameHeadersL()
CImageDecoderPlugin::RemoveImageData(TInt)
CImageDecoderPlugin::RequestComplete(TInt)
CImageDecoderPlugin::RequestInitL(TInt)
CImageDecoderPlugin::ScanDataL()
CImageDecoderPlugin::SelfComplete(TInt)
CImageDecoderPlugin::SetClippingRectL(const TRect *)
CImageDecoderPlugin::SetDataLength(TInt)
CImageDecoderPlugin::SetImageInfo(const TFrameInfo &)
CImageDecoderPlugin::SetImageReadCodec(CImageReadCodec *)
CImageDecoderPlugin::SetPosition(const TInt)
CImageDecoderPlugin::SetSelfPending()
CImageDecoderPlugin::SetStartPosition(TInt)
CImageDecoderPlugin::SetThumbnailData(HBufC8 *)
CImageDecoderPlugin::ShouldAbort()const
CImageDecoderPlugin::SourceData()
CImageDecoderPlugin::SourceLength()const
CImageDecoderPlugin::StartPosition()const
CImageDecoderPlugin::ValidDestination()const
CImageDecoderPlugin::ValidDestinationMask()const
CImageDecoderPlugin::~CImageDecoderPlugin()
CJPEGExifDecoderPlugin::ExifMetadata()
Private Attributes
CImageFrame *iDstImageFrame
TUid iFormatCode
TInt iFrameNumber
TInt iRecommendedBufferSize
TAny *iReserved

Constructor & Destructor Documentation

CJPEGImageFrameDecoderPlugin()

IMPORT_CCJPEGImageFrameDecoderPlugin()[protected]

Constructor for the CJPEGImageFrameDecoderPlugin class.

~CJPEGImageFrameDecoderPlugin()

IMPORT_C~CJPEGImageFrameDecoderPlugin()

Destructor for the CJPEGImageFrameDecoderPlugin class.

Member Functions Documentation

DstImageFrame()

IMPORT_C CImageFrame &DstImageFrame()

Returns the destination CImageFrame stored in this plugin extension.

FormatCode()

IMPORT_C TUidFormatCode()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.

imageframeformats.hrh

FrameNumber()

IMPORT_C TIntFrameNumber()const

Returns the frame number (in a multi-frame image to be decoded) stored in this plugin extension.

RecommendedBufferSize()

TInt RecommendedBufferSize()

Returns the recommended buffer size stored in the CImageFrame decoder plugin extension.

Reserved1()

IMPORT_C voidReserved1()[private, virtual]

Intended for future proofing - will panic if called.

panic
EReservedCall

Reserved2()

IMPORT_C voidReserved2()[private, virtual]

Intended for future proofing - will panic if called.

panic
EReservedCall

Reserved3()

IMPORT_C voidReserved3()[private, virtual]

Intended for future proofing - will panic if called.

panic
EReservedCall

SetConvertParameters(CImageFrame &, TInt)

voidSetConvertParameters(CImageFrame &aDestFrame,
TIntaFrameNumber
)

Sets the destination CImageFrame and the Frame Number in the CImageFrame decoder plugin extension

Parameters

CImageFrame & aDestFrame
TInt aFrameNumber

SetFormatCode(TUid)

voidSetFormatCode(TUidaFormatCode)

Sets the format code in the CImageFrame decoder plugin extension

Parameters

TUid aFormatCode

SetRecommendedBufferSize(TInt)

IMPORT_C voidSetRecommendedBufferSize(TIntaBufferSize)

Stores in this plugin extension the recommended buffer size to use when decoding the image contained in a file or descriptor.

Parameters

TInt aBufferSizeThe recommended buffer size to use, in bytes.

Member Data Documentation

CImageFrame * iDstImageFrame

CImageFrame *iDstImageFrame[private]

TUid iFormatCode

TUid iFormatCode[private]

TInt iFrameNumber

TInt iFrameNumber[private]

TInt iRecommendedBufferSize

TInt iRecommendedBufferSize[private]

TAny * iReserved

TAny *iReserved[private]