ImageProcessor::MImgProcessorPlugin Class Reference

class ImageProcessor::MImgProcessorPlugin

Mixin class for implementation by providers of the Image Processor Plugin.

CImgProcessor

Public Member Functions
void ApplyOperationL ( CImgProcessor::TOperation )
TRgb BackgroundColorL ()
TInt CalculatePixelBufferSizeL ( TSize , TDisplayMode , TUint32 )
TInt CalculatePixelBufferSizeL ( TSize , const TUid &, TUint32 )
TBool CanRedoL ()
TBool CanUndoL ()
void Cancel ()
void CleanupEffects ()
void CleanupOutput ()
void CreateInputL ( CFbsBitmap &)
void CreateInputL ( CImageFrame &)
void CreateInputL (const TSize &, const TRgb &)
TSize CurrentSizeL ()
void Destroy ()
Plugin::MEffect * EffectL ( TUid )
TAny * Extension ( TUid )
void InitializeL ()
Plugin::MInputInfo * InputInfoL ()
void InputUpdatedL ()
Plugin::MOutputInfo * OutputInfoL ()
Plugin::MOverlay * OverlayL ()
Plugin::MPreview * PreviewL ( TInt )
void ProcessL (const TSize &, TBool )
Plugin::MProgressInfo * ProgressInfoL ()
void RedoAllL ()
void RedoL ()
void ResetL ()
void SetBackgroundColorL (const TRgb &)
void SetFileServerSession ( RFs &)
void SetInputL (const TDesC &, const TUid &, const TUid &)
void SetInputL ( RFile &, const TUid &, const TUid &)
void SetInputL ( TMMSource &, const TUid &, const TUid &)
void SetInputL (const TDesC8 &, const TUid &, const TUid &)
void SetInputL (const CFbsBitmap &, const CFbsBitmap *)
void SetInputL (const CImageFrame &)
void SetInputRectL (const TRect &)
void SetObserver ( MImgProcessorPluginObserver &)
void SetOptionsL ( TUint64 )
void SetOutputL (const TDesC &, const TUid &, const TUid &)
void SetOutputL ( RFile &, const TUid &, const TUid &)
void SetOutputL ( RBuf8 &, const TUid &, const TUid &)
void SetOutputL ( CImageFrame &)
void SetOutputL ( CFbsBitmap &, CFbsBitmap *)
void SupportedEffectsL ( RArray < TUid > &)
void SupportedInputDisplayModesL ( RArray < TDisplayMode > &)
void SupportedInputFormatsL ( RArray < TUid > &)
void SupportedInputImageFrameFormatsL ( RArray < TUid > &)
void SupportedInputSubFormatsL ( TUid , RArray < TUid > &)
TUint SupportedOperations ()
TUint64 SupportedOptions ()
void SupportedOutputDisplayModesL ( RArray < TDisplayMode > &)
void SupportedOutputFormatsL ( RArray < TUid > &)
void SupportedOutputImageFrameFormatsL ( RArray < TUid > &)
void SupportedOutputSubFormatsL ( TUid , RArray < TUid > &)
void SupportedOverlayInputDisplayModesL ( RArray < TDisplayMode > &)
void SupportedOverlayInputFormatsL ( RArray < TUid > &)
void SupportedOverlayInputImageFrameFormatsL ( RArray < TUid > &)
void SupportedPreviewOutputDisplayModesL ( RArray < TDisplayMode > &)
void SupportedPreviewOutputImageFrameFormatsL ( RArray < TUid > &)
void UndoAllL ()
void UndoL ()

Member Functions Documentation

ApplyOperationL(CImgProcessor::TOperation)

void ApplyOperationL ( CImgProcessor::TOperation aOperation ) [pure virtual]

Parameters

CImgProcessor::TOperation aOperation

BackgroundColorL()

