/external/libexif/libexif/ |
exif-tag.c | 44 * have different meanings depending on the IFD in which they appear. 477 N_("A pointer to the Exif IFD. Interoperability, Exif IFD has the " 478 "same structure as that of the IFD specified in TIFF. " 496 N_("GPS Info IFD Pointer"), 497 N_("A pointer to the GPS Info IFD. The " 498 "Interoperability structure of the GPS Info IFD, like that of " 499 "Exif IFD, has no image data."), [all...] |
exif-tag.h | 30 #include <libexif/exif-ifd.h> 192 /*! This tag is not allowed in the given IFD */ 195 /*! This tag is mandatory in the given IFD */ 198 /*! This tag is optional in the given IFD */ 211 /*! Return a textual name of the given tag when found in the given IFD. The 216 * \param[in] ifd IFD 219 const char *exif_tag_get_name_in_ifd (ExifTag tag, ExifIfd ifd); 221 /*! Return a textual title of the given tag when found in the given IFD. 225 * \param[in] ifd IF [all...] |
Android.mk | 34 exif-ifd.c \
|
/frameworks/av/media/img_utils/include/img_utils/ |
TiffIfd.h | 36 * This class holds a single TIFF Image File Directory (IFD) structure. 38 * This maps to the TIFF IFD structure that is logically composed of: 41 * - A 4-byte offset to the next IFD. 49 * Add a TiffEntry to this IFD or replace an existing entry with the 57 * Set the pointer to the next IFD. This is used to create a linked 59 * when calculating the size of IFD and entries for the getSize() 62 virtual void setNextIfd(const sp<TiffIfd>& ifd); 65 * Get the pointer to the next IFD, or NULL if none exists. 70 * Write the IFD data. This includes the IFD header, entries, footer [all...] |
/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...] |
/external/ppp/pppd/ |
tty.c | 922 start_charshunt(ifd, ofd) 923 int ifd, ofd; 927 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2)); 972 * (We assume ofd >= ifd which is true the way this gets called. :-). 975 charshunt(ifd, ofd, record_file) 976 int ifd, ofd; 1038 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE) 1040 ifd, ofd, pty_master); 1056 flags = fcntl(ifd, F_GETFL); 1058 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1 [all...] |
sys-solaris.c | 575 int ifd, x; local 627 ifd = open(PPP_DEV_NAME, O_RDWR, 0); 628 if (ifd < 0) 632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); 638 close(ifd); 648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { 649 close(ifd); 660 if (sifppa(ifd, ifunit) < 0) { 661 close (ifd); 675 close(ifd); [all...] |
/external/libexif/contrib/examples/ |
write-exif.c | 129 static ExifEntry *init_tag(ExifData *exif, ExifIfd ifd, ExifTag tag) 133 if (!((entry = exif_content_get_entry (exif->ifd[ifd], tag)))) { 140 /* Attach the ExifEntry to an IFD */ 141 exif_content_add_entry (exif->ifd[ifd], entry); 146 /* Ownership of the ExifEntry has now been passed to the IFD. 150 * the IFD. 158 * given IFD. This is needed when exif_entry_initialize() isn't able to create 162 static ExifEntry *create_tag(ExifData *exif, ExifIfd ifd, ExifTag tag, size_t len [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);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifModifier.java | 55 // Do not require any IFD; 128 for (IfdData ifd : ifdDatas) { 129 if (ifd != null && ifd.getTagCount() > 0) {
|
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/Camera2/src/com/android/camera/exif/ |
ExifModifier.java | 55 // Do not require any IFD; 128 for (IfdData ifd : ifdDatas) { 129 if (ifd != null && ifd.getTagCount() > 0) {
|
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/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifModifier.java | 56 // Do not require any IFD; 129 for (IfdData ifd : ifdDatas) { 130 if (ifd != null && ifd.getTagCount() > 0) {
|
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/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
ExifModifier.java | 55 // Do not require any IFD; 128 for (IfdData ifd : ifdDatas) { 129 if (ifd != null && ifd.getTagCount() > 0) {
|
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/ |
ExifModifier.java | 57 // Do not require any IFD; 130 for (IfdData ifd : ifdDatas) { 131 if (ifd != null && ifd.getTagCount() > 0) {
|
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/ |
btreplay.c | 99 * @ifd: Input file descriptor 113 int cpu, ifd, ofd, iterations; member in struct:thr_info 870 tip->ifd = open(file_name, O_RDONLY); 871 if (tip->ifd < 0) { 875 if (fstat(tip->ifd, &buf) < 0) { 885 if (read(tip->ifd, &hdr, sizeof(hdr)) != sizeof(hdr)) { 904 close(tip->ifd); 938 close(tip->ifd); 1122 result = read(tip->ifd, &bunch->hdr, sizeof(bunch->hdr)); 1134 result = read(tip->ifd, &bunch->pkts, count) [all...] |
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);
|
/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);
|
/external/libexif/contrib/watcom/ |
Makefile | 68 $(LIBEXIFDIR)\exif-format.obj $(LIBEXIFDIR)\exif-ifd.obj & 111 $(LIBEXIFDIR)\exif-ifd.obj : .AUTODEPEND $(LIBEXIFDIR)\exif-ifd.c
|
/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/ |
TiffIfd.cpp | 37 ALOGW("%s: Failed to add entry for tag 0x%x to IFD %u, too many entries in IFD!", 43 ALOGW("%s: Failed to add entry for tag 0x%x to ifd %u.", __FUNCTION__, entry->getTag(), 53 ALOGW("%s: No entry for tag 0x%x in ifd %u.", __FUNCTION__, tag, mIfdId); 67 void TiffIfd::setNextIfd(const sp<TiffIfd>& ifd) { 68 mNextIfd = ifd; 79 ALOGW("%s: Could not calculate IFD offsets, IFD %u contains too many entries.", 85 ALOGW("%s: Could not calculate IFD offsets, IFD %u contains no entries.", __FUNCTION__ [all...] |