Lines Matching refs:exifdata
801 ExifData *exifdata = NULL; in getExifFromExtractor() local
827 exifdata = exif_data_new_from_data(exifBuf.get(), size); in getExifFromExtractor()
831 return exifdata; in getExifFromExtractor()
880 ExifData *exifdata; in getObjectInfo() local
882 exifdata = getExifFromExtractor(path); in getObjectInfo()
884 exifdata = exif_data_new_from_file(path); in getObjectInfo()
886 if (exifdata) { in getObjectInfo()
888 exif_data_foreach_content(exifdata, foreachcontent, NULL); in getObjectInfo()
892 exifdata->ifd[EXIF_IFD_EXIF], EXIF_TAG_PIXEL_X_DIMENSION); in getObjectInfo()
894 exifdata->ifd[EXIF_IFD_EXIF], EXIF_TAG_PIXEL_Y_DIMENSION); in getObjectInfo()
895 info.mThumbCompressedSize = exifdata->data ? exifdata->size : 0; in getObjectInfo()
899 exif_data_unref(exifdata); in getObjectInfo()
944 ExifData *exifdata; in getThumbnail() local
946 exifdata = getExifFromExtractor(path); in getThumbnail()
948 exifdata = exif_data_new_from_file(path); in getThumbnail()
950 if (exifdata) { in getThumbnail()
951 if (exifdata->data) { in getThumbnail()
952 result = malloc(exifdata->size); in getThumbnail()
954 memcpy(result, exifdata->data, exifdata->size); in getThumbnail()
955 outThumbSize = exifdata->size; in getThumbnail()
958 exif_data_unref(exifdata); in getThumbnail()