CMdaImageBitmapToDescUtility Class Reference

#include <mdaimageconverter.h>

Link against: mediaclientimage.lib

class CMdaImageBitmapToDescUtility : public CMdaImageDataWriteUtility

Inherits from

Public Member Functions
IMPORT_C voidCreateL(TDes8 &, TMdaClipFormat *, TMdaPackage *, TMdaPackage *)
IMPORT_C CMdaImageBitmapToDescUtility *NewL(MMdaImageUtilObserver &, CMdaServer *)
Inherited Attributes
CActive::iStatus
CMdaImageUtility::iProperties
Inherited Enumerations
CActive:TPriority
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()

Detailed Description

Deprecated

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

See also: CImageEncoder::DataNewL

Member Function 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.

ParameterDescription
aDescriptorA descriptor to contain the image.
aFormatThe data format. This is optional.
aCodecThe codec to use. This is optional.
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.

ParameterDescription
aObserverThe image utility observer interface
aServerA 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.

Returns: A pointer to the new instance of the bitmap to descriptor-based image conversion utility.