ImageProcessor::TEffectRgbColorAdjust Class Reference

class ImageProcessor::TEffectRgbColorAdjust : public ImageProcessor::TEffect

The class provides functions to adjust the RGB color composition of an image

Inherits from

Constructor & Destructor Documentation

TEffectRgbColorAdjust(Plugin::MEffect &, CImageProcessorImpl &)

TEffectRgbColorAdjust(Plugin::MEffect &aEffect,
CImageProcessorImpl &aImageProcessorImpl
)[private]

Parameters

Plugin::MEffect & aEffect
CImageProcessorImpl & aImageProcessorImpl

Member Functions Documentation

BlueLevelL()

IMPORT_C TReal32BlueLevelL()const

Gets the current blue level of RgbColorAdjust effect

GreenLevelL()

IMPORT_C TReal32GreenLevelL()const

Gets the current green level of RgbColorAdjust effect

RedLevelL()

IMPORT_C TReal32RedLevelL()const

Gets the current red level of RgbColorAdjust effect

SetRGBLevelL(TReal32, TReal32, TReal32)

IMPORT_C voidSetRGBLevelL(TReal32aRedLevel,
TReal32aGreenLevel,
TReal32aBlueLevel
)

Specifies the red, green and blue level for the current RgbColorAdjust effect

leave
KErrNotReady The effect is not active.
leave
KErrArgument The red level, or green level, or blue level is not in the acceptable range.

Parameters

TReal32 aRedLevelThe red channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.
TReal32 aGreenLevelThe green channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.
TReal32 aBlueLevelThe blue channel adjustment. Range (-1.0) - (1.0), where 0.0 implies no adjustment.