ImageProcessor::CImageProcessorImpl Class Reference

class ImageProcessor::CImageProcessorImpl : public CBase

Inherits from

  • ImageProcessor::CImageProcessorImpl
Public Member Functions
~CImageProcessorImpl()
voidAppendOverlayDrmInputL()
voidApplyOperationL(CImgProcessor::TOperation)
TRgb BackgroundColorL()
TInt CalculatePixelBufferSizeL(TSize, TDisplayMode, TUint32)
TInt CalculatePixelBufferSizeL(TSize, const TUid &, TUint32)
TBool CanRedoL()
TBool CanUndoL()
voidCancel()
voidCheckStateL(CImgProcessor::TState)
voidCleanup()
voidConvertFileExtensionToUidL(const TDesC &, TUid &, TUid &)
voidConvertMimeTypeToUidL(const TDesC8 &, TUid &, TUid &)
voidConvertUidToFileExtensionL(TDes &, const TUid &, const TUid &)
voidConvertUidToMimeTypeL(TDes8 &, const TUid &, const TUid &)
voidCreateInputL(CFbsBitmap &)
voidCreateInputL(CImageFrame &)
voidCreateInputL(const TSize &, const TRgb &)
TSize CurrentSizeL()
TEffect *EffectL(TUid)
TAny *Extension(TUid)
voidInitializeL(TUint64)
TInputInfo *InputInfoL()
voidInputUpdatedL()
TBool IsBusy(CImgProcessor::TState)
TBool IsInputSet()
TBool IsOutputSet()
CImageProcessorImpl *NewL(RFs &, CImgProcessor &, MImgProcessorObserver &, TUid)
TUint64 Options()
TOutputInfo *OutputInfoL()
RArray< TDisplayMode > &OverlayInputDisplayModesL()
RArray< TUid > &OverlayInputFormatsL()
RArray< TUid > &OverlayInputImageFrameFormatsL()
TOverlay *OverlayL()
voidPostEvent(TInt, TUid, TInt, TInt)
TPreview *PreviewL(TInt)
RArray< TDisplayMode > &PreviewOutputDisplayModesL()
RArray< TUid > &PreviewOutputImageFrameFormatsL()
voidProcessEventL(TInt, TUid, TInt, TInt)
voidProcessL(const TSize &, TBool)
TProgressInfo *ProgressInfoL()
voidRedoAllL()
voidRedoL()
voidResetL()
voidResetOverlayDrmInput()
voidRestoreStateL()
voidSetBackgroundColorL(const TRgb &)
voidSetInputL(const TDesC &, const TUid &, const TUid &)
voidSetInputL(RFile &, const TUid &, const TUid &)
voidSetInputL(TMMSource &, const TUid &, const TUid &)
voidSetInputL(const TDesC8 &, const TUid &, const TUid &)
voidSetInputL(const CFbsBitmap &, const CFbsBitmap *)
voidSetInputL(const CImageFrame &)
voidSetInputL(CImagePanorama &)
voidSetInputRectL(const TRect &)
voidSetOptionsL(TUint64)
voidSetOutputL(const TDesC &, const TUid &, const TUid &)
voidSetOutputL(RFile &, const TUid &, const TUid &)
voidSetOutputL(RBuf8 &, const TUid &, const TUid &)
voidSetOutputL(CImageFrame &)
voidSetOutputL(CFbsBitmap &, CFbsBitmap *)
voidSetOverlayDrmInput(CImageProcessorDrmInput *)
voidSetStateL(CImgProcessor::TState)
CImgProcessor::TState State()
voidSupportedEffectsL(RArray< TUid > &)
voidSupportedInputDisplayModesL(RArray< TDisplayMode > &)
voidSupportedInputFormatsL(RArray< TUid > &)
voidSupportedInputImageFrameFormatsL(RArray< TUid > &)
voidSupportedInputSubFormatsL(TUid, RArray< TUid > &)
TUint SupportedOperations()
TUint64 SupportedOptions()
voidSupportedOutputDisplayModesL(RArray< TDisplayMode > &)
voidSupportedOutputFormatsL(RArray< TUid > &)
voidSupportedOutputImageFrameFormatsL(RArray< TUid > &)
voidSupportedOutputSubFormatsL(TUid, RArray< TUid > &)
voidUndoAllL()
voidUndoL()
Private Member Functions
CImageProcessorImpl(RFs &, CImgProcessor &, TUid)
voidCheckInputFormatL(const TUid &, const TUid &)
voidCheckOutputFormatL(const TUid &, const TUid &)
voidConstructL(MImgProcessorObserver &)
TEffect *CreateEffectL(TUid)
TEffect *EffectFactoryL(TUid, Plugin::MEffect *)
TEffect *FindEffect(TUid)
TPreview *FindPreview(TInt)
voidInitializeFrameworkEffectsL()
TBool IsFrameworkEffect(TUid)
TBool IsPluginEffect(TUid)
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()
Private Attributes
CImageProcessorCallback *iCallbackHandler
CImageProcessorDrmInput *iDrmInput
RPointerArray< TEffect >iEffects
RFs &iFileServerSession
RArray< TUid >iFrameworkEffects
CImgProcessor &iImageProcessor
RArray< TDisplayMode >iInputDisplayModes
RArray< TUid >iInputFormats
RArray< TUid >iInputImageFrameFormats
TInputInfo *iInputInfo
TBool iIsInputSet
TBool iIsOutputSet
TUint64 iOptions
RArray< TDisplayMode >iOutputDisplayModes
RArray< TUid >iOutputFormats
RArray< TUid >iOutputImageFrameFormats
TOutputInfo *iOutputInfo
TOverlay *iOverlay
CImageProcessorDrmInput *iOverlayDrmInput
RPointerArray< CImageProcessorDrmInput >iOverlayDrmInputs
RArray< TDisplayMode >iOverlayInputDisplayModes
RArray< TUid >iOverlayInputFormats
RArray< TUid >iOverlayInputImageFrameFormats
MImgProcessorPlugin *iPlugin
TUid iPluginDtorKey
RArray< TUid >iPluginEffects
TUid iPluginUid
RArray< TDisplayMode >iPreviewOutputDisplayModes
RArray< TUid >iPreviewOutputImageFrameFormats
RPointerArray< TPreview >iPreviews
CImgProcessor::TState iPreviousState
TProgressInfo *iProgressInfo
CImgProcessor::TState iState
TUint iSupportedOperations
TUint64 iSupportedOptions
RFileExtensionMIMETypeArray iTypesUtilityArray
const TBooliValidStates

