Searched defs:ifd (Results 1 - 25 of 27) sorted by relevance

12

/external/libexif/libexif/
H A Dexif-ifd.c1 /* exif-ifd.c
23 #include <libexif/exif-ifd.h>
28 ExifIfd ifd; member in struct:__anon10512
40 exif_ifd_get_name (ExifIfd ifd) argument
45 if (ExifIfdTable[i].ifd == ifd)
H A Dexif-data.h33 #include <libexif/exif-ifd.h>
49 ExifContent *ifd[EXIF_IFD_COUNT]; member in struct:_ExifData
250 (exif_content_get_entry(d->ifd[EXIF_IFD_0],t) ? \
251 exif_content_get_entry(d->ifd[EXIF_IFD_0],t) : \
252 exif_content_get_entry(d->ifd[EXIF_IFD_1],t) ? \
253 exif_content_get_entry(d->ifd[EXIF_IFD_1],t) : \
254 exif_content_get_entry(d->ifd[EXIF_IFD_EXIF],t) ? \
255 exif_content_get_entry(d->ifd[EXIF_IFD_EXIF],t) : \
256 exif_content_get_entry(d->ifd[EXIF_IFD_GPS],t) ? \
257 exif_content_get_entry(d->ifd[EXIF_IFD_GP
[all...]
H A Dexif-content.c239 ((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) ==
271 "removed.", t, exif_ifd_get_name (ifd));
280 ExifIfd ifd = exif_content_get_ifd (c); local
313 if (exif_tag_get_support_level_in_ifd (t, ifd, d
[all...]
H A Dexif-tag.c940 ((ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_CHUNKY] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \
941 (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_PLANAR] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \
942 (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_YCC] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \
943 (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_COMPRESSED] != EXIF_SUPPORT_LEVEL_NOT_RECORDED))
946 exif_tag_get_name_in_ifd (ExifTag tag, ExifIfd ifd) argument
951 if (ifd >= EXIF_IFD_COUNT)
968 exif_tag_get_title_in_ifd (ExifTag tag, ExifIfd ifd) argument
973 if (ifd >= EXIF_IFD_COUNT)
998 exif_tag_get_description_in_ifd (ExifTag tag, ExifIfd ifd) argument
1003 if (ifd >
1107 get_support_level_in_ifd(ExifTag tag, ExifIfd ifd, ExifDataType t) argument
1137 get_support_level_any_type(ExifTag tag, ExifIfd ifd) argument
1171 exif_tag_get_support_level_in_ifd(ExifTag tag, ExifIfd ifd, ExifDataType t) argument
[all...]
H A Dexif-data.c25 #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) { \
338 if (data->ifd[(i)]->count) { \
350 * \param[in] ifd IFD to load
358 exif_data_load_data_content (ExifData *data, ExifIfd ifd, argument
372 if ((((int)ifd) < 0) || ( ((int)ifd) >
507 exif_data_save_data_content(ExifData *data, ExifContent *ifd, unsigned char **d, unsigned int *ds, unsigned int offset) argument
[all...]
/external/libchrome/base/
H A Dfile_descriptor_posix.h31 FileDescriptor(int ifd, bool iauto_close) : fd(ifd), auto_close(iauto_close) { argument
/external/libexif/contrib/examples/
H A Dphotographer.c25 static void show_tag(ExifData *d, ExifIfd ifd, ExifTag tag) argument
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);
H A Dwrite-exif.c129 static ExifEntry *init_tag(ExifData *exif, ExifIfd ifd, ExifTag tag) argument
133 if (!((entry = exif_content_get_entry (exif->ifd[ifd], tag)))) {
141 exif_content_add_entry (exif->ifd[ifd], entry);
162 static ExifEntry *create_tag(ExifData *exif, ExifIfd ifd, ExifTag tag, size_t len) argument
187 exif_content_add_entry (exif->ifd[ifd], entry);
/external/toybox/toys/posix/
H A Duudecode.c29 int ifd = 0, ofd, idx = 0, m = m; local
33 if (toys.optc) ifd = xopenro(*toys.optargs);
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/
H A Dfile_type.c73 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)) {
H A Dcmd_show.c617 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)) {
H A Dcmd_sign.c705 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
[all...]
/external/bison/lib/
H A Dspawn-pipe.c124 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[
[all...]
/external/dng_sdk/source/
H A Ddng_jpeg_image.cpp73 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
68 dng_jpeg_image_encode_task(dng_host &host, dng_image_writer &writer, const dng_image &image, dng_jpeg_image &jpegImage, uint32 tileCount, const dng_ifd &ifd) argument
[all...]
H A Ddng_preview.cpp55 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
63 dng_preview_tag_set(dng_tiff_directory &directory, const dng_preview &preview, const dng_ifd &ifd) argument
280 dng_jpeg_preview_tag_set(dng_tiff_directory &directory, const dng_jpeg_preview &preview, const dng_ifd &ifd) argument
470 dng_raw_preview_tag_set(dng_tiff_directory &directory, const dng_raw_preview &preview, const dng_ifd &ifd) argument
[all...]
H A Ddng_info.cpp99 dng_ifd *ifd,
112 ifd &&
113 ifd->fUsesNewSubFileType &&
114 ifd->fNewSubFileType == sfMainImage;
128 ifd = NULL;
134 if (ifd && ifd->ParseTag (stream,
415 dng_ifd *ifd,
430 if (ifd)
432 ifd
95 ParseTag(dng_host &host, dng_stream &stream, dng_exif *exif, dng_shared *shared, dng_ifd *ifd, uint32 parentCode, uint32 tagCode, uint32 tagType, uint32 tagCount, uint64 tagOffset, int64 offsetDelta) argument
411 ParseIFD(dng_host &host, dng_stream &stream, dng_exif *exif, dng_shared *shared, dng_ifd *ifd, uint64 ifdOffset, int64 offsetDelta, uint32 parentCode) argument
[all...]
H A Ddng_read_image.cpp907 const dng_ifd &ifd,
923 uint32 blockRows = ifd.fSubTileBlockRows;
924 uint32 blockCols = ifd.fSubTileBlockCols;
1014 const dng_ifd &ifd,
1040 const dng_ifd &ifd,
1049 , fIFD (ifd)
1066 uint32 stripLength = Pin_uint32 (ifd.fSubTileBlockRows,
1070 stripLength = stripLength / ifd.fSubTileBlockRows
1071 * ifd.fSubTileBlockRows;
1175 const dng_ifd &ifd,
906 ReorderSubTileBlocks(dng_host &host, const dng_ifd &ifd, dng_pixel_buffer &buffer, AutoPtr<dng_memory_block> &tempBuffer) argument
1039 dng_image_spooler(dng_host &host, const dng_ifd &ifd, dng_image &image, const dng_rect &tileArea, uint32 plane, uint32 planes, dng_memory_block &block, AutoPtr<dng_memory_block> &subTileBuffer) argument
1174 ReadUncompressed(dng_host &host, const dng_ifd &ifd, dng_stream &stream, dng_image &image, const dng_rect &tileArea, uint32 plane, uint32 planes, AutoPtr<dng_memory_block> &uncompressedBuffer, AutoPtr<dng_memory_block> &subTileBlockBuffer) argument
1746 ReadBaselineJPEG(dng_host &host, const dng_ifd &ifd, dng_stream &stream, dng_image &image, const dng_rect &tileArea, uint32 plane, uint32 planes, uint32 tileByteCount, uint8 *jpegDataInMemory) argument
1807 ReadLosslessJPEG(dng_host &host, const dng_ifd &ifd, dng_stream &stream, dng_image &image, const dng_rect &tileArea, uint32 plane, uint32 planes, uint32 tileByteCount, AutoPtr<dng_memory_block> &uncompressedBuffer, AutoPtr<dng_memory_block> &subTileBlockBuffer) argument
1886 CanReadTile(const dng_ifd &ifd) argument
2014 NeedsCompressedBuffer(const dng_ifd &ifd) argument
2069 DecodePredictor(dng_host & , const dng_ifd &ifd, dng_pixel_buffer &buffer) argument
2160 ReadTile(dng_host &host, const dng_ifd &ifd, dng_stream &stream, dng_image &image, const dng_rect &tileArea, uint32 plane, uint32 planes, uint32 tileByteCount, AutoPtr<dng_memory_block> &compressedBuffer, AutoPtr<dng_memory_block> &uncompressedBuffer, AutoPtr<dng_memory_block> &subTileBlockBuffer) argument
2612 CanRead(const dng_ifd &ifd) argument
2757 dng_read_tiles_task(dng_read_image &readImage, dng_host &host, const dng_ifd &ifd, dng_stream &stream, dng_image &image, dng_jpeg_image *jpegImage, dng_fingerprint *jpegTileDigest, uint32 outerSamples, uint32 innerSamples, uint32 tilesDown, uint32 tilesAcross, uint64 *tileOffset, uint32 *tileByteCount, uint32 compressedSize, uint32 uncompressedSize) argument
2914 Read(dng_host &host, const dng_ifd &ifd, dng_stream &stream, dng_image &image, dng_jpeg_image *jpegImage, dng_fingerprint *jpegDigest) argument
[all...]
/external/zlib/src/test/
H A Dminigzip.c401 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);
/external/blktrace/btreplay/
H A Dbtrecord.c51 * @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);
H A Dbtreplay.c99 * @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,
[all...]
/external/mdnsresponder/mDNSWindows/
H A DmDNSWin32.h86 struct mDNSInterfaceData * ifd; member in struct:UDPSocket_struct
/external/dhcpcd-6.8.2/
H A Ddhcp6.c965 const struct interface *ifd)
971 ipv6_freedrop_addrs(&state->addrs, drop, ifd);
2416 struct interface *ifd; local
2445 TAILQ_FOREACH(ifd, ifp->ctx->ifaces, next) {
2446 if (ifd->options->options & DHCPCD_NOPFXDLG)
2467 if (ifd->carrier != LINK_UP) {
2471 ifd->name);
2475 if (dhcp6_ifdelegateaddr(ifd, ap,
2484 if (strcmp(ifd->name, sla->ifname))
2486 if (ifd
964 dhcp6_freedrop_addrs(struct interface *ifp, int drop, const struct interface *ifd) argument
2529 struct interface *ifd; local
[all...]
H A Dipv6.c851 const struct interface *ifd)
858 if (ifd && ap->delegating_iface != ifd)
850 ipv6_freedrop_addrs(struct ipv6_addrhead *addrs, int drop, const struct interface *ifd) argument
/external/ppp/pppd/
H A Dsys-solaris.c575 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/blktrace/
H A Dblktrace.c240 * ifn & ifd represent input information
264 int ifd, ofd; member in struct:io_info
1443 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready);
1579 if (iop->ifd >= 0)
1580 close(iop->ifd);
1619 iop->ifd = my_open(iop->ifn, O_RDONLY | O_NONBLOCK);
1620 if (iop->ifd < 0) {
1628 pfd->fd = iop->ifd;
1657 close(iop->ifd); /* tp->nios _not_ bumped */
1679 ret = read(iop->ifd, mi
[all...]

Completed in 465 milliseconds

12