1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::jpeg::CTR::JpegMpEncoder</title> 51 </head> 52 <body> 53<h1><CODE>nn::jpeg::CTR::JpegMpEncoder</CODE> Class</h1> 54 <div class="section"> 55<B>Header file:</B> nn/jpeg.h</div> 56<h2>Syntax</h2> 57 <div class="section"> 58 <pre class="definition">class JpegMpEncoder : private ADLFireWall::NonCopyable<JpegMpEncoder></pre> 59 </div> 60<h2>Description</h2> 61 <div class="section"> 62<p>This class performs JPEG encoding.</p><!-- write here --></div> 63 <a name="function" id="function"> 64<h2>Member Functions</h2> 65 <div class="section"> 66 <table class="members"> 67 <tr> 68 <td width="100"> 69<span class="static_style" title="static">S</span> </td> 70 <th> 71<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/GetWorkBufferSize.html"><CODE>GetWorkBufferSize</CODE></a> 72 </th> 73<td>Calculates the number of bytes in the work buffer for the encoder object.</td> 74 </tr> 75 <tr> 76 <td width="100"> 77<span class="static_style" title="static">S</span> </td> 78 <th> 79<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/GetDateTimeNow.html"><CODE>GetDateTimeNow</CODE></a> 80 </th> 81<td>Gets the current date and time and creates a string that can be used as the argument value in a call to <a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetDateTime.html"><CODE>SetDateTime</CODE></a>.</td> 82 </tr> 83 <tr> 84 <td width="100"> </td> 85 <th> 86<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/JpegMpEncoder.html"><CODE>JpegMpEncoder</CODE></a> 87 </th> 88<td>Constructs an encoder object.</td> 89 </tr> 90 <tr> 91 <td width="100"> </td> 92 <th> 93<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/Initialize.html"><CODE>Initialize</CODE></a> 94 </th> 95<td>Initializes the encoder object.</td> 96 </tr> 97 <tr> 98 <td width="100"> </td> 99 <th> 100<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetThumbnailSize.html"><CODE>SetThumbnailSize</CODE></a> 101 </th> 102<td>Specifies the thumbnail image size and output format.</td> 103 </tr> 104 <tr> 105 <td width="100"> </td> 106 <th> 107<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetInputBufferWidth.html"><CODE>SetInputBufferWidth</CODE></a> 108 </th> 109<td>Sets the width of the input image buffer.</td> 110 </tr> 111 <tr> 112 <td width="100"> </td> 113 <th> 114<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetDateTime.html"><CODE>SetDateTime</CODE></a> 115 </th> 116<td>Registers the date and time the photo was taken for embedding in the JPEG file.</td> 117 </tr> 118 <tr> 119 <td width="100"> </td> 120 <th> 121<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetSoftware.html"><CODE>SetSoftware</CODE></a> 122 </th> 123<td>Registers the software name to embed in the Exif IFD of a JPEG file.</td> 124 </tr> 125 <tr> 126 <td width="100"> </td> 127 <th> 128<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetUserMakerNote.html"><CODE>SetUserMakerNote</CODE></a> 129 </th> 130<td>Registers various pieces of data to embed in the MakerNote part of a JPEG file.</td> 131 </tr> 132 <tr> 133 <td width="100"> </td> 134 <th> 135<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetImageUid.html"><CODE>SetImageUid</CODE></a> 136 </th> 137<td>Registers the unique image ID to embed in the Exif IFD of a JPEG file.</td> 138 </tr> 139 <tr> 140 <td width="100"> </td> 141 <th> 142<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetOrientation.html"><CODE>SetOrientation</CODE></a> 143 </th> 144<td>Registers the image orientation to embed in the Exif IFD of a JPEG file.</td> 145 </tr> 146 <tr> 147 <td width="100"> </td> 148 <th> 149<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearOrientation.html"><CODE>ClearOrientation</CODE></a> 150 </th> 151<td>Specifies not to embed the image orientation in the JPEG Exif IFD. (Default behavior.)</td> 152 </tr> 153 <tr> 154 <td width="100"> </td> 155 <th> 156<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartJpegEncoder.html"><CODE>StartJpegEncoder</CODE></a> 157 </th> 158<td>Runs the JPEG encoder.</td> 159 </tr> 160 <tr> 161 <td width="100"> </td> 162 <th> 163<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderLR.html"><CODE>StartMpEncoderLR</CODE></a> 164 </th> 165<td>Runs the JPEG encoder on two images and stores the results in Extended MP format (for stereoscopic display).</td> 166 </tr> 167 <tr> 168 <td width="100"> </td> 169 <th> 170<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpTypeFlags.html"><CODE>SetMpTypeFlags</CODE></a> 171 </th> 172<td>Registers values to embed in the MP entry: the various flags for the individual image type management data and the dependent image entry number.</td> 173 </tr> 174 <tr> 175 <td width="100"> </td> 176 <th> 177<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpIndividualNum.html"><CODE>SetMpIndividualNum</CODE></a> 178 </th> 179<td>Registers the individual image number to embed in the MP Attribute IFD.</td> 180 </tr> 181 <tr> 182 <td width="100"> </td> 183 <th> 184<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpIndividualNum.html"><CODE>ClearMpIndividualNum</CODE></a> 185 </th> 186<td>Resets the individual image number to embed in the MP Attribute IFD to the default value.</td> 187 </tr> 188 <tr> 189 <td width="100"> </td> 190 <th> 191<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpPanOrientation.html"><CODE>SetMpPanOrientation</CODE></a> 192 </th> 193<td>Registers the image placement to embed in the MP Attribute IFD.</td> 194 </tr> 195 <tr> 196 <td width="100"> </td> 197 <th> 198<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpPanOrientation.html"><CODE>ClearMpPanOrientation</CODE></a> 199 </th> 200<td>Instructs not to embed image placement in the MP Attribute IFD. (Default behavior.)</td> 201 </tr> 202 <tr> 203 <td width="100"> </td> 204 <th> 205<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpPanOverlapH.html"><CODE>SetMpPanOverlapH</CODE></a> 206 </th> 207<td>Registers the horizontal overlap to embed in the MP Attribute IFD.</td> 208 </tr> 209 <tr> 210 <td width="100"> </td> 211 <th> 212<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpPanOverlapH.html"><CODE>ClearMpPanOverlapH</CODE></a> 213 </th> 214<td>Instructs not to embed horizontal overlap in the MP Attribute IFD. (Default behavior.)</td> 215 </tr> 216 <tr> 217 <td width="100"> </td> 218 <th> 219<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpPanOverlapV.html"><CODE>SetMpPanOverlapV</CODE></a> 220 </th> 221<td>Registers the vertical overlap to embed in the MP Attribute IFD.</td> 222 </tr> 223 <tr> 224 <td width="100"> </td> 225 <th> 226<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpPanOverlapV.html"><CODE>ClearMpPanOverlapV</CODE></a> 227 </th> 228<td>Instructs not to embed vertical overlap in the MP Attribute IFD. (Default behavior.)</td> 229 </tr> 230 <tr> 231 <td width="100"> </td> 232 <th> 233<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpBaseViewpointNum.html"><CODE>SetMpBaseViewpointNum</CODE></a> 234 </th> 235<td>Registers the base viewpoint number to embed in the MP Attribute IFD.</td> 236 </tr> 237 <tr> 238 <td width="100"> </td> 239 <th> 240<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpBaseViewpointNum.html"><CODE>ClearMpBaseViewpointNum</CODE></a> 241 </th> 242<td>Resets the base viewpoint number to embed in the MP Attribute IFD to the default value.</td> 243 </tr> 244 <tr> 245 <td width="100"> </td> 246 <th> 247<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpConvergenceAngle.html"><CODE>SetMpConvergenceAngle</CODE></a> 248 </th> 249<td>Registers the convergence angle to embed in the MP Attribute IFD.</td> 250 </tr> 251 <tr> 252 <td width="100"> </td> 253 <th> 254<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpConvergenceAngle.html"><CODE>ClearMpConvergenceAngle</CODE></a> 255 </th> 256<td>Resets the convergence angle to embed in the MP Attribute IFD to the default value.</td> 257 </tr> 258 <tr> 259 <td width="100"> </td> 260 <th> 261<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpBaselineLength.html"><CODE>SetMpBaselineLength</CODE></a> 262 </th> 263<td>Registers the baseline length to embed in the MP Attribute IFD.</td> 264 </tr> 265 <tr> 266 <td width="100"> </td> 267 <th> 268<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpBaselineLength.html"><CODE>ClearMpBaselineLength</CODE></a> 269 </th> 270<td>Resets the baseline length to embed in the MP Attribute IFD to the default value.</td> 271 </tr> 272 <tr> 273 <td width="100"> </td> 274 <th> 275<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpVerticalDivergence.html"><CODE>SetMpVerticalDivergence</CODE></a> 276 </th> 277<td>Registers the vertical divergence to embed in the MP Attribute IFD.</td> 278 </tr> 279 <tr> 280 <td width="100"> </td> 281 <th> 282<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpVerticalDivergence.html"><CODE>ClearMpVerticalDivergence</CODE></a> 283 </th> 284<td>Instructs not to embed divergence from the horizontal (vertical divergence) in the MP Attribute IFD. (Default behavior.)</td> 285 </tr> 286 <tr> 287 <td width="100"> </td> 288 <th> 289<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpAxisDistanceX.html"><CODE>SetMpAxisDistanceX</CODE></a> 290 </th> 291<td>Registers the horizontal (X-axis) distance to embed in the MP Attribute IFD.</td> 292 </tr> 293 <tr> 294 <td width="100"> </td> 295 <th> 296<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpAxisDistanceX.html"><CODE>ClearMpAxisDistanceX</CODE></a> 297 </th> 298<td>Instructs not to embed horizontal (X-axis) distance in the MP Attribute IFD. (Default behavior.)</td> 299 </tr> 300 <tr> 301 <td width="100"> </td> 302 <th> 303<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpAxisDistanceY.html"><CODE>SetMpAxisDistanceY</CODE></a> 304 </th> 305<td>Registers the vertical (Y-axis) distance to embed in the MP Attribute IFD.</td> 306 </tr> 307 <tr> 308 <td width="100"> </td> 309 <th> 310<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpAxisDistanceY.html"><CODE>ClearMpAxisDistanceY</CODE></a> 311 </th> 312<td>Instructs not to embed the vertical distance (Y) in the MP Attribute IFD. (Default behavior.)</td> 313 </tr> 314 <tr> 315 <td width="100"> </td> 316 <th> 317<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpAxisDistanceZ.html"><CODE>SetMpAxisDistanceZ</CODE></a> 318 </th> 319<td>Registers the line-of-sight (Z-axis) distance to embed in the MP Attribute IFD.</td> 320 </tr> 321 <tr> 322 <td width="100"> </td> 323 <th> 324<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpAxisDistanceZ.html"><CODE>ClearMpAxisDistanceZ</CODE></a> 325 </th> 326<td>Instructs not to embed the line-of-sight (Z-axis) distance in the MP Attribute IFD. (Default behavior.)</td> 327 </tr> 328 <tr> 329 <td width="100"> </td> 330 <th> 331<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpYawAngle.html"><CODE>SetMpYawAngle</CODE></a> 332 </th> 333<td>Registers the yaw angle to embed in the MP Attribute IFD.</td> 334 </tr> 335 <tr> 336 <td width="100"> </td> 337 <th> 338<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpYawAngle.html"><CODE>ClearMpYawAngle</CODE></a> 339 </th> 340<td>Instructs not to embed the yaw angle in the MP Attribute IFD. (Default behavior.)</td> 341 </tr> 342 <tr> 343 <td width="100"> </td> 344 <th> 345<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpPitchAngle.html"><CODE>SetMpPitchAngle</CODE></a> 346 </th> 347<td>Registers the pitch angle to embed in the MP Attribute IFD.</td> 348 </tr> 349 <tr> 350 <td width="100"> </td> 351 <th> 352<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpPitchAngle.html"><CODE>ClearMpPitchAngle</CODE></a> 353 </th> 354<td>Instructs not to embed the pitch angle in the MP Attribute IFD. (Default behavior.)</td> 355 </tr> 356 <tr> 357 <td width="100"> </td> 358 <th> 359<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetMpRollAngle.html"><CODE>SetMpRollAngle</CODE></a> 360 </th> 361<td>Registers the roll angle to embed in the MP Attribute IFD.</td> 362 </tr> 363 <tr> 364 <td width="100"> </td> 365 <th> 366<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearMpRollAngle.html"><CODE>ClearMpRollAngle</CODE></a> 367 </th> 368<td>Instructs not to embed the roll angle in the MP Attribute IFD. (Default behavior.)</td> 369 </tr> 370 <tr> 371 <td width="100"> </td> 372 <th> 373<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderFirst.html"><CODE>StartMpEncoderFirst</CODE></a> 374 </th> 375<td>JPEG-encodes an image and stores it as the starting image in MP format.</td> 376 </tr> 377 <tr> 378 <td width="100"> </td> 379 <th> 380<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderNext.html"><CODE>StartMpEncoderNext</CODE></a> 381 </th> 382<td>JPEG-encodes an image and appends it to the encoded results from the immediately previous call to either <CODE><a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderFirst.html">StartMpEncoderFirst</a></CODE> or this function.</td> 383 </tr> 384 <tr> 385 <td width="100"> </td> 386 <th> 387<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/GetMpRegionsToBuildJpegData.html"><CODE>GetMpRegionsToBuildJpegData</CODE></a> 388 </th> 389<td>Gets the memory region information for reconstructing JPEG data from the encoded results of the immediately previous call to the <CODE><a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderFirst.html">StartMpEncoderFirst</a></CODE>, <CODE><a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderNext.html">StartMpEncoderNext</a></CODE>, or <CODE><a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderLR.html">StartMpEncoderLR</a></CODE> function.</td> 390 </tr> 391 <tr> 392 <td width="100"> </td> 393 <th> 394<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/GetLastError.html"><CODE>GetLastError</CODE></a> 395 </th> 396<td>Gets the reason for failure of the previous call to the <CODE><a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderFirst.html">StartMpEncoderFirst</a></CODE>, <CODE><a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderNext.html">StartMpEncoderNext</a></CODE>, or <CODE><a href="../../../../nn/jpeg/CTR/JpegMpEncoder/StartMpEncoderLR.html">StartMpEncoderLR</a></CODE> functions.</td> 397 </tr> 398 <tr> 399 <td width="100"> </td> 400 <th> 401<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/Finalize.html"><CODE>Finalize</CODE></a> 402 </th> 403<td>Finalizes the encoder object.</td> 404 </tr> 405 <tr> 406 <td width="100"> </td> 407 <th> 408<a href="../../../../nn/jpeg/CTR/JpegMpEncoder/~JpegMpEncoder.html"><CODE>~JpegMpEncoder</CODE></a> 409 </th> 410<td>Destructor. Calls <a href="../../../../nn/jpeg/CTR/JpegMpEncoder/Finalize.html"><CODE>Finalize</CODE></a>.</td> 411 </tr> </table> 412 </div> 413 </a> 414<h2>Class Hierarchy</h2> 415 <div class="section"> 416<p class="hierarchy"><span>ADLFireWall::NonCopyable</span><br /> <b>nn::jpeg::CTR::JpegMpEncoder</b> 417 </p> 418 </div> 419<h2>Revision History</h2> 420 <div class="section"> 421 <dl class="history"> 422 <dt>2010/04/14</dt> 423<dd>Initial version.<br /> 424 </dd> 425 </dl> 426 </div> 427 <hr><p>CONFIDENTIAL</p></body> 428</html>