Constructor & Destructor Documentation

CImageProcessorImpl(RFs &, CImgProcessor &, TUid)

CImageProcessorImpl(RFs &aFileServerSession,
CImgProcessor &aImageProcessor,
TUidaPluginUid
)[private]

Parameters

RFs & aFileServerSession
CImgProcessor & aImageProcessor
TUid aPluginUid

~CImageProcessorImpl()

~CImageProcessorImpl()

Member Functions Documentation

AppendOverlayDrmInputL()

voidAppendOverlayDrmInputL()

ApplyOperationL(CImgProcessor::TOperation)

voidApplyOperationL(CImgProcessor::TOperationaOperation)

Parameters

CImgProcessor::TOperation aOperation

BackgroundColorL()

TRgb BackgroundColorL()const

CalculatePixelBufferSizeL(TSize, TDisplayMode, TUint32)

TInt CalculatePixelBufferSizeL(TSizeaSizeInPixels,
TDisplayModeaDisplayMode,
TUint32aScanLineLength = 0
)const

Parameters

TSize aSizeInPixels
TDisplayMode aDisplayMode
TUint32 aScanLineLength = 0

CalculatePixelBufferSizeL(TSize, const TUid &, TUint32)

TInt CalculatePixelBufferSizeL(TSizeaSizeInPixels,
const TUid &aFormat,
TUint32aScanLineLength = 0
)const

Parameters

TSize aSizeInPixels
const TUid & aFormat
TUint32 aScanLineLength = 0

CanRedoL()

TBool CanRedoL()const

