Lines Matching refs:gps_directory
71 void FillGpsPreviewImageData(const TiffDirectory& gps_directory, in FillGpsPreviewImageData() argument
73 if (gps_directory.Has(kGpsTagLatitudeRef) && in FillGpsPreviewImageData()
74 gps_directory.Has(kGpsTagLatitude) && in FillGpsPreviewImageData()
75 gps_directory.Has(kGpsTagLongitudeRef) && in FillGpsPreviewImageData()
76 gps_directory.Has(kGpsTagLongitude) && in FillGpsPreviewImageData()
77 gps_directory.Has(kGpsTagTimeStamp) && in FillGpsPreviewImageData()
78 gps_directory.Has(kGpsTagDateStamp)) { in FillGpsPreviewImageData()
81 if (!gps_directory.Get(kGpsTagLatitudeRef, &value) || value.empty() || in FillGpsPreviewImageData()
83 !GetRational(kGpsTagLatitude, gps_directory, 3 /* data size */, in FillGpsPreviewImageData()
89 if (!gps_directory.Get(kGpsTagLongitudeRef, &value) || value.empty() || in FillGpsPreviewImageData()
91 !GetRational(kGpsTagLongitude, gps_directory, 3 /* data size */, in FillGpsPreviewImageData()
97 if (!GetRational(kGpsTagTimeStamp, gps_directory, 3 /* data size */, in FillGpsPreviewImageData()
103 if (!gps_directory.Get(kGpsTagDateStamp, in FillGpsPreviewImageData()
114 if (gps_directory.Has(kGpsTagAltitudeRef) && in FillGpsPreviewImageData()
115 gps_directory.Has(kGpsTagAltitude)) { in FillGpsPreviewImageData()
117 if (!gps_directory.Get(kGpsTagAltitudeRef, &bytes) || bytes.empty() || in FillGpsPreviewImageData()
118 !GetRational(kGpsTagAltitude, gps_directory, 1, in FillGpsPreviewImageData()
655 tiff_content.gps_directory) { in GetPreviewImageData()
656 FillGpsPreviewImageData(*tiff_content.gps_directory, preview_image_data); in GetPreviewImageData()
743 tiff_content->gps_directory.reset(new TiffDirectory(endian_)); in ParseGpsData()
750 gps_tags, stream_, tiff_content->gps_directory.get(), in ParseGpsData()