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::GpsData</title> 51 </head> 52 <body> 53 <h1>nn::jpeg::CTR::GpsData Structure</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">struct GpsData 57{ 58 bool isVersionIdValid; 59 bool isLatitudeValid; 60 bool isLongitudeValid; 61 bool isAltitudeRefValid; 62 bool isAltitudeValid; 63 bool isTimeStampValid; 64 bool isDopValid; 65 bool isSpeedValid; 66 bool isTrackValid; 67 bool isImgDirectionValid; 68 bool isDestLatitudeValid; 69 bool isDestLongitudeValid; 70 bool isDestBearingValid; 71 bool isDestDistanceValid; 72 bool isDifferentialValid; 73 u8 altitudeRef; 74 u8 versionId[GPS_VERSION_ID_SIZE]; 75 char latitudeRef[GPS_REF_SIZE]; 76 char longitudeRef[GPS_REF_SIZE]; 77 char status[GPS_REF_SIZE]; 78 char measureMode[GPS_REF_SIZE]; 79 char speedRef[GPS_REF_SIZE]; 80 char trackRef[GPS_REF_SIZE]; 81 char imgDirectionRef[GPS_REF_SIZE]; 82 char destLatitudeRef[GPS_REF_SIZE]; 83 char destLongitudeRef[GPS_REF_SIZE]; 84 char destBearingRef[GPS_REF_SIZE]; 85 char destDistanceRef[GPS_REF_SIZE]; 86 u16 differential; 87 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> latitude[NUM_GPS_LATITUDE_RATIONALS]; 88 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> longitude[NUM_GPS_LONGITUDE_RATIONALS]; 89 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> altitude; 90 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> timeStamp[NUM_GPS_TIME_STAMP_RATIONALS]; 91 const char * pSatellites; 92 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> dop; 93 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> speed; 94 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> track; 95 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> imgDirection; 96 const char * pMapDatum; 97 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> destLatitude[NUM_GPS_LATITUDE_RATIONALS]; 98 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> destLongitude[NUM_GPS_LONGITUDE_RATIONALS]; 99 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> destBearing; 100 <a href="../../../../nn/jpeg/CTR/Rational/Overview.html">Rational</a> destDistance; 101 const u8 * pProcessingMethod; 102 size_t processingMethodSize; 103 const u8 * pAreaInformation; 104 size_t areaInformationSize; 105 const char * pDateStamp; 106}; 107</pre> 108 </div> 109 <h2>Description</h2> 110 <div class="section"> 111 <p>This structure maintains GPS IFD in a format easily processed by the library.</p><p>To get information after decoding (after Exif information has been extracted), use <a href="../../../../nn/jpeg/CTR/JpegMpEncoder/ClearGpsData.html">ClearGpsData</a>.<br /> To register information before encoding, first initialize the structure using <a href="../../../../nn/jpeg/CTR/JpegMpEncoder/InitializeGpsData.html">JpegMpEncoder::InitializeGpsData</a> and then register data using <a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetGpsLatitude.html">JpegMpEncoder::SetGpsLatitude</a>, for example. Finally, confirm the contents of the structure using <a href="../../../../nn/jpeg/CTR/JpegMpEncoder/SetGpsData.html">JpegMpEncoder::SetGpsData</a>.</p><!-- write here --></div> 112 <a name="variable" id="variable"> 113 <h2>Member Variables</h2> 114 <div class="section"> 115 <table class="members"> 116 <tr> 117 <td width="100"> </td> 118 <th> 119 <span class="argument">isVersionIdValid</span> 120 </th> 121 <td>Indicates whether the versionID is valid.</td> 122 </tr> 123 <tr> 124 <td width="100"> </td> 125 <th> 126 <span class="argument">isLatitudeValid</span> 127 </th> 128 <td>Indicates whether latitude is valid.</td> 129 </tr> 130 <tr> 131 <td width="100"> </td> 132 <th> 133 <span class="argument">isLongitudeValid</span> 134 </th> 135 <td>Indicates whether longitude is valid.</td> 136 </tr> 137 <tr> 138 <td width="100"> </td> 139 <th> 140 <span class="argument">isAltitudeRefValid</span> 141 </th> 142 <td>Indicates whether altitudeRef is valid.</td> 143 </tr> 144 <tr> 145 <td width="100"> </td> 146 <th> 147 <span class="argument">isAltitudeValid</span> 148 </th> 149 <td>Indicates whether altitude is valid.</td> 150 </tr> 151 <tr> 152 <td width="100"> </td> 153 <th> 154 <span class="argument">isTimeStampValid</span> 155 </th> 156 <td>Indicates whether timeStamp is valid.</td> 157 </tr> 158 <tr> 159 <td width="100"> </td> 160 <th> 161 <span class="argument">isDopValid</span> 162 </th> 163 <td>Indicates whether dop is valid.</td> 164 </tr> 165 <tr> 166 <td width="100"> </td> 167 <th> 168 <span class="argument">isSpeedValid</span> 169 </th> 170 <td>Indicates whether speed is valid.</td> 171 </tr> 172 <tr> 173 <td width="100"> </td> 174 <th> 175 <span class="argument">isTrackValid</span> 176 </th> 177 <td>Indicates whether track is valid.</td> 178 </tr> 179 <tr> 180 <td width="100"> </td> 181 <th> 182 <span class="argument">isImgDirectionValid</span> 183 </th> 184 <td>Indicates whether imgDirection is valid.</td> 185 </tr> 186 <tr> 187 <td width="100"> </td> 188 <th> 189 <span class="argument">isDestLatitudeValid</span> 190 </th> 191 <td>Indicates whether destLatitude is valid.</td> 192 </tr> 193 <tr> 194 <td width="100"> </td> 195 <th> 196 <span class="argument">isDestLongitudeValid</span> 197 </th> 198 <td>Indicates whether destLongitude is valid.</td> 199 </tr> 200 <tr> 201 <td width="100"> </td> 202 <th> 203 <span class="argument">isDestBearingValid</span> 204 </th> 205 <td>Indicates whether destBearing is valid.</td> 206 </tr> 207 <tr> 208 <td width="100"> </td> 209 <th> 210 <span class="argument">isDestDistanceValid</span> 211 </th> 212 <td>Indicates whether destDistance is valid.</td> 213 </tr> 214 <tr> 215 <td width="100"> </td> 216 <th> 217 <span class="argument">isDifferentialValid</span> 218 </th> 219 <td>Indicates whether differential is valid.</td> 220 </tr> 221 <tr> 222 <td width="100"> </td> 223 <th> 224 <span class="argument">altitudeRef</span> 225 </th> 226 <td>Represents the altitude reference.</td> 227 </tr> 228 <tr> 229 <td width="100"> </td> 230 <th> 231 <span class="argument">versionId</span> 232 </th> 233 <td>Represents the GPS tag version.</td> 234 </tr> 235 <tr> 236 <td width="100"> </td> 237 <th> 238 <span class="argument">latitudeRef</span> 239 </th> 240 <td>Represents North (N) or South (S). Valid if element 0 is not 0. Element [1] is always 0.</td> 241 </tr> 242 <tr> 243 <td width="100"> </td> 244 <th> 245 <span class="argument">longitudeRef</span> 246 </th> 247 <td>Represents East (E) or West (W) Valid if element 0 is not 0. Element [1] is always 0.</td> 248 </tr> 249 <tr> 250 <td width="100"> </td> 251 <th> 252 <span class="argument">status</span> 253 </th> 254 <td>Represents the GPS receiver status. Valid if element 0 is not 0. Element [1] is always 0.</td> 255 </tr> 256 <tr> 257 <td width="100"> </td> 258 <th> 259 <span class="argument">measureMode</span> 260 </th> 261 <td>Represents the GPS measure mode. Valid if element 0 is not 0. Element [1] is always 0.</td> 262 </tr> 263 <tr> 264 <td width="100"> </td> 265 <th> 266 <span class="argument">speedRef</span> 267 </th> 268 <td>Represents the velocity unit. Valid if element 0 is not 0. Element [1] is always 0.</td> 269 </tr> 270 <tr> 271 <td width="100"> </td> 272 <th> 273 <span class="argument">trackRef</span> 274 </th> 275 <td>Represents the track direction. Valid if element 0 is not 0. Element [1] is always 0.</td> 276 </tr> 277 <tr> 278 <td width="100"> </td> 279 <th> 280 <span class="argument">imgDirectionRef</span> 281 </th> 282 <td>Represents the orientation of the captured image. Valid if element 0 is not 0. Element [1] is always 0.</td> 283 </tr> 284 <tr> 285 <td width="100"> </td> 286 <th> 287 <span class="argument">destLatitudeRef</span> 288 </th> 289 <td>Represents North (N) or South (S) latitude of the destination. Valid if element 0 is not 0. Element [1] is always 0.</td> 290 </tr> 291 <tr> 292 <td width="100"> </td> 293 <th> 294 <span class="argument">destLongitudeRef</span> 295 </th> 296 <td>Represents East (E) or West (W) longitude of the destination. Valid if element 0 is not 0. Element [1] is always 0.</td> 297 </tr> 298 <tr> 299 <td width="100"> </td> 300 <th> 301 <span class="argument">destBearingRef</span> 302 </th> 303 <td>Represents the destination bearing for the destination. Valid if element 0 is not 0. Element [1] is always 0.</td> 304 </tr> 305 <tr> 306 <td width="100"> </td> 307 <th> 308 <span class="argument">destDistanceRef</span> 309 </th> 310 <td>Represents the distance to the destination. Valid if element 0 is not 0. Element [1] is always 0.</td> 311 </tr> 312 <tr> 313 <td width="100"> </td> 314 <th> 315 <span class="argument">differential</span> 316 </th> 317 <td>Represents the GPS differential.</td> 318 </tr> 319 <tr> 320 <td width="100"> </td> 321 <th> 322 <span class="argument"><CODE>latitude</CODE></span> 323 </th> 324 <td>Represents the latitude (numeric value).</td> 325 </tr> 326 <tr> 327 <td width="100"> </td> 328 <th> 329 <span class="argument"><CODE>longitude</CODE></span> 330 </th> 331 <td>Represents the longitude (numeric value).</td> 332 </tr> 333 <tr> 334 <td width="100"> </td> 335 <th> 336 <span class="argument">altitude</span> 337 </th> 338 <td>Represents the altitude (numeric value).</td> 339 </tr> 340 <tr> 341 <td width="100"> </td> 342 <th> 343 <span class="argument">timeStamp</span> 344 </th> 345 <td>Represents the GPS time (atomic clock time)</td> 346 </tr> 347 <tr> 348 <td width="100"> </td> 349 <th> 350 <span class="argument">pSatellites</span> 351 </th> 352 <td>Represents the satellite signal used for positioning. Valid unless NULL.</td> 353 </tr> 354 <tr> 355 <td width="100"> </td> 356 <th> 357 <span class="argument">dop</span> 358 </th> 359 <td>Represents the reliability of the position.</td> 360 </tr> 361 <tr> 362 <td width="100"> </td> 363 <th> 364 <span class="argument">speed</span> 365 </th> 366 <td>Represents the speed (numeric value).</td> 367 </tr> 368 <tr> 369 <td width="100"> </td> 370 <th> 371 <span class="argument">track</span> 372 </th> 373 <td>Represents the track direction (numeric value).</td> 374 </tr> 375 <tr> 376 <td width="100"> </td> 377 <th> 378 <span class="argument">imgDirection</span> 379 </th> 380 <td>Represents the orientation of the captured image.</td> 381 </tr> 382 <tr> 383 <td width="100"> </td> 384 <th> 385 <span class="argument">pMapDatum</span> 386 </th> 387 <td>Represents map data used for positioning. Valid unless NULL.</td> 388 </tr> 389 <tr> 390 <td width="100"> </td> 391 <th> 392 <span class="argument">destLatitude</span> 393 </th> 394 <td>Represents the latitude of the destination (numeric value).</td> 395 </tr> 396 <tr> 397 <td width="100"> </td> 398 <th> 399 <span class="argument">destLongitude</span> 400 </th> 401 <td>Represents the longitude of the destination (numeric value).</td> 402 </tr> 403 <tr> 404 <td width="100"> </td> 405 <th> 406 <span class="argument">destBearing</span> 407 </th> 408 <td>Represents the destination bearing (numeric value).</td> 409 </tr> 410 <tr> 411 <td width="100"> </td> 412 <th> 413 <span class="argument">destDistance</span> 414 </th> 415 <td>Represents the distance to the destination (numeric value).</td> 416 </tr> 417 <tr> 418 <td width="100"> </td> 419 <th> 420 <span class="argument">pProcessingMethod</span> 421 </th> 422 <td>Represents the name of the processing method. Valid unless NULL.</td> 423 </tr> 424 <tr> 425 <td width="100"> </td> 426 <th> 427 <span class="argument">processingMethodSize</span> 428 </th> 429 <td>Represents the data size in bytes of pProcessingMethod. Valid unless 0.</td> 430 </tr> 431 <tr> 432 <td width="100"> </td> 433 <th> 434 <span class="argument">pAreaInformation</span> 435 </th> 436 <td>Represents the name of the identified area. Valid unless NULL.</td> 437 </tr> 438 <tr> 439 <td width="100"> </td> 440 <th> 441 <span class="argument">areaInformationSize</span> 442 </th> 443 <td>Represents the data size in bytes of pAreaInformation. Valid unless 0.</td> 444 </tr> 445 <tr> 446 <td width="100"> </td> 447 <th> 448 <span class="argument">pDateStamp</span> 449 </th> 450 <td>Represents the GPS date stamp. Valid unless NULL.</td> 451 </tr> </table> 452 </div> 453 </a> 454 <h2>Revision History</h2> 455 <div class="section"> 456 <dl class="history"> 457 <dt>2010/10/21</dt> 458 <dd>Initial version.<br /> 459 </dd> 460 </dl> 461 </div> 462 <hr><p>CONFIDENTIAL</p></body> 463</html>