CCamera::CCameraImageProcessing::TColorOperationEntry Class Reference

class CCamera::CCameraImageProcessing::TColorOperationEntry

Color operation parameters characterizing both color swap and color accent feature; and for a particular entry.

Constructor & Destructor Documentation

TColorOperationEntry()

IMPORT_C TColorOperationEntry ( )

Constructor. Sets the size of this class in iSize.

Constructor for the TColorOperationEntry class. Sets the size and version of this class.

Member Functions Documentation

Size()

IMPORT_C TInt Size ( ) const

Returns the size of the class. Used for extensibility by deriving from this base class and adding new member variables. Intended to be used for implementation of methods where this class reference is passed as function arguments. Implementation of such methods can find out the whether the actual class passed is base or the derived one. So, if a new application is made to run on an old implementation, an error may occur in such cases after the old implementation detects this by getting the size information of the T class passed. Also, if old application is made to run on a new implementation, this could be properly handled if the derived class variables handling is done in a proper 'if-else' statement.

Note:

The size will be modified when the T-class gets updated.

Version()

IMPORT_C TUint Version ( ) const

Returns the version of the class. Used for extensibility specially when the class members are not added but the Reserved members get used at a later stage.

Note:

The version will be modified when the T-class gets updated.

Member Data Documentation

TColorOperationRgbGroupingMode iColorOperationSourceRgbGroupingMode

TColorOperationRgbGroupingMode iColorOperationSourceRgbGroupingMode

This defines the type of grouping for multiple representation of source color

TColorOperationRgbGroupingMode iColorOperationTargetRgbGroupingMode

TColorOperationRgbGroupingMode iColorOperationTargetRgbGroupingMode

This defines the type of grouping for multiple representation of target color in case of Color Swap operation. Redundant for Color Accent operation

TValueInfo iEntryStatus

TValueInfo iEntryStatus

This gives the entry status of every color operation entry. If entry is not set or removed, this is ENotActive. And if entry is set, then this is EDiscreteSteps

TBitsIgnore iNumBitsIgnored

TBitsIgnore iNumBitsIgnored

This gives the number of bits to ignore in case ERgbGroupingSignificantBits is used for multiple representation of source color. For any other case, no. of bits ignored for red, green, blue or alpha should be 0

TInt iReserved

TInt iReserved [private]

TUint iSize

TUint iSize [private]

TRgb iSourceColor

TRgb iSourceColor

The source color (rgb triplet) which is changed to target color in case of Color Swap operation and remains unaffected in case of Color Accent operation

TColorOperationRepresentation iSourceColorRepresentation

TColorOperationRepresentation iSourceColorRepresentation

This defines whether the given source color represents itself or a group of colors

TRgb iTargetColor

TRgb iTargetColor

The target color (rgb triplet) which replaces the source color in case of Color Swap operation. Redundant for Color Accent operation

TColorOperationRepresentation iTargetColorRepresentation

TColorOperationRepresentation iTargetColorRepresentation

This defines whether the given target color represents itself or a group of colors in case of Color Swap operation. Redundant for Color Accent operation

TUint iVersion

TUint iVersion [private]