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::JpegMpDecoder</title> 51 </head> 52 <body> 53<h1><CODE>nn::jpeg::CTR::JpegMpDecoder</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 JpegMpDecoder : private ADLFireWall::NonCopyable<JpegMpDecoder></pre> 59 </div> 60<h2>Description</h2> 61 <div class="section"> 62<p>This class performs JPEG decoding.</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/JpegMpDecoder/GetWorkBufferSize.html"><CODE>GetWorkBufferSize</CODE></a> 72 </th> 73<td>Calculates the number of bytes in the work buffer for the decoder 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/JpegMpDecoder/GetDstBufferSize.html"><CODE>GetDstBufferSize</CODE></a> 80 </th> 81<td>Calculates the number of bytes in the buffer where the decoded JPEG results (one image's worth) will be stored.</td> 82 </tr> 83 <tr> 84 <td width="100"> 85<span class="static_style" title="static">S</span> </td> 86 <th> 87<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpNumberOfImages.html"><CODE>GetMpNumberOfImages</CODE></a> 88 </th> 89<td>Gets the number of saved images, which is included in the MP Index IFD.</td> 90 </tr> 91 <tr> 92 <td width="100"> 93<span class="static_style" title="static">S</span> </td> 94 <th> 95<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpImageUidListSize.html"><CODE>GetMpImageUidListSize</CODE></a> 96 </th> 97<td>Gets the size in bytes of the individual unique image ID list. This size is included in the MP Index IFD.</td> 98 </tr> 99 <tr> 100 <td width="100"> 101<span class="static_style" title="static">S</span> </td> 102 <th> 103<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpImageUidListOffset.html"><CODE>GetMpImageUidListOffset</CODE></a> 104 </th> 105<td>Gets the byte offset from the starting image to the individual unique image ID list. This offset is included in the MP Index IFD.</td> 106 </tr> 107 <tr> 108 <td width="100"> 109<span class="static_style" title="static">S</span> </td> 110 <th> 111<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpTotalFrames.html"><CODE>GetMpTotalFrames</CODE></a> 112 </th> 113<td>Gets the total number of frames taken. This number is included in the MP Index IFD.</td> 114 </tr> 115 <tr> 116 <td width="100"> 117<span class="static_style" title="static">S</span> </td> 118 <th> 119<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpEntry.html"><CODE>GetMpEntry</CODE></a> 120 </th> 121<td>Gets an MP entry included in the data stored in the MP Format.</td> 122 </tr> 123 <tr> 124 <td width="100"> 125<span class="static_style" title="static">S</span> </td> 126 <th> 127<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpImageType.html"><CODE>GetMpImageType</CODE></a> 128 </th> 129<td>Gets the management data for the individual image type. This data is included in the MP entry.</td> 130 </tr> 131 <tr> 132 <td width="100"> 133<span class="static_style" title="static">S</span> </td> 134 <th> 135<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpImageSize.html"><CODE>GetMpImageSize</CODE></a> 136 </th> 137<td>Gets the size in bytes of the individual image data. This size is included in the MP entry.</td> 138 </tr> 139 <tr> 140 <td width="100"> 141<span class="static_style" title="static">S</span> </td> 142 <th> 143<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpImageOffset.html"><CODE>GetMpImageOffset</CODE></a> 144 </th> 145<td>Gets the byte offset from the starting image to the individual image data. This offset is included in the MP entry.</td> 146 </tr> 147 <tr> 148 <td width="100"> 149<span class="static_style" title="static">S</span> </td> 150 <th> 151<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpDependentImage1EntryNum.html"><CODE>GetMpDependentImage1EntryNum</CODE></a> 152 </th> 153<td>Gets the entry number for dependent image 1. This number is included in the MP entry.</td> 154 </tr> 155 <tr> 156 <td width="100"> 157<span class="static_style" title="static">S</span> </td> 158 <th> 159<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpDependentImage2EntryNum.html"><CODE>GetMpDependentImage2EntryNum</CODE></a> 160 </th> 161<td>Gets the entry number for dependent image 2. This number is included in the MP entry.</td> 162 </tr> 163 <tr> 164 <td width="100"> 165<span class="static_style" title="static">S</span> </td> 166 <th> 167<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpIndividualNum.html"><CODE>GetMpIndividualNum</CODE></a> 168 </th> 169<td>Gets the individual image number, which is included in the MP Attribute IFD.</td> 170 </tr> 171 <tr> 172 <td width="100"> 173<span class="static_style" title="static">S</span> </td> 174 <th> 175<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpPanOrientation.html"><CODE>GetMpPanOrientation</CODE></a> 176 </th> 177<td>Gets the image placement, which is included in the MP Attribute IFD.</td> 178 </tr> 179 <tr> 180 <td width="100"> 181<span class="static_style" title="static">S</span> </td> 182 <th> 183<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpPanOverlapH.html"><CODE>GetMpPanOverlapH</CODE></a> 184 </th> 185<td>Gets the horizontal overlap, which is included in the MP Attribute IFD.</td> 186 </tr> 187 <tr> 188 <td width="100"> 189<span class="static_style" title="static">S</span> </td> 190 <th> 191<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpPanOverlapV.html"><CODE>GetMpPanOverlapV</CODE></a> 192 </th> 193<td>Gets the vertical overlap, which is included in the MP Attribute IFD.</td> 194 </tr> 195 <tr> 196 <td width="100"> 197<span class="static_style" title="static">S</span> </td> 198 <th> 199<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpBaseViewpointNum.html"><CODE>GetMpBaseViewpointNum</CODE></a> 200 </th> 201<td>Gets the base viewpoint number, which is included in the MP Attribute IFD.</td> 202 </tr> 203 <tr> 204 <td width="100"> 205<span class="static_style" title="static">S</span> </td> 206 <th> 207<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpConvergenceAngle.html"><CODE>GetMpConvergenceAngle</CODE></a> 208 </th> 209<td>Gets the convergence angle, which is included in the MP Attribute IFD.</td> 210 </tr> 211 <tr> 212 <td width="100"> 213<span class="static_style" title="static">S</span> </td> 214 <th> 215<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpBaselineLength.html"><CODE>GetMpBaselineLength</CODE></a> 216 </th> 217<td>Gets the baseline length, which is included in the MP Attribute IFD.</td> 218 </tr> 219 <tr> 220 <td width="100"> 221<span class="static_style" title="static">S</span> </td> 222 <th> 223<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpVerticalDivergence.html"><CODE>GetMpVerticalDivergence</CODE></a> 224 </th> 225<td>Gets the vertical divergence, which is included in the MP Attribute IFD.</td> 226 </tr> 227 <tr> 228 <td width="100"> 229<span class="static_style" title="static">S</span> </td> 230 <th> 231<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpAxisDistanceX.html"><CODE>GetMpAxisDistanceX</CODE></a> 232 </th> 233<td>Gets the horizontal (X-axis) distance, which is included in the MP Attribute IFD.</td> 234 </tr> 235 <tr> 236 <td width="100"> 237<span class="static_style" title="static">S</span> </td> 238 <th> 239<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpAxisDistanceY.html"><CODE>GetMpAxisDistanceY</CODE></a> 240 </th> 241<td>Gets the vertical (Y-axis) distance, which is included in the MP Attribute IFD.</td> 242 </tr> 243 <tr> 244 <td width="100"> 245<span class="static_style" title="static">S</span> </td> 246 <th> 247<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpAxisDistanceZ.html"><CODE>GetMpAxisDistanceZ</CODE></a> 248 </th> 249<td>Gets the line-of-sight (Z-axis) distance, which is included in the MP Attribute IFD.</td> 250 </tr> 251 <tr> 252 <td width="100"> 253<span class="static_style" title="static">S</span> </td> 254 <th> 255<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpYawAngle.html"><CODE>GetMpYawAngle</CODE></a> 256 </th> 257<td>Gets the yaw angle, which is included in the MP Attribute IFD.</td> 258 </tr> 259 <tr> 260 <td width="100"> 261<span class="static_style" title="static">S</span> </td> 262 <th> 263<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpPitchAngle.html"><CODE>GetMpPitchAngle</CODE></a> 264 </th> 265<td>Gets the pitch angle, which is included in the MP Attribute IFD.</td> 266 </tr> 267 <tr> 268 <td width="100"> 269<span class="static_style" title="static">S</span> </td> 270 <th> 271<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpRollAngle.html"><CODE>GetMpRollAngle</CODE></a> 272 </th> 273<td>Gets the roll angle, which is included in the MP Attribute IFD.</td> 274 </tr> 275 <tr> 276 <td width="100"> </td> 277 <th> 278<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/JpegMpDecoder.html"><CODE>JpegMpDecoder</CODE></a> 279 </th> 280<td>Constructs a decoder object.</td> 281 </tr> 282 <tr> 283 <td width="100"> </td> 284 <th> 285<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/Initialize.html"><CODE>Initialize</CODE></a> 286 </th> 287<td>Initializes the decoder object.</td> 288 </tr> 289 <tr> 290 <td width="100"> </td> 291 <th> 292<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/SetOutputBufferWidth.html"><CODE>SetOutputBufferWidth</CODE></a> 293 </th> 294<td>Sets the width of the output image buffer.</td> 295 </tr> 296 <tr> 297 <td width="100"> </td> 298 <th> 299<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/SetOption.html"><CODE>SetOption</CODE></a> 300 </th> 301<td>Specifies options for JPEG decoding.</td> 302 </tr> 303 <tr> 304 <td width="100"> </td> 305 <th> 306<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetOption.html"><CODE>GetOption</CODE></a> 307 </th> 308<td>Gets the specified decoding options.</td> 309 </tr> 310 <tr> 311 <td width="100"> </td> 312 <th> 313<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/StartJpegDecoder.html"><CODE>StartJpegDecoder</CODE></a> 314 </th> 315<td>Runs the JPEG decoder.</td> 316 </tr> 317 <tr> 318 <td width="100"> </td> 319 <th> 320<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/StartJpegDecoderShrink.html"><CODE>StartJpegDecoderShrink</CODE></a> 321 </th> 322<td>Decodes a JPEG image and outputs it after shrinking.</td> 323 </tr> 324 <tr> 325 <td width="100"> </td> 326 <th> 327<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/ExtractExif.html"><CODE>ExtractExif</CODE></a> 328 </th> 329<td>Extracts Exif information.</td> 330 </tr> 331 <tr> 332 <td width="100"> </td> 333 <th> 334<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/StartMpDecoderLR.html"><CODE>StartMpDecoderLR</CODE></a> 335 </th> 336<td>Runs the JPEG decoder on a pair of images stored in the MP Format.</td> 337 </tr> 338 <tr> 339 <td width="100"> </td> 340 <th> 341<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpIndex.html"><CODE>GetMpIndex</CODE></a> 342 </th> 343<td>Gets the MP Index IFD included in the data stored in the MP Format.</td> 344 </tr> 345 <tr> 346 <td width="100"> </td> 347 <th> 348<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpAttribute.html"><CODE>GetMpAttribute</CODE></a> 349 </th> 350<td>Gets the MP Attribute IFD, which is included in the individual image data stored in MP format. </td> 351 </tr> 352 <tr> 353 <td width="100"> </td> 354 <th> 355<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetMpRegionsToBuildJpegData.html"><CODE>GetMpRegionsToBuildJpegData</CODE></a> 356 </th> 357<td>This function gets regional information used for rebuilding the JPEG data from the individual image data stored in MP format. </td> 358 </tr> 359 <tr> 360 <td width="100"> </td> 361 <th> 362<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastWidth.html"><CODE>GetLastWidth</CODE></a> 363 </th> 364<td>Gets the width of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 365 </tr> 366 <tr> 367 <td width="100"> </td> 368 <th> 369<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastHeight.html"><CODE>GetLastHeight</CODE></a> 370 </th> 371<td>Gets the height of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 372 </tr> 373 <tr> 374 <td width="100"> </td> 375 <th> 376<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastOutputBufferWidth.html"><CODE>GetLastOutputBufferWidth</CODE></a> 377 </th> 378<td>Gets the width of the output image buffer where an image was decoded immediately previously.</td> 379 </tr> 380 <tr> 381 <td width="100"> </td> 382 <th> 383<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastOutputBufferHeight.html"><CODE>GetLastOutputBufferHeight</CODE></a> 384 </th> 385<td>Gets the height of the output image buffer where an image was decoded immediately previously.</td> 386 </tr> 387 <tr> 388 <td width="100"> </td> 389 <th> 390<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastDateTime.html"><CODE>GetLastDateTime</CODE></a> 391 </th> 392<td>Gets the timestamp of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 393 </tr> 394 <tr> 395 <td width="100"> </td> 396 <th> 397<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastSoftwarePointer.html"><CODE>GetLastSoftwarePointer</CODE></a> 398 </th> 399<td>Gets a string pointer to the software name string of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 400 </tr> 401 <tr> 402 <td width="100"> </td> 403 <th> 404<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastSoftwareLength.html"><CODE>GetLastSoftwareLength</CODE></a> 405 </th> 406<td>Gets the number of characters in the software name string of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 407 </tr> 408 <tr> 409 <td width="100"> </td> 410 <th> 411<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastUserMakerNotePointer.html"><CODE>GetLastUserMakerNotePointer</CODE></a> 412 </th> 413<td>Gets a pointer to the CTR application MakerNote of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 414 </tr> 415 <tr> 416 <td width="100"> </td> 417 <th> 418<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastUserMakerNoteSize.html"><CODE>GetLastUserMakerNoteSize</CODE></a> 419 </th> 420<td>Gets the size in bytes of the CTR application MakerNote of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 421 </tr> 422 <tr> 423 <td width="100"> </td> 424 <th> 425<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastTwlPhotoMakerNote.html"><CODE>GetLastTwlPhotoMakerNote</CODE></a> 426 </th> 427<td>Gets the Nintendo DSi Camera MakerNote of the image that was either decoded or whose Exif information was extracted immediately previous to this call. ("Nintendo DSi Camera" is the name of a Nintendo DSi built-in application.)</td> 428 </tr> 429 <tr> 430 <td width="100"> </td> 431 <th> 432<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastTwlUserMakerNotePointer.html"><CODE>GetLastTwlUserMakerNotePointer</CODE></a> 433 </th> 434<td>Gets a pointer to the Nintendo DSi application MakerNote of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 435 </tr> 436 <tr> 437 <td width="100"> </td> 438 <th> 439<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastTwlUserMakerNoteSize.html"><CODE>GetLastTwlUserMakerNoteSize</CODE></a> 440 </th> 441<td>Gets the size in bytes of the Nintendo DSi application MakerNote of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 442 </tr> 443 <tr> 444 <td width="100"> </td> 445 <th> 446<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastImageUid.html"><CODE>GetLastImageUid</CODE></a> 447 </th> 448<td>Gets the unique image ID of the Exif IFD of the image that was either decoded or whose Exif information was extracted immediately previous to this call.</td> 449 </tr> 450 <tr> 451 <td width="100"> </td> 452 <th> 453<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastOrientation.html"><CODE>GetLastOrientation</CODE></a> 454 </th> 455<td>Gets the image orientation from the Exif IFD of the image that was either decoded or whose Exif information was extracted immediately prior to this call.</td> 456 </tr> 457 <tr> 458 <td width="100"> </td> 459 <th> 460<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/GetLastError.html"><CODE>GetLastError</CODE></a> 461 </th> 462<td>Gets the reason for failure of the previous decoding operation.</td> 463 </tr> 464 <tr> 465 <td width="100"> </td> 466 <th> 467<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/StopDecoder.html">StopDecoder</a> 468 </th> 469<td>Makes a request from another thread to stop the decoding process. </td> 470 </tr> 471 <tr> 472 <td width="100"> </td> 473 <th> 474<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/Finalize.html"><CODE>Finalize</CODE></a> 475 </th> 476<td>Finalizes the decoder object.</td> 477 </tr> 478 <tr> 479 <td width="100"> </td> 480 <th> 481<a href="../../../../nn/jpeg/CTR/JpegMpDecoder/~JpegMpDecoder.html"><CODE>~JpegMpDecoder</CODE></a> 482 </th> 483<td>Destructor. Calls <a href="../../../../nn/jpeg/CTR/JpegMpEncoder/Finalize.html"><CODE>Finalize</CODE></a>.</td> 484 </tr> </table> 485 </div> 486 </a> 487<h2>Class Hierarchy</h2> 488 <div class="section"> 489<p class="hierarchy"><span>ADLFireWall::NonCopyable</span><br /> <b>nn::jpeg::CTR::JpegMpDecoder</b> 490 </p> 491 </div> 492<h2>Revision History</h2> 493 <div class="section"> 494 <dl class="history"> 495 <dt>2010/04/14</dt> 496<dd>Initial version.<br /> 497 </dd> 498 </dl> 499 </div> 500 <hr><p>CONFIDENTIAL</p></body> 501</html>