• Home
  • Raw
  • Download

Lines Matching refs:valstr

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