ImageProcessor::TEffect Class Reference
class ImageProcessor::TEffect
|
The class is the parent class of all effects. The extended class should implement three stages/functions: "begin -> set -> end"
Constructor & Destructor Documentation
TEffect(const TUid &, Plugin::MEffect &, CImageProcessorImpl &)
Member Functions Documentation
BeginL()
The begin function of effects, which is first part of the three stages/functions: "begin -> set -> end". .
EndL()
The end function of effects, which is last part of the three stages/functions: "begin -> set -> end". .
Extension(TUid)
IMPORT_C
TAny
*
|
Extension
|
(
|
TUid
|
aExtension
|
)
|
|
Retrieves access to a custom extension.
Parameters
TUid
aExtension
|
The UID of the extension to be retrieved
|
InputType()
Retrieves the input type for the effect.
IsActive()
TBool
|
IsActive
|
(
|
)
|
const [inline]
|
Gets the state of the effect.
LevelL(TInt &)
IMPORT_C void
|
LevelL
|
(
|
TInt
&
|
aLevel
|
)
|
const
|
Retrieves the effect level.
Parameters
TInt
& aLevel
|
The level value.
|
LevelL(TReal32 &)
IMPORT_C void
|
LevelL
|
(
|
TReal32
&
|
aLevel
|
)
|
const
|
Retrieves the effect level.
LevelSettings(TInt &, TInt &, TInt &)
IMPORT_C void
|
LevelSettings
|
(
|
TInt
&
|
aMinimumLevel,
|
|
TInt
&
|
aMaximumLevel,
|
|
TInt
&
|
aLevelStep
|
|
)
|
const
|
Retrieves the effect level range. If minimum level equals the maximum level the particular input type is not supported.
Parameters
TInt
& aMinimumLevel
|
The minimum value of the level.
|
TInt
& aMaximumLevel
|
The maximum value of the level.
|
TInt
& aLevelStep
|
The value of the level step. The level step defines the level range resolution between minimim and maximum levels.
|
LevelSettings(TReal32 &, TReal32 &, TReal32 &)
IMPORT_C void
|
LevelSettings
|
(
|
TReal32
&
|
aMinimumLevel,
|
|
TReal32
&
|
aMaximumLevel,
|
|
TReal32
&
|
aLevelStep
|
|
)
|
const
|
Retrieves the effect level range. If minimum level equals the maximum level the particular input type is not supported.
Parameters
TReal32
& aMinimumLevel
|
The minimum value of the level.
|
TReal32
& aMaximumLevel
|
The maximum value of the level.
|
TReal32
& aLevelStep
|
The value of the level step. The level step defines the level range resolution between minimim and maximum levels.
|
PluginEffect()
Gets associated plugin of the effect.
ResetL()
The reset function of effects, which resets the effect parameters and state.
SetLevelL(TInt)
IMPORT_C void
|
SetLevelL
|
(
|
TInt
|
aLevel
|
)
|
|
Sets the level to the effect.
-
leave
-
KErrNotReady The effect is not active. The effect should be set active by calling
TEffect::BeginL()
function.
TEffect::BeginL()
-
leave
-
KErrArgument The level is not in the level range. The range can be queried by calling TEffect::LevelSettings(TInt& aMinimumLevel, TInt& aMaximumLevel, TInt& aLevelStep) function.
TEffect::LevelSettings(TInt& aMinimumLevel, TInt& aMaximumLevel, TInt& aLevelStep)
-
leave
-
KErrNotSupported The input type is not supported by the effect. The supported input type can be queried by calling
TEffect::InputType
function.
TEffect::InputType()
Parameters
TInt
aLevel
|
The level value to be set.
|
SetLevelL(TReal32)
IMPORT_C void
|
SetLevelL
|
(
|
TReal32
|
aLevel
|
)
|
|
Sets the level to the effect.
-
leave
-
KErrNotReady The effect is not active. The effect should be set active by calling
TEffect::BeginL()
function.
TEffect::BeginL()
-
leave
-
KErrArgument The level is not in the level range. The range can be queried by calling TEffect::LevelSettings(TReal32& aMinimumLevel, TReal32& aMaximumLevel, TReal32& aLevelStep) function.
TEffect::LevelSettings(TReal32& aMinimumLevel, TReal32& aMaximumLevel, TReal32& aLevelStep)
-
leave
-
KErrNotSupported The input type is not supported for the effect. The supported input type can be queried by calling
TEffect::InputType
function.
TEffect::InputType()
Parameters
TReal32
aLevel
|
The level value to be set.
|
Type()
TUid
|
Type
|
(
|
)
|
const [inline]
|
Member Enumerations Documentation
Enum TEffectInputType
Describes the type of the effect in terms of the type of parameter input to adjust levels.
Enumerators
EEffectInputTypeInt
|
|
EEffectInputTypeReal32
|
|
EEffectInputTypeCustom
|
|
Member Data Documentation
CImageProcessorImpl & iImageProcessorImpl
TBool
iIsActive
TBool
|
iIsActive
|
[protected]
|
Plugin::MEffect & iPluginEffect
TAny * iReserved
TAny
*
|
iReserved
|
[protected]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.