Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/iclexample_8h-source.html
Week 12 contribution of SDK documentation_content. See release notes for details. Fixes Bug 1892, Bug 1522, Bug 1520, Bug 394, Bug 1319, Bug 344, Bug 1897
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>TB10.1 Example Applications: examples/Multimedia/ICL/ICLExample/iclexample.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.3 -->
<h1>examples/Multimedia/ICL/ICLExample/iclexample.h</h1><a href="iclexample_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// iclexample.h</span>
<a name="l00002"></a>00002 <span class="comment">//</span>
<a name="l00003"></a>00003 <span class="comment">// // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).</span>
<a name="l00004"></a>00004 <span class="comment">// All rights reserved.</span>
<a name="l00005"></a>00005 <span class="comment">// This component and the accompanying materials are made available</span>
<a name="l00006"></a>00006 <span class="comment">// under the terms of "Eclipse Public License v1.0"</span>
<a name="l00007"></a>00007 <span class="comment">// which accompanies this distribution, and is available</span>
<a name="l00008"></a>00008 <span class="comment">// at the URL "http://www.eclipse.org/legal/epl-v10.html".</span>
<a name="l00009"></a>00009 <span class="comment">//</span>
<a name="l00010"></a>00010 <span class="comment">// Initial Contributors:</span>
<a name="l00011"></a>00011 <span class="comment">// Nokia Corporation - initial contribution.</span>
<a name="l00012"></a>00012 <span class="comment">//</span>
<a name="l00013"></a>00013 <span class="comment">// Contributors:</span>
<a name="l00014"></a>00014 <span class="comment">//</span>
<a name="l00015"></a>00015 <span class="comment">// Description:</span>
<a name="l00016"></a>00016 <span class="comment">//</span>
<a name="l00017"></a>00017 <span class="comment">//</span>
<a name="l00018"></a>00018
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef __ICLEXAMPLE_H__</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __ICLEXAMPLE_H__</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="comment">// Symbian platform includes</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include <bitmaptransforms.h></span>
<a name="l00028"></a>00028 <span class="preprocessor">#include <iclexifimageframe.h></span>
<a name="l00029"></a>00029 <span class="preprocessor">#include <exifutility.h></span>
<a name="l00030"></a>00030 <span class="preprocessor">#include <e32cons.h></span>
<a name="l00031"></a>00031
<a name="l00032"></a>00032
<a name="l00033"></a>00033 <span class="comment">// Index of the first frame of an image.</span>
<a name="l00034"></a><a class="code" href="iclexample_8h.html#8e6dac40318753daf806f44078888a2e">00034</a> <span class="keyword">const</span> TInt <a class="code" href="iclexample_8h.html#8e6dac40318753daf806f44078888a2e">KFirstFrame</a> = 0;
<a name="l00035"></a>00035
<a name="l00036"></a>00036 <span class="comment">// Literals</span>
<a name="l00037"></a>00037 _LIT(KBitmapFile,<span class="stringliteral">"\\ICLExample\\smiley.bmp"</span>);
<a name="l00038"></a>00038 _LIT(KThumbFile,<span class="stringliteral">"\\ICLExample\\thumbimage.jpg"</span>);
<a name="l00039"></a>00039 _LIT(KYuvBitmap,<span class="stringliteral">"\\ICLExample\\yuvimage.jpg"</span>);
<a name="l00040"></a>00040 _LIT(KYuvDestBitmap,<span class="stringliteral">"\\ICLExample\\yuvdestimage.jpg"</span>);
<a name="l00041"></a>00041 _LIT(KDestStreamFile,<span class="stringliteral">"\\ICLExample\\encodedstreamimage.jpg"</span>);
<a name="l00042"></a>00042 _LIT(KDestRotateFile,<span class="stringliteral">"\\ICLExample\\encodedrotateimage.jpg"</span>);
<a name="l00043"></a>00043 _LIT(KMultiFrameClock,<span class="stringliteral">"\\ICLExample\\clock.gif"</span>);
<a name="l00044"></a>00044 _LIT(KBitmapComment,<span class="stringliteral">"\\ICLExample\\am475.gif"</span>);
<a name="l00045"></a>00045 _LIT(KBitmapFrameComment,<span class="stringliteral">"\\ICLExample\\comment.jpg"</span>);
<a name="l00046"></a>00046 _LIT(KBitmapExif,<span class="stringliteral">"\\ICLExample\\exifencode.jpg"</span>);
<a name="l00047"></a>00047 _LIT(KSourceBitmap,<span class="stringliteral">"\\ICLExample\\source.mbm"</span>);
<a name="l00048"></a>00048 _LIT(KBitmapRotateWhileEncodeToJpeg,<span class="stringliteral">"\\ICLExample\\sourcerotate.mbm"</span>);
<a name="l00049"></a>00049 _LIT(KTestFileName1, <span class="stringliteral">"\\ICLExample\\harbourbridge1.jpg"</span>);
<a name="l00050"></a>00050 _LIT(KTestFileName2, <span class="stringliteral">"\\ICLExample\\harbourbridge2.jpg"</span>);
<a name="l00051"></a>00051 _LIT(KTestFileName3, <span class="stringliteral">"\\ICLExample\\harbourbridge3.jpg"</span>);
<a name="l00052"></a>00052 _LIT(KTestFileName4, <span class="stringliteral">"\\ICLExample\\harbourbridge4.jpg"</span>);
<a name="l00053"></a>00053 _LIT(KTestBSOutputFileName, <span class="stringliteral">"\\ICLExample\\harbourbridgepanorama.jpg"</span>);
<a name="l00054"></a>00054 _LIT(KTestVFTOutputFileName, <span class="stringliteral">"\\ICLExample\\harbourbridgepanoramavt.jpg"</span>);
<a name="l00055"></a>00055 _LIT(KVFTTestFileName1, <span class="stringliteral">"\\ICLExample\\office1.jpg"</span>);
<a name="l00056"></a>00056 _LIT(KVFTTestFileName2, <span class="stringliteral">"\\ICLExample\\office2.jpg"</span>);
<a name="l00057"></a>00057 _LIT(KVFTTestFileName3, <span class="stringliteral">"\\ICLExample\\office3.jpg"</span>);
<a name="l00058"></a>00058 _LIT(KVFTTestFileName4, <span class="stringliteral">"\\ICLExample\\office4.jpg"</span>);
<a name="l00059"></a>00059 _LIT(KVFTTestFileName5, <span class="stringliteral">"\\ICLExample\\office5.jpg"</span>);
<a name="l00060"></a>00060 _LIT(KVFTTestFileName6, <span class="stringliteral">"\\ICLExample\\office6.jpg"</span>);
<a name="l00061"></a>00061 _LIT(KVFTTestRefFileName, <span class="stringliteral">"\\ICLExample\\office.mbm"</span>);
<a name="l00062"></a>00062 _LIT(KInputFileName,<span class="stringliteral">"c:\\ICLExample\\input_image.jpg"</span>);
<a name="l00063"></a>00063 _LIT(KInputFileName01,<span class="stringliteral">"c:\\ICLExample\\input_image01.jpg"</span>);
<a name="l00064"></a>00064 _LIT(KInputFileName02,<span class="stringliteral">"c:\\ICLExample\\input_image02.jpg"</span>);
<a name="l00065"></a>00065 _LIT(KInputFileName03,<span class="stringliteral">"c:\\ICLExample\\input_image03.jpg"</span>);
<a name="l00066"></a>00066 _LIT(KInputFileName04,<span class="stringliteral">"c:\\ICLExample\\input_image04.jpg"</span>);
<a name="l00067"></a>00067 _LIT(KInputOverlayFileName,<span class="stringliteral">"c:\\ICLExample\\overlay.png"</span>);
<a name="l00068"></a>00068 _LIT(KInputWithSpmoFileName,<span class="stringliteral">"c:\\ICLExample\\input_image_with_spmo.jpg"</span>);
<a name="l00069"></a>00069 _LIT(KOutputFileName, <span class="stringliteral">"c:\\ICLExample\\output_image.jpg"</span>);
<a name="l00070"></a>00070 _LIT(KOutputWithBasicEffectFileName, <span class="stringliteral">"c:\\ICLExample\\output_image_with_basiceffect.jpg"</span>);
<a name="l00071"></a>00071 _LIT(KOutputWithUndoFileName, <span class="stringliteral">"c:\\ICLExample\\output_image_with_undo.jpg"</span>);
<a name="l00072"></a>00072 _LIT(KOutputWithOverlayFileName,<span class="stringliteral">"c:\\ICLExample\\output_image_with_overlay.jpg"</span>);
<a name="l00073"></a>00073 _LIT(KOutputBitmapFileName,<span class="stringliteral">"c:\\ICLExample\\output_bitmap.mbm"</span>);
<a name="l00074"></a>00074 _LIT(KOutputBitmapFileName01,<span class="stringliteral">"c:\\ICLExample\\output_bitmap01.mbm"</span>);
<a name="l00075"></a>00075 _LIT(KOutputBitmapFileName02,<span class="stringliteral">"c:\\ICLExample\\output_bitmap02.mbm"</span>);
<a name="l00076"></a>00076 _LIT(KOutputBitmapFileName03,<span class="stringliteral">"c:\\ICLExample\\output_bitmap03.mbm"</span>);
<a name="l00077"></a>00077 _LIT(KOutputBitmapFileName04,<span class="stringliteral">"c:\\ICLExample\\output_bitmap04.mbm"</span>);
<a name="l00078"></a>00078 _LIT(KOutputWithSpmoFileName,<span class="stringliteral">"c:\\ICLExample\\output_image_with_spmo.jpg"</span>);
<a name="l00079"></a>00079 _LIT(KSpmoFileName, <span class="stringliteral">"c:\\ICLExample\\spmo.bin"</span>);
<a name="l00080"></a>00080 _LIT(KSourceJpgCapstest,<span class="stringliteral">"\\ICLExample\\capstest.jpg"</span>);
<a name="l00081"></a>00081 _LIT(KSourceJpgDatetree,<span class="stringliteral">"\\ICLExample\\datetree.jpg"</span>);
<a name="l00082"></a>00082 _LIT(KSourceJpgOverlay,<span class="stringliteral">"\\ICLExample\\overlay.jpg"</span>);
<a name="l00083"></a>00083 _LIT(KSourcePngOverlay,<span class="stringliteral">"\\ICLExample\\overlay.png"</span>);
<a name="l00084"></a>00084 _LIT(KSourceMbmOverlay,<span class="stringliteral">"\\ICLExample\\mbm32bpp_1.mbm"</span>);
<a name="l00085"></a>00085 _LIT(KSqueezeDestJpgDatetreeFileToFile,<span class="stringliteral">"\\ICLExample\\dest_datetreefiletofile.jpg"</span>);
<a name="l00086"></a>00086 _LIT(KSqueezeDestJpgDatetreeBufferToBuffer,<span class="stringliteral">"\\ICLExample\\dest_datetreebufffertobuffer.jpg"</span>);
<a name="l00087"></a>00087 _LIT(KAutoSqueezeDestJpgCapstest,<span class="stringliteral">"\\ICLExample\\dest_capstestautosqueze.jpg"</span>);
<a name="l00088"></a>00088 _LIT(KRotate90DestJpgCapstest, <span class="stringliteral">"\\ICLExample\\dest_capstestrotate90.jpg"</span>);
<a name="l00089"></a>00089 _LIT(KOverlayDestPngFileToFile, <span class="stringliteral">"\\ICLExample\\dest_overlayfile_filetofile.jpg"</span>);
<a name="l00090"></a>00090 _LIT(KOverlayDestJpgDataFileToFile, <span class="stringliteral">"\\ICLExample\\dest_overlaydata_filetofile.jpg"</span>);
<a name="l00091"></a>00091 _LIT(KOverlayDestBitmapFileToFile,<span class="stringliteral">"\\ICLExample\\dest_overlaybitmap_filetofile.jpg"</span>);
<a name="l00092"></a>00092
<a name="l00093"></a>00093 _LIT(KTitle, <span class="stringliteral">"ICL Example"</span> );
<a name="l00094"></a>00094 _LIT(KWelcomeMessage,<span class="stringliteral">"\n Welcome to ICL Example\n"</span>);
<a name="l00095"></a>00095 _LIT(KPressAKeyMsg, <span class="stringliteral">"\nPress any key to step through the example\n"</span>);
<a name="l00096"></a>00096 _LIT(KExitMsg, <span class="stringliteral">"\nPress any key to exit the application "</span>);
<a name="l00097"></a>00097 _LIT(KPressAKey, <span class="stringliteral">"\nPress any key to continue\n"</span>);
<a name="l00098"></a>00098 _LIT(KFailed, <span class="stringliteral">"\nFailed to complete"</span>);
<a name="l00099"></a>00099
<a name="l00100"></a>00100 _LIT(KDecode, <span class="stringliteral">"\n Decoding Bitmap"</span>);
<a name="l00101"></a>00101 _LIT(KDecodeFromDescriptorToBitmap, <span class="stringliteral">"\nDecode descriptor to bitmap\n"</span>);
<a name="l00102"></a>00102 _LIT(KDecodeFromDescriptorAndFile, <span class="stringliteral">"\nFile %S successfully decoded from descriptor and file\n"</span>);
<a name="l00103"></a>00103 _LIT(KDecodeToHalfFourthAndEighthSizedBmp, <span class="stringliteral">"\nFile %S successfully decoded to half, fourth and eighth sized bitmap using reduction factor and reduced size\n"</span>);
<a name="l00104"></a>00104 _LIT(KSeparateThreadAndCancelAndContinueConvert, <span class="stringliteral">"\nFile %S successfully decoded using separate thread and Continue convert\n"</span>);
<a name="l00105"></a>00105 _LIT(KDecodeUsingImageMask, <span class="stringliteral">"\nDecode using image mask\n"</span>);
<a name="l00106"></a>00106 _LIT(KDecodeToYuv, <span class="stringliteral">"\nFile %S successfully decoded to image frame Yuv\n"</span>);
<a name="l00107"></a>00107 _LIT(KStreamYuv, <span class="stringliteral">"\nFile %S successfully block stream decoded to image frame Yuv and block stream encoded to Jpeg file\n"</span>);
<a name="l00108"></a>00108 _LIT(KDecodeUsingSepThread, <span class="stringliteral">"\nDecode using separate thread\n"</span>);
<a name="l00109"></a>00109 _LIT(KAccessThumbnailToDecode, <span class="stringliteral">"\nJPEG thumbnail access\n"</span>);
<a name="l00110"></a>00110 _LIT(KAccessExifMetadata, <span class="stringliteral">"\nAccess Exif metadata\n"</span>);
<a name="l00111"></a>00111 _LIT(KDisplayingImageComments, <span class="stringliteral">"\nDecode and display image comments\n"</span>);
<a name="l00112"></a>00112 _LIT(KGettingMimeTypeOfSourceDescriptor, <span class="stringliteral">"\nGet the MIME type of a source image descriptor, and load a decoder using a MIME type\n"</span>);
<a name="l00113"></a>00113 _LIT(KRChunk, <span class="stringliteral">"aRChunkICL"</span>);
<a name="l00114"></a>00114 _LIT(KAccessExifThumbnailAndDecodeThumbnail, <span class="stringliteral">"\nEXIF And JPEG thumbnail accessed and thumbnail part of file %S decoded successfully\n"</span>);
<a name="l00115"></a>00115 _LIT(KImageMaskAndMultiFrameImageDecode, <span class="stringliteral">"\nFile %S successfully decoded using image mask and Multiframe image \n"</span>);
<a name="l00116"></a>00116 _LIT(KImageAndFrameComment, <span class="stringliteral">"\nImage comment and frame comment accessed successfully\n"</span>);
<a name="l00117"></a>00117 _LIT(KGettingMimeTypeFromSourceAndFile, <span class="stringliteral">"\nFile %S decoded successfully after getting the MIME type from source image\n"</span>);
<a name="l00118"></a>00118
<a name="l00119"></a>00119 _LIT(KEncode, <span class="stringliteral">"\n Encoding Bitmap"</span>);
<a name="l00120"></a>00120 _LIT(KFileEncode, <span class="stringliteral">"\nFile %S encoded successfully to descriptor\n"</span>);
<a name="l00121"></a>00121 _LIT(KEncodeImageWithThumbnail, <span class="stringliteral">"\nEncode a JPEG thumbnail of an image\n"</span>);
<a name="l00122"></a>00122 _LIT(KAccessToThumbnailAndExifSetting,<span class="stringliteral">"\nThumbnail access and setting Exif metadata to image successful\n"</span>);
<a name="l00123"></a>00123 _LIT(KFileRotate, <span class="stringliteral">"\nBitmap rotated successfully\n"</span>);
<a name="l00124"></a>00124 _LIT(KEncodeRotate, <span class="stringliteral">"\nBitmap encoded to file %S with rotation operation successful\n"</span>);
<a name="l00125"></a>00125 _LIT(KScaleBitmap, <span class="stringliteral">"\nBitmap scaled successfully including optional selection of low memory and quality algorithms\n"</span>);
<a name="l00126"></a>00126 _LIT(KSetSourceDestinationandResize, <span class="stringliteral">"\nResize using CImageTransform\n"</span>);
<a name="l00127"></a>00127 _LIT(KFileRotateAfterDecode, <span class="stringliteral">"\nFile %S rotated successfully after being decoded\n"</span>);
<a name="l00128"></a>00128 _LIT(KSetSourceAndDestinationAndResize, <span class="stringliteral">"\nSetting source and destination and resize and preserve image data successful\n"</span>);
<a name="l00129"></a>00129 _LIT8(KExifMetadata, <span class="stringliteral">"Smiley bitmap"</span>);
<a name="l00130"></a>00130 _LIT8(KBuf8ParamWriteVersion, <span class="stringliteral">"Add Exif data"</span>);
<a name="l00131"></a>00131 _LIT(KExifAndThumbnailAdded, <span class="stringliteral">"\nAdding thumbnail and Exif metadata successful\n"</span>);
<a name="l00132"></a>00132 _LIT(KAddThumbnailToJpegFile, <span class="stringliteral">"\nAdd thumbnail to JPEG file\n"</span>);
<a name="l00133"></a>00133 _LIT(KPluginLoadedSpecificToUID, <span class="stringliteral">"\nPlugin loaded according to specific uid\n"</span>);
<a name="l00134"></a>00134 _LIT(KScaledWithWithoutAndThresholdScaling, <span class="stringliteral">"\nScaling with and without mask and threshold scaling successful\n"</span>);
<a name="l00135"></a>00135
<a name="l00136"></a>00136 _LIT(KPanoramaStitching, <span class="stringliteral">"\nPanorama stitching\n"</span>);
<a name="l00137"></a>00137 _LIT(KBPStitching, <span class="stringliteral">"\nBasic panorama stitching\n"</span>);
<a name="l00138"></a>00138 _LIT(KVFTStitching, <span class="stringliteral">"\nView Finder Image Tracking\n"</span>);
<a name="l00139"></a>00139 _LIT(KGeneratingSpmo, <span class="stringliteral">"\n Generating Spmo"</span>);
<a name="l00140"></a>00140 _LIT(KGeneratingSpmoIteratively, <span class="stringliteral">"\n Generating Spmo iteratively\n"</span>);
<a name="l00141"></a>00141 _LIT(KBasicImageProcessing, <span class="stringliteral">"\n Basic image processing\n"</span>);
<a name="l00142"></a>00142 _LIT(KBasicEffectImageProcessing, <span class="stringliteral">"\n Image processing with basic effects applied\n"</span>);
<a name="l00143"></a>00143 _LIT(KEffectImageProcessingWithUndo, <span class="stringliteral">"\n Image processing with undo\n"</span>);
<a name="l00144"></a>00144 _LIT(KEffectImageProcessingWithPreview, <span class="stringliteral">"\n Image processing with preview\n"</span>);
<a name="l00145"></a>00145 _LIT(KEffectImageProcessingWithOverlay, <span class="stringliteral">"\n Image processing with overlay\n"</span>);
<a name="l00146"></a>00146 _LIT(KImageProcessingWithSpmo, <span class="stringliteral">"\n Image processing with Spmo\n"</span>);
<a name="l00147"></a>00147
<a name="l00148"></a>00148 _LIT(KImageTransform, <span class="stringliteral">"\n Image Transform Functions"</span>);
<a name="l00149"></a>00149 _LIT(KSqueezeFileToFile, <span class="stringliteral">"\nSqueezing Jpg File to a Jpg File"</span>);
<a name="l00150"></a>00150 _LIT(KSqueezeBufferToBuffer, <span class="stringliteral">"\nSqueezing Jpg in Buffer to a Jpg in Buffer"</span>);
<a name="l00151"></a>00151 _LIT(KAutoSqueezeFileToFile, <span class="stringliteral">"\nAuto-Squeezing Jpg File to a Jpg File"</span>);
<a name="l00152"></a>00152
<a name="l00153"></a>00153 _LIT(KRotateFileToFile, <span class="stringliteral">"\nRotating a Jpg File to a Jpg File"</span>);
<a name="l00154"></a>00154
<a name="l00155"></a>00155 _LIT(KOverlayJpgDataFileToFile, <span class="stringliteral">"\nOverlay Jpg data to a Jpg File to a Jpg File"</span>);
<a name="l00156"></a>00156 _LIT(KOverlayPngFileToFile, <span class="stringliteral">"\nOverlay Png file to a Jpg File to a Jpg File"</span>);
<a name="l00157"></a>00157 _LIT(KOverlayBmpDataFileToFile, <span class="stringliteral">"\nOverlay Bmp data to a Jpg File to a Jpg File"</span>);
<a name="l00158"></a>00158
<a name="l00159"></a>00159 <span class="keyword">class </span><a class="code" href="class_c_active_listener.html">CActiveListener</a>;
<a name="l00160"></a>00160
<a name="l00179"></a><a class="code" href="struct_t_decode_params.html">00179</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00180"></a>00180 {
<a name="l00181"></a><a class="code" href="struct_t_decode_params.html#6478708f102d567241211f6dbd3860b4">00181</a> TBool iClip;
<a name="l00182"></a><a class="code" href="struct_t_decode_params.html#27e4da988c56da1dcd2ff5d7789ed3ee">00182</a> TBool iRotate90;
<a name="l00183"></a><a class="code" href="struct_t_decode_params.html#985b0d0662bc0b64240acc0a8d5ad934">00183</a> TBool iMirrorVerticalAxis;
<a name="l00184"></a><a class="code" href="struct_t_decode_params.html#17a453d7f83232a6e80f021216070ee5">00184</a> TInt iScalingCoeff; <span class="comment">// 1,-1 = Normal, -2 = Half, -3 = Quarter, -4 = Eighth.</span>
<a name="l00185"></a><a class="code" href="struct_t_decode_params.html#814a2d0477db8dba0cf1ca6cb7fb3e17">00185</a> <span class="keyword">const</span> TText* iOutputFile;
<a name="l00186"></a>00186 }
<a name="l00187"></a>00187 <a class="code" href="struct_t_decode_params.html">TDecodeParams</a>;
<a name="l00188"></a>00188
<a name="l00189"></a><a class="code" href="class_c_icl_example.html">00189</a> <span class="keyword">class </span><a class="code" href="class_c_icl_example.html">CIclExample</a>: <span class="keyword">public</span> CBase
<a name="l00190"></a>00190 {
<a name="l00191"></a>00191 <span class="keyword">public</span>:
<a name="l00192"></a>00192 <span class="keyword">static</span> <a class="code" href="class_c_icl_example.html">CIclExample</a>* <a class="code" href="class_c_icl_example.html#6f3bc3fc2ea6e0f5424c98db5a200750">NewLC</a>();
<a name="l00193"></a>00193
<a name="l00194"></a>00194 <a class="code" href="class_c_icl_example.html#749d8fa9e3e740dda9c1ea2debb740ab">~CIclExample</a>();
<a name="l00195"></a>00195 <a class="code" href="class_c_active_listener.html">CActiveListener</a>* <a class="code" href="class_c_icl_example.html#6cb9b9dbd3a9e04e6ad4f144e6e2a8d9">CreateAndInitializeActiveListenerLC</a>();
<a name="l00196"></a>00196 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#932e5b95f92e651980d2c6720c8fd86d">DecodeFromDescriptorToBitmapL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00197"></a>00197 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#f04196b4645c4aacad4f969f3a6ade0f">DecodeFromFileToBitmapL</a>(<span class="keyword">const</span> TDesC& aFilename);
<a name="l00198"></a>00198 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#59c8518cca1e856ec9977c77c133ba57">DecodeToYuvFrameL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00199"></a>00199 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#81fa0479879d15a817fff1809ac17854">AccessThumbnailToDecodeL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00200"></a>00200 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#c007f7bd46e86ce6bfbf87137ef0a064">AccessExifMetadataL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00201"></a>00201 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#c0261a59e3225afd05e2c82c95d1fe58">DecodeUsingSepThreadL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00202"></a>00202 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#516e94636add0b5553afd5ca9e6b0dac">DecodeToHalfFourthAndEighthSizedBitmapL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00203"></a>00203 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#22e8c59d2313f074a3e29df89e20e05f">DecodeUsingImageMaskL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00204"></a>00204 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#c12f19a867f25b00a89c80548f357074">MultiFrameImageDecodeL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00205"></a>00205 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#6046f80ebdc6a7f8e4ce23f31faef8a0">DecodeTheThumbnailL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00206"></a>00206 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#0d936aabff37b0f9f29dcc2216525bca">DecodeUsingContinueConvertL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00207"></a>00207 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#34bbe8a8211f9087de9f44c0df5a5651">DisplayingImageCommentsL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00208"></a>00208 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#1845f7f61a5ff996982e129c509940b4">DisplayingFrameCommentsL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00209"></a>00209 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#f2d1182373eada0e38611d2f4a150402">GettingMimeTypeOfSourceDescriptorL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00210"></a>00210 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#65106c28709a5afee5bdfcd263901f1d">GettingMimeTypeOfSourceFileL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00211"></a>00211 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#d62bffc043397eb7306cfb0d1bf427df">EncodeBitmapToDescriptorL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00212"></a>00212 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#e104f588c16e81bfbfe09e6cfc43ef16">EncodeImageWithThumbnailL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00213"></a>00213 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#dc8169ae5510b9b6d5e55c28e08574c5">SettingExifMetadataL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00214"></a>00214 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#52e7ceb0f0468de45b9b493350db2af4">RotateBitmapL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00215"></a>00215 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#b5cd4b4ee195f9ff7cc635e559603d0a">ScaleBitmapL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00216"></a>00216 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#01c633fc627eeddf9446eafa62b0b0e6">DecodeWithRotateL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00217"></a>00217 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#437f4725accedc8e924ee6c897ed0498">SetSourceDestinationandResizeL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00218"></a>00218 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#cba98bc6b971306f2e568413caae443d">SettingWithUseOfPreserveImageDataL</a>(<span class="keyword">const</span> TDesC& aFileName1,<span class="keyword">const</span> TDesC& aFileName2);
<a name="l00219"></a>00219 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#13e9de7f38143107e3ddf23808a822c3">AddThumbnailToJpegFileL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aDesFileName );
<a name="l00220"></a>00220 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#fc6a5f0e8468d977d0b1d11001c773b7">AddExifDataToJpegFileL</a>(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00221"></a>00221 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#36e3a8ae84f3813e028dee1ad6e9bc3e">LoadPluginByUidL</a>(<span class="keyword">const</span> TDesC& aFilename, TUid aCodecUid);
<a name="l00222"></a>00222 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#4093d046baf1ea4eeb4cfceca4ff0ac4">BlockStreamDecodeAndEncodeYuvFrameL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00223"></a>00223 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#5f453ea5f17eeeadbf0558774c9947f4">EncodeBitmapToFileUsingOperationExtensionL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00224"></a>00224
<a name="l00225"></a>00225 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#6cca2915ce3512e8ed842715449b8ce4">ClipAndRotateDuringDecodeL</a>();
<a name="l00226"></a>00226
<a name="l00227"></a>00227 <span class="comment">//panorama stitching</span>
<a name="l00228"></a>00228 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#0d1ba39bdcc34903e36f3a68e5073dd1">BasicPanoramaStitchingL</a>();
<a name="l00229"></a>00229 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#9e85580d3fd8c310004d3175209eaf70">ViewFinderImageTrackingL</a>();
<a name="l00230"></a>00230 <span class="comment">// Spmo</span>
<a name="l00231"></a>00231 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#ffa7926ab6294a9cb96ca59ab6beed86">GeneratingSpmoL</a>();
<a name="l00232"></a>00232 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#c0cb91c06d60b36516ee1113ec509bab">GeneratingSpmoIterativelyL</a>();
<a name="l00233"></a>00233
<a name="l00234"></a>00234 <span class="comment">// Image Processor</span>
<a name="l00235"></a>00235 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#16e34be3bbdf829cf58dba907e9bc53c">BasicImageProcessingL</a>();
<a name="l00236"></a>00236 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#2a279b168c7145fb92f6fe6fc534c0f1">BasicEffectImageProcessingL</a>();
<a name="l00237"></a>00237 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#0a48c925a0ce381333c16d8e046aea2f">EffectImageProcessingWithUndoL</a>();
<a name="l00238"></a>00238 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#882b254fff2e471331d2f690d4e485aa">EffectImageProcessingWithPreviewL</a>();
<a name="l00239"></a>00239 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#da63b9baa84fb3fe22b1976ca84a2156">EffectImageProcessingWithOverlayL</a>();
<a name="l00240"></a>00240 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#906019f9b590b09c52f78f246d681437">ImageProcessingWithSpmoL</a>();
<a name="l00241"></a>00241
<a name="l00242"></a>00242 <span class="comment">// Transform</span>
<a name="l00243"></a>00243 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#01e8b801b449b110507d038fd29c0465">SqueezeJpgFileToFileL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00244"></a>00244 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#5a2b4947cd5af165546515ee95742419">SqueezeJpgBufferToBufferL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00245"></a>00245 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#ad1303bafe8aac71274efa90558f29ff">AutoSqueezeJpgFileToFileL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00246"></a>00246
<a name="l00247"></a>00247 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#0afdb26ddecd25134d6c33109f9ce99f">RotateJpgFileToFileL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00248"></a>00248
<a name="l00249"></a>00249 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#5a9a18e5cb34223269cf92d0367d7dd2">OverlayJpgDataToJpgFileToFileL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aOverlayFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00250"></a>00250 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#dfaa0ee7346aa45a9ef50d9fe7295404">OverlayPngFileToJpgFileToFileL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aOverlayFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00251"></a>00251 <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#3c18c273d702e32b9d4e196e38edfa46">OverlayBmpDataToJpgFileToFileL</a>(<span class="keyword">const</span> TDesC& aSrcFileName, <span class="keyword">const</span> TDesC& aOverlayFileName, <span class="keyword">const</span> TDesC& aDestFileName);
<a name="l00252"></a>00252
<a name="l00253"></a>00253 <span class="keyword">public</span>:
<a name="l00254"></a>00254 <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#8a9d3b1a70c5df0fc5760c36ab9d87c5">SetConsole</a>(CConsoleBase* aConsole);
<a name="l00255"></a>00255
<a name="l00256"></a>00256
<a name="l00257"></a>00257 <span class="keyword">private</span>:
<a name="l00258"></a>00258 <a class="code" href="class_c_icl_example.html">CIclExample</a>();
<a name="l00259"></a>00259 <span class="keywordtype">void</span> ConstructL();
<a name="l00260"></a>00260
<a name="l00261"></a>00261 TPtr8 LoadImageIntoMemoryLC(<span class="keyword">const</span> TDesC& aFileName);
<a name="l00262"></a>00262
<a name="l00263"></a>00263 <span class="keyword">private</span>:
<a name="l00264"></a>00264 <span class="comment">/* File server session */</span>
<a name="l00265"></a>00265 RFs iFs;
<a name="l00266"></a>00266 CConsoleBase* iConsole; <span class="comment">// owned in MainL() </span>
<a name="l00267"></a>00267 };
<a name="l00268"></a>00268
<a name="l00269"></a><a class="code" href="class_c_icl_example.html#8a9d3b1a70c5df0fc5760c36ab9d87c5">00269</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_c_icl_example.html#8a9d3b1a70c5df0fc5760c36ab9d87c5">CIclExample::SetConsole</a>(CConsoleBase* aConsole)
<a name="l00270"></a>00270 {
<a name="l00271"></a>00271 iConsole = aConsole;
<a name="l00272"></a>00272 }
<a name="l00273"></a>00273
<a name="l00278"></a><a class="code" href="class_c_active_listener.html">00278</a> <span class="keyword">class </span><a class="code" href="class_c_active_listener.html">CActiveListener</a> : <span class="keyword">public</span> CActive
<a name="l00279"></a>00279 {
<a name="l00280"></a>00280 <span class="keyword">public</span>:
<a name="l00281"></a>00281 <span class="keyword">static</span> <a class="code" href="class_c_active_listener.html">CActiveListener</a>* <a class="code" href="class_c_icl_example.html#6f3bc3fc2ea6e0f5424c98db5a200750">NewLC</a>();
<a name="l00282"></a>00282 ~<a class="code" href="class_c_active_listener.html">CActiveListener</a>();
<a name="l00283"></a>00283
<a name="l00284"></a>00284 <span class="keywordtype">void</span> Initialize();
<a name="l00285"></a>00285 TBool IsRequestCancelled();
<a name="l00286"></a>00286
<a name="l00287"></a>00287 <span class="keyword">private</span>:
<a name="l00288"></a>00288 <a class="code" href="class_c_active_listener.html">CActiveListener</a>();
<a name="l00289"></a>00289
<a name="l00290"></a>00290 <span class="keyword">virtual</span> <span class="keywordtype">void</span> RunL();
<a name="l00291"></a>00291 <span class="keyword">virtual</span> <span class="keywordtype">void</span> DoCancel();
<a name="l00292"></a>00292 };
<a name="l00293"></a>00293
<a name="l00294"></a>00294 <span class="preprocessor">#endif //__ICLEXAMPLE_H__</span>
<a name="l00295"></a>00295 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:32:59 2010 for TB10.1 Example Applications by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>