Lines Matching refs:mEXIFData

45                              mEXIFData.mGPSData.mLatDeg,  in setParametersEXIF()
46 mEXIFData.mGPSData.mLatMin, in setParametersEXIF()
47 mEXIFData.mGPSData.mLatSec, in setParametersEXIF()
48 mEXIFData.mGPSData.mLatSecDiv ) == NO_ERROR ) in setParametersEXIF()
53 strncpy(mEXIFData.mGPSData.mLatRef, GPS_NORTH_REF, GPS_REF_SIZE); in setParametersEXIF()
57 strncpy(mEXIFData.mGPSData.mLatRef, GPS_SOUTH_REF, GPS_REF_SIZE); in setParametersEXIF()
60 mEXIFData.mGPSData.mLatValid = true; in setParametersEXIF()
64 mEXIFData.mGPSData.mLatValid = false; in setParametersEXIF()
69 mEXIFData.mGPSData.mLatValid = false; in setParametersEXIF()
77 mEXIFData.mGPSData.mLongDeg, in setParametersEXIF()
78 mEXIFData.mGPSData.mLongMin, in setParametersEXIF()
79 mEXIFData.mGPSData.mLongSec, in setParametersEXIF()
80 mEXIFData.mGPSData.mLongSecDiv) == NO_ERROR ) in setParametersEXIF()
85 strncpy(mEXIFData.mGPSData.mLongRef, GPS_EAST_REF, GPS_REF_SIZE); in setParametersEXIF()
89 strncpy(mEXIFData.mGPSData.mLongRef, GPS_WEST_REF, GPS_REF_SIZE); in setParametersEXIF()
92 mEXIFData.mGPSData.mLongValid= true; in setParametersEXIF()
96 mEXIFData.mGPSData.mLongValid = false; in setParametersEXIF()
101 mEXIFData.mGPSData.mLongValid = false; in setParametersEXIF()
107 mEXIFData.mGPSData.mAltitude = floor(fabs(gpsPos)); in setParametersEXIF()
109 mEXIFData.mGPSData.mAltitudeRef = 1; in setParametersEXIF()
111 mEXIFData.mGPSData.mAltitudeRef = 0; in setParametersEXIF()
113 mEXIFData.mGPSData.mAltitudeValid = true; in setParametersEXIF()
117 mEXIFData.mGPSData.mAltitudeValid= false; in setParametersEXIF()
126 mEXIFData.mGPSData.mTimeStampHour = timeinfo->tm_hour; in setParametersEXIF()
127 mEXIFData.mGPSData.mTimeStampMin = timeinfo->tm_min; in setParametersEXIF()
128 mEXIFData.mGPSData.mTimeStampSec = timeinfo->tm_sec; in setParametersEXIF()
129 mEXIFData.mGPSData.mTimeStampValid = true; in setParametersEXIF()
133 mEXIFData.mGPSData.mTimeStampValid = false; in setParametersEXIF()
138 mEXIFData.mGPSData.mTimeStampValid = false; in setParametersEXIF()
147 strftime(mEXIFData.mGPSData.mDatestamp, GPS_DATESTAMP_SIZE, "%Y:%m:%d", timeinfo); in setParametersEXIF()
148 mEXIFData.mGPSData.mDatestampValid = true; in setParametersEXIF()
152 mEXIFData.mGPSData.mDatestampValid = false; in setParametersEXIF()
157 mEXIFData.mGPSData.mDatestampValid = false; in setParametersEXIF()
162 strncpy(mEXIFData.mGPSData.mProcMethod, valstr, GPS_PROCESSING_SIZE-1); in setParametersEXIF()
163 mEXIFData.mGPSData.mProcMethodValid = true; in setParametersEXIF()
167 mEXIFData.mGPSData.mProcMethodValid = false; in setParametersEXIF()
172 strncpy(mEXIFData.mGPSData.mMapDatum, valstr, GPS_MAPDATUM_SIZE-1); in setParametersEXIF()
173 mEXIFData.mGPSData.mMapDatumValid = true; in setParametersEXIF()
177 mEXIFData.mGPSData.mMapDatumValid = false; in setParametersEXIF()
182 strncpy(mEXIFData.mGPSData.mVersionId, valstr, GPS_VERSION_SIZE-1); in setParametersEXIF()
183 mEXIFData.mGPSData.mVersionIdValid = true; in setParametersEXIF()
187 mEXIFData.mGPSData.mVersionIdValid = false; in setParametersEXIF()
193 strncpy(mEXIFData.mModel, valstr, EXIF_MODEL_SIZE - 1); in setParametersEXIF()
194 mEXIFData.mModelValid= true; in setParametersEXIF()
198 mEXIFData.mModelValid= false; in setParametersEXIF()
204 strncpy(mEXIFData.mMake, valstr, EXIF_MAKE_SIZE - 1); in setParametersEXIF()
205 mEXIFData.mMakeValid = true; in setParametersEXIF()
209 mEXIFData.mMakeValid= false; in setParametersEXIF()
216 &mEXIFData.mFocalNum, in setParametersEXIF()
217 &mEXIFData.mFocalDen); in setParametersEXIF()
219 mEXIFData.mFocalNum = 0; in setParametersEXIF()
220 mEXIFData.mFocalDen = 0; in setParametersEXIF()
305 ( mEXIFData.mModelValid ) ) in setupEXIF()
308 mEXIFData.mModel, in setupEXIF()
318 ( mEXIFData.mMakeValid ) ) in setupEXIF()
321 mEXIFData.mMake, in setupEXIF()
332 if (mEXIFData.mFocalNum || mEXIFData.mFocalDen ) { in setupEXIF()
333 exifTags->ulFocalLength[0] = (OMX_U32) mEXIFData.mFocalNum; in setupEXIF()
334 exifTags->ulFocalLength[1] = (OMX_U32) mEXIFData.mFocalDen; in setupEXIF()
377 ( mEXIFData.mGPSData.mLatValid ) ) in setupEXIF()
379 exifTags->ulGpsLatitude[0] = abs(mEXIFData.mGPSData.mLatDeg); in setupEXIF()
380 exifTags->ulGpsLatitude[2] = abs(mEXIFData.mGPSData.mLatMin); in setupEXIF()
381 exifTags->ulGpsLatitude[4] = abs(mEXIFData.mGPSData.mLatSec); in setupEXIF()
384 exifTags->ulGpsLatitude[5] = abs(mEXIFData.mGPSData.mLatSecDiv); in setupEXIF()
389 ( mEXIFData.mGPSData.mLatValid ) ) in setupEXIF()
391 exifTags->cGpslatitudeRef[0] = ( OMX_S8 ) mEXIFData.mGPSData.mLatRef[0]; in setupEXIF()
397 ( mEXIFData.mGPSData.mLongValid ) ) in setupEXIF()
399 exifTags->ulGpsLongitude[0] = abs(mEXIFData.mGPSData.mLongDeg); in setupEXIF()
400 exifTags->ulGpsLongitude[2] = abs(mEXIFData.mGPSData.mLongMin); in setupEXIF()
401 exifTags->ulGpsLongitude[4] = abs(mEXIFData.mGPSData.mLongSec); in setupEXIF()
404 exifTags->ulGpsLongitude[5] = abs(mEXIFData.mGPSData.mLongSecDiv); in setupEXIF()
409 ( mEXIFData.mGPSData.mLongValid ) ) in setupEXIF()
411 exifTags->cGpsLongitudeRef[0] = ( OMX_S8 ) mEXIFData.mGPSData.mLongRef[0]; in setupEXIF()
417 ( mEXIFData.mGPSData.mAltitudeValid) ) in setupEXIF()
419 exifTags->ulGpsAltitude[0] = ( OMX_U32 ) mEXIFData.mGPSData.mAltitude; in setupEXIF()
425 ( mEXIFData.mGPSData.mAltitudeValid) ) in setupEXIF()
427 exifTags->ucGpsAltitudeRef = (OMX_U8) mEXIFData.mGPSData.mAltitudeRef; in setupEXIF()
432 ( mEXIFData.mGPSData.mMapDatumValid ) ) in setupEXIF()
434 memcpy(sharedPtr, mEXIFData.mGPSData.mMapDatum, GPS_MAPDATUM_SIZE); in setupEXIF()
443 ( mEXIFData.mGPSData.mProcMethodValid ) ) in setupEXIF()
450 mEXIFData.mGPSData.mProcMethod, in setupEXIF()
458 ( mEXIFData.mGPSData.mVersionIdValid ) ) in setupEXIF()
460 exifTags->ucGpsVersionId[0] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[0]; in setupEXIF()
461 exifTags->ucGpsVersionId[1] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[1]; in setupEXIF()
462 exifTags->ucGpsVersionId[2] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[2]; in setupEXIF()
463 exifTags->ucGpsVersionId[3] = ( OMX_U8 ) mEXIFData.mGPSData.mVersionId[3]; in setupEXIF()
468 ( mEXIFData.mGPSData.mTimeStampValid ) ) in setupEXIF()
470 exifTags->ulGpsTimeStamp[0] = mEXIFData.mGPSData.mTimeStampHour; in setupEXIF()
471 exifTags->ulGpsTimeStamp[2] = mEXIFData.mGPSData.mTimeStampMin; in setupEXIF()
472 exifTags->ulGpsTimeStamp[4] = mEXIFData.mGPSData.mTimeStampSec; in setupEXIF()
480 ( mEXIFData.mGPSData.mDatestampValid ) ) in setupEXIF()
483 ( char * ) mEXIFData.mGPSData.mDatestamp, in setupEXIF()
523 if ((NO_ERROR == ret) && (mEXIFData.mModelValid)) { in setupEXIF_libjpeg()
524 ret = exifTable->insertElement(TAG_MODEL, mEXIFData.mModel); in setupEXIF_libjpeg()
527 if ((NO_ERROR == ret) && (mEXIFData.mMakeValid)) { in setupEXIF_libjpeg()
528 ret = exifTable->insertElement(TAG_MAKE, mEXIFData.mMake); in setupEXIF_libjpeg()
532 if (mEXIFData.mFocalNum || mEXIFData.mFocalDen) { in setupEXIF_libjpeg()
537 mEXIFData.mFocalNum, in setupEXIF_libjpeg()
538 mEXIFData.mFocalDen); in setupEXIF_libjpeg()
573 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLatValid)) { in setupEXIF_libjpeg()
578 abs(mEXIFData.mGPSData.mLatDeg), 1, in setupEXIF_libjpeg()
579 abs(mEXIFData.mGPSData.mLatMin), 1, in setupEXIF_libjpeg()
580 abs(mEXIFData.mGPSData.mLatSec), abs(mEXIFData.mGPSData.mLatSecDiv)); in setupEXIF_libjpeg()
584 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLatValid)) { in setupEXIF_libjpeg()
585 ret = exifTable->insertElement(TAG_GPS_LAT_REF, mEXIFData.mGPSData.mLatRef); in setupEXIF_libjpeg()
588 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLongValid)) { in setupEXIF_libjpeg()
593 abs(mEXIFData.mGPSData.mLongDeg), 1, in setupEXIF_libjpeg()
594 abs(mEXIFData.mGPSData.mLongMin), 1, in setupEXIF_libjpeg()
595 abs(mEXIFData.mGPSData.mLongSec), abs(mEXIFData.mGPSData.mLongSecDiv)); in setupEXIF_libjpeg()
599 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mLongValid)) { in setupEXIF_libjpeg()
600 ret = exifTable->insertElement(TAG_GPS_LONG_REF, mEXIFData.mGPSData.mLongRef); in setupEXIF_libjpeg()
603 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mAltitudeValid)) { in setupEXIF_libjpeg()
608 abs( mEXIFData.mGPSData.mAltitude), 1); in setupEXIF_libjpeg()
612 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mAltitudeValid)) { in setupEXIF_libjpeg()
616 "%d", mEXIFData.mGPSData.mAltitudeRef); in setupEXIF_libjpeg()
620 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mMapDatumValid)) { in setupEXIF_libjpeg()
621 ret = exifTable->insertElement(TAG_GPS_MAP_DATUM, mEXIFData.mGPSData.mMapDatum); in setupEXIF_libjpeg()
624 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mProcMethodValid)) { in setupEXIF_libjpeg()
629 mEXIFData.mGPSData.mProcMethod, in setupEXIF_libjpeg()
634 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mVersionIdValid)) { in setupEXIF_libjpeg()
639 mEXIFData.mGPSData.mVersionId[0], in setupEXIF_libjpeg()
640 mEXIFData.mGPSData.mVersionId[1], in setupEXIF_libjpeg()
641 mEXIFData.mGPSData.mVersionId[2], in setupEXIF_libjpeg()
642 mEXIFData.mGPSData.mVersionId[3]); in setupEXIF_libjpeg()
646 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mTimeStampValid)) { in setupEXIF_libjpeg()
651 mEXIFData.mGPSData.mTimeStampHour, 1, in setupEXIF_libjpeg()
652 mEXIFData.mGPSData.mTimeStampMin, 1, in setupEXIF_libjpeg()
653 mEXIFData.mGPSData.mTimeStampSec, 1); in setupEXIF_libjpeg()
657 if ((NO_ERROR == ret) && (mEXIFData.mGPSData.mDatestampValid) ) { in setupEXIF_libjpeg()
658 ret = exifTable->insertElement(TAG_GPS_DATESTAMP, mEXIFData.mGPSData.mDatestamp); in setupEXIF_libjpeg()