/external/libexif/libexif/ |
exif-ifd.c | 1 /* exif-ifd.c 23 #include <libexif/exif-ifd.h> 28 ExifIfd ifd; member in struct:__anon27470 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...] |
/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(); 124 ALOGE("%s: No stream for byte strips for IFD %u", __FUNCTION__, ifdKey); 144 sp<TiffIfd> ifd = mIfd; local 145 while(ifd != NULL) { 146 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret) 348 sp<TiffIfd> ifd = mIfd; local 374 sp<TiffIfd> ifd = mIfd; local [all...] |
/external/chromium_org/base/ |
file_descriptor_posix.h | 23 FileDescriptor(int ifd, bool iauto_close) : fd(ifd), auto_close(iauto_close) {
|
/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/Mms/src/com/android/mms/exif/ |
ExifParser.java | 32 * InputStream, the caller can request which IFD's to read via 35 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the 75 * When the parser reaches a new IFD area. Call {@link #getCurrentIfd()} to 76 * know which IFD we are in. 117 * Option bit to request to parse Exif-IFD. 121 * Option bit to request to parse GPS-IFD. 125 * Option bit to request to parse Interoperability-IFD. 247 * Parses the the given InputStream with default options; that is, every IFD 305 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 | 126 * Returns the {@link IfdData} object corresponding to a given IFD if it 137 * Adds IFD data. If IFD data of the same type already exists, it will be 145 * Returns the {@link IfdData} object corresponding to a given IFD or 158 * Returns the tag with a given TID in the given IFD if the tag exists. 161 protected ExifTag getTag(short tag, int ifd) { 162 IfdData ifdData = mIfdDatas[ifd]; 167 * Adds the given ExifTag to its default IFD and returns an existing ExifTag 172 int ifd = tag.getIfd(); local 173 return addTag(tag, ifd); [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
exif_parser.js | 17 var EXIF_TAG_EXIFDATA = 0x8769; // Pointer from TIFF to the EXIF IFD. 188 metadata.ifd = { 197 directoryOffset = this.readDirectory(br, metadata.ifd.image); 198 metadata.imageTransform = this.parseOrientation(metadata.ifd.image); 204 this.readDirectory(br, metadata.ifd.thumbnail); 208 this.parseOrientation(metadata.ifd.thumbnail) || 213 if (EXIF_TAG_EXIFDATA in metadata.ifd.image) { 215 directoryOffset = metadata.ifd.image[EXIF_TAG_EXIFDATA].value; 217 metadata.ifd.exif = {}; 218 this.readDirectory(br, metadata.ifd.exif) [all...] |