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.

Public Member Functions
IMPORT_C TUint32BitsPerPixelL()
IMPORT_C TDisplayModeDisplayModeL()
IMPORT_C TAny *Extension(TUid)
IMPORT_C voidFormatL(TUid &, TUid &)
IMPORT_C TBoolHasAlphaL()
IMPORT_C TUidImageFrameFormatL()
IMPORT_C TBoolIsInterlacedL()
IMPORT_C TBoolIsProgressiveL()
IMPORT_C TUidSamplingL()
IMPORT_C TSizeSizeL()
Private Member Functions
TInputInfo(Plugin::MInputInfo &, CImageProcessorImpl &)
Private Attributes
CImageProcessorImpl &iImageProcessorImpl
Plugin::MInputInfo &iInputInfoImpl
TInt iReserved

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 TUint32BitsPerPixelL()const

Gets the bits per pixel of input image.

DisplayModeL()

IMPORT_C TDisplayModeDisplayModeL()const

Gets the display mode of input image.

Extension(TUid)

IMPORT_C TAny *Extension(TUidaExtension)const

Retrieves access to a custom extension.

Parameters

TUid aExtensionThe UID of the extension to be retrieved

FormatL(TUid &, TUid &)

IMPORT_C voidFormatL(TUid &aFormat,
TUid &aSubFormat
)const

Gets the input image format

leave
KErrNotReady The effect is not active.

Parameters

TUid & aFormatReturns the Uid of the format.
TUid & aSubFormatReturns the sub Uid of the format.

HasAlphaL()

IMPORT_C TBoolHasAlphaL()const

Gets the the image alpha information.

ImageFrameFormatL()

IMPORT_C TUidImageFrameFormatL()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 TBoolIsInterlacedL()const

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

IsProgressiveL()

IMPORT_C TBoolIsProgressiveL()const

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

SamplingL()

IMPORT_C TUidSamplingL()const

Gets the sampling of input image.

SizeL()

IMPORT_C TSizeSizeL()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]