#include <imageprocessor/imageprocessorinputinfo.h>
class ImageProcessor::TInputInfo |
Public Member Functions | |
---|---|
IMPORT_C TUint32 | BitsPerPixelL() |
IMPORT_C TDisplayMode | DisplayModeL() |
IMPORT_C TAny * | Extension(TUid) |
IMPORT_C void | FormatL(TUid &, TUid &) |
IMPORT_C TBool | HasAlphaL() |
IMPORT_C TUid | ImageFrameFormatL() |
IMPORT_C TBool | IsInterlacedL() |
IMPORT_C TBool | IsProgressiveL() |
IMPORT_C TUid | SamplingL() |
IMPORT_C TSize | SizeL() |
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.
IMPORT_C TUint32 | BitsPerPixelL | ( | ) | const |
Gets the bits per pixel of input image.
Returns: bits per pixel of image.
IMPORT_C TDisplayMode | DisplayModeL | ( | ) | const |
Gets the display mode of input image.
Returns: display mode of image.
IMPORT_C TBool | HasAlphaL | ( | ) | const |
Gets the the image alpha information.
Returns: true if input image has alpha channel.
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.
Returns: uid of frame format of the image.
IMPORT_C TBool | IsInterlacedL | ( | ) | const |
Gets the source image information and scans whether the source image is interlaced or not.
Returns: ETrue if the source image is interlaced otherwise EFlase.
IMPORT_C TBool | IsProgressiveL | ( | ) | const |
Gets the source image information and scans whether the source image allows progressive decoding or not.
Returns: ETrue if the source image allows progressive decoding otherwise EFalse.