Lines Matching defs:entry
176 static double exifDouble(ExifEntry *entry, ExifByteOrder byte_order) {
177 switch (entry->format) {
179 return double(entry->data[0]);
182 return double(exif_get_short(entry->data, byte_order));
185 return double(exif_get_long(entry->data, byte_order));
188 ExifRational r = exif_get_rational(entry->data, byte_order);
192 return double(*(signed char *)entry->data);
195 return double(exif_get_sshort(entry->data, byte_order));
198 return double(exif_get_slong(entry->data, byte_order));
201 ExifSRational r = exif_get_srational(entry->data, byte_order);
205 return double((reinterpret_cast<float *>(entry->data))[0]);
208 return (reinterpret_cast<double *>(entry->data))[0];