CanUndoL()

TBool CanUndoL()const

Cancel()

voidCancel()

CheckInputFormatL(const TUid &, const TUid &)

voidCheckInputFormatL(const TUid &aFormat,
const TUid &aSubFormat
)[private]

Parameters

const TUid & aFormat
const TUid & aSubFormat

CheckOutputFormatL(const TUid &, const TUid &)

voidCheckOutputFormatL(const TUid &aFormat,
const TUid &aSubFormat
)[private]

Parameters

const TUid & aFormat
const TUid & aSubFormat

CheckStateL(CImgProcessor::TState)

voidCheckStateL(CImgProcessor::TStateaState)const

Parameters

CImgProcessor::TState aState

Cleanup()

voidCleanup()

ConstructL(MImgProcessorObserver &)

voidConstructL(MImgProcessorObserver &aObserver)[private]

Parameters

MImgProcessorObserver & aObserver

ConvertFileExtensionToUidL(const TDesC &, TUid &, TUid &)

voidConvertFileExtensionToUidL(const TDesC &aFileExtension,
TUid &aFormat,
TUid &aSubFormat
)

Parameters

const TDesC & aFileExtension
TUid & aFormat
TUid & aSubFormat

ConvertMimeTypeToUidL(const TDesC8 &, TUid &, TUid &)

voidConvertMimeTypeToUidL(const TDesC8 &aMimeType,
TUid &aFormat,
TUid &aSubFormat
)

Parameters

const TDesC8 & aMimeType
TUid & aFormat
TUid & aSubFormat

ConvertUidToFileExtensionL(TDes &, const TUid &, const TUid &)

voidConvertUidToFileExtensionL(TDes &aFileExtension,
const TUid &aFormat,
const TUid &aSubFormat
)

Parameters

TDes & aFileExtension
const TUid & aFormat
const TUid & aSubFormat

ConvertUidToMimeTypeL(TDes8 &, const TUid &, const TUid &)

voidConvertUidToMimeTypeL(TDes8 &aMimeType,
const TUid &aFormat,
const TUid &aSubFormat
)

Parameters

TDes8 & aMimeType
const TUid & aFormat
const TUid & aSubFormat

CreateEffectL(TUid)

TEffect *CreateEffectL(TUidaEffect)[private]

Parameters

TUid aEffect

CreateInputL(CFbsBitmap &)

voidCreateInputL(CFbsBitmap &aBitmap)

Parameters

CFbsBitmap & aBitmap

CreateInputL(CImageFrame &)

voidCreateInputL(CImageFrame &aPixelBuffer)

Parameters

CImageFrame & aPixelBuffer

CreateInputL(const TSize &, const TRgb &)

voidCreateInputL(const TSize &aSize,
const TRgb &aColor
)

Parameters

const TSize & aSize
const TRgb & aColor

CurrentSizeL()

TSize CurrentSizeL()const

EffectFactoryL(TUid, Plugin::MEffect *)

TEffect *EffectFactoryL(TUidaEffect,
Plugin::MEffect *aPluginEffect
)[private]

Parameters

TUid aEffect
Plugin::MEffect * aPluginEffect

EffectL(TUid)

TEffect *EffectL(TUidaEffect)

Parameters

TUid aEffect

Extension(TUid)

TAny *Extension(TUidaExtension)

Parameters

TUid aExtension

FindEffect(TUid)

TEffect *FindEffect(TUidaEffect)const [private]

Parameters

TUid aEffect

FindPreview(TInt)

TPreview *FindPreview(TIntaPreviewId)const [private]

Parameters

TInt aPreviewId

InitializeFrameworkEffectsL()

voidInitializeFrameworkEffectsL()[private]

InitializeL(TUint64)

voidInitializeL(TUint64aOptions)

Parameters

TUint64 aOptions

InputInfoL()

TInputInfo *InputInfoL()

InputUpdatedL()

voidInputUpdatedL()

IsBusy(CImgProcessor::TState)

TBool IsBusy(CImgProcessor::TStateaState)const

Parameters

CImgProcessor::TState aState

IsFrameworkEffect(TUid)

