• Home
  • Raw
  • Download

Lines Matching refs:ImageInfo

624             if (OffsetVal > ImageInfo.LargestExifOffset){  in ProcessExifDir()
625 ImageInfo.LargestExifOffset = OffsetVal; in ProcessExifDir()
707 strncpy(ImageInfo.CameraMake, (char *)ValuePtr, ByteCount < 31 ? ByteCount : 31); in ProcessExifDir()
711 strncpy(ImageInfo.CameraModel, (char *)ValuePtr, ByteCount < 39 ? ByteCount : 39); in ProcessExifDir()
716 strncpy(ImageInfo.DateTime, (char *)ValuePtr, 19); in ProcessExifDir()
721 if (!isdigit(ImageInfo.DateTime[0])){ in ProcessExifDir()
724 strncpy(ImageInfo.DateTime, (char *)ValuePtr, 19); in ProcessExifDir()
727 if (ImageInfo.numDateTimeTags >= MAX_DATE_COPIES){ in ProcessExifDir()
731 ImageInfo.DateTimeOffsets[ImageInfo.numDateTimeTags++] = in ProcessExifDir()
736 if (ImageInfo.Comments[0]){ // We already have a jpeg comment. in ProcessExifDir()
744 memcpy(ImageInfo.Comments, ValuePtr, ByteCount); in ProcessExifDir()
745 ImageInfo.CommentWidchars = ByteCount/2; in ProcessExifDir()
750 if (ImageInfo.Comments[0]){ // We already have a jpeg comment. in ProcessExifDir()
781 strncpy(ImageInfo.Comments, in ProcessExifDir()
787 strncpy(ImageInfo.Comments, (char *)ValuePtr, msiz); in ProcessExifDir()
795 ImageInfo.ApertureFNumber = (float)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
802 if (ImageInfo.ApertureFNumber == 0){ in ProcessExifDir()
803 ImageInfo.ApertureFNumber in ProcessExifDir()
811 ImageInfo.FocalLength.num = Get32u(ValuePtr); in ProcessExifDir()
812 ImageInfo.FocalLength.denom = Get32u(4+(char *)ValuePtr); in ProcessExifDir()
818 ImageInfo.Distance = (float)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
824 ImageInfo.ExposureTime = (float)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
830 if (ImageInfo.ExposureTime == 0){ in ProcessExifDir()
831 ImageInfo.ExposureTime in ProcessExifDir()
838 ImageInfo.FlashUsed=(int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
851 ImageInfo.Orientation = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
853 if (ImageInfo.Orientation < 0 || ImageInfo.Orientation > 8){ in ProcessExifDir()
854 ErrNonfatal("Undefined rotation value %d", ImageInfo.Orientation, 0); in ProcessExifDir()
855 ImageInfo.Orientation = 0; in ProcessExifDir()
889 ImageInfo.ExposureBias = (float)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
893 ImageInfo.Whitebalance = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
897 ImageInfo.LightSource = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
901 ImageInfo.MeteringMode = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
905 ImageInfo.ExposureProgram = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
909 if (ImageInfo.ISOequivalent == 0){ in ProcessExifDir()
913 ImageInfo.ISOequivalent = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
918 ImageInfo.ExposureMode = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
922 ImageInfo.ISOequivalent = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
923 if ( ImageInfo.ISOequivalent < 50 ){ in ProcessExifDir()
925 ImageInfo.ISOequivalent *= 200; in ProcessExifDir()
930 ImageInfo.DigitalZoomRatio = (float)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
940 ImageInfo.ThumbnailSizeOffset = ValuePtr-OffsetBase; in ProcessExifDir()
978 ImageInfo.FocalLength35mmEquiv = (unsigned)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
984 ImageInfo.DistanceRange = (int)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
1019 if (Offset > ImageInfo.LargestExifOffset){ in ProcessExifDir()
1020 ImageInfo.LargestExifOffset = Offset; in ProcessExifDir()
1029 ImageInfo.ThumbnailAtEnd = FALSE; in ProcessExifDir()
1045 ImageInfo.ThumbnailOffset = ThumbnailOffset; in ProcessExifDir()
1046 ImageInfo.ThumbnailSize = ThumbnailSize; in ProcessExifDir()
1114ImageInfo.ThumbnailAtEnd = ImageInfo.ThumbnailOffset >= ImageInfo.LargestExifOffset ? TRUE : FALSE; in process_EXIF()
1116 printf("Thumbnail %s end", (ImageInfo.ThumbnailAtEnd ? "at" : "NOT at")); in process_EXIF()
1140 ImageInfo.CCDWidth = (float)(ExifImageWidth * FocalplaneUnits / FocalplaneXRes); in process_EXIF()
1142 if (ImageInfo.FocalLength.num != 0 && ImageInfo.FocalLength.denom != 0 in process_EXIF()
1143 && ImageInfo.FocalLength35mmEquiv == 0){ in process_EXIF()
1146 ImageInfo.FocalLength35mmEquiv = (int)( in process_EXIF()
1147 (double)ImageInfo.FocalLength.num / ImageInfo.FocalLength.denom in process_EXIF()
1148 / ImageInfo.CCDWidth * 36 + 0.5); in process_EXIF()
1349 if (ImageInfo.numDateTimeTags) { in create_EXIF_internal()
1351 dateTime = ImageInfo.DateTime; in create_EXIF_internal()
1576 return OrientTab[ImageInfo.Orientation]; in ClearOrientation()
1587 ImageInfo.ThumbnailOffset == 0 || in RemoveThumbnail()
1588 ImageInfo.ThumbnailSize == 0){ in RemoveThumbnail()
1592 if (ImageInfo.ThumbnailAtEnd == FALSE){ in RemoveThumbnail()
1620 return ImageInfo.ThumbnailOffset+8; in RemoveThumbnail()
1660 printf("File name : %s\n",ImageInfo.FileName); in ShowImageInfo()
1661 printf("File size : %d bytes\n",ImageInfo.FileSize); in ShowImageInfo()
1670 if (ImageInfo.CameraMake[0]){ in ShowImageInfo()
1671 printf("Camera make : %s\n",ImageInfo.CameraMake); in ShowImageInfo()
1672 printf("Camera model : %s\n",ImageInfo.CameraModel); in ShowImageInfo()
1674 if (ImageInfo.DateTime[0]){ in ShowImageInfo()
1675 printf("Date/Time : %s\n",ImageInfo.DateTime); in ShowImageInfo()
1677 printf("Resolution : %d x %d\n",ImageInfo.Width, ImageInfo.Height); in ShowImageInfo()
1679 if (ImageInfo.Orientation > 1){ in ShowImageInfo()
1681 printf("Orientation : %s\n", OrientTab[ImageInfo.Orientation]); in ShowImageInfo()
1684 if (ImageInfo.IsColor == 0){ in ShowImageInfo()
1688 if (ImageInfo.FlashUsed >= 0){ in ShowImageInfo()
1689 if (ImageInfo.FlashUsed & 1){ in ShowImageInfo()
1691 switch (ImageInfo.FlashUsed){ in ShowImageInfo()
1712 switch (ImageInfo.FlashUsed){ in ShowImageInfo()
1720 if (ImageInfo.FocalLength.num != 0 && ImageInfo.FocalLength.denom != 0) { in ShowImageInfo()
1721 … printf("Focal length : %4.1fmm",(double)ImageInfo.FocalLength.num / ImageInfo.FocalLength.denom); in ShowImageInfo()
1722 if (ImageInfo.FocalLength35mmEquiv){ in ShowImageInfo()
1723 printf(" (35mm equivalent: %dmm)", ImageInfo.FocalLength35mmEquiv); in ShowImageInfo()
1728 if (ImageInfo.DigitalZoomRatio > 1){ in ShowImageInfo()
1730 printf("Digital Zoom : %1.3fx\n", (double)ImageInfo.DigitalZoomRatio); in ShowImageInfo()
1733 if (ImageInfo.CCDWidth){ in ShowImageInfo()
1734 printf("CCD width : %4.2fmm\n",(double)ImageInfo.CCDWidth); in ShowImageInfo()
1737 if (ImageInfo.ExposureTime){ in ShowImageInfo()
1738 if (ImageInfo.ExposureTime < 0.010){ in ShowImageInfo()
1739 printf("Exposure time: %6.4f s ",(double)ImageInfo.ExposureTime); in ShowImageInfo()
1741 printf("Exposure time: %5.3f s ",(double)ImageInfo.ExposureTime); in ShowImageInfo()
1743 if (ImageInfo.ExposureTime <= 0.5){ in ShowImageInfo()
1744 printf(" (1/%d)",(int)(0.5 + 1/ImageInfo.ExposureTime)); in ShowImageInfo()
1748 if (ImageInfo.ApertureFNumber){ in ShowImageInfo()
1749 printf("Aperture : f/%3.1f\n",(double)ImageInfo.ApertureFNumber); in ShowImageInfo()
1751 if (ImageInfo.Distance){ in ShowImageInfo()
1752 if (ImageInfo.Distance < 0){ in ShowImageInfo()
1755 printf("Focus dist. : %4.2fm\n",(double)ImageInfo.Distance); in ShowImageInfo()
1759 if (ImageInfo.ISOequivalent){ in ShowImageInfo()
1760 printf("ISO equiv. : %2d\n",(int)ImageInfo.ISOequivalent); in ShowImageInfo()
1763 if (ImageInfo.ExposureBias){ in ShowImageInfo()
1766 printf("Exposure bias: %4.2f\n",(double)ImageInfo.ExposureBias); in ShowImageInfo()
1769 switch(ImageInfo.Whitebalance) { in ShowImageInfo()
1779 switch(ImageInfo.LightSource) { in ShowImageInfo()
1803 if (ImageInfo.MeteringMode){ // 05-jan-2001 vcs in ShowImageInfo()
1804 switch(ImageInfo.MeteringMode) { in ShowImageInfo()
1817 if (ImageInfo.ExposureProgram){ // 05-jan-2001 vcs in ShowImageInfo()
1818 switch(ImageInfo.ExposureProgram) { in ShowImageInfo()
1847 switch(ImageInfo.ExposureMode){ in ShowImageInfo()
1856 if (ImageInfo.DistanceRange) { in ShowImageInfo()
1858 switch(ImageInfo.DistanceRange) { in ShowImageInfo()
1874 if (ImageInfo.Process != M_SOF0){ in ShowImageInfo()
1884 if (ProcessTable[a].Tag == ImageInfo.Process){ in ShowImageInfo()
1891 if (ImageInfo.GpsInfoPresent){ in ShowImageInfo()
1892 printf("GPS Latitude : %s\n",ImageInfo.GpsLat); in ShowImageInfo()
1893 printf("GPS Longitude: %s\n",ImageInfo.GpsLong); in ShowImageInfo()
1894 if (ImageInfo.GpsAlt[0]) printf("GPS Altitude : %s\n",ImageInfo.GpsAlt); in ShowImageInfo()
1898 if (ImageInfo.Comments[0]){ in ShowImageInfo()
1901 if (!ImageInfo.CommentWidchars){ in ShowImageInfo()
1903 c = ImageInfo.Comments[a]; in ShowImageInfo()
1907 if (ImageInfo.Comments[a+1] != '\0'){ in ShowImageInfo()
1918 printf("%.*ls\n", ImageInfo.CommentWidchars, (wchar_t *)ImageInfo.Comments); in ShowImageInfo()
1921 if (ImageInfo.ThumbnailOffset){ in ShowImageInfo()
1922 …printf("Map: %05d-%05d: Thumbnail\n",ImageInfo.ThumbnailOffset, ImageInfo.ThumbnailOffset+ImageInf… in ShowImageInfo()
1934 printf("\"%s\"",ImageInfo.FileName); in ShowConciseImageInfo()
1936 printf(" %dx%d",ImageInfo.Width, ImageInfo.Height); in ShowConciseImageInfo()
1938 if (ImageInfo.ExposureTime){ in ShowConciseImageInfo()
1939 if (ImageInfo.ExposureTime <= 0.5){ in ShowConciseImageInfo()
1940 printf(" (1/%d)",(int)(0.5 + 1/ImageInfo.ExposureTime)); in ShowConciseImageInfo()
1942 printf(" (%1.1f)",ImageInfo.ExposureTime); in ShowConciseImageInfo()
1946 if (ImageInfo.ApertureFNumber){ in ShowConciseImageInfo()
1947 printf(" f/%3.1f",(double)ImageInfo.ApertureFNumber); in ShowConciseImageInfo()
1950 if (ImageInfo.FocalLength35mmEquiv){ in ShowConciseImageInfo()
1951 printf(" f(35)=%dmm",ImageInfo.FocalLength35mmEquiv); in ShowConciseImageInfo()
1954 if (ImageInfo.FlashUsed >= 0 && ImageInfo.FlashUsed & 1){ in ShowConciseImageInfo()
1958 if (ImageInfo.IsColor == 0){ in ShowConciseImageInfo()