Public Member Functions | |
~CIclExample () | |
CActiveListener * | CreateAndInitializeActiveListenerLC () |
void | DecodeFromDescriptorToBitmapL (const TDesC &aFileName) |
void | DecodeFromFileToBitmapL (const TDesC &aFilename) |
void | DecodeToYuvFrameL (const TDesC &aFileName) |
void | AccessThumbnailToDecodeL (const TDesC &aFileName) |
void | AccessExifMetadataL (const TDesC &aFileName) |
void | DecodeUsingSepThreadL (const TDesC &aFileName) |
void | DecodeToHalfFourthAndEighthSizedBitmapL (const TDesC &aFileName) |
void | DecodeUsingImageMaskL (const TDesC &aFileName) |
void | MultiFrameImageDecodeL (const TDesC &aFileName) |
void | DecodeTheThumbnailL (const TDesC &aFileName) |
void | DecodeUsingContinueConvertL (const TDesC &aFileName) |
void | DisplayingImageCommentsL (const TDesC &aFileName) |
void | DisplayingFrameCommentsL (const TDesC &aFileName) |
void | GettingMimeTypeOfSourceDescriptorL (const TDesC &aFileName) |
void | GettingMimeTypeOfSourceFileL (const TDesC &aFileName) |
void | EncodeBitmapToDescriptorL (const TDesC &aFileName) |
void | EncodeImageWithThumbnailL (const TDesC &aFileName) |
void | SettingExifMetadataL (const TDesC &aFileName) |
void | RotateBitmapL (const TDesC &aFileName) |
void | ScaleBitmapL (const TDesC &aFileName) |
void | DecodeWithRotateL (const TDesC &aFileName) |
void | SetSourceDestinationandResizeL (const TDesC &aFileName) |
void | SettingWithUseOfPreserveImageDataL (const TDesC &aFileName1, const TDesC &aFileName2) |
void | AddThumbnailToJpegFileL (const TDesC &aSrcFileName, const TDesC &aDesFileName) |
void | AddExifDataToJpegFileL (const TDesC &aFileName) |
void | LoadPluginByUidL (const TDesC &aFilename, TUid aCodecUid) |
void | BlockStreamDecodeAndEncodeYuvFrameL (const TDesC &aSrcFileName, const TDesC &aDestFileName) |
void | EncodeBitmapToFileUsingOperationExtensionL (const TDesC &aSrcFileName, const TDesC &aDestFileName) |
void | ClipAndRotateDuringDecodeL () |
void | BasicPanoramaStitchingL () |
void | ViewFinderImageTrackingL () |
void | GeneratingSpmoL () |
void | GeneratingSpmoIterativelyL () |
void | BasicImageProcessingL () |
void | BasicEffectImageProcessingL () |
void | EffectImageProcessingWithUndoL () |
void | EffectImageProcessingWithPreviewL () |
void | EffectImageProcessingWithOverlayL () |
void | ImageProcessingWithSpmoL () |
void | SqueezeJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aDestFileName) |
void | SqueezeJpgBufferToBufferL (const TDesC &aSrcFileName, const TDesC &aDestFileName) |
void | AutoSqueezeJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aDestFileName) |
void | RotateJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aDestFileName) |
void | OverlayJpgDataToJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aOverlayFileName, const TDesC &aDestFileName) |
void | OverlayPngFileToJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aOverlayFileName, const TDesC &aDestFileName) |
void | OverlayBmpDataToJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aOverlayFileName, const TDesC &aDestFileName) |
void | SetConsole (CConsoleBase *aConsole) |
Static Public Member Functions | |
static CIclExample * | NewLC () |
Definition at line 189 of file iclexample.h.
CIclExample::~CIclExample | ( | ) |
Destructor
Definition at line 120 of file iclmainexample.cpp.
CIclExample * CIclExample::NewLC | ( | ) | [static] |
Instance a CIclExample object and push it on the cleanup stack. Initializes all member data to their default values.
Definition at line 96 of file iclmainexample.cpp.
CActiveListener * CIclExample::CreateAndInitializeActiveListenerLC | ( | ) |
Creates and Initializes a CActiveListener object.
Definition at line 168 of file iclmainexample.cpp.
void CIclExample::DecodeFromDescriptorToBitmapL | ( | const TDesC & | aFileName | ) |
Note 1: For demonstration purposes we create a client side active object which can handle the asynchronous request to decode the image. In a standard application the asynchronous call would be made passing in a TRequestStatus object associate with an active object which is part of that application. We would return to the main UI processing thread in which an active scheduler is running and wait for the asynchronous request to complete. In this demonstration we need to manually start the active scheduler. Note 2: Starts the active scheduler - this is for demonstration purposes. See Note 1: Demonstrates how to decode an image for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 52 of file icldecodeexample.cpp.
void CIclExample::DecodeFromFileToBitmapL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode an image which has been loaded into a file. The image is decoded into a bitmap which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 102 of file icldecodeexample.cpp.
void CIclExample::DecodeToYuvFrameL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode a JPEG image to an uncompressed YUV image frame.
aFileName | The specified file where the image is stored |
Definition at line 149 of file icldecodeexample.cpp.
void CIclExample::AccessThumbnailToDecodeL | ( | const TDesC & | aFileName | ) |
Demonstrates accessing the JPEG thumbnail of an image for which the content of the file has been loaded into memory.
aFileName | The specified file where the image is stored |
Definition at line 201 of file icldecodeexample.cpp.
void CIclExample::AccessExifMetadataL | ( | const TDesC & | aFileName | ) |
Demonstrates how to access Exif metadata of an image.
aFileName | The specified file where the image is stored |
Definition at line 254 of file icldecodeexample.cpp.
void CIclExample::DecodeUsingSepThreadL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode an image using separate thread. The image is decoded into a bitmap which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 351 of file icldecodeexample.cpp.
void CIclExample::DecodeToHalfFourthAndEighthSizedBitmapL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode an image to ? ?and 1/8 sized bitmaps for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 401 of file icldecodeexample.cpp.
void CIclExample::DecodeUsingImageMaskL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode an image using an image mask for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 458 of file icldecodeexample.cpp.
void CIclExample::MultiFrameImageDecodeL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode a multi-frame image for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 539 of file icldecodeexample.cpp.
void CIclExample::DecodeTheThumbnailL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode the thumbnail of the image for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 298 of file icldecodeexample.cpp.
void CIclExample::DecodeUsingContinueConvertL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode an image using CBufferedImageDecoder::Convert() and CBufferedImageDecoder::ContinueConvert() functions. The image is decoded into a bitmap, which can later be displayed on the screen.
aFileName | The specified file where the image is stored |
Definition at line 600 of file icldecodeexample.cpp.
void CIclExample::DisplayingImageCommentsL | ( | const TDesC & | aFileName | ) |
Demonstrates how to display the comments contained in an image for which the content of the file has been loaded into memory.
aFileName | The specified file where the image is stored |
Definition at line 709 of file icldecodeexample.cpp.
void CIclExample::DisplayingFrameCommentsL | ( | const TDesC & | aFileName | ) |
Demonstrates how to display the comments contained in frame of an image for which the content of the file has been loaded into memory.
aFileName | The specified file where the image is stored |
Definition at line 751 of file icldecodeexample.cpp.
void CIclExample::GettingMimeTypeOfSourceDescriptorL | ( | const TDesC & | aFileName | ) |
Demonstrates how to get the mime type of source in descriptor and load the decoder using this mime type.
aFileName | The specified file where the image is stored |
Definition at line 798 of file icldecodeexample.cpp.
void CIclExample::GettingMimeTypeOfSourceFileL | ( | const TDesC & | aFileName | ) |
Demonstrates how to get the mime type of source in file and load the decoder using this mime type.
aFileName | The specified file where the image is stored |
Definition at line 831 of file icldecodeexample.cpp.
void CIclExample::EncodeBitmapToDescriptorL | ( | const TDesC & | aFileName | ) |
Note 1: For demonstration purposes we create a client side active object which can handle the asynchronous request to decode the image. In a standard application the asynchronous call would be made passing in a TRequestStatus object associate with an active object which is part of that application. We would return to the main UI processing thread in which an active scheduler is running and wait for the asynchronous request to complete. In this demonstration we need to manually start the active scheduler. Note 2: Starts the active scheduler - this is for demonstration purposes. See Note 1: Demonstrates how to encode an image into a descriptor.
aFileName | The specified file where the image is stored |
Definition at line 53 of file iclencodeexample.cpp.
void CIclExample::EncodeImageWithThumbnailL | ( | const TDesC & | aFileName | ) |
Demonstrates how to encode a JPEG thumbnail of an image.
aFileName | The specified file where the image is stored |
Definition at line 116 of file iclencodeexample.cpp.
void CIclExample::SettingExifMetadataL | ( | const TDesC & | aFileName | ) |
Demonstrates how to set the exif metadata of an image.
aFileName | The specified file where the image is stored |
Definition at line 183 of file iclencodeexample.cpp.
void CIclExample::RotateBitmapL | ( | const TDesC & | aFileName | ) |
Demonstrates how to rotate a bitmap.
aFileName | The specified file where the image is stored |
Definition at line 256 of file iclencodeexample.cpp.
void CIclExample::ScaleBitmapL | ( | const TDesC & | aFileName | ) |
Demonstrates how to scale a bitmap including optional selection of low memory and quality algorithms.
aFileName | The specified file where the image is stored |
Definition at line 295 of file iclencodeexample.cpp.
void CIclExample::DecodeWithRotateL | ( | const TDesC & | aFileName | ) |
Demonstrates how to decode a bitmap including rotation of image MNG/GIF 'Animation'
aFileName | The specified file where the image is stored |
Definition at line 891 of file icldecodeexample.cpp.
void CIclExample::SetSourceDestinationandResizeL | ( | const TDesC & | aFileName | ) |
1) Specifies the name of the source file containing the image to transform 2) Defines the destination descriptor 3) Resize using CImageTransform
aFileName | The specified file where the image is stored |
Definition at line 348 of file iclencodeexample.cpp.
void CIclExample::SettingWithUseOfPreserveImageDataL | ( | const TDesC & | aFileName1, | |
const TDesC & | aFileName2 | |||
) |
1) Specifies the source descriptor containing the image to transform 2) Specifies the name of the destination file where the transformed image is to be written to. 3) Transforms the bitmap 4) Either specify that the original image data is to be preserved, as far as possible, or that the image data should be re-encoded to produce a more size-efficient image.
aFileName | The specified file where the image is stored |
Definition at line 412 of file iclencodeexample.cpp.
void CIclExample::AddThumbnailToJpegFileL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aDesFileName | |||
) |
Demonstrates how to add thumbnail to JPEG file.
aSrcFileName | The specified file where the source image is stored | |
aDesFileName | The specified |
Definition at line 452 of file iclencodeexample.cpp.
void CIclExample::AddExifDataToJpegFileL | ( | const TDesC & | aFileName | ) |
Demonstrates how to add Exif data to a JPEG file.
aFileName | The specified file where the image is stored |
Definition at line 493 of file iclencodeexample.cpp.
void CIclExample::LoadPluginByUidL | ( | const TDesC & | aFileName, | |
TUid | aCodecUid | |||
) |
Demonstrates how to resolve and load a plug-in by specific UID
aFileName | The specified file where the image is stored | |
TUid | aCodecUid specific Uid to load the decoder |
Definition at line 859 of file icldecodeexample.cpp.
void CIclExample::BlockStreamDecodeAndEncodeYuvFrameL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aDestFileName | |||
) |
Demonstrates modification of JPEG MCUs using minimal memory, for example to change brightness over an entire image, by decoding and then re-encoding via the block streamer extension interfaces.
aSrcFileName | Specifies the source file containing the image to be stream decoded. | |
aDestFileName | Specifies the destination file where the stream encoded image is to be written. |
Definition at line 1033 of file icldecodeexample.cpp.
void CIclExample::EncodeBitmapToFileUsingOperationExtensionL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aDestFileName | |||
) |
Demonstrates how to apply rotation operation while encoding a bitmap to a jpeg.
aSrcFileName | Specifies the source bitmap containing the image to transform. | |
aDestFileName | Specifies the destination file where the transformed image is to be written. |
Definition at line 578 of file iclencodeexample.cpp.
void CIclExample::BasicImageProcessingL | ( | ) |
Demonstrates how to scale an image and re-encode at a specific quality.
Definition at line 125 of file iclimageprocessorexample.cpp.
void CIclExample::BasicEffectImageProcessingL | ( | ) |
Demonstrates how to crop an image, apply effects and geometrical operations to it and re-encode the image to a specific size and quality.
Definition at line 164 of file iclimageprocessorexample.cpp.
void CIclExample::EffectImageProcessingWithUndoL | ( | ) |
Demonstrates how to use undo facility to remove effects applied to an image.
Definition at line 228 of file iclimageprocessorexample.cpp.
void CIclExample::EffectImageProcessingWithPreviewL | ( | ) |
Demonstrates how to 'preview' a sequence of images as low quality bitmaps, applying the same set of effects to each.
Definition at line 278 of file iclimageprocessorexample.cpp.
void CIclExample::EffectImageProcessingWithOverlayL | ( | ) |
Demonstrates overlay of a PNG image on a JPEG and how that overlay can be resized and repositioned through a preview prior to being re-encoded to image file on disk.
Definition at line 376 of file iclimageprocessorexample.cpp.
void CIclExample::ImageProcessingWithSpmoL | ( | ) |
Demonstrates how to add a SpeedView object to an image which has been processed and is being re-encoded. This gives the benefit that the output image can be previewed quickly at some point in the future. This also demonstrates the transfer of EXIF headers and the regeneration of the thumbnail to match the main image.
Definition at line 501 of file iclimageprocessorexample.cpp.
void CIclExample::SqueezeJpgFileToFileL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aDestFileName | |||
) |
Demonstrates how to squeeze an image from a file to a file
aSrcFileName | The specified file where the image is stored | |
aDestFileName | The destination file to store the squeezed image |
Definition at line 56 of file icljpgtoolsandsqueezeexample.cpp.
void CIclExample::SqueezeJpgBufferToBufferL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aDestFileName | |||
) |
Demonstrates how to squeeze an image from a buffer to a buffer
aSrcFileName | The specified file where the image is stored | |
aDestFileName | The destination file to store the squeezed image |
Definition at line 114 of file icljpgtoolsandsqueezeexample.cpp.
void CIclExample::AutoSqueezeJpgFileToFileL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aDestFileName | |||
) |
Demonstrates how to auto-squeeze an image from a file to a file
aSrcFileName | The specified file where the image is stored | |
aDestFileName | The destination file to store the squeezed image |
Definition at line 179 of file icljpgtoolsandsqueezeexample.cpp.
void CIclExample::RotateJpgFileToFileL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aDestFileName | |||
) |
Demonstrates how to rotate an image from a file to a file
aSrcFileName | The specified file where the image is stored | |
aDestFileName | The destination file to store the squeezed image |
Definition at line 261 of file icljpgtoolsandsqueezeexample.cpp.
void CIclExample::OverlayJpgDataToJpgFileToFileL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aOverlayFileName, | |||
const TDesC & | aDestFileName | |||
) |
Demonstrates how to blend a jpg data in file to a file to a file
aSrcFileName | The specified file where the image is stored | |
aOverlayFileName | The file containing the overlay image | |
aDestFileName | The destination file to store the squeezed image |
Definition at line 309 of file icljpgtoolsandsqueezeexample.cpp.
void CIclExample::OverlayPngFileToJpgFileToFileL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aOverlayFileName, | |||
const TDesC & | aDestFileName | |||
) |
Demonstrates how to blend a png image in file to a jpg file to a file
aSrcFileName | The specified file where the image is stored | |
aOverlayFileName | The file containing the overlay png image | |
aDestFileName | The destination file to store the squeezed image |
Definition at line 361 of file icljpgtoolsandsqueezeexample.cpp.
void CIclExample::OverlayBmpDataToJpgFileToFileL | ( | const TDesC & | aSrcFileName, | |
const TDesC & | aOverlayFileName, | |||
const TDesC & | aDestFileName | |||
) |
Demonstrates how to blend a bitmap to a file to a file
aSrcFileName | The specified file where the image is stored | |
aOverlayFileName | The file containing the overlay btimap image | |
aDestFileName | The destination file to store the squeezed image |
Definition at line 414 of file icljpgtoolsandsqueezeexample.cpp.