Home | History | Annotate | Download | only in jhead

Lines Matching refs:printf

31 #define printf ALOGE
306 printf("found tag %s val %d", TagTable[i].Desc, TagTable[i].Tag);
310 printf("tag %s NOT FOUND", tagName);
395 case FMT_BYTE: printf("%02x",*(uchar *)ValuePtr); s=1; break;
396 case FMT_USHORT: printf("%d",Get16u(ValuePtr)); s=2; break;
398 case FMT_SLONG: printf("%d",Get32s(ValuePtr)); s=4; break;
399 case FMT_SSHORT: printf("%hd",(signed short)Get16u(ValuePtr)); s=2; break;
402 printf("%d/%d",Get32s(ValuePtr), Get32s(4+(char *)ValuePtr));
406 case FMT_SINGLE: printf("%f",(double)*(float *)ValuePtr); s=8; break;
407 case FMT_DOUBLE: printf("%f",*(double *)ValuePtr); s=8; break;
409 printf("Unknown format %d:", Format);
414 printf(", ");
418 if (n >= 16) printf("...");
553 printf("ProcessExifDir");
579 printf("Map: %05d-%05d: Directory\n",(int)(DirStart-OffsetBase), (int)(DirEnd+4-OffsetBase));
586 printf("(dir has %d entries)\n",NumDirEntries);
629 printf("Map: %05d-%05d: Data for tag %04x\n",OffsetVal, OffsetVal+ByteCount, Tag);
638 printf("%s Maker note: ",IndentString);
648 printf("%s", IndentString);
649 printf(" Unknown Tag %04x Value = ", Tag);
653 printf("%s", IndentString);
654 printf(" %s = ",TagTable[a].Desc);
663 printf("%.*ls\n", ByteCount/2, (wchar_t *)ValuePtr);
666 printf("\n");
676 printf("\"%s\"", ValuePtr);
678 // printf("\"");
692 // printf("\"\n");
699 printf("\n");
738 if (ShowTags) printf("Windows XP commend and other comment in header\n");
752 if (ShowTags) printf("Multiple comments in exif header\n");
944 if (ShowTags) printf("%s Exif Dir:",IndentString);
947 if (Tag == TAG_INTEROP_OFFSET && ShowTags) printf("%s Interop Dir:",IndentString);
961 if (ShowTags) printf("%s GPS info dir:",IndentString);
998 printf("DirStart %d offset from dirstart %d", (int)DirStart, 2+12*NumDirEntries);
1003 printf("SubdirStart %d OffsetBase %d ExifLength %d Offset %d",
1009 if (ShowTags) printf("Thumbnail removed with Jhead 1.3 or earlier\n");
1015 if (ShowTags) printf("%s Continued directory ",IndentString);
1032 printf("Map: %05d-%05d: Thumbnail\n",ThumbnailOffset, ThumbnailOffset+ThumbnailSize);
1041 if (ShowTags) printf("Thumbnail incorrectly placed in header\n");
1049 printf("Thumbnail size: %d bytes\n",ThumbnailSize);
1053 printf("returning from ProcessExifDir");
1071 printf("Exif header %d bytes long\n",length);
1083 if (ShowTags) printf("Exif section in Intel order\n");
1087 if (ShowTags) printf("Exif section in Motorola order\n");
1116 printf("Thumbnail %s end", (ImageInfo.ThumbnailAtEnd ? "at" : "NOT at"));
1120 printf("Map: %05d- End of exif\n",length-8);
1122 // printf("Map: %05d ",a);
1123 // for (b=0;b<10;b++) printf(" %02x",*(ExifSection+8+a+b));
1124 // printf("\n");
1129 printf("Map: %4d %02x %c", a, c, pc);
1158 printf("found tag %d", tag);
1161 printf("tag %s format not defined ***** YOU MUST ADD THE FORMAT TO THE TagTable in exif.c!!!!", TagTable[i].Desc);
1167 printf("tag %d NOT FOUND", tag);
1201 printf("# components: %ld", components);
1209 printf("copying value %s to %d", (char*)value, (*DataWriteIndex));
1221 printf("copying %s to %d", (char*)value + sizeof(ExifAsciiPrefix), (*DataWriteIndex));
1237 printf("processing component %s format %s", curElement, formatStr(format));
1420 printf("Ending Exif section DirIndex = %d DataWriteIndex %d", DirIndex, DataWriteIndex);
1427 printf("Starting GPS section DirIndex = %d", DirIndex);
1459 printf("Ending GPS section DirIndex = %d DataWriteIndex %d", DirIndex, DataWriteIndex);
1466 printf("Starting Thumbnail section DirIndex = %d", DirIndex);
1499 printf("Ending Thumbnail section DirIndex = %d DataWriteIndex %d", DirIndex, DataWriteIndex);
1660 printf("File name : %s\n",ImageInfo.FileName);
1661 printf("File size : %d bytes\n",ImageInfo.FileSize);
1666 printf("File date : %s\n",Temp);
1671 printf("Camera make : %s\n",ImageInfo.CameraMake);
1672 printf("Camera model : %s\n",ImageInfo.CameraModel);
1675 printf("Date/Time : %s\n",ImageInfo.DateTime);
1677 printf("Resolution : %d x %d\n",ImageInfo.Width, ImageInfo.Height);
1681 printf("Orientation : %s\n", OrientTab[ImageInfo.Orientation]);
1685 printf("Color/bw : Black and white\n");
1690 printf("Flash used : Yes");
1692 case 0x5: printf(" (Strobe light not detected)"); break;
1693 case 0x7: printf(" (Strobe light detected) "); break;
1694 case 0x9: printf(" (manual)"); break;
1695 case 0xd: printf(" (manual, return light not detected)"); break;
1696 case 0xf: printf(" (manual, return light detected)"); break;
1697 case 0x19:printf(" (auto)"); break;
1698 case 0x1d:printf(" (auto, return light not detected)"); break;
1699 case 0x1f:printf(" (auto, return light detected)"); break;
1700 case 0x41:printf(" (red eye reduction mode)"); break;
1701 case 0x45:printf(" (red eye reduction mode return light not detected)"); break;
1702 case 0x47:printf(" (red eye reduction mode return light detected)"); break;
1703 case 0x49:printf(" (manual, red eye reduction mode)"); break;
1704 case 0x4d:printf(" (manual, red eye reduction mode, return light not detected)"); break;
1705 case 0x4f:printf(" (red eye reduction mode, return light detected)"); break;
1706 case 0x59:printf(" (auto, red eye reduction mode)"); break;
1707 case 0x5d:printf(" (auto, red eye reduction mode, return light not detected)"); break;
1708 case 0x5f:printf(" (auto, red eye reduction mode, return light detected)"); break;
1711 printf("Flash used : No");
1713 case 0x18:printf(" (auto)"); break;
1716 printf("\n");
1721 printf("Focal length : %4.1fmm",(double)ImageInfo.FocalLength.num / ImageInfo.FocalLength.denom);
1723 printf(" (35mm equivalent: %dmm)", ImageInfo.FocalLength35mmEquiv);
1725 printf("\n");
1730 printf("Digital Zoom : %1.3fx\n", (double)ImageInfo.DigitalZoomRatio);
1734 printf("CCD width : %4.2fmm\n",(double)ImageInfo.CCDWidth);
1739 printf("Exposure time: %6.4f s ",(double)ImageInfo.ExposureTime);
1741 printf("Exposure time: %5.3f s ",(double)ImageInfo.ExposureTime);
1744 printf(" (1/%d)",(int)(0.5 + 1/ImageInfo.ExposureTime));
1746 printf("\n");
1749 printf("Aperture : f/%3.1f\n",(double)ImageInfo.ApertureFNumber);
1753 printf("Focus dist. : Infinite\n");
1755 printf("Focus dist. : %4.2fm\n",(double)ImageInfo.Distance);
1760 printf("ISO equiv. : %2d\n",(int)ImageInfo.ISOequivalent);
1766 printf("Exposure bias: %4.2f\n",(double)ImageInfo.ExposureBias);
1771 printf("Whitebalance : Manual\n");
1774 printf("Whitebalance : Auto\n");
1781 printf("Light Source : Daylight\n");
1784 printf("Light Source : Fluorescent\n");
1787 printf("Light Source : Incandescent\n");
1790 printf("Light Source : Flash\n");
1793 printf("Light Source : Fine weather\n");
1796 printf("Light Source : Shade\n");
1806 printf("Metering Mode: center weight\n");
1809 printf("Metering Mode: spot\n");
1812 printf("Metering Mode: matrix\n");
1820 printf("Exposure : Manual\n");
1823 printf("Exposure : program (auto)\n");
1826 printf("Exposure : aperture priority (semi-auto)\n");
1829 printf("Exposure : shutter priority (semi-auto)\n");
1832 printf("Exposure : Creative Program (based towards depth of field)\n");
1835 printf("Exposure : Action program (based towards fast shutter speed)\n");
1838 printf("Exposure : Portrait Mode\n");
1841 printf("Exposure : LandscapeMode \n");
1850 case 1: printf("Exposure Mode: Manual\n");
1852 case 2: printf("Exposure Mode: Auto bracketing\n");
1857 printf("Focus range : ");
1860 printf("macro");
1863 printf("close");
1866 printf("distant");
1869 printf("\n");
1881 printf("Jpeg process : Unknown\n");
1885 printf("Jpeg process : %s\n",ProcessTable[a].Desc);
1892 printf("GPS Latitude : %s\n",ImageInfo.GpsLat);
1893 printf("GPS Longitude: %s\n",ImageInfo.GpsLong);
1894 if (ImageInfo.GpsAlt[0]) printf("GPS Altitude : %s\n",ImageInfo.GpsAlt);
1900 printf("Comment : ");
1908 printf("\nComment : ");
1910 printf("\n");
1916 printf("\n");
1918 printf("%.*ls\n", ImageInfo.CommentWidchars, (wchar_t *)ImageInfo.Comments);
1922 printf("Map: %05d-%05d: Thumbnail\n",ImageInfo.ThumbnailOffset, ImageInfo.ThumbnailOffset+ImageInfo.ThumbnailSize);
1924 printf("NO thumbnail");
1934 printf("\"%s\"",ImageInfo.FileName);
1936 printf(" %dx%d",ImageInfo.Width, ImageInfo.Height);
1940 printf(" (1/%d)",(int)(0.5 + 1/ImageInfo.ExposureTime));
1942 printf(" (%1.1f)",ImageInfo.ExposureTime);
1947 printf(" f/%3.1f",(double)ImageInfo.ApertureFNumber);
1951 printf(" f(35)=%dmm",ImageInfo.FocalLength35mmEquiv);
1955 printf(" (flash)");
1959 printf(" (bw)");
1962 printf("\n");