Home | History | Annotate | Download | only in jhead

Lines Matching full:offsetbase

543 static void ProcessExifDir(unsigned char * DirStart, unsigned char * OffsetBase,
569 if (DirEnd+4 > (OffsetBase+ExifLength)){
570 if (DirEnd+2 == OffsetBase+ExifLength || DirEnd == OffsetBase+ExifLength){
579 printf("Map: %05d-%05d: Directory\n",(int)(DirStart-OffsetBase), (int)(DirEnd+4-OffsetBase));
622 ValuePtr = OffsetBase+OffsetVal;
640 ProcessMakerNote(ValuePtr, ByteCount, OffsetBase, ExifLength);
732 (char *)ValuePtr - (char *)OffsetBase;
774 int msiz = ExifLength - (ValuePtr-OffsetBase);
940 ImageInfo.ThumbnailSizeOffset = ValuePtr-OffsetBase;
950 SubdirStart = OffsetBase + Get32u(ValuePtr);
951 if (SubdirStart < OffsetBase || SubdirStart > OffsetBase+ExifLength){
954 ProcessExifDir(SubdirStart, OffsetBase, ExifLength, NestingLevel+1);
964 SubdirStart = OffsetBase + Get32u(ValuePtr);
965 if (SubdirStart < OffsetBase || SubdirStart > OffsetBase+ExifLength){
968 ProcessGpsInfo(SubdirStart, ByteCount, OffsetBase, ExifLength);
997 if (DIR_ENTRY_ADDR(DirStart, NumDirEntries) + 4 <= OffsetBase+ExifLength){
1001 SubdirStart = OffsetBase + Offset;
1002 if (SubdirStart > OffsetBase+ExifLength || SubdirStart < OffsetBase){
1003 printf("SubdirStart %d OffsetBase %d ExifLength %d Offset %d",
1004 (int)SubdirStart, (int)OffsetBase, ExifLength, Offset);
1005 if (SubdirStart > OffsetBase && SubdirStart < OffsetBase+ExifLength+20){
1014 if (SubdirStart <= OffsetBase+ExifLength){
1016 ProcessExifDir(SubdirStart, OffsetBase, ExifLength, NestingLevel+1);