/external/libexif/libexif/ |
exif-ifd.c | 1 /* exif-ifd.c 23 #include <libexif/exif-ifd.h> 28 ExifIfd ifd; member in struct:__anon12324 40 exif_ifd_get_name (ExifIfd ifd) 45 if (ExifIfdTable[i].ifd == ifd)
|
exif-ifd.h | 1 /* exif-ifd.h 34 /*! Return a textual name of the given IFD. The name is a short, unique, 38 * \param[in] ifd IFD 39 * \return textual name of the IFD 41 const char *exif_ifd_get_name (ExifIfd ifd);
|
exif-data.h | 33 #include <libexif/exif-ifd.h> 48 /*! Data for each IFD */ 49 ExifContent *ifd[EXIF_IFD_COUNT]; member in struct:_ExifData 61 * #ExifContent for each IFD and the default set of options, 70 * The #ExifData contains an empty #ExifContent for each IFD and the default 153 * on each IFD to fix existing entries, create any new entries that are 163 /*! Execute a function on each IFD in turn. 241 /*! Return an #ExifEntry for the given tag if found in any IFD. 242 * Each IFD is searched in turn and the first containing a tag with 250 (exif_content_get_entry(d->ifd[EXIF_IFD_0],t) ? [all...] |
exif-data.c | 25 #include <libexif/exif-ifd.h> 125 data->ifd[i] = exif_content_new_mem (data->priv->mem); 126 if (!data->ifd[i]) { 130 data->ifd[i]->parent = data; 331 if ((i) == ifd) { \ 333 "ExifData", "Recursive entry in IFD " \ 338 if (data->ifd[(i)]->count) { \ 340 "ExifData", "Attempt to load IFD " \ 347 /*! Load data for an IFD. 350 * \param[in] ifd IFD to loa [all...] |
exif-content.c | 138 /* One tag can only be added once to an IFD. */ 142 "the tag '%s' twice to an IFD. This is against " 239 ((c)->parent->ifd[EXIF_IFD_EXIF] == (c)) ? EXIF_IFD_EXIF : 240 ((c)->parent->ifd[EXIF_IFD_0] == (c)) ? EXIF_IFD_0 : 241 ((c)->parent->ifd[EXIF_IFD_1] == (c)) ? EXIF_IFD_1 : 242 ((c)->parent->ifd[EXIF_IFD_GPS] == (c)) ? EXIF_IFD_GPS : 243 ((c)->parent->ifd[EXIF_IFD_INTEROPERABILITY] == (c)) ? EXIF_IFD_INTEROPERABILITY : 262 ExifIfd ifd = exif_entry_get_ifd(e) ; local 267 if (exif_tag_get_support_level_in_ifd (t, ifd, dt) == 270 "Tag 0x%04x is not recorded in IFD '%s' and has therefore been 280 ExifIfd ifd = exif_content_get_ifd (c); local [all...] |
/external/vboot_reference/futility/ |
file_type.c | 73 int ifd; local 81 ifd = open(filename, O_RDONLY); 82 if (ifd < 0) { 88 if (0 != fstat(ifd, &sb)) { 95 err = futil_map_file(ifd, MAP_RO, &buf, &buf_len); 97 close(ifd); 103 err = futil_unmap_file(ifd, MAP_RO, buf, buf_len); 105 close(ifd); 118 if (close(ifd)) {
|
/frameworks/av/media/img_utils/src/ |
TiffWriter.cpp | 96 sp<TiffIfd> ifd = mIfd; local 97 while(ifd != NULL) { 98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); 99 offset += ifd->getSize(); 100 ifd = ifd->getNextIfd(); 123 ALOGE("%s: No stream for byte strips for IFD %u", __FUNCTION__, ifdKey); 143 sp<TiffIfd> ifd = mIfd; local 144 while(ifd != NULL) { 145 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret) 347 sp<TiffIfd> ifd = mIfd; local 373 sp<TiffIfd> ifd = mIfd; local [all...] |
/external/toybox/toys/posix/ |
uudecode.c | 29 int ifd = 0, ofd, idx = 0, m = m; local 33 if (toys.optc) ifd = xopen(*toys.optargs, O_RDONLY); 37 if (!(line = get_line(ifd))) error_exit("bad EOF"); 52 if (m == 2 || !(line = get_line(ifd))) break; 104 if (ifd) close(ifd);
|
/external/libexif/contrib/examples/ |
photographer.c | 25 static void show_tag(ExifData *d, ExifIfd ifd, ExifTag tag) 28 ExifEntry *entry = exif_content_get_entry(d->ifd[ifd],tag); 38 printf("%s: %s\n", exif_tag_get_name_in_ifd(tag,ifd), buf); 103 entry = exif_content_get_entry(ed->ifd[EXIF_IFD_0], EXIF_TAG_MAKE);
|
cam_features.c | 23 #include <libexif/exif-ifd.h> 125 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); 132 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); 139 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); 145 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); 153 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); 164 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE);
|
/external/bison/lib/ |
spawn-pipe.c | 124 int ifd[2]; local 139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0) 148 * parent <- ifd[0] <- ifd[1] <- child if pipe_stdout 167 && (!pipe_stdout || dup2 (ifd[1], STDOUT_FILENO) >= 0) 185 /* The child process doesn't inherit ifd[0], ifd[1], ofd[0], ofd[1], 229 close (ifd[1]); 236 close (ifd[0]); 244 fd[0] = ifd[0] [all...] |
/packages/apps/Camera2/tests/exiftool_parser/ |
parser.py | 31 # 2. IFD indicator: 45 # IFD indicator 48 ifd = s[2][l + 3:].split()[0] variable 51 ifds.append(ifd) 55 ifds[-1] = ifd 88 print (' <tag ifd="' + ifds[-1] + '" id="'
|
/frameworks/av/media/img_utils/include/img_utils/ |
TiffWriter.h | 48 * file marker, and the offset to the first IFD. 49 * - A list of TIFF IFD structures. 83 * Write a TIFF header containing each IFD set. This will recursively 89 * given IFD, use the addStrip method. 97 * Write a TIFF header containing each IFD set. This will recursively 116 * Add an entry to the IFD with the given ID. 125 * - NAME_NOT_FOUND - No ifd exists with the given ID. 127 virtual status_t addEntry(const sp<TiffEntry>& entry, uint32_t ifd); 130 * Build an entry for a known tag and add it to the IFD with the given ID. 141 * - NAME_NOT_FOUND - No ifd exists with the given ID [all...] |
/external/libexif/test/ |
test-mem.c | 24 #include <libexif/exif-ifd.h>
|
test-value.c | 48 exif_content_add_entry (d->ifd[EXIF_IFD_0], e);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifParser.java | 30 * InputStream, the caller can request which IFD's to read via 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 73 * When the parser reaches a new IFD area. Call {@link #getCurrentIfd()} to 74 * know which IFD we are in. 115 * Option bit to request to parse Exif-IFD. 119 * Option bit to request to parse GPS-IFD. 123 * Option bit to request to parse Interoperability-IFD. 245 * Parses the the given InputStream with default options; that is, every IFD 303 Log.w(TAG, "Invalid size of link to next IFD: " + offsetSize) 591 int ifd = tag.getIfd(); local 891 int ifd; field in class:ExifParser.IfdEvent [all...] |
ExifData.java | 124 * Returns the {@link IfdData} object corresponding to a given IFD if it 135 * Adds IFD data. If IFD data of the same type already exists, it will be 143 * Returns the {@link IfdData} object corresponding to a given IFD or 156 * Returns the tag with a given TID in the given IFD if the tag exists. 159 protected ExifTag getTag(short tag, int ifd) { 160 IfdData ifdData = mIfdDatas[ifd]; 165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag 170 int ifd = tag.getIfd(); local 171 return addTag(tag, ifd); [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifParser.java | 30 * InputStream, the caller can request which IFD's to read via 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 73 * When the parser reaches a new IFD area. Call {@link #getCurrentIfd()} to 74 * know which IFD we are in. 115 * Option bit to request to parse Exif-IFD. 119 * Option bit to request to parse GPS-IFD. 123 * Option bit to request to parse Interoperability-IFD. 245 * Parses the the given InputStream with default options; that is, every IFD 303 Log.w(TAG, "Invalid size of link to next IFD: " + offsetSize) 591 int ifd = tag.getIfd(); local 891 int ifd; field in class:ExifParser.IfdEvent [all...] |
ExifData.java | 124 * Returns the {@link IfdData} object corresponding to a given IFD if it 135 * Adds IFD data. If IFD data of the same type already exists, it will be 143 * Returns the {@link IfdData} object corresponding to a given IFD or 156 * Returns the tag with a given TID in the given IFD if the tag exists. 159 protected ExifTag getTag(short tag, int ifd) { 160 IfdData ifdData = mIfdDatas[ifd]; 165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag 170 int ifd = tag.getIfd(); local 171 return addTag(tag, ifd); [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifParser.java | 30 * InputStream, the caller can request which IFD's to read via 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 73 * When the parser reaches a new IFD area. Call {@link #getCurrentIfd()} to 74 * know which IFD we are in. 115 * Option bit to request to parse Exif-IFD. 119 * Option bit to request to parse GPS-IFD. 123 * Option bit to request to parse Interoperability-IFD. 245 * Parses the the given InputStream with default options; that is, every IFD 303 Log.w(TAG, "Invalid size of link to next IFD: " + offsetSize) 591 int ifd = tag.getIfd(); local 891 int ifd; field in class:ExifParser.IfdEvent [all...] |
ExifData.java | 124 * Returns the {@link IfdData} object corresponding to a given IFD if it 135 * Adds IFD data. If IFD data of the same type already exists, it will be 143 * Returns the {@link IfdData} object corresponding to a given IFD or 156 * Returns the tag with a given TID in the given IFD if the tag exists. 159 protected ExifTag getTag(short tag, int ifd) { 160 IfdData ifdData = mIfdDatas[ifd]; 165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag 170 int ifd = tag.getIfd(); local 171 return addTag(tag, ifd); [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
ExifParser.java | 30 * InputStream, the caller can request which IFD's to read via 33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 73 * When the parser reaches a new IFD area. Call {@link #getCurrentIfd()} to 74 * know which IFD we are in. 115 * Option bit to request to parse Exif-IFD. 119 * Option bit to request to parse GPS-IFD. 123 * Option bit to request to parse Interoperability-IFD. 245 * Parses the the given InputStream with default options; that is, every IFD 303 Log.w(TAG, "Invalid size of link to next IFD: " + offsetSize) 591 int ifd = tag.getIfd(); local 891 int ifd; field in class:ExifParser.IfdEvent [all...] |
ExifData.java | 124 * Returns the {@link IfdData} object corresponding to a given IFD if it 135 * Adds IFD data. If IFD data of the same type already exists, it will be 143 * Returns the {@link IfdData} object corresponding to a given IFD or 156 * Returns the tag with a given TID in the given IFD if the tag exists. 159 protected ExifTag getTag(short tag, int ifd) { 160 IfdData ifdData = mIfdDatas[ifd]; 165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag 170 int ifd = tag.getIfd(); local 171 return addTag(tag, ifd); [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
ExifParser.java | 31 * InputStream, the caller can request which IFD's to read via 34 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 74 * When the parser reaches a new IFD area. Call {@link #getCurrentIfd()} to 75 * know which IFD we are in. 116 * Option bit to request to parse Exif-IFD. 120 * Option bit to request to parse GPS-IFD. 124 * Option bit to request to parse Interoperability-IFD. 246 * Parses the the given InputStream with default options; that is, every IFD 304 Log.w(TAG, "Invalid size of link to next IFD: " + offsetSize) 593 int ifd = tag.getIfd(); local 893 int ifd; field in class:ExifParser.IfdEvent [all...] |
ExifData.java | 125 * Returns the {@link IfdData} object corresponding to a given IFD if it 136 * Adds IFD data. If IFD data of the same type already exists, it will be 144 * Returns the {@link IfdData} object corresponding to a given IFD or 157 * Returns the tag with a given TID in the given IFD if the tag exists. 160 protected ExifTag getTag(short tag, int ifd) { 161 IfdData ifdData = mIfdDatas[ifd]; 166 * Adds the given ExifTag to its default IFD and returns an existing ExifTag 171 int ifd = tag.getIfd(); local 172 return addTag(tag, ifd); [all...] |