ImageProcessor::TEffectLevels Class Reference

class ImageProcessor::TEffectLevels : public ImageProcessor::TEffect

The class provides functions to apply white, gray and black level adjustment to an image.

Inherits from

Constructor & Destructor Documentation

TEffectLevels(Plugin::MEffect &, CImageProcessorImpl &)

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

Parameters

Plugin::MEffect & aEffect
CImageProcessorImpl & aImageProcessorImpl

Member Functions Documentation

BlackLevelL()

IMPORT_C TReal32BlackLevelL()const

Gets the current dark saturating value.

GrayLevelL()

IMPORT_C TReal32GrayLevelL()const

Gets the current middle gray value.

SetWGBLevelL(TReal32, TReal32, TReal32)

IMPORT_C voidSetWGBLevelL(TReal32aWhiteLevel,
TReal32aGrayLevel,
TReal32aBlackLevel
)

Specifies the white/gray/black level.

leave
KErrNotReady The effect is not active.
leave
KErrArgument The aWhiteLevel or aGrayLevel or aBlackLevel mode is not in the acceptable range.

Parameters

TReal32 aWhiteLevelThe position of the bright saturating point. Range (0.0) - (1.0).
TReal32 aGrayLevelThe relative position of the middle gray point. Range (0.0) - (1.0).
TReal32 aBlackLevelThe position of the dark saturating point. Range (0.0) - (1.0).

WhiteLevelL()

IMPORT_C TReal32WhiteLevelL()const

Gets the current bright saturating value.