CMdaImageBitmapToDescUtility Class Reference

class CMdaImageBitmapToDescUtility : public CMdaImageDataWriteUtility

This class has been deprecated in 7.0s, it's functionality is now part of the Image Converter Library. For more information see CImageEncoder.

CImageEncoder::DataNewL

Inherits from

Public Member Functions
IMPORT_C voidCreateL(TDes8 &, TMdaClipFormat *, TMdaPackage *, TMdaPackage *)
IMPORT_C CMdaImageBitmapToDescUtility *NewL(MMdaImageUtilObserver &, CMdaServer *)
Private Member Functions
CMdaImageBitmapToDescUtilityPriv *Properties()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
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()
CMdaImageDataWriteUtility::CancelConvertL()
CMdaImageDataWriteUtility::ConvertL(CFbsBitmap &,CFbsBitmap &,TInt)
CMdaImageDataWriteUtility::ConvertL(CFbsBitmap &,TInt)
CMdaImageDataWriteUtility::ConvertL(CFbsBitmap &,const TRect &,TInt)
CMdaImageDataWriteUtility::DoCancel()
CMdaImageDataWriteUtility::DoClose()
CMdaImageDataWriteUtility::DoCreateL(TBool)
CMdaImageDataWriteUtility::Encoder()const
CMdaImageDataWriteUtility::ImageWriteUtil_Reserved1()
CMdaImageDataWriteUtility::ImageWriteUtil_Reserved2()
CMdaImageDataWriteUtility::ImageWriteUtil_Reserved3()
CMdaImageDataWriteUtility::RunL()
CMdaImageDataWriteUtility::~CMdaImageDataWriteUtility()
CMdaImageUtility::CMdaImageUtility()
CMdaImageUtility::Close()
CMdaImageUtility::FrameCount()const
CMdaImageUtility::FrameInfo(TInt,TFrameInfo &)const
CMdaImageUtility::ImageUtil_Reserved1()
CMdaImageUtility::ImageUtil_Reserved2()
CMdaImageUtility::ImageUtil_Reserved3()
CMdaImageUtility::ImageUtil_Reserved4()
CMdaImageUtility::MoscoStateChangeEvent(CBase *,TInt,TInt,TInt)
CMdaImageUtility::SelfComplete(TInt)
CMdaImageUtility::~CMdaImageUtility()
Inherited Enumerations
CActive:TPriority
Inherited Attributes
CActive::iStatus
CMdaImageUtility::iProperties

Member Functions Documentation

CreateL(TDes8 &, TMdaClipFormat *, TMdaPackage *, TMdaPackage *)

IMPORT_C voidCreateL(TDes8 &aDescriptor,
TMdaClipFormat *aFormat,
TMdaPackage *aCodec,
TMdaPackage *aExtra
)

Initialises the supplied descriptor to receive the descriptor-based image.

The function is asynchronous. When the operation is complete, successfully or otherwise, the callback function MMdaImageUtilObserver::MiuoCreateComplete() is called.The descriptor must have been successfully initialised before any conversion operation can start.

Parameters

TDes8 & aDescriptorA descriptor to contain the image.
TMdaClipFormat * aFormatThe data format. This is optional.
TMdaPackage * aCodecThe codec to use. This is optional.
TMdaPackage * aExtraAdditional information which the Media Server may need to recognise the data format. This is optional.

NewL(MMdaImageUtilObserver &, CMdaServer *)

IMPORT_C CMdaImageBitmapToDescUtility *NewL(MMdaImageUtilObserver &aObserver,
CMdaServer *aServer = NULL
)[static]

Constructs a new instance of the bitmap to descriptor-based image conversion utility.

The function leaves if this object cannot be created.

Parameters

MMdaImageUtilObserver & aObserverThe image utility observer interface
CMdaServer * aServer = NULLA pointer to a server object. The default is NULL which means that one is automatically constructed and owned by this conversion utility object. If not NULL, the client must construct, and be responsible for, the server object. This option may be more efficient if a number of conversion utility objects are to be created.

Properties()

CMdaImageBitmapToDescUtilityPriv *Properties()const [private, inline]