TBool IsFrameworkEffect(TUidaEffect)const [private]

Parameters

TUid aEffect

IsInputSet()

TBool IsInputSet()const [inline]

IsOutputSet()

TBool IsOutputSet()const [inline]

IsPluginEffect(TUid)

TBool IsPluginEffect(TUidaEffect)const [private]

Parameters

TUid aEffect

NewL(RFs &, CImgProcessor &, MImgProcessorObserver &, TUid)

CImageProcessorImpl *NewL(RFs &aFileServerSession,
CImgProcessor &aImageProcessor,
MImgProcessorObserver &aObserver,
TUidaPluginUid
)[static]

Parameters

RFs & aFileServerSession
CImgProcessor & aImageProcessor
MImgProcessorObserver & aObserver
TUid aPluginUid

Options()

TUint64 Options()const [inline]

OutputInfoL()

TOutputInfo *OutputInfoL()

OverlayInputDisplayModesL()

RArray< TDisplayMode > &OverlayInputDisplayModesL()[inline]

OverlayInputFormatsL()

RArray< TUid > &OverlayInputFormatsL()[inline]

OverlayInputImageFrameFormatsL()

RArray< TUid > &OverlayInputImageFrameFormatsL()[inline]

OverlayL()

TOverlay *OverlayL()

PostEvent(TInt, TUid, TInt, TInt)

voidPostEvent(TIntaEventId,
TUidaUid,
TIntaId,
TIntaError
)

Parameters

TInt aEventId
TUid aUid
TInt aId
TInt aError

PreviewL(TInt)

TPreview *PreviewL(TIntaPreviewId)

Parameters

TInt aPreviewId

PreviewOutputDisplayModesL()

RArray< TDisplayMode > &PreviewOutputDisplayModesL()[inline]

PreviewOutputImageFrameFormatsL()

RArray< TUid > &PreviewOutputImageFrameFormatsL()[inline]

ProcessEventL(TInt, TUid, TInt, TInt)

voidProcessEventL(TIntaEventId,
TUidaUid,
TIntaId,
TIntaError
)

Parameters

TInt aEventId
TUid aUid
TInt aId
TInt aError

ProcessL(const TSize &, TBool)

voidProcessL(const TSize &aSize,
TBoolaMaintainAspectRatio
)

Parameters

const TSize & aSize
TBool aMaintainAspectRatio

ProgressInfoL()

TProgressInfo *ProgressInfoL()

RedoAllL()

voidRedoAllL()

RedoL()

voidRedoL()

ResetL()

voidResetL()

ResetOverlayDrmInput()

voidResetOverlayDrmInput()[inline]

RestoreStateL()

voidRestoreStateL()

SetBackgroundColorL(const TRgb &)

voidSetBackgroundColorL(const TRgb &aColor)

Parameters

const TRgb & aColor

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

voidSetInputL(const TDesC &aFilename,
const TUid &aFormat = KNullUid,
const TUid &aSubFormat = KNullUid
)

Parameters

const TDesC & aFilename
const TUid & aFormat = KNullUid
const TUid & aSubFormat = KNullUid

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

voidSetInputL(RFile &aFile,
const TUid &aFormat = KNullUid,
const TUid &aSubFormat = KNullUid
)

Parameters

RFile & aFile
const TUid & aFormat = KNullUid
const TUid & aSubFormat = KNullUid

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

voidSetInputL(TMMSource &aDrmFile,
const TUid &aFormat = KNullUid,
const TUid &aSubFormat = KNullUid
)

Parameters

TMMSource & aDrmFile
const TUid & aFormat = KNullUid
const TUid & aSubFormat = KNullUid

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

voidSetInputL(const TDesC8 &aBuffer,
const TUid &aFormat = KNullUid,
const TUid &aSubFormat = KNullUid
)

Parameters

const TDesC8 & aBuffer
const TUid & aFormat = KNullUid
const TUid & aSubFormat = KNullUid

SetInputL(const CFbsBitmap &, const CFbsBitmap *)

voidSetInputL(const CFbsBitmap &aBitmap,
const CFbsBitmap *aMask = NULL
)