TRgb BackgroundColorL ( ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::BackgroundColorL()

CImgProcessor::BackgroundColorL()

CalculatePixelBufferSizeL(TSize, TDisplayMode, TUint32)

TInt CalculatePixelBufferSizeL ( TSize aSizeInPixels,
TDisplayMode aDisplayMode,
TUint32 aScanLineLength
) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::CalculatePixelBufferSizeL(TSize aSizeInPixels, TDisplayMode aDisplayMode, TUint32 aScanLineLength)

CImgProcessor::CalculatePixelBufferSizeL(TSize aSizeInPixels, TDisplayMode aDisplayMode, TUint32 aScanLineLength)

Parameters

TSize aSizeInPixels
TDisplayMode aDisplayMode
TUint32 aScanLineLength

CalculatePixelBufferSizeL(TSize, const TUid &, TUint32)

TInt CalculatePixelBufferSizeL ( TSize aSizeInPixels,
const TUid & aFormat,
TUint32 aScanLineLength = 0
) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::CalculatePixelBufferSizeL ( TSize aSizeInPixels, const TUid & aFormat, TUint32 aScanLineLength = 0)

CImgProcessor::CalculatePixelBufferSizeL ( TSize aSizeInPixels, const TUid & aFormat, TUint32 aScanLineLength = 0)

Parameters

TSize aSizeInPixels
const TUid & aFormat
TUint32 aScanLineLength = 0

CanRedoL()

TBool CanRedoL ( ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::CanRedoL()

CImgProcessor::CanRedoL()

CanUndoL()

TBool CanUndoL ( ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::CanUndoL()

CImgProcessor::CanUndoL()

Cancel()

void Cancel ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::Cancel()

CImgProcessor::Cancel()

CleanupEffects()

void CleanupEffects ( ) [pure virtual]

A derived class must provide an implementation of this method to clean up effects.

CleanupOutput()

void CleanupOutput ( ) [pure virtual]

A derived class must provide an implementation of this method to clean up unauthorized output.

CreateInputL(CFbsBitmap &)

void CreateInputL ( CFbsBitmap & aBitmap ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::CreateInputL(CFbsBitmap& aBitmap)

CImgProcessor::CreateInputL(CFbsBitmap& aBitmap)

Parameters

CFbsBitmap & aBitmap

CreateInputL(CImageFrame &)

void CreateInputL ( CImageFrame & aPixelBuffer ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::CreateInputL(CImageFrame& aPixelBuffer)

CImgProcessor::CreateInputL(CImageFrame& aPixelBuffer)

Parameters

CImageFrame & aPixelBuffer

CreateInputL(const TSize &, const TRgb &)

void CreateInputL ( const TSize & aSize,
const TRgb & aColor
) [pure virtual]

Parameters

const TSize & aSize
const TRgb & aColor

CurrentSizeL()

TSize CurrentSizeL ( ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::CurrentSizeL()

CImgProcessor::CurrentSizeL()

Destroy()

void Destroy ( ) [pure virtual]

A derived class must provide an implementation of this method to destroy plugin and release all allocated memory

EffectL(TUid)

Plugin::MEffect * EffectL ( TUid aEffectId ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::EffectL(TUid aEffectId)

CImgProcessor::EffectL(TUid aEffectId)

Parameters

TUid aEffectId

Extension(TUid)

TAny * Extension ( TUid aExtension ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::Extension(TUid aExtension)

CImgProcessor::Extension(TUid aExtension)

Parameters

TUid aExtension

InitializeL()

void InitializeL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::InitializeL()

CImgProcessor::InitializeL()

InputInfoL()

Plugin::MInputInfo * InputInfoL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::InputInfoL()

CImgProcessor::InputInfoL()

InputUpdatedL()

void InputUpdatedL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::InputUpdatedL()

CImgProcessor::InputUpdatedL()

OutputInfoL()

Plugin::MOutputInfo * OutputInfoL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::OutpputInfoL()

CImgProcessor::OutputInfoL()

OverlayL()

Plugin::MOverlay * OverlayL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::OverlayL()

CImgProcessor::OverlayL()

PreviewL(TInt)

Plugin::MPreview * PreviewL ( TInt aPreviewId ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::PreviewL(TInt aPreviewId)

CImgProcessor::PreviewL(TInt aPreviewId)

Parameters

TInt aPreviewId

ProcessL(const TSize &, TBool)

void ProcessL ( const TSize & aSize,
TBool aMaintainAspectRatio
) [pure virtual]

Parameters

const TSize & aSize
TBool aMaintainAspectRatio

ProgressInfoL()

Plugin::MProgressInfo * ProgressInfoL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::ProgressInfoL()

CImgProcessor::ProgressInfoL()

RedoAllL()

void RedoAllL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::RedoAllL()

CImgProcessor::RedoAllL()

RedoL()

void RedoL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::RedoL()

CImgProcessor::RedoL()

ResetL()

void ResetL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::ResetL()

CImgProcessor::ResetL()

SetBackgroundColorL(const TRgb &)

void SetBackgroundColorL ( const TRgb & aColor ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SetBackgroundColorL(const TRgb& aColor)

CImgProcessor::SetBackgroundColorL(const TRgb& aColor)

Parameters

const TRgb & aColor

SetFileServerSession(RFs &)

void SetFileServerSession ( RFs & aFileServerSession ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SetFileServerSession(RFs& aFileServerSession)

CImgProcessor::SetFileServerSession(RFs& aFileServerSession)

Parameters

RFs & aFileServerSession

SetInputL(const TDesC &, const TUid &, const TUid &)

void SetInputL ( const TDesC & aFilename,
const TUid & aFormat,
const TUid & aSubFormat
) [pure virtual]

Parameters

const TDesC & aFilename
const TUid & aFormat
const TUid & aSubFormat

SetInputL(RFile &, const TUid &, const TUid &)

void SetInputL ( RFile & aFile,
const TUid & aFormat,
const TUid & aSubFormat
) [pure virtual]

Parameters

RFile & aFile
const TUid & aFormat
const TUid & aSubFormat

SetInputL(TMMSource &, const TUid &, const TUid &)

void SetInputL ( TMMSource & aDrmFile,
const TUid & aFormat,
const TUid & aSubFormat
) [pure virtual]

Parameters

TMMSource & aDrmFile
const TUid & aFormat
const TUid & aSubFormat

SetInputL(const TDesC8 &, const TUid &, const TUid &)

void SetInputL ( const TDesC8 & aBuffer,
const TUid & aFormat,
const TUid & aSubFormat
) [pure virtual]

Parameters

const TDesC8 & aBuffer
const TUid & aFormat
const TUid & aSubFormat

SetInputL(const CFbsBitmap &, const CFbsBitmap *)

void SetInputL ( const CFbsBitmap & aBitmap,
const CFbsBitmap * aMask
) [pure virtual]

Parameters

const CFbsBitmap & aBitmap
const CFbsBitmap * aMask

SetInputL(const CImageFrame &)

void SetInputL ( const CImageFrame & aPixelBuffer ) [pure virtual]

Parameters

const CImageFrame & aPixelBuffer

SetInputRectL(const TRect &)

void SetInputRectL ( const TRect & aRect ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputRectL(const TRect& aRect)

CImgProcessor::SetInputRectL(const TRect& aRect)

Parameters

const TRect & aRect

SetObserver(MImgProcessorPluginObserver &)

void SetObserver ( MImgProcessorPluginObserver & aObserver ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SetObserver(MImgProcessorPluginObserver& aObserver)

CImgProcessor::SetObserver(MImgProcessorPluginObserver& aObserver)

Parameters

MImgProcessorPluginObserver & aObserver

SetOptionsL(TUint64)

void SetOptionsL ( TUint64 aOptions ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SetOptionsL(TUint64 aOptions)

CImgProcessor::SetOptionsL(TUint64 aOptions)

Parameters

TUint64 aOptions

SetOutputL(const TDesC &, const TUid &, const TUid &)

void SetOutputL ( const TDesC & aFilename,
const TUid & aFormat,
const TUid & aSubFormat
) [pure virtual]

Parameters

const TDesC & aFilename
const TUid & aFormat
const TUid & aSubFormat

SetOutputL(RFile &, const TUid &, const TUid &)

void SetOutputL ( RFile & aFile,
const TUid & aFormat,
const TUid & aSubFormat
) [pure virtual]

Parameters

RFile & aFile
const TUid & aFormat
const TUid & aSubFormat

SetOutputL(RBuf8 &, const TUid &, const TUid &)

void SetOutputL ( RBuf8 & aBuffer,
const TUid & aFormat,
const TUid & aSubFormat
) [pure virtual]

Parameters

RBuf8 & aBuffer
const TUid & aFormat
const TUid & aSubFormat

SetOutputL(CImageFrame &)

void SetOutputL ( CImageFrame & aPixelBuffer ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SetOutputL(CImageFrame& aPixelBuffer)

CImgProcessor::SetOutputL(CImageFrame& aPixelBuffer)

Parameters

CImageFrame & aPixelBuffer

SetOutputL(CFbsBitmap &, CFbsBitmap *)

void SetOutputL ( CFbsBitmap & aBitmap,
CFbsBitmap * aMask
) [pure virtual]

Parameters

CFbsBitmap & aBitmap
CFbsBitmap * aMask

SupportedEffectsL(RArray< TUid > &)

void SupportedEffectsL ( RArray < TUid > & aEffects ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedEffectsL(RArray<TUid>& aEffects)

CImgProcessor::SupportedEffectsL(RArray<TUid>& aEffects)

Parameters

RArray < TUid > & aEffects

SupportedInputDisplayModesL(RArray< TDisplayMode > &)

void SupportedInputDisplayModesL ( RArray < TDisplayMode > & aDisplayModes ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputDisplayModesL (( RArray<TDisplayMode> & aDisplayModes)

CImgProcessor::SupportedInputDisplayModesL (( RArray<TDisplayMode> & aDisplayModes)

Parameters

RArray < TDisplayMode > & aDisplayModes

SupportedInputFormatsL(RArray< TUid > &)

void SupportedInputFormatsL ( RArray < TUid > & aFormats ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputFormatsL(RArray<TUid>& aFormats)

CImgProcessor::SupportedInputFormatsL(RArray<TUid>& aFormats)

Parameters

RArray < TUid > & aFormats

SupportedInputImageFrameFormatsL(RArray< TUid > &)

void SupportedInputImageFrameFormatsL ( RArray < TUid > & aFormats ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputImageFrameFormatsL(RArray<TUid>& aFormats)

CImgProcessor::SupportedInputImageFrameFormatsL(RArray<TUid>& aFormats)

Parameters

RArray < TUid > & aFormats

SupportedInputSubFormatsL(TUid, RArray< TUid > &)

void SupportedInputSubFormatsL ( TUid aFormat,
RArray < TUid > & aSubFormats
) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)

CImgProcessor::SupportedInputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)

Parameters

TUid aFormat
RArray < TUid > & aSubFormats

SupportedOperations()

TUint SupportedOperations ( ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOperations()

CImgProcessor::SupportedOperations()

SupportedOptions()

TUint64 SupportedOptions ( ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOptions()

CImgProcessor::SupportedOptions()

SupportedOutputDisplayModesL(RArray< TDisplayMode > &)

void SupportedOutputDisplayModesL ( RArray < TDisplayMode > & aDisplayModes ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputDisplayModesL (( RArray<TDisplayMode> & aDisplayModes)

CImgProcessor::SupportedOutputDisplayModesL (( RArray<TDisplayMode> & aDisplayModes)

Parameters

RArray < TDisplayMode > & aDisplayModes

SupportedOutputFormatsL(RArray< TUid > &)

void SupportedOutputFormatsL ( RArray < TUid > & aFormats ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputFormatsL(RArray<TUid>& aFormats)

CImgProcessor::SupportedOutputFormatsL(RArray<TUid>& aFormats)

Parameters

RArray < TUid > & aFormats

SupportedOutputImageFrameFormatsL(RArray< TUid > &)

void SupportedOutputImageFrameFormatsL ( RArray < TUid > & aFormats ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputImageFrameFormatsL ( RArray<TUid> & aFormats

CImgProcessor::SupportedOutputImageFrameFormatsL ( RArray<TUid> & aFormats

Parameters

RArray < TUid > & aFormats

SupportedOutputSubFormatsL(TUid, RArray< TUid > &)

void SupportedOutputSubFormatsL ( TUid aFormat,
RArray < TUid > & aSubFormats
) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)

CImgProcessor::SupportedOutputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)

Parameters

TUid aFormat
RArray < TUid > & aSubFormats

SupportedOverlayInputDisplayModesL(RArray< TDisplayMode > &)

void SupportedOverlayInputDisplayModesL ( RArray < TDisplayMode > & aDisplayModes ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOverlayInputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)

CImgProcessor::SupportedOverlayInputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)

Parameters

RArray < TDisplayMode > & aDisplayModes

SupportedOverlayInputFormatsL(RArray< TUid > &)

void SupportedOverlayInputFormatsL ( RArray < TUid > & aFormats ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOverlayInputFormatsL(RArray<TUid>& aFormats)

CImgProcessor::SupportedOverlayInputFormatsL(RArray<TUid>& aFormats)

Parameters

RArray < TUid > & aFormats

SupportedOverlayInputImageFrameFormatsL(RArray< TUid > &)

void SupportedOverlayInputImageFrameFormatsL ( RArray < TUid > & aFormats ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOverlayInputImageFrameFormatsL(RArray<TUid>& aFormats)

CImgProcessor::SupportedOverlayInputImageFrameFormatsL(RArray<TUid>& aFormats)

Parameters

RArray < TUid > & aFormats

SupportedPreviewOutputDisplayModesL(RArray< TDisplayMode > &)

void SupportedPreviewOutputDisplayModesL ( RArray < TDisplayMode > & aDisplayModes ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedPreviewOutputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)

CImgProcessor::SupportedPreviewOutputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)

Parameters

RArray < TDisplayMode > & aDisplayModes

SupportedPreviewOutputImageFrameFormatsL(RArray< TUid > &)

void SupportedPreviewOutputImageFrameFormatsL ( RArray < TUid > & aFormats ) const [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedPreviewOutputImageFrameFormatsL(RArray<TUid>& aFormats)

CImgProcessor::SupportedPreviewOutputImageFrameFormatsL(RArray<TUid>& aFormats)

Parameters

RArray < TUid > & aFormats

UndoAllL()

void UndoAllL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::UndoAllL()

CImgProcessor::UndoAllL()

UndoL()

void UndoL ( ) [pure virtual]

A derived class must provide an implementation of this method as defined by CImgProcessor::UndoL()

CImgProcessor::UndoL()