Lines Matching refs:valstr
38 const char *valstr = NULL;
43 if( ( valstr = params.get(CameraParameters::KEY_GPS_LATITUDE) ) != NULL )
45 gpsPos = strtod(valstr, NULL);
75 if( ( valstr = params.get(CameraParameters::KEY_GPS_LONGITUDE) ) != NULL )
77 gpsPos = strtod(valstr, NULL);
107 if( ( valstr = params.get(CameraParameters::KEY_GPS_ALTITUDE) ) != NULL )
109 gpsPos = strtod(valstr, NULL);
123 if( (valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP)) != NULL )
125 long gpsTimestamp = strtol(valstr, NULL, 10);
144 if( ( valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP) ) != NULL )
146 long gpsDatestamp = strtol(valstr, NULL, 10);
163 if( ( valstr = params.get(CameraParameters::KEY_GPS_PROCESSING_METHOD) ) != NULL )
165 strncpy(mEXIFData.mGPSData.mProcMethod, valstr, GPS_PROCESSING_SIZE-1);
173 if( ( valstr = params.get(TICameraParameters::KEY_GPS_MAPDATUM) ) != NULL )
175 strncpy(mEXIFData.mGPSData.mMapDatum, valstr, GPS_MAPDATUM_SIZE-1);
183 if( ( valstr = params.get(TICameraParameters::KEY_GPS_VERSION) ) != NULL )
185 strncpy(mEXIFData.mGPSData.mVersionId, valstr, GPS_VERSION_SIZE-1);
193 if( ( valstr = params.get(TICameraParameters::KEY_EXIF_MODEL ) ) != NULL )
195 CAMHAL_LOGVB("EXIF Model: %s", valstr);
196 strncpy(mEXIFData.mModel, valstr, EXIF_MODEL_SIZE - 1);
204 if( ( valstr = params.get(TICameraParameters::KEY_EXIF_MAKE ) ) != NULL )
206 CAMHAL_LOGVB("EXIF Make: %s", valstr);
207 strncpy(mEXIFData.mMake, valstr, EXIF_MAKE_SIZE - 1);
216 if( ( valstr = params.get(CameraParameters::KEY_FOCAL_LENGTH) ) != NULL ) {
217 CAMHAL_LOGVB("EXIF Focal length: %s", valstr);
218 ExifElementsTable::stringToRational(valstr,