Parameters

const CFbsBitmap & aBitmap
const CFbsBitmap * aMask = NULL

SetInputL(const CImageFrame &)

voidSetInputL(const CImageFrame &aPixelBuffer)

Parameters

const CImageFrame & aPixelBuffer

SetInputL(CImagePanorama &)

voidSetInputL(CImagePanorama &aPanorama)

Parameters

CImagePanorama & aPanorama

SetInputRectL(const TRect &)

voidSetInputRectL(const TRect &aRect)

Parameters

const TRect & aRect

SetOptionsL(TUint64)

voidSetOptionsL(TUint64aOptions)

Parameters

TUint64 aOptions

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

voidSetOutputL(const TDesC &aFilename,
const TUid &aFormat = KNullUid,
const TUid &aSubFormat = KNullUid
)

Parameters

const TDesC & aFilename
const TUid & aFormat = KNullUid
const TUid & aSubFormat = KNullUid

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

voidSetOutputL(RFile &aFile,
const TUid &aFormat = KNullUid,
const TUid &aSubFormat = KNullUid
)

Parameters

RFile & aFile
const TUid & aFormat = KNullUid
const TUid & aSubFormat = KNullUid

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

voidSetOutputL(RBuf8 &aBuffer,
const TUid &aFormat = KNullUid,
const TUid &aSubFormat = KNullUid
)

Parameters

RBuf8 & aBuffer
const TUid & aFormat = KNullUid
const TUid & aSubFormat = KNullUid

SetOutputL(CImageFrame &)

voidSetOutputL(CImageFrame &aPixelBuffer)

Parameters

CImageFrame & aPixelBuffer

SetOutputL(CFbsBitmap &, CFbsBitmap *)

voidSetOutputL(CFbsBitmap &aBitmap,
CFbsBitmap *aMask = NULL
)

Parameters

CFbsBitmap & aBitmap
CFbsBitmap * aMask = NULL

SetOverlayDrmInput(CImageProcessorDrmInput *)

voidSetOverlayDrmInput(CImageProcessorDrmInput *aOverlayDrmInput)[inline]

Parameters

CImageProcessorDrmInput * aOverlayDrmInput

SetStateL(CImgProcessor::TState)

voidSetStateL(CImgProcessor::TStateaState)

Parameters

CImgProcessor::TState aState

State()

CImgProcessor::TState State()const

SupportedEffectsL(RArray< TUid > &)

voidSupportedEffectsL(RArray< TUid > &aEffects)const

Parameters

RArray< TUid > & aEffects

SupportedInputDisplayModesL(RArray< TDisplayMode > &)

voidSupportedInputDisplayModesL(RArray< TDisplayMode > &aDisplayModes)const

Parameters

RArray< TDisplayMode > & aDisplayModes

SupportedInputFormatsL(RArray< TUid > &)

voidSupportedInputFormatsL(RArray< TUid > &aFormats)const

Parameters

RArray< TUid > & aFormats

SupportedInputImageFrameFormatsL(RArray< TUid > &)

voidSupportedInputImageFrameFormatsL(RArray< TUid > &aFormats)const

Parameters

RArray< TUid > & aFormats

SupportedInputSubFormatsL(TUid, RArray< TUid > &)

voidSupportedInputSubFormatsL(TUidaFormat,
RArray< TUid > &aSubFormats
)const

Parameters

TUid aFormat
RArray< TUid > & aSubFormats

SupportedOperations()

TUint SupportedOperations()const

SupportedOptions()

TUint64 SupportedOptions()const

SupportedOutputDisplayModesL(RArray< TDisplayMode > &)

voidSupportedOutputDisplayModesL(RArray< TDisplayMode > &aDisplayModes)const

Parameters

RArray< TDisplayMode > & aDisplayModes

SupportedOutputFormatsL(RArray< TUid > &)

voidSupportedOutputFormatsL(RArray< TUid > &aFormats)const

Parameters

RArray< TUid > & aFormats

SupportedOutputImageFrameFormatsL(RArray< TUid > &)

