/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-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-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...] |
/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="'
|
/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...] |
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 200 int ifd, ofd, rc; local 230 ifd = open(infile, O_RDONLY); 231 FAILIF(ifd < 0, "open(%s) failed: %s (%d)\n", 240 in = mmap(0, width * height * 3 / 2, PROT_READ, MAP_PRIVATE, ifd, 0);
|
/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...] |
/external/zlib/src/test/ |
minigzip.c | 401 int ifd = fileno(in); local 407 if (fstat(ifd, &sb) < 0) return Z_ERRNO; 412 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
|
/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...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
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...] |
ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) 283 ExifTag[] tags = ifd.getAllTags(); 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; 311 ExifTag[] tags = ifd.getAllTags(); 335 // Exif IFD is required for all files. 342 // GPS IFD 353 // Interoperability IFD
|
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...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
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...] |
ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) 283 ExifTag[] tags = ifd.getAllTags(); 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; 311 ExifTag[] tags = ifd.getAllTags(); 335 // Exif IFD is required for all files. 342 // GPS IFD 353 // Interoperability IFD
|
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...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
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...] |
ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) 283 ExifTag[] tags = ifd.getAllTags(); 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; 311 ExifTag[] tags = ifd.getAllTags(); 335 // Exif IFD is required for all files. 342 // GPS IFD 353 // Interoperability IFD
|
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...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
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...] |
ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) 283 ExifTag[] tags = ifd.getAllTags(); 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; 311 ExifTag[] tags = ifd.getAllTags(); 335 // Exif IFD is required for all files. 342 // GPS IFD 353 // Interoperability IFD
|
/packages/apps/Mms/src/com/android/mms/exif/ |
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...] |
ExifOutputStream.java | 283 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) 285 ExifTag[] tags = ifd.getAllTags(); 303 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); 311 private int calculateOffsetOfIfd(IfdData ifd, int offset) { 312 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; 313 ExifTag[] tags = ifd.getAllTags(); 337 // Exif IFD is required for all files. 344 // GPS IFD 355 // Interoperability IFD
|
/external/blktrace/btreplay/ |
btrecord.c | 51 * @ifd: Input file descriptor (when opened) 57 int cpu, ifd; member in struct:ifile_info 295 close(iip->ifd); 316 iip->ifd = open(file_name, O_RDONLY); 317 if (iip->ifd < 0) { 494 ret = read(iip->ifd, &t, sizeof(t)); 530 ret = read(iip->ifd, buf, pdu_len);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/ |
JPEGImageDecoder.cpp | 190 // A tiff image file directory (ifd) consists of a uint16_t describing 191 // the number of ifd entries, followed by that many entries. 194 JOCTET* ifd = marker->data + ifdOffset; local 196 if (end - ifd < 2) 198 unsigned tagCount = readUint16(ifd, isBigEndian); 199 ifd += 2; // Skip over the uint16 that was just read. 201 // Every ifd entry is 2 bytes of tag, 2 bytes of contents datatype, 205 for (unsigned i = 0; i < tagCount && end - ifd >= ifdEntrySize; ++i, ifd += ifdEntrySize) { 206 unsigned tag = readUint16(ifd, isBigEndian) [all...] |
/frameworks/native/cmds/dumpstate/ |
utils.c | 559 int ifd = inotify_init(); local 560 if (ifd < 0) { 565 int wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRITE); 608 struct pollfd pfd = { ifd, POLLIN, 0 }; 616 read(ifd, &ie, sizeof(ie)); 657 close(ifd);
|