Home
last modified time | relevance | path

Searched refs:ifd (Results 1 – 25 of 49) sorted by relevance

12

/external/dng_sdk/source/
Ddng_read_image.cpp907 const dng_ifd &ifd, in ReorderSubTileBlocks() argument
923 uint32 blockRows = ifd.fSubTileBlockRows; in ReorderSubTileBlocks()
924 uint32 blockCols = ifd.fSubTileBlockCols; in ReorderSubTileBlocks()
1014 const dng_ifd &ifd,
1040 const dng_ifd &ifd, in dng_image_spooler() argument
1049 , fIFD (ifd) in dng_image_spooler()
1066 uint32 stripLength = Pin_uint32 (ifd.fSubTileBlockRows, in dng_image_spooler()
1070 stripLength = stripLength / ifd.fSubTileBlockRows in dng_image_spooler()
1071 * ifd.fSubTileBlockRows; in dng_image_spooler()
1175 const dng_ifd &ifd, in ReadUncompressed() argument
[all …]
Ddng_jpeg_image.cpp73 const dng_ifd &ifd) in dng_jpeg_image_encode_task() argument
80 , fIFD (ifd) in dng_jpeg_image_encode_task()
179 dng_ifd ifd; in Encode() local
181 ifd.fImageWidth = fImageSize.h; in Encode()
182 ifd.fImageLength = fImageSize.v; in Encode()
184 ifd.fSamplesPerPixel = image.Planes (); in Encode()
186 ifd.fBitsPerSample [0] = 8; in Encode()
187 ifd.fBitsPerSample [1] = 8; in Encode()
188 ifd.fBitsPerSample [2] = 8; in Encode()
189 ifd.fBitsPerSample [3] = 8; in Encode()
[all …]
Ddng_preview.cpp55 const dng_ifd &ifd);
65 const dng_ifd &ifd) in dng_preview_tag_set() argument
67 : dng_basic_tag_set (directory, ifd) in dng_preview_tag_set()
272 const dng_ifd &ifd);
282 const dng_ifd &ifd) in dng_jpeg_preview_tag_set() argument
284 : dng_preview_tag_set (directory, preview, ifd) in dng_jpeg_preview_tag_set()
358 dng_ifd ifd; in AddTagSet() local
360 ifd.fNewSubFileType = fInfo.fIsPrimary ? sfPreviewImage in AddTagSet()
363 ifd.fImageWidth = fPreviewSize.h; in AddTagSet()
364 ifd.fImageLength = fPreviewSize.v; in AddTagSet()
[all …]
Ddng_read_image.h96 virtual bool CanRead (const dng_ifd &ifd);
105 const dng_ifd &ifd,
114 const dng_ifd &ifd,
133 const dng_ifd &ifd,
143 const dng_ifd &ifd,
153 virtual bool CanReadTile (const dng_ifd &ifd);
155 virtual bool NeedsCompressedBuffer (const dng_ifd &ifd);
161 const dng_ifd &ifd,
165 const dng_ifd &ifd,
Ddng_image_writer.cpp2681 uint32 dng_image_writer::CompressedBufferSize (const dng_ifd &ifd, in CompressedBufferSize() argument
2685 switch (ifd.fCompression) in CompressedBufferSize()
2713 if (ifd.fBitsPerSample [0] <= 8) in CompressedBufferSize()
3007 const dng_ifd &ifd, in EncodePredictor() argument
3012 switch (ifd.fPredictor) in EncodePredictor()
3022 if (ifd.fPredictor == cpHorizontalDifferenceX2) in EncodePredictor()
3027 else if (ifd.fPredictor == cpHorizontalDifferenceX4) in EncodePredictor()
3087 if (ifd.fPredictor == cpFloatingPointX2) in EncodePredictor()
3092 else if (ifd.fPredictor == cpFloatingPointX4) in EncodePredictor()
3132 if (ifd.fPredictor != cpNullPredictor) in EncodePredictor()
[all …]
Ddng_info.cpp99 dng_ifd *ifd, in ParseTag() argument
112 ifd && in ParseTag()
113 ifd->fUsesNewSubFileType && in ParseTag()
114 ifd->fNewSubFileType == sfMainImage; in ParseTag()
128 ifd = NULL; in ParseTag()
134 if (ifd && ifd->ParseTag (stream, in ParseTag()
415 dng_ifd *ifd, in ParseIFD() argument
430 if (ifd) in ParseIFD()
432 ifd->fThisIFD = ifdOffset; in ParseIFD()
594 ifd, in ParseIFD()
[all …]
Ddng_info.h102 dng_ifd *ifd,
118 dng_ifd *ifd,
/external/libexif/libexif/
Dexif-data.h49 ExifContent *ifd[EXIF_IFD_COUNT]; member
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_GPS],t) : \
258 exif_content_get_entry(d->ifd[EXIF_IFD_INTEROPERABILITY],t) ? \
[all …]
Dexif-data.c122 data->ifd[i] = exif_content_new_mem (data->priv->mem); in exif_data_new_mem()
123 if (!data->ifd[i]) { in exif_data_new_mem()
127 data->ifd[i]->parent = data; in exif_data_new_mem()
336 if ((i) == ifd) { \
343 if (data->ifd[(i)]->count) { \
363 exif_data_load_data_content (ExifData *data, ExifIfd ifd, in exif_data_load_data_content() argument
377 if ((((int)ifd) < 0) || ( ((int)ifd) >= EXIF_IFD_COUNT)) in exif_data_load_data_content()
459 if (!exif_tag_get_name_in_ifd (tag, ifd)) { in exif_data_load_data_content()
468 exif_ifd_get_name (ifd)); in exif_data_load_data_content()
474 exif_ifd_get_name (ifd)); in exif_data_load_data_content()
[all …]
Dexif-content.c239 ((c)->parent->ifd[EXIF_IFD_EXIF] == (c)) ? EXIF_IFD_EXIF : in exif_content_get_ifd()
240 ((c)->parent->ifd[EXIF_IFD_0] == (c)) ? EXIF_IFD_0 : in exif_content_get_ifd()
241 ((c)->parent->ifd[EXIF_IFD_1] == (c)) ? EXIF_IFD_1 : in exif_content_get_ifd()
242 ((c)->parent->ifd[EXIF_IFD_GPS] == (c)) ? EXIF_IFD_GPS : in exif_content_get_ifd()
243 ((c)->parent->ifd[EXIF_IFD_INTEROPERABILITY] == (c)) ? EXIF_IFD_INTEROPERABILITY : in exif_content_get_ifd()
262 ExifIfd ifd = exif_entry_get_ifd(e) ; in remove_not_recorded() local
267 if (exif_tag_get_support_level_in_ifd (t, ifd, dt) == in remove_not_recorded()
271 "removed.", t, exif_ifd_get_name (ifd)); in remove_not_recorded()
280 ExifIfd ifd = exif_content_get_ifd (c); in exif_content_fix() local
313 if (exif_tag_get_support_level_in_ifd (t, ifd, dt) == in exif_content_fix()
[all …]
Dexif-ifd.c28 ExifIfd ifd; member
40 exif_ifd_get_name (ExifIfd ifd) in exif_ifd_get_name() argument
45 if (ExifIfdTable[i].ifd == ifd) in exif_ifd_get_name()
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) in exif_tag_get_name_in_ifd() argument
951 if (ifd >= EXIF_IFD_COUNT) in exif_tag_get_name_in_ifd()
968 exif_tag_get_title_in_ifd (ExifTag tag, ExifIfd ifd) in exif_tag_get_title_in_ifd() argument
973 if (ifd >= EXIF_IFD_COUNT) in exif_tag_get_title_in_ifd()
998 exif_tag_get_description_in_ifd (ExifTag tag, ExifIfd ifd) in exif_tag_get_description_in_ifd() argument
1003 if (ifd >= EXIF_IFD_COUNT) in exif_tag_get_description_in_ifd()
[all …]
Dexif-tag.h219 const char *exif_tag_get_name_in_ifd (ExifTag tag, ExifIfd ifd);
228 const char *exif_tag_get_title_in_ifd (ExifTag tag, ExifIfd ifd);
237 const char *exif_tag_get_description_in_ifd (ExifTag tag, ExifIfd ifd);
251 ExifSupportLevel exif_tag_get_support_level_in_ifd (ExifTag tag, ExifIfd ifd,
/external/vboot_reference/futility/
Dfile_type.c73 int ifd; in futil_file_type() local
81 ifd = open(filename, O_RDONLY); in futil_file_type()
82 if (ifd < 0) { in futil_file_type()
88 if (0 != fstat(ifd, &sb)) { in futil_file_type()
95 err = futil_map_file(ifd, MAP_RO, &buf, &buf_len); in futil_file_type()
97 close(ifd); in futil_file_type()
103 err = futil_unmap_file(ifd, MAP_RO, buf, buf_len); in futil_file_type()
105 close(ifd); in futil_file_type()
118 if (close(ifd)) { in futil_file_type()
Dcmd_sign.c705 int ifd = -1; in do_sign() local
1029 ifd = open(infile, O_RDONLY); in do_sign()
1030 if (ifd < 0) { in do_sign()
1043 ifd = open(option.outfile, O_RDWR); in do_sign()
1044 if (ifd < 0) { in do_sign()
1052 if (0 != futil_map_file(ifd, mapping, &buf, &buf_len)) { in do_sign()
1059 errorcnt += futil_unmap_file(ifd, MAP_RW, buf, buf_len); in do_sign()
1062 if (ifd >= 0 && close(ifd)) { in do_sign()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c336 inMDNS->p->unicastSock4.ifd = NULL; in mDNSPlatformInit()
368 inMDNS->p->unicastSock6.ifd = NULL; in mDNSPlatformInit()
801 mDNSInterfaceData * ifd; in mDNSPlatformInterfaceNameToID() local
809 for( ifd = inMDNS->p->interfaceList; ifd; ifd = ifd->next ) in mDNSPlatformInterfaceNameToID()
811 if( strcmp( ifd->name, inName ) == 0 ) in mDNSPlatformInterfaceNameToID()
816 require_action_quiet( ifd, exit, err = mStatus_NoSuchNameErr ); in mDNSPlatformInterfaceNameToID()
822 *outID = (mDNSInterfaceID) ifd; in mDNSPlatformInterfaceNameToID()
837 mDNSInterfaceData * ifd; in mDNSPlatformInterfaceIDToInfo() local
845 for( ifd = inMDNS->p->interfaceList; ifd; ifd = ifd->next ) in mDNSPlatformInterfaceIDToInfo()
847 if( ifd == (mDNSInterfaceData *) inID ) in mDNSPlatformInterfaceIDToInfo()
[all …]
/external/libexif/contrib/examples/
Dwrite-exif.c129 static ExifEntry *init_tag(ExifData *exif, ExifIfd ifd, ExifTag tag) in init_tag() argument
133 if (!((entry = exif_content_get_entry (exif->ifd[ifd], tag)))) { in init_tag()
141 exif_content_add_entry (exif->ifd[ifd], entry); in init_tag()
162 static ExifEntry *create_tag(ExifData *exif, ExifIfd ifd, ExifTag tag, size_t len) in create_tag() argument
187 exif_content_add_entry (exif->ifd[ifd], entry); in create_tag()
Dcam_features.c125 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); in createEXIF()
132 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); in createEXIF()
139 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); in createEXIF()
145 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); in createEXIF()
153 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); in createEXIF()
164 exif_content_add_entry (pEd->ifd[EXIF_IFD_0], pE); in createEXIF()
Dphotographer.c25 static void show_tag(ExifData *d, ExifIfd ifd, ExifTag tag) in show_tag() argument
28 ExifEntry *entry = exif_content_get_entry(d->ifd[ifd],tag); in show_tag()
38 printf("%s: %s\n", exif_tag_get_name_in_ifd(tag,ifd), buf); in show_tag()
103 entry = exif_content_get_entry(ed->ifd[EXIF_IFD_0], EXIF_TAG_MAKE); in main()
/external/toybox/toys/lsb/
Dgzip.c115 static void do_gzip(int ifd, char *in) in do_gzip() argument
122 if (!ifd || FLAG(c)) ofd = 1; in do_gzip()
123 if (isatty(ifd)) { in do_gzip()
124 if (!FLAG(f)) return error_msg("%s:need -f to read TTY"+3*!!ifd, in); in do_gzip()
130 if (fstat(ifd, &sb)) return perror_msg("%s", in); in do_gzip()
141 if (do_deflate(ifd, ofd, FLAG(d), TT.level)) in = out; in do_gzip()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java333 final List<IntentFilterData> ifd = activityData.getIntentFilters(); in shouldRead1IntentFilter() local
334 assertThat(ifd).isNotNull(); in shouldRead1IntentFilter()
335 assertThat(ifd.size()).isEqualTo(1); in shouldRead1IntentFilter()
337 final IntentFilterData data = ifd.get(0); in shouldRead1IntentFilter()
350 final List<IntentFilterData> ifd = activityData.getIntentFilters(); in shouldReadMultipleIntentFilters() local
351 assertThat(ifd).isNotNull(); in shouldReadMultipleIntentFilters()
352 assertThat(ifd.size()).isEqualTo(2); in shouldReadMultipleIntentFilters()
354 IntentFilterData data = ifd.get(0); in shouldReadMultipleIntentFilters()
360 data = ifd.get(1); in shouldReadMultipleIntentFilters()
414 final List<IntentFilterData> ifd = activityData.getIntentFilters(); in shouldReadIntentFilterWithData() local
[all …]
/external/ppp/pppd/
Dtty.c926 start_charshunt(ifd, ofd) in start_charshunt() argument
927 int ifd, ofd; in start_charshunt()
931 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
978 charshunt(ifd, ofd, record_file) in charshunt() argument
979 int ifd, ofd; in charshunt()
1041 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
1043 ifd, ofd, pty_master);
1059 flags = fcntl(ifd, F_GETFL);
1061 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1)
1062 warn("couldn't set %s to nonblock: %m", (ifd==0? "stdin": "tty"));
[all …]
Dsys-solaris.c575 int ifd, x; in sys_init() local
627 ifd = open(PPP_DEV_NAME, O_RDWR, 0); in sys_init()
628 if (ifd < 0) in sys_init()
632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); in sys_init()
638 close(ifd); in sys_init()
648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { in sys_init()
649 close(ifd); in sys_init()
660 if (sifppa(ifd, ifunit) < 0) { in sys_init()
661 close (ifd); in sys_init()
675 close(ifd); in sys_init()
[all …]
/external/libchrome/base/
Dfile_descriptor_posix.h31 FileDescriptor(int ifd, bool iauto_close) : fd(ifd), auto_close(iauto_close) { in FileDescriptor()
/external/blktrace/btreplay/
Dbtreplay.c111 int cpu, ifd, ofd, iterations; member
888 tip->ifd = open(file_name, O_RDONLY); in add_input_file()
889 if (tip->ifd < 0) { in add_input_file()
893 if (fstat(tip->ifd, &buf) < 0) { in add_input_file()
903 if (read(tip->ifd, &hdr, sizeof(hdr)) != sizeof(hdr)) { in add_input_file()
922 close(tip->ifd); in add_input_file()
956 close(tip->ifd); in rem_input_file()
1140 result = read(tip->ifd, &bunch->hdr, sizeof(bunch->hdr)); in next_bunch()
1152 result = read(tip->ifd, &bunch->pkts, count); in next_bunch()
1322 lseek(tip->ifd, 0, 0); in reset_input_file()
[all …]

12