• Home
  • Raw
  • Download

Lines Matching refs:ImageInfo

87     memset(&ImageInfo, 0, sizeof(ImageInfo));  in loadExifInfo()
88 ImageInfo.FlashUsed = -1; in loadExifInfo()
89 ImageInfo.MeteringMode = -1; in loadExifInfo()
90 ImageInfo.Whitebalance = -1; in loadExifInfo()
96 ImageInfo.FileDateTime = st.st_mtime; in loadExifInfo()
97 ImageInfo.FileSize = st.st_size; in loadExifInfo()
101 strncpy(ImageInfo.FileName, FileName, PATH_MAX); in loadExifInfo()
177 int NewExifSize = ImageInfo.ThumbnailOffset+8+thumbnailLen; in copyThumbnailData()
182 uchar* ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in copyThumbnailData()
186 ImageInfo.ThumbnailSize = thumbnailLen; in copyThumbnailData()
188 Put32u(ExifSection->Data+ImageInfo.ThumbnailSizeOffset+8, thumbnailLen); in copyThumbnailData()
310 int thumbnailLength = ImageInfo.ThumbnailSize; in saveAttributes()
311 if (ImageInfo.ThumbnailOffset) { in saveAttributes()
314 uchar* thumbnailPointer = ExifSection->Data + ImageInfo.ThumbnailOffset + 8; in saveAttributes()
315 thumbnailData = (uchar*)malloc(ImageInfo.ThumbnailSize); in saveAttributes()
447 if (ExifSection == NULL || ImageInfo.ThumbnailSize == 0) { in getThumbnail()
453 uchar* thumbnailPointer = ExifSection->Data + ImageInfo.ThumbnailOffset + 8; in getThumbnail()
455 jbyteArray byteArray = (*env)->NewByteArray(env, ImageInfo.ThumbnailSize); in getThumbnail()
462 (*env)->SetByteArrayRegion(env, byteArray, 0, ImageInfo.ThumbnailSize, thumbnailPointer); in getThumbnail()
464 ALOGE("thumbnail size %d\n", ImageInfo.ThumbnailSize); in getThumbnail()
560ImageInfo.ThumbnailOffset == 0 || ImageInfo.ThumbnailAtEnd == FALSE || ImageInfo.ThumbnailSize == … in getAttributes()
564 if (ImageInfo.CameraMake[0]) { in getAttributes()
565 bufLen = addKeyValueString(&buf, bufLen, "Make", ImageInfo.CameraMake); in getAttributes()
568 if (ImageInfo.CameraModel[0]) { in getAttributes()
569 bufLen = addKeyValueString(&buf, bufLen, "Model", ImageInfo.CameraModel); in getAttributes()
572 if (ImageInfo.DateTime[0]) { in getAttributes()
573 bufLen = addKeyValueString(&buf, bufLen, "DateTime", ImageInfo.DateTime); in getAttributes()
576 bufLen = addKeyValueInt(&buf, bufLen, "ImageWidth", ImageInfo.Width); in getAttributes()
579 bufLen = addKeyValueInt(&buf, bufLen, "ImageLength", ImageInfo.Height); in getAttributes()
582 bufLen = addKeyValueInt(&buf, bufLen, "Orientation", ImageInfo.Orientation); in getAttributes()
585 if (ImageInfo.FlashUsed >= 0) { in getAttributes()
586 bufLen = addKeyValueInt(&buf, bufLen, "Flash", ImageInfo.FlashUsed); in getAttributes()
590 if (ImageInfo.FocalLength.num != 0 && ImageInfo.FocalLength.denom != 0) { in getAttributes()
591 bufLen = addKeyValueRational(&buf, bufLen, "FocalLength", ImageInfo.FocalLength); in getAttributes()
595 if (ImageInfo.DigitalZoomRatio > 1.0){ in getAttributes()
597 … bufLen = addKeyValueDouble(&buf, bufLen, "DigitalZoomRatio", ImageInfo.DigitalZoomRatio, "%1.3f"); in getAttributes()
601 if (ImageInfo.ExposureTime){ in getAttributes()
603 if (ImageInfo.ExposureTime < 0.010){ in getAttributes()
609 … bufLen = addKeyValueDouble(&buf, bufLen, "ExposureTime", (double)ImageInfo.ExposureTime, format); in getAttributes()
613 if (ImageInfo.ApertureFNumber){ in getAttributes()
614 … bufLen = addKeyValueDouble(&buf, bufLen, "FNumber", (double)ImageInfo.ApertureFNumber, "%3.1f"); in getAttributes()
618 if (ImageInfo.Distance){ in getAttributes()
619 … bufLen = addKeyValueDouble(&buf, bufLen, "SubjectDistance", (double)ImageInfo.Distance, "%4.2f"); in getAttributes()
623 if (ImageInfo.ISOequivalent){ in getAttributes()
624 bufLen = addKeyValueInt(&buf, bufLen, "ISOSpeedRatings", ImageInfo.ISOequivalent); in getAttributes()
628 if (ImageInfo.ExposureBias){ in getAttributes()
631 …bufLen = addKeyValueDouble(&buf, bufLen, "ExposureBiasValue", (double)ImageInfo.ExposureBias, "%4.… in getAttributes()
635 if (ImageInfo.Whitebalance >= 0) { in getAttributes()
636 bufLen = addKeyValueInt(&buf, bufLen, "WhiteBalance", ImageInfo.Whitebalance); in getAttributes()
640 bufLen = addKeyValueInt(&buf, bufLen, "LightSource", ImageInfo.LightSource); in getAttributes()
644 if (ImageInfo.MeteringMode) { in getAttributes()
645 bufLen = addKeyValueInt(&buf, bufLen, "MeteringMode", ImageInfo.MeteringMode); in getAttributes()
649 if (ImageInfo.ExposureProgram) { in getAttributes()
650 bufLen = addKeyValueInt(&buf, bufLen, "ExposureProgram", ImageInfo.ExposureProgram); in getAttributes()
654 if (ImageInfo.ExposureMode) { in getAttributes()
655 bufLen = addKeyValueInt(&buf, bufLen, "ExposureMode", ImageInfo.ExposureMode); in getAttributes()
659 if (ImageInfo.GpsInfoPresent) { in getAttributes()
660 if (ImageInfo.GpsLatRaw[0]) { in getAttributes()
661 bufLen = addKeyValueString(&buf, bufLen, "GPSLatitude", ImageInfo.GpsLatRaw); in getAttributes()
664 if (ImageInfo.GpsLatRef[0]) { in getAttributes()
665 bufLen = addKeyValueString(&buf, bufLen, "GPSLatitudeRef", ImageInfo.GpsLatRef); in getAttributes()
668 if (ImageInfo.GpsLongRaw[0]) { in getAttributes()
669 bufLen = addKeyValueString(&buf, bufLen, "GPSLongitude", ImageInfo.GpsLongRaw); in getAttributes()
672 if (ImageInfo.GpsLongRef[0]) { in getAttributes()
673 bufLen = addKeyValueString(&buf, bufLen, "GPSLongitudeRef", ImageInfo.GpsLongRef); in getAttributes()
676 if (ImageInfo.GpsAlt[0]) { in getAttributes()
677 bufLen = addKeyValueRational(&buf, bufLen, "GPSAltitude", ImageInfo.GpsAltRaw); in getAttributes()
678 bufLen = addKeyValueInt(&buf, bufLen, "GPSAltitudeRef", ImageInfo.GpsAltRef); in getAttributes()
681 if (ImageInfo.GpsDateStamp[0]) { in getAttributes()
682 bufLen = addKeyValueString(&buf, bufLen, "GPSDateStamp", ImageInfo.GpsDateStamp); in getAttributes()
685 if (ImageInfo.GpsTimeStamp[0]) { in getAttributes()
686 bufLen = addKeyValueString(&buf, bufLen, "GPSTimeStamp", ImageInfo.GpsTimeStamp); in getAttributes()
689 if (ImageInfo.GpsProcessingMethod[0]) { in getAttributes()
690 … bufLen = addKeyValueString(&buf, bufLen, "GPSProcessingMethod", ImageInfo.GpsProcessingMethod); in getAttributes()
695 if (ImageInfo.Comments[0]) { in getAttributes()
696 bufLen = addKeyValueString(&buf, bufLen, "UserComment", ImageInfo.Comments); in getAttributes()