Location:
mdaimageconverter.h
Link against: mediaclientimage.lib
class CMdaImageDescToBitmapUtility : public CMdaImageDataReadUtility;
Implements format conversion of a descriptor-based image to a bitmap.
This class has been deprecated in 7.0s, it's functionality is now part of the Image Converter Library. For more information
see CImageDecoder
.
The class provides functions to create an instance of this conversion utility and to open and prepare the image data.Conversion is performed using the image conversion utility interface.
MMdaObjectStateChangeObserver
- No description.
CBase
- Base class for all classes to be instantiated on the heap
CActive
- The core class of the active object abstraction
CMdaImageUtility
- Defines the public interface to image conversion
CMdaImageDataReadUtility
- Base class used in the derivation of
CMdaImageDescToBitmapUtility
- Implements format conversion of a descriptor-based image to a bitmap
Defined in CMdaImageDescToBitmapUtility
:
NewL()
, OpenL()
Inherited from CActive
:
Cancel()
,
Deque()
,
EPriorityHigh
,
EPriorityIdle
,
EPriorityLow
,
EPriorityStandard
,
EPriorityUserInput
,
Extension_()
,
IsActive()
,
IsAdded()
,
Priority()
,
RunError()
,
SetActive()
,
SetPriority()
,
TPriority
,
iStatus
Inherited from CBase
:
Delete()
,
operator new()
Inherited from CMdaImageDataReadUtility
:
CancelConvertL()
,
ConvertL()
,
DoCancel()
,
DoClose()
,
FrameCommentL()
,
ImageReadUtil_Reserved2()
,
ImageReadUtil_Reserved3()
,
ImageReadUtil_Reserved4()
,
RunL()
Inherited from CMdaImageUtility
:
Close()
,
FrameCount()
,
FrameInfo()
,
ImageUtil_Reserved1()
,
ImageUtil_Reserved2()
,
ImageUtil_Reserved3()
,
ImageUtil_Reserved4()
,
MoscoStateChangeEvent()
static IMPORT_C CMdaImageDescToBitmapUtility *NewL(MMdaImageUtilObserver &aObserver, CMdaServer *aServer=0);
Constructs a new instance of the descriptor-based image to bitmap conversion utility object.
The function leaves if this object cannot be created.
|
|
IMPORT_C void OpenL(const TDesC8 &aDescriptor, TMdaClipFormat *aFormat=0,TMdaPackage *aCodec=0,TMdaPackage *aExtra=0);
Opens the descriptor-based image.
The function is asynchronous. When the open operation is complete, successfully or otherwise, the callback function MMdaImageUtilObserver::MiuoOpenComplete()
is called.Open must complete successfully before starting any conversion operation. The function can complete with KErrUnderflow,
if there is insufficient information in the descriptor. Typically, this occurs when using the descriptor as a cache. In this
situation, open should be performed repeatedly until the descriptor has accumulated enough information for the operation to
complete with KErrNone.
Note: The optional parameters can be used to force the Media Server to interpret the descriptor-based data as being of a specific type. This is necessary for formats such as WAP wireless bitmap where the supplied descriptor does not contain a uniquely recognisable signature.
|