Home
last modified time | relevance | path

Searched refs:ImageInfo (Results 1 – 8 of 8) sorted by relevance

/external/jhead/
Dexif.c543 if (OffsetVal > ImageInfo.LargestExifOffset){ in ProcessExifDir()
544 ImageInfo.LargestExifOffset = OffsetVal; in ProcessExifDir()
626 strncpy(ImageInfo.CameraMake, (char *)ValuePtr, ByteCount < 31 ? ByteCount : 31); in ProcessExifDir()
630 strncpy(ImageInfo.CameraModel, (char *)ValuePtr, ByteCount < 39 ? ByteCount : 39); in ProcessExifDir()
635 strncpy(ImageInfo.DateTime, (char *)ValuePtr, 19); in ProcessExifDir()
640 if (!isdigit(ImageInfo.DateTime[0])){ in ProcessExifDir()
643 strncpy(ImageInfo.DateTime, (char *)ValuePtr, 19); in ProcessExifDir()
646 if (ImageInfo.numDateTimeTags >= MAX_DATE_COPIES){ in ProcessExifDir()
650 ImageInfo.DateTimeOffsets[ImageInfo.numDateTimeTags++] = in ProcessExifDir()
655 if (ImageInfo.Comments[0]){ // We already have a jpeg comment. in ProcessExifDir()
[all …]
Dmain.c86 memset(&ImageInfo, 0, sizeof(ImageInfo)); in loadExifInfo()
87 ImageInfo.FlashUsed = -1; in loadExifInfo()
88 ImageInfo.MeteringMode = -1; in loadExifInfo()
89 ImageInfo.Whitebalance = -1; in loadExifInfo()
95 ImageInfo.FileDateTime = st.st_mtime; in loadExifInfo()
96 ImageInfo.FileSize = st.st_size; in loadExifInfo()
100 strncpy(ImageInfo.FileName, FileName, PATH_MAX); in loadExifInfo()
176 int NewExifSize = ImageInfo.ThumbnailOffset+8+thumbnailLen; in copyThumbnailData()
181 uchar* ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in copyThumbnailData()
185 ImageInfo.ThumbnailSize = thumbnailLen; in copyThumbnailData()
[all …]
Dgpsinfo.c139 ImageInfo.GpsInfoPresent = TRUE; in ProcessGpsInfo()
140 strcpy(ImageInfo.GpsLat, "? ?"); in ProcessGpsInfo()
141 strcpy(ImageInfo.GpsLong, "? ?"); in ProcessGpsInfo()
142 ImageInfo.GpsAlt[0] = 0; in ProcessGpsInfo()
196 ImageInfo.GpsLat[0] = ValuePtr[0]; in ProcessGpsInfo()
197 ImageInfo.GpsLatRef[0] = ValuePtr[0]; in ProcessGpsInfo()
198 ImageInfo.GpsLatRef[1] = '\0'; in ProcessGpsInfo()
202 ImageInfo.GpsLong[0] = ValuePtr[0]; in ProcessGpsInfo()
203 ImageInfo.GpsLongRef[0] = ValuePtr[0]; in ProcessGpsInfo()
204 ImageInfo.GpsLongRef[1] = '\0'; in ProcessGpsInfo()
[all …]
Djpgfile.c13 ImageInfo_t ImageInfo; variable
74 strcpy(ImageInfo.Comments,Comment); in process_COM()
75 ImageInfo.CommentWidchars = 0; in process_COM()
87 ImageInfo.Height = Get16m(Data+3); in process_SOFn()
88 ImageInfo.Width = Get16m(Data+5); in process_SOFn()
92 ImageInfo.IsColor = 1; in process_SOFn()
94 ImageInfo.IsColor = 0; in process_SOFn()
97 ImageInfo.Process = marker; in process_SOFn()
101 ImageInfo.Width, ImageInfo.Height, num_components, data_precision); in process_SOFn()
321 memset(&ImageInfo, 0, sizeof(ImageInfo)); in DiscardData()
[all …]
Djhead.c134 ts = *localtime(&ImageInfo.FileDateTime); in FileTimeAsString()
274 if (!HasScandate && !ImageInfo.DateTime[0]){
277 sprintf(Temp, "scan_date=%s", ctime(&ImageInfo.FileDateTime));
293 if (ImageInfo.Height <= 1280 && ImageInfo.Width <= 1280){
294 printf("not resizing %dx%x '%s'\n",ImageInfo.Height, ImageInfo.Width, ImageInfo.FileName);
298 scale = 1024.0 / ImageInfo.Height;
299 if (1024.0 / ImageInfo.Width < scale) scale = 1024.0 / ImageInfo.Width;
303 …ndString, "mogrify -geometry %dx%d -quality 85 &i",(int)(ImageInfo.Width*scale), (int)(ImageInfo.H…
430 if (strstr(ImageInfo.CameraModel, FilterModel) == NULL){
444 if (ImageInfo.Width > ImageInfo.Height) return TRUE;
[all …]
Dmakernote.c122 ImageInfo.ISOequivalent = 50 << (IsoCode-16); in ProcessCanonMakerNoteDir()
131 case 1: ImageInfo.LightSource = 1; break; // Sunny in ProcessCanonMakerNoteDir()
132 case 2: ImageInfo.LightSource = 1; break; // Cloudy in ProcessCanonMakerNoteDir()
133 case 3: ImageInfo.LightSource = 3; break; // Thungsten in ProcessCanonMakerNoteDir()
134 case 4: ImageInfo.LightSource = 2; break; // Fourescent in ProcessCanonMakerNoteDir()
135 case 5: ImageInfo.LightSource = 4; break; // Flash in ProcessCanonMakerNoteDir()
138 if (Components > 19 && ImageInfo.Distance <= 0) { in ProcessCanonMakerNoteDir()
144 ImageInfo.Distance = (float)temp_dist/100; in ProcessCanonMakerNoteDir()
146 ImageInfo.Distance = -1 /* infinity */; in ProcessCanonMakerNoteDir()
177 if (strstr(ImageInfo.CameraMake, "Canon")){ in ProcessMakerNote()
Djhead.h242 extern ImageInfo_t ImageInfo;
/external/webkit/WebCore/
DChangeLog-2008-08-1078811 (WebCore::ImageInfo::ImageInfo):