CCamera::CCameraImageProcessing::TBitsIgnore Class Reference

class CCamera::CCameraImageProcessing::TBitsIgnore

Class used to control the number of bits to ignore for Red, Green, Blue or Alpha. This may be used when deciding for neighbourhood for source color in case of color swap and color accent feature

Constructor & Destructor Documentation

TBitsIgnore()

IMPORT_CTBitsIgnore()

Constructor. Sets the size of this class in iSize.

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

Member Functions Documentation

Size()

IMPORT_C TIntSize()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 TUintVersion()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

TUint iAlphaBitsIgnore

TUint iAlphaBitsIgnore

This gives the no. of bits to ignore for Alpha. Varies from 0 to 8. Any other value should be an error

TUint iBlueBitsIgnore

TUint iBlueBitsIgnore

This gives the no. of bits to ignore for Blue color. Varies from 0 to 8. Any other value should be an error

TUint iGreenBitsIgnore

TUint iGreenBitsIgnore

This gives the no. of bits to ignore for Green color. Varies from 0 to 8. Any other value should be an error

TUint iRedBitsIgnore

TUint iRedBitsIgnore

This gives the no. of bits to ignore for Red color. Varies from 0 to 8. Any other value should be an error

TUint iReservedBits

TUint iReservedBits[private]

TUint iSize

TUint iSize[private]

TUint iVersion

TUint iVersion[private]