Lines Matching refs:ImageInfo
15 ImageInfo_t ImageInfo; variable
76 strcpy(ImageInfo.Comments,Comment); in process_COM()
77 ImageInfo.CommentWidchars = 0; in process_COM()
89 ImageInfo.Height = Get16m(Data+3); in process_SOFn()
90 ImageInfo.Width = Get16m(Data+5); in process_SOFn()
94 ImageInfo.IsColor = 1; in process_SOFn()
96 ImageInfo.IsColor = 0; in process_SOFn()
99 ImageInfo.Process = marker; in process_SOFn()
103 ImageInfo.Width, ImageInfo.Height, num_components, data_precision); in process_SOFn()
512 memset(&ImageInfo, 0, sizeof(ImageInfo)); in DiscardData()
557 if (ImageInfo.ThumbnailOffset == 0 || ImageInfo.ThumbnailSize == 0){ in SaveThumbnail()
574 ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in SaveThumbnail()
576 fwrite(ThumbnailPointer, ImageInfo.ThumbnailSize ,1, ThumbnailFile); in SaveThumbnail()
595 if (ImageInfo.ThumbnailOffset == 0 || ImageInfo.ThumbnailAtEnd == FALSE){ in ReplaceThumbnailFromBuffer()
612 if (ThumbLen + ImageInfo.ThumbnailOffset > 0x10000-20){ in ReplaceThumbnailFromBuffer()
618 if (ImageInfo.ThumbnailSize == 0){ in ReplaceThumbnailFromBuffer()
627 NewExifSize = ImageInfo.ThumbnailOffset+8+ThumbLen; in ReplaceThumbnailFromBuffer()
630 ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in ReplaceThumbnailFromBuffer()
636 ImageInfo.ThumbnailSize = ThumbLen; in ReplaceThumbnailFromBuffer()
638 Put32u(ExifSection->Data+ImageInfo.ThumbnailSizeOffset+8, ThumbLen); in ReplaceThumbnailFromBuffer()
660 if (ImageInfo.ThumbnailOffset == 0 || ImageInfo.ThumbnailAtEnd == FALSE){ in ReplaceThumbnail()
691 if (ThumbLen + ImageInfo.ThumbnailOffset > 0x10000-20){ in ReplaceThumbnail()
697 if (ImageInfo.ThumbnailSize == 0){ in ReplaceThumbnail()
707 NewExifSize = ImageInfo.ThumbnailOffset+8+ThumbLen; in ReplaceThumbnail()
710 ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in ReplaceThumbnail()
717 ImageInfo.ThumbnailSize = ThumbLen; in ReplaceThumbnail()
719 Put32u(ExifSection->Data+ImageInfo.ThumbnailSizeOffset+8, ThumbLen); in ReplaceThumbnail()