Home
last modified time | relevance | path

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

/external/jhead/
Dmain.c186 ImageInfo.ThumbnailSize = thumbnailLen; in copyThumbnailData()
310 int thumbnailLength = ImageInfo.ThumbnailSize; in saveAttributes()
315 thumbnailData = (uchar*)malloc(ImageInfo.ThumbnailSize); in saveAttributes()
447 if (ExifSection == NULL || ImageInfo.ThumbnailSize == 0) { in getThumbnail()
455 jbyteArray byteArray = (*env)->NewByteArray(env, ImageInfo.ThumbnailSize); in getThumbnail()
462 (*env)->SetByteArrayRegion(env, byteArray, 0, ImageInfo.ThumbnailSize, thumbnailPointer); in getThumbnail()
464 ALOGE("thumbnail size %d\n", ImageInfo.ThumbnailSize); in getThumbnail()
484 if (ExifSection == NULL || ImageInfo.ThumbnailSize == 0) { in getThumbnailRange()
490 result[1] = ImageInfo.ThumbnailSize; in getThumbnailRange()
589 …ageInfo.ThumbnailOffset == 0 || ImageInfo.ThumbnailAtEnd == FALSE || ImageInfo.ThumbnailSize == 0 ? in getAttributes()
Dexif.c550 unsigned ThumbnailSize = 0; in ProcessExifDir() local
960 ThumbnailSize = (unsigned)ConvertAnyFormat(ValuePtr, Format); in ProcessExifDir()
1053 printf("Map: %05d-%05d: Thumbnail\n",ThumbnailOffset, ThumbnailOffset+ThumbnailSize); in ProcessExifDir()
1057 if (ThumbnailSize > ExifLength-ThumbnailOffset){ in ProcessExifDir()
1061 ThumbnailSize = ExifLength-ThumbnailOffset; in ProcessExifDir()
1067 ImageInfo.ThumbnailSize = ThumbnailSize; in ProcessExifDir()
1070 printf("Thumbnail size: %d bytes\n",ThumbnailSize); in ProcessExifDir()
1609 ImageInfo.ThumbnailSize == 0){ in RemoveThumbnail()
1943 …d-%05d: Thumbnail\n",ImageInfo.ThumbnailOffset, ImageInfo.ThumbnailOffset+ImageInfo.ThumbnailSize); in ShowImageInfo()
Djpgfile.c561 if (ImageInfo.ThumbnailOffset == 0 || ImageInfo.ThumbnailSize == 0){ in SaveThumbnail()
580 fwrite(ThumbnailPointer, ImageInfo.ThumbnailSize ,1, ThumbnailFile); in SaveThumbnail()
622 if (ImageInfo.ThumbnailSize == 0){ in ReplaceThumbnailFromBuffer()
640 ImageInfo.ThumbnailSize = ThumbLen; in ReplaceThumbnailFromBuffer()
701 if (ImageInfo.ThumbnailSize == 0){ in ReplaceThumbnail()
721 ImageInfo.ThumbnailSize = ThumbLen; in ReplaceThumbnail()
Djhead.h124 unsigned ThumbnailSize; // Size of thumbnail. member
Djhead.c717 ImageInfo.ThumbnailSize &&