/external/dng_sdk/source/ |
D | dng_read_image.cpp | 907 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 …]
|
D | dng_jpeg_image.cpp | 73 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 …]
|
D | dng_preview.cpp | 55 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 …]
|
D | dng_read_image.h | 96 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,
|
D | dng_image_writer.cpp | 2681 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 …]
|
D | dng_info.cpp | 99 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 …]
|
/external/libexif/libexif/ |
D | exif-data.h | 49 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 …]
|
D | exif-data.c | 125 data->ifd[i] = exif_content_new_mem (data->priv->mem); in exif_data_new_mem() 126 if (!data->ifd[i]) { in exif_data_new_mem() 130 data->ifd[i]->parent = data; in exif_data_new_mem() 331 if ((i) == ifd) { \ 338 if (data->ifd[(i)]->count) { \ 358 exif_data_load_data_content (ExifData *data, ExifIfd ifd, in exif_data_load_data_content() argument 372 if ((((int)ifd) < 0) || ( ((int)ifd) >= EXIF_IFD_COUNT)) in exif_data_load_data_content() 454 if (!exif_tag_get_name_in_ifd (tag, ifd)) { in exif_data_load_data_content() 463 exif_ifd_get_name (ifd)); in exif_data_load_data_content() 469 exif_ifd_get_name (ifd)); in exif_data_load_data_content() [all …]
|
D | exif-content.c | 239 ((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 …]
|
D | exif-ifd.c | 28 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()
|
D | exif-tag.c | 940 ((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 …]
|
D | exif-tag.h | 219 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/ |
D | file_type.c | 73 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()
|
D | cmd_sign.c | 705 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/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfScanLineInputFile.cpp | 324 readPixelData (ScanLineInputFile::Data *ifd, in readPixelData() argument 339 ifd->lineOffsets[(minY - ifd->minY) / ifd->linesInBuffer]; in readPixelData() 349 if (ifd->nextLineBufferMinY != minY) in readPixelData() 350 ifd->is->seekg (lineOffset); in readPixelData() 358 Xdr::read <StreamIO> (*ifd->is, yInFile); in readPixelData() 359 Xdr::read <StreamIO> (*ifd->is, dataSize); in readPixelData() 364 if (dataSize > (int) ifd->lineBufferSize) in readPixelData() 371 if (ifd->is->isMemoryMapped ()) in readPixelData() 372 buffer = ifd->is->readMemoryMapped (dataSize); in readPixelData() 374 ifd->is->read (buffer, dataSize); in readPixelData() [all …]
|
D | ImfInputFile.cpp | 173 bufferedReadPixels (InputFile::Data* ifd, int scanLine1, int scanLine2) in bufferedReadPixels() argument 185 if (minY < ifd->minY || maxY > ifd->maxY) in bufferedReadPixels() 196 int minDy = (minY - ifd->minY) / ifd->tFile->tileYSize(); in bufferedReadPixels() 197 int maxDy = (maxY - ifd->minY) / ifd->tFile->tileYSize(); in bufferedReadPixels() 205 if (ifd->lineOrder == DECREASING_Y) in bufferedReadPixels() 222 Box2i levelRange = ifd->tFile->dataWindowForLevel(0); in bufferedReadPixels() 231 Box2i tileRange = ifd->tFile->dataWindowForTile (0, j, 0); in bufferedReadPixels() 236 if (j != ifd->cachedTileY) in bufferedReadPixels() 243 ifd->tFile->readTiles (0, ifd->tFile->numXTiles (0) - 1, j, j); in bufferedReadPixels() 244 ifd->cachedTileY = j; in bufferedReadPixels() [all …]
|
D | ImfTiledInputFile.cpp | 278 readTileData (TiledInputFile::Data *ifd, in readTileData() argument 296 Int64 tileOffset = ifd->tileOffsets (dx, dy, lx, ly); in readTileData() 304 if (ifd->currentPosition != tileOffset) in readTileData() 305 ifd->is->seekg (tileOffset); in readTileData() 315 Xdr::read <StreamIO> (*ifd->is, tileXCoord); in readTileData() 316 Xdr::read <StreamIO> (*ifd->is, tileYCoord); in readTileData() 317 Xdr::read <StreamIO> (*ifd->is, levelX); in readTileData() 318 Xdr::read <StreamIO> (*ifd->is, levelY); in readTileData() 319 Xdr::read <StreamIO> (*ifd->is, dataSize); in readTileData() 333 if (dataSize > (int) ifd->tileBufferSize) in readTileData() [all …]
|
/external/bison/lib/ |
D | spawn-pipe.c | 124 int ifd[2]; in create_pipe() local 139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0) in create_pipe() 167 && (!pipe_stdout || dup2 (ifd[1], STDOUT_FILENO) >= 0) in create_pipe() 229 close (ifd[1]); in create_pipe() 236 close (ifd[0]); in create_pipe() 244 fd[0] = ifd[0]; in create_pipe() 252 int ifd[2]; in create_pipe() 263 if (pipe_safer (ifd) < 0) in create_pipe() 292 ifd[1], STDOUT_FILENO)) in create_pipe() 298 && (err = posix_spawn_file_actions_addclose (&actions, ifd[1])) in create_pipe() [all …]
|
/external/toybox/toys/posix/ |
D | 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/libexif/contrib/examples/ |
D | write-exif.c | 129 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()
|
D | cam_features.c | 125 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()
|
D | photographer.c | 25 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/ppp/pppd/ |
D | tty.c | 926 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 …]
|
D | sys-solaris.c | 575 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/ |
D | file_descriptor_posix.h | 31 FileDescriptor(int ifd, bool iauto_close) : fd(ifd), auto_close(iauto_close) { in FileDescriptor()
|