Home
last modified time | relevance | path

Searched refs:refEntry (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/camera/3_4/arc/
Dexif_utils.cpp148 std::unique_ptr<ExifEntry> refEntry = in SetGpsLatitude() local
150 if (!refEntry) { in SetGpsLatitude()
155 memcpy(refEntry->data, "N", sizeof("N")); in SetGpsLatitude()
157 memcpy(refEntry->data, "S", sizeof("S")); in SetGpsLatitude()
165 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], refEntry.get()); in SetGpsLatitude()
176 std::unique_ptr<ExifEntry> refEntry = in SetGpsLongitude() local
178 if (!refEntry) { in SetGpsLongitude()
183 memcpy(refEntry->data, "E", sizeof("E")); in SetGpsLongitude()
185 memcpy(refEntry->data, "W", sizeof("W")); in SetGpsLongitude()
193 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], refEntry.get()); in SetGpsLongitude()
[all …]
/hardware/interfaces/camera/common/1.0/default/
DExif.cpp507 std::unique_ptr<ExifEntry> refEntry = in setGpsAltitude() local
509 if (!refEntry) { in setGpsAltitude()
514 *refEntry->data = 0; in setGpsAltitude()
516 *refEntry->data = 1; in setGpsAltitude()
524 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], refEntry.get()); in setGpsAltitude()
536 std::unique_ptr<ExifEntry> refEntry = in setGpsLatitude() local
538 if (!refEntry) { in setGpsLatitude()
543 memcpy(refEntry->data, "N", sizeof("N")); in setGpsLatitude()
545 memcpy(refEntry->data, "S", sizeof("S")); in setGpsLatitude()
553 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], refEntry.get()); in setGpsLatitude()
[all …]