Lines Matching refs:mEXIFData

48                              mEXIFData.mGPSData.mLatDeg,  in setParametersEXIF()
49 mEXIFData.mGPSData.mLatMin, in setParametersEXIF()
50 mEXIFData.mGPSData.mLatSec, in setParametersEXIF()
51 mEXIFData.mGPSData.mLatSecDiv ) == NO_ERROR ) in setParametersEXIF()
56 strncpy(mEXIFData.mGPSData.mLatRef, GPS_NORTH_REF, GPS_REF_SIZE); in setParametersEXIF()
60 strncpy(mEXIFData.mGPSData.mLatRef, GPS_SOUTH_REF, GPS_REF_SIZE); in setParametersEXIF()
63 mEXIFData.mGPSData.mLatValid = true; in setParametersEXIF()
67 mEXIFData.mGPSData.mLatValid = false; in setParametersEXIF()
72 mEXIFData.mGPSData.mLatValid = false; in setParametersEXIF()
80 mEXIFData.mGPSData.mLongDeg, in setParametersEXIF()
81 mEXIFData.mGPSData.mLongMin, in setParametersEXIF()
82 mEXIFData.mGPSData.mLongSec, in setParametersEXIF()
83 mEXIFData.mGPSData.mLongSecDiv) == NO_ERROR ) in setParametersEXIF()
88 strncpy(mEXIFData.mGPSData.mLongRef, GPS_EAST_REF, GPS_REF_SIZE); in setParametersEXIF()
92 strncpy(mEXIFData.mGPSData.mLongRef, GPS_WEST_REF, GPS_REF_SIZE); in setParametersEXIF()
95 mEXIFData.mGPSData.mLongValid= true; in setParametersEXIF()
99 mEXIFData.mGPSData.mLongValid = false; in setParametersEXIF()
104 mEXIFData.mGPSData.mLongValid = false; in setParametersEXIF()
110 mEXIFData.mGPSData.mAltitude = floor(fabs(gpsPos)); in setParametersEXIF()
112 mEXIFData.mGPSData.mAltitudeRef = 1; in setParametersEXIF()
114 mEXIFData.mGPSData.mAltitudeRef = 0; in setParametersEXIF()
116 mEXIFData.mGPSData.mAltitudeValid = true; in setParametersEXIF()
120 mEXIFData.mGPSData.mAltitudeValid= false; in setParametersEXIF()
129 mEXIFData.mGPSData.mTimeStampHour = timeinfo->tm_hour; in setParametersEXIF()
130 mEXIFData.mGPSData.mTimeStampMin = timeinfo->tm_min; in setParametersEXIF()
131 mEXIFData.mGPSData.mTimeStampSec = timeinfo->tm_sec; in setParametersEXIF()
132 mEXIFData.mGPSData.mTimeStampValid = true; in setParametersEXIF()
136 mEXIFData.mGPSData.mTimeStampValid = false; in setParametersEXIF()
141 mEXIFData.mGPSData.mTimeStampValid = false; in setParametersEXIF()
150 strftime(mEXIFData.mGPSData.mDatestamp, GPS_DATESTAMP_SIZE, "%Y:%m:%d", timeinfo); in setParametersEXIF()
151 mEXIFData.mGPSData.mDatestampValid = true; in setParametersEXIF()
155 mEXIFData.mGPSData.mDatestampValid = false; in setParametersEXIF()
160 mEXIFData.mGPSData.mDatestampValid = false; in setParametersEXIF()
165 strncpy(mEXIFData.mGPSData.mProcMethod, valstr, GPS_PROCESSING_SIZE-1); in setParametersEXIF()
166 mEXIFData.mGPSData.mProcMethodValid = true; in setParametersEXIF()
170 mEXIFData.mGPSData.mProcMethodValid = false; in setParametersEXIF()
175 strncpy(mEXIFData.mGPSData.mMapDatum, valstr, GPS_MAPDATUM_SIZE-1); in setParametersEXIF()
176 mEXIFData.mGPSData.mMapDatumValid = true; in setParametersEXIF()
180 mEXIFData.mGPSData.mMapDatumValid = false; in setParametersEXIF()
185 strncpy(mEXIFData.mGPSData.mVersionId, valstr, GPS_VERSION_SIZE-1); in setParametersEXIF()
186 mEXIFData.mGPSData.mVersionIdValid = true; in setParametersEXIF()
190 mEXIFData.mGPSData.mVersionIdValid = false; in setParametersEXIF()
196 strncpy(mEXIFData.mModel, valstr, EXIF_MODEL_SIZE - 1); in setParametersEXIF()
197 mEXIFData.mModelValid= true; in setParametersEXIF()
201 mEXIFData.mModelValid= false; in setParametersEXIF()
207 strncpy(mEXIFData.mMake, valstr, EXIF_MAKE_SIZE - 1); in setParametersEXIF()
208 mEXIFData.mMakeValid = true; in setParametersEXIF()
212 mEXIFData.mMakeValid= false; in setParametersEXIF()
219 &mEXIFData.mFocalNum, in setParametersEXIF()
220 &mEXIFData.mFocalDen); in setParametersEXIF()
222 mEXIFData.mFocalNum = 0; in setParametersEXIF()
223 mEXIFData.mFocalDen = 0; in setParametersEXIF()
307 ( mEXIFData.mModelValid ) ) in setupEXIF()
310 mEXIFData.mModel, in setupEXIF()
320 ( mEXIFData.mMakeValid ) ) in setupEXIF()
323 mEXIFData.mMake, in setupEXIF()
334 if (mEXIFData.mFocalNum || mEXIFData.mFocalDen ) { in setupEXIF()
335 exifTags->ulFocalLength[0] = (OMX_U32) mEXIFData.mFocalNum; in setupEXIF()
336 exifTags->ulFocalLength[1] = (OMX_U32) mEXIFData.mFocalDen; in setupEXIF()
379 ( mEXIFData.mGPSData.mLatValid ) ) in setupEXIF()
381 exifTags->ulGpsLatitude[0] = abs(mEXIFData.mGPSData.mLatDeg); in setupEXIF()
382 exifTags->ulGpsLatitude[2] = abs(mEXIFData.mGPSData.mLatMin); in setupEXIF()
383 exifTags->ulGpsLatitude[4] = abs(mEXIFData.mGPSData.mLatSec); in setupEXIF()
386 exifTags->ulGpsLatitude[5] = abs(mEXIFData.mGPSData.mLatSecDiv); in setupEXIF()
391 ( mEXIFData.mGPSData.mLatValid ) ) in setupEXIF()
393 exifTags->cGpslatitudeRef[0] = ( OMX_S8 ) mEXIFData.mGPSData.mLatRef[0]; in setupEXIF()
399 ( mEXIFData.mGPSData.mLongValid ) ) in setupEXIF()
401 exifTags->ulGpsLongitude[0] = abs(mEXIFData.mGPSData.mLongDeg); in setupEXIF()
402 exifTags->ulGpsLongitude[2] = abs(mEXIFData.mGPSData.mLongMin); in setupEXIF()
403 exifTags->ulGpsLongitude[4] = abs(mEXIFData.mGPSData.mLongSec); in setupEXIF()
406 exifTags->ulGpsLongitude[5] = abs(mEXIFData.mGPSData.mLongSecDiv); in setupEXIF()
411 ( mEXIFData.mGPSData.mLongValid ) ) in setupEXIF()
413 exifTags->cGpsLongitudeRef[0] = ( OMX_S8 ) mEXIFData.mGPSData.mLongRef[0]; in setupEXIF()
419 ( mEXIFData.mGPSData.mAltitudeValid) ) in setupEXIF()
421 exifTags->ulGpsAltitude[0] = ( OMX_U32 ) mEXIFData.mGPSData.mAltitude; in setupEXIF()
427 ( mEXIFData.mGPSData.mAltitudeValid) ) in setupEXIF()
429 exifTags->ucGpsAltitudeRef = (OMX_U8) mEXIFData.mGPSData.mAltitudeRef; in setupEXIF()
434 ( mEXIFData.mGPSData.mMapDatumValid ) ) in setupEXIF()
436 memcpy(sharedPtr, mEXIFData.mGPSData.mMapDatum, GPS_MAPDATUM_SIZE); in setupEXIF()
445 ( mEXIFData.mGPSData.mProcMethodValid ) ) in setupEXIF()
452 mEXIFData.mGPSData.mProcMethod, in setupEXIF()
460 ( mEXIFData.mGPSData.mVersionIdValid ) ) in setupEXIF()
462 exifTags->ucGpsVersionId[0] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[0]; in setupEXIF()
463 exifTags->ucGpsVersionId[1] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[1]; in setupEXIF()
464 exifTags->ucGpsVersionId[2] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[2]; in setupEXIF()
465 exifTags->ucGpsVersionId[3] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[3]; in setupEXIF()
470 ( mEXIFData.mGPSData.mTimeStampValid ) ) in setupEXIF()
472 exifTags->ulGpsTimeStamp[0] = mEXIFData.mGPSData.mTimeStampHour; in setupEXIF()
473 exifTags->ulGpsTimeStamp[2] = mEXIFData.mGPSData.mTimeStampMin; in setupEXIF()
474 exifTags->ulGpsTimeStamp[4] = mEXIFData.mGPSData.mTimeStampSec; in setupEXIF()
482 ( mEXIFData.mGPSData.mDatestampValid ) ) in setupEXIF()
485 ( char * ) mEXIFData.mGPSData.mDatestamp, in setupEXIF()
525 if ((NO_ERROR == ret) && (mEXIFData.mModelValid)) { in setupEXIF_libjpeg()
526 ret = exifTable->insertElement(TAG_MODEL, mEXIFData.mModel); in setupEXIF_libjpeg()
529 if ((NO_ERROR == ret) && (mEXIFData.mMakeValid)) { in setupEXIF_libjpeg()
530 ret = exifTable->insertElement(TAG_MAKE, mEXIFData.mMake); in setupEXIF_libjpeg()
534 if (mEXIFData.mFocalNum || mEXIFData.mFocalDen) { in setupEXIF_libjpeg()
539 mEXIFData.mFocalNum, in setupEXIF_libjpeg()
540 mEXIFData.mFocalDen); in setupEXIF_libjpeg()
575 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLatValid)) { in setupEXIF_libjpeg()
580 abs(mEXIFData.mGPSData.mLatDeg), 1, in setupEXIF_libjpeg()
581 abs(mEXIFData.mGPSData.mLatMin), 1, in setupEXIF_libjpeg()
582 abs(mEXIFData.mGPSData.mLatSec), abs(mEXIFData.mGPSData.mLatSecDiv)); in setupEXIF_libjpeg()
586 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLatValid)) { in setupEXIF_libjpeg()
587 ret = exifTable->insertElement(TAG_GPS_LAT_REF, mEXIFData.mGPSData.mLatRef); in setupEXIF_libjpeg()
590 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLongValid)) { in setupEXIF_libjpeg()
595 abs(mEXIFData.mGPSData.mLongDeg), 1, in setupEXIF_libjpeg()
596 abs(mEXIFData.mGPSData.mLongMin), 1, in setupEXIF_libjpeg()
597 abs(mEXIFData.mGPSData.mLongSec), abs(mEXIFData.mGPSData.mLongSecDiv)); in setupEXIF_libjpeg()
601 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLongValid)) { in setupEXIF_libjpeg()
602 ret = exifTable->insertElement(TAG_GPS_LONG_REF, mEXIFData.mGPSData.mLongRef); in setupEXIF_libjpeg()
605 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mAltitudeValid)) { in setupEXIF_libjpeg()
610 abs( mEXIFData.mGPSData.mAltitude), 1); in setupEXIF_libjpeg()
614 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mAltitudeValid)) { in setupEXIF_libjpeg()
618 "%d", mEXIFData.mGPSData.mAltitudeRef); in setupEXIF_libjpeg()
622 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mMapDatumValid)) { in setupEXIF_libjpeg()
623 ret = exifTable->insertElement(TAG_GPS_MAP_DATUM, mEXIFData.mGPSData.mMapDatum); in setupEXIF_libjpeg()
626 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mProcMethodValid)) { in setupEXIF_libjpeg()
631 mEXIFData.mGPSData.mProcMethod, in setupEXIF_libjpeg()
636 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mVersionIdValid)) { in setupEXIF_libjpeg()
641 mEXIFData.mGPSData.mVersionId[0], in setupEXIF_libjpeg()
642 mEXIFData.mGPSData.mVersionId[1], in setupEXIF_libjpeg()
643 mEXIFData.mGPSData.mVersionId[2], in setupEXIF_libjpeg()
644 mEXIFData.mGPSData.mVersionId[3]); in setupEXIF_libjpeg()
648 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mTimeStampValid)) { in setupEXIF_libjpeg()
653 mEXIFData.mGPSData.mTimeStampHour, 1, in setupEXIF_libjpeg()
654 mEXIFData.mGPSData.mTimeStampMin, 1, in setupEXIF_libjpeg()
655 mEXIFData.mGPSData.mTimeStampSec, 1); in setupEXIF_libjpeg()
659 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mDatestampValid) ) { in setupEXIF_libjpeg()
660 ret = exifTable->insertElement(TAG_GPS_DATESTAMP, mEXIFData.mGPSData.mDatestamp); in setupEXIF_libjpeg()