HomeSort by relevance Sort by last modified time
    Searched defs:ifd (Results 1 - 25 of 42) sorted by null

1 2

  /external/libexif/libexif/
exif-ifd.c 1 /* exif-ifd.c
23 #include <libexif/exif-ifd.h>
28 ExifIfd ifd; member in struct:__anon14764
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...]
  /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/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)) {
cmd_show.c 617 int ifd, i; local
692 ifd = open(infile, O_RDONLY);
693 if (ifd < 0) {
700 if (0 != futil_map_file(ifd, MAP_RO, &buf, &buf_len)) {
713 errorcnt += futil_unmap_file(ifd, MAP_RO, buf, buf_len);
716 if (close(ifd)) {
cmd_sign.c 705 int ifd = -1; local
1029 ifd = open(infile, O_RDONLY);
1030 if (ifd < 0) {
1043 ifd = open(option.outfile, O_RDWR);
1044 if (ifd < 0) {
1052 if (0 != futil_map_file(ifd, mapping, &buf, &buf_len)) {
1059 errorcnt += futil_unmap_file(ifd, MAP_RW, buf, buf_len);
1062 if (ifd >= 0 && close(ifd)) {
1064 fprintf(stderr, "Error when closing ifd: %s\n"
    [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...]
  /external/dng_sdk/source/
dng_jpeg_image.cpp 73 const dng_ifd &ifd)
80 , fIFD (ifd)
179 dng_ifd ifd; local
181 ifd.fImageWidth = fImageSize.h;
182 ifd.fImageLength = fImageSize.v;
184 ifd.fSamplesPerPixel = image.Planes ();
186 ifd.fBitsPerSample [0] = 8;
187 ifd.fBitsPerSample [1] = 8;
188 ifd.fBitsPerSample [2] = 8;
189 ifd.fBitsPerSample [3] = 8
    [all...]
dng_preview.cpp 55 const dng_ifd &ifd);
65 const dng_ifd &ifd)
67 : dng_basic_tag_set (directory, ifd)
272 const dng_ifd &ifd);
282 const dng_ifd &ifd)
284 : dng_preview_tag_set (directory, preview, ifd)
358 dng_ifd ifd; local
360 ifd.fNewSubFileType = fInfo.fIsPrimary ? sfPreviewImage
363 ifd.fImageWidth = fPreviewSize.h;
364 ifd.fImageLength = fPreviewSize.v
    [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/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();
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...]
  /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
  /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
  /packages/apps/Messaging/src/com/android/messaging/util/exif/
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...]
ExifOutputStream.java 285 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream)
287 ExifTag[] tags = ifd.getAllTags();
305 dataOutputStream.writeInt(ifd.getOffsetToNextIfd());
313 private int calculateOffsetOfIfd(IfdData ifd, int offset) {
314 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4;
315 ExifTag[] tags = ifd.getAllTags();
339 // Exif IFD is required for all files.
346 // GPS IFD
357 // 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);
  /frameworks/native/cmds/dumpstate/
utils.cpp 1035 int ifd, wfd = -1; local
    [all...]

Completed in 2821 milliseconds

1 2