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 TReal32 BlackLevelL ( ) const

Gets the current dark saturating value.

GrayLevelL()

IMPORT_C TReal32 GrayLevelL ( ) const

Gets the current middle gray value.

SetWGBLevelL(TReal32, TReal32, TReal32)

IMPORT_C void SetWGBLevelL ( TReal32 aWhiteLevel,
TReal32 aGrayLevel,
TReal32 aBlackLevel
)

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 aWhiteLevel The position of the bright saturating point. Range (0.0) - (1.0).
TReal32 aGrayLevel The relative position of the middle gray point. Range (0.0) - (1.0).
TReal32 aBlackLevel The position of the dark saturating point. Range (0.0) - (1.0).

WhiteLevelL()

IMPORT_C TReal32 WhiteLevelL ( ) const

Gets the current bright saturating value.