Home
last modified time | relevance | path

Searched refs:ExifSection (Results 1 – 5 of 5) sorted by relevance

/external/jhead/
Djpgfile.c576 Section_t * ExifSection; in SaveThumbnail() local
577 ExifSection = FindSection(M_EXIF); in SaveThumbnail()
578 ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in SaveThumbnail()
596 Section_t * ExifSection; in ReplaceThumbnailFromBuffer() local
629 ExifSection = FindSection(M_EXIF); in ReplaceThumbnailFromBuffer()
632 ExifSection->Data = (uchar *)realloc(ExifSection->Data, NewExifSize); in ReplaceThumbnailFromBuffer()
634 ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in ReplaceThumbnailFromBuffer()
642 Put32u(ExifSection->Data+ImageInfo.ThumbnailSizeOffset+8, ThumbLen); in ReplaceThumbnailFromBuffer()
644 ExifSection->Data[0] = (uchar)(NewExifSize >> 8); in ReplaceThumbnailFromBuffer()
645 ExifSection->Data[1] = (uchar)NewExifSize; in ReplaceThumbnailFromBuffer()
[all …]
Dmain.c173 Section_t* ExifSection = FindSection(M_EXIF); in copyThumbnailData() local
174 if (ExifSection == NULL) { in copyThumbnailData()
178 ExifSection->Data = (uchar *)realloc(ExifSection->Data, NewExifSize); in copyThumbnailData()
179 if (ExifSection->Data == NULL) { in copyThumbnailData()
182 uchar* ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in copyThumbnailData()
188 Put32u(ExifSection->Data+ImageInfo.ThumbnailSizeOffset+8, thumbnailLen); in copyThumbnailData()
190 ExifSection->Data[0] = (uchar)(NewExifSize >> 8); in copyThumbnailData()
191 ExifSection->Data[1] = (uchar)NewExifSize; in copyThumbnailData()
192 ExifSection->Size = NewExifSize; in copyThumbnailData()
312 Section_t* ExifSection = FindSection(M_EXIF); in saveAttributes() local
[all …]
Dexif.c1061 void process_EXIF (unsigned char * ExifSection, unsigned int length) in process_EXIF() argument
1076 if (memcmp(ExifSection+2, ExifHeader,6)){ in process_EXIF()
1082 if (memcmp(ExifSection+8,"II",2) == 0){ in process_EXIF()
1086 if (memcmp(ExifSection+8,"MM",2) == 0){ in process_EXIF()
1096 if (Get16u(ExifSection+10) != 0x2a){ in process_EXIF()
1101 FirstOffset = Get32u(ExifSection+12); in process_EXIF()
1112 ProcessExifDir(ExifSection+8+FirstOffset, ExifSection+8, length-8, 0); in process_EXIF()
1127 unsigned char c = *(ExifSection+8+a); in process_EXIF()
1584 int RemoveThumbnail(unsigned char * ExifSection) in RemoveThumbnail() argument
Djhead.h175 int RemoveThumbnail(unsigned char * ExifSection);
Djhead.c1058 Section_t * ExifSection;
1092 ExifSection = FindSection(M_EXIF);
1096 Pointer = ExifSection->Data+ImageInfo.DateTimeOffsets[a]+8;