Lines Matching refs:data
76 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
105 exif_set_rational(&entry->data[i * rationalSize], byteOrder, rational); in createEntry()
129 const unsigned char* data, in createEntry() argument
134 memcpy(entry->data, data, size); in createEntry()
148 const unsigned char* data = reinterpret_cast<const unsigned char*>(value); in createEntry() local
149 return createEntry(exifData, ifd, tag, data, length, EXIF_FORMAT_ASCII); in createEntry()
185 exif_set_long(entry->data, byteOrder, value); in createEntry()
202 exif_set_short(entry->data, byteOrder, value); in createEntry()
375 focalLength = (entry.count > 0) ? entry.data.f[0] : 5.0f; in createExifDataCommon()
378 degrees = (entry.count > 0) ? entry.data.i32[0] : 0; in createExifDataCommon()
406 … ALOGV("Latitude %f Longitude %f Altitude %f", entry.data.d[0], entry.data.d[1], entry.data.d[2]); in createExifDataCommon()
407 convertGpsCoordinate(entry.data.d[0], &triplet); in createExifDataCommon()
410 const char* ref = entry.data.d[0] < 0.0f ? "S" : "N"; in createExifDataCommon()
414 convertGpsCoordinate(entry.data.d[1], &triplet); in createExifDataCommon()
417 ref = entry.data.d[1] < 0.0f ? "W" : "E"; in createExifDataCommon()
421 static_cast<float>(fabs(entry.data.d[2]))); in createExifDataCommon()
424 ref1 = entry.data.d[2] < 0.0f ? 1 : 0; in createExifDataCommon()
431 timestamp = entry.data.i64[0]; in createExifDataCommon()
444 stringValue = (const char*)entry.data.u8; in createExifDataCommon()
446 std::vector<unsigned char> data; in createExifDataCommon() local
450 data.insert(data.end(), in createExifDataCommon()
453 data.insert(data.end(), stringValue, stringValue + entry.count); in createExifDataCommon()
455 &data[0], data.size()); in createExifDataCommon()
466 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in createExifData()
471 float aperture = (entry.count > 0) ? entry.data.f[0] : 2.8; in createExifData()
475 uint16_t flash = (entry.count > 0) ? entry.data.i32[0] : 0; in createExifData()
480 if (entry.count > 0 && entry.data.i32[0] == ANDROID_CONTROL_AWB_MODE_AUTO) { in createExifData()
487 entry.data.i32[0] : Sensor::kSensitivityRange[0]; in createExifData()