Searched refs:refEntry (Results 1 – 2 of 2) sorted by relevance
/hardware/libhardware/modules/camera/3_4/arc/ |
D | exif_utils.cpp | 148 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/default/ |
D | Exif.cpp | 467 std::unique_ptr<ExifEntry> refEntry = in setGpsAltitude() local 469 if (!refEntry) { in setGpsAltitude() 474 *refEntry->data = 0; in setGpsAltitude() 476 *refEntry->data = 1; in setGpsAltitude() 484 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], refEntry.get()); in setGpsAltitude() 496 std::unique_ptr<ExifEntry> refEntry = in setGpsLatitude() local 498 if (!refEntry) { in setGpsLatitude() 503 memcpy(refEntry->data, "N", sizeof("N")); in setGpsLatitude() 505 memcpy(refEntry->data, "S", sizeof("S")); in setGpsLatitude() 513 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], refEntry.get()); in setGpsLatitude() [all …]
|