voidSupportedOutputImageFrameFormatsL(RArray< TUid > &aFormats)const

Parameters

RArray< TUid > & aFormats

SupportedOutputSubFormatsL(TUid, RArray< TUid > &)

voidSupportedOutputSubFormatsL(TUidaFormat,
RArray< TUid > &aSubFormats
)const

Parameters

TUid aFormat
RArray< TUid > & aSubFormats

UndoAllL()

voidUndoAllL()

UndoL()

voidUndoL()

Member Data Documentation

CImageProcessorCallback * iCallbackHandler

CImageProcessorCallback *iCallbackHandler[private]

CImageProcessorDrmInput * iDrmInput

CImageProcessorDrmInput *iDrmInput[private]

RPointerArray< TEffect > iEffects

RPointerArray< TEffect >iEffects[private]

RFs & iFileServerSession

RFs &iFileServerSession[private]

RArray< TUid > iFrameworkEffects

RArray< TUid >iFrameworkEffects[private]

CImgProcessor & iImageProcessor

CImgProcessor &iImageProcessor[private]

RArray< TDisplayMode > iInputDisplayModes

RArray< TDisplayMode >iInputDisplayModes[private]

RArray< TUid > iInputFormats

RArray< TUid >iInputFormats[private]

RArray< TUid > iInputImageFrameFormats

RArray< TUid >iInputImageFrameFormats[private]

TInputInfo * iInputInfo

TInputInfo *iInputInfo[private]

TBool iIsInputSet

TBool iIsInputSet[private]

TBool iIsOutputSet

TBool iIsOutputSet[private]

TUint64 iOptions

TUint64 iOptions[private]

RArray< TDisplayMode > iOutputDisplayModes

RArray< TDisplayMode >iOutputDisplayModes[private]

RArray< TUid > iOutputFormats

RArray< TUid >iOutputFormats[private]

RArray< TUid > iOutputImageFrameFormats

RArray< TUid >iOutputImageFrameFormats[private]

TOutputInfo * iOutputInfo

TOutputInfo *iOutputInfo[private]

TOverlay * iOverlay

TOverlay *iOverlay[private]

CImageProcessorDrmInput * iOverlayDrmInput

CImageProcessorDrmInput *iOverlayDrmInput[private]

RPointerArray< CImageProcessorDrmInput > iOverlayDrmInputs

RPointerArray< CImageProcessorDrmInput >iOverlayDrmInputs[private]

RArray< TDisplayMode > iOverlayInputDisplayModes

RArray< TDisplayMode >iOverlayInputDisplayModes[private]

RArray< TUid > iOverlayInputFormats

RArray< TUid >iOverlayInputFormats[private]

RArray< TUid > iOverlayInputImageFrameFormats

RArray< TUid >iOverlayInputImageFrameFormats[private]

MImgProcessorPlugin * iPlugin

MImgProcessorPlugin *iPlugin[private]

TUid iPluginDtorKey

TUid iPluginDtorKey[private]

RArray< TUid > iPluginEffects

RArray< TUid >iPluginEffects[private]

TUid iPluginUid

TUid iPluginUid[private]

RArray< TDisplayMode > iPreviewOutputDisplayModes

RArray< TDisplayMode >iPreviewOutputDisplayModes[private]

RArray< TUid > iPreviewOutputImageFrameFormats

RArray< TUid >iPreviewOutputImageFrameFormats[private]

RPointerArray< TPreview > iPreviews

RPointerArray< TPreview >iPreviews[private]

CImgProcessor::TState iPreviousState

CImgProcessor::TState iPreviousState[private]

TProgressInfo * iProgressInfo

TProgressInfo *iProgressInfo[private]

CImgProcessor::TState iState

CImgProcessor::TState iState[private]

TUint iSupportedOperations

TUint iSupportedOperations[private]

TUint64 iSupportedOptions

TUint64 iSupportedOptions[private]

RFileExtensionMIMETypeArray iTypesUtilityArray

RFileExtensionMIMETypeArray iTypesUtilityArray[private]

const TBool iValidStates

const TBooliValidStates[private, static]