Searched refs:ExifSection (Results 1 – 5 of 5) sorted by relevance
/external/jhead/ |
D | main.c | 172 Section_t* ExifSection = FindSection(M_EXIF); in copyThumbnailData() local 173 if (ExifSection == NULL) { in copyThumbnailData() 177 ExifSection->Data = (uchar *)realloc(ExifSection->Data, NewExifSize); in copyThumbnailData() 178 if (ExifSection->Data == NULL) { in copyThumbnailData() 181 uchar* ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in copyThumbnailData() 187 Put32u(ExifSection->Data+ImageInfo.ThumbnailSizeOffset+8, thumbnailLen); in copyThumbnailData() 189 ExifSection->Data[0] = (uchar)(NewExifSize >> 8); in copyThumbnailData() 190 ExifSection->Data[1] = (uchar)NewExifSize; in copyThumbnailData() 191 ExifSection->Size = NewExifSize; in copyThumbnailData() 306 Section_t* ExifSection = FindSection(M_EXIF); in saveAttributes() local [all …]
|
D | jpgfile.c | 381 Section_t * ExifSection; in SaveThumbnail() local 382 ExifSection = FindSection(M_EXIF); in SaveThumbnail() 383 ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in SaveThumbnail() 402 Section_t * ExifSection; in ReplaceThumbnail() local 450 ExifSection = FindSection(M_EXIF); in ReplaceThumbnail() 453 ExifSection->Data = (uchar *)realloc(ExifSection->Data, NewExifSize); in ReplaceThumbnail() 455 ThumbnailPointer = ExifSection->Data+ImageInfo.ThumbnailOffset+8; in ReplaceThumbnail() 464 Put32u(ExifSection->Data+ImageInfo.ThumbnailSizeOffset+8, ThumbLen); in ReplaceThumbnail() 466 ExifSection->Data[0] = (uchar)(NewExifSize >> 8); in ReplaceThumbnail() 467 ExifSection->Data[1] = (uchar)NewExifSize; in ReplaceThumbnail() [all …]
|
D | exif.c | 970 void process_EXIF (unsigned char * ExifSection, unsigned int length) in process_EXIF() argument 985 if (memcmp(ExifSection+2, ExifHeader,6)){ in process_EXIF() 991 if (memcmp(ExifSection+8,"II",2) == 0){ in process_EXIF() 995 if (memcmp(ExifSection+8,"MM",2) == 0){ in process_EXIF() 1005 if (Get16u(ExifSection+10) != 0x2a){ in process_EXIF() 1010 FirstOffset = Get32u(ExifSection+12); in process_EXIF() 1021 ProcessExifDir(ExifSection+8+FirstOffset, ExifSection+8, length-8, 0); in process_EXIF() 1036 unsigned char c = *(ExifSection+8+a); in process_EXIF() 1430 int RemoveThumbnail(unsigned char * ExifSection) in RemoveThumbnail() argument
|
D | jhead.h | 169 int RemoveThumbnail(unsigned char * ExifSection);
|
D | jhead.c | 1058 Section_t * ExifSection; 1092 ExifSection = FindSection(M_EXIF); 1096 Pointer = ExifSection->Data+ImageInfo.DateTimeOffsets[a]+8;
|