ImageProcessor::TInputInfo Class Reference

class ImageProcessor::TInputInfo

This class provides functions to read input image details. These details can be used for display in a file browser or to verify the correct capabilities. Prior to use this API, a pointer to ImageProcessor::InputInfoL() interface must be obtained from the active CImgProcessor instance.

Constructor & Destructor Documentation

TInputInfo(Plugin::MInputInfo &, CImageProcessorImpl &)

TInputInfo ( Plugin::MInputInfo & aInputInfoImpl,
CImageProcessorImpl & aImageProcessorImpl
) [private]

Parameters

Plugin::MInputInfo & aInputInfoImpl
CImageProcessorImpl & aImageProcessorImpl

Member Functions Documentation

BitsPerPixelL()

IMPORT_C TUint32 BitsPerPixelL ( ) const

Gets the bits per pixel of input image.

DisplayModeL()

IMPORT_C TDisplayMode DisplayModeL ( ) const

Gets the display mode of input image.

Extension(TUid)

IMPORT_C TAny * Extension ( TUid aExtension ) const

Retrieves access to a custom extension.

Parameters

TUid aExtension The UID of the extension to be retrieved

FormatL(TUid &, TUid &)

IMPORT_C void FormatL ( TUid & aFormat,
TUid & aSubFormat
) const

Gets the input image format

leave
KErrNotReady The effect is not active.

Parameters

TUid & aFormat Returns the Uid of the format.
TUid & aSubFormat Returns the sub Uid of the format.

HasAlphaL()

IMPORT_C TBool HasAlphaL ( ) const

Gets the the image alpha information.

ImageFrameFormatL()

IMPORT_C TUid ImageFrameFormatL ( ) const

Gets the uid of frame format of input image. When calling TInputInfo::DisplayModeL() returns ENone, this ImageFrameFormatL() could be used to get image frame format.

IsInterlacedL()

IMPORT_C TBool IsInterlacedL ( ) const

Gets the source image information and scans whether the source image is interlaced or not.

IsProgressiveL()

IMPORT_C TBool IsProgressiveL ( ) const

Gets the source image information and scans whether the source image allows progressive decoding or not.

SamplingL()

IMPORT_C TUid SamplingL ( ) const

Gets the sampling of input image.

SizeL()

IMPORT_C TSize SizeL ( ) const

Gets the size of input image

Member Data Documentation

CImageProcessorImpl & iImageProcessorImpl

CImageProcessorImpl & iImageProcessorImpl [private]

Plugin::MInputInfo & iInputInfoImpl

Plugin::MInputInfo & iInputInfoImpl [private]

TInt iReserved

TInt iReserved [private]