/frameworks/av/media/img_utils/src/ |
D | TiffWriter.cpp | 96 sp<TiffIfd> ifd = mIfd; in write() local 97 while(ifd != NULL) { in write() 98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); in write() 99 offset += ifd->getSize(); in write() 100 ifd = ifd->getNextIfd(); in write() 143 sp<TiffIfd> ifd = mIfd; in write() local 144 while(ifd != NULL) { in write() 145 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); in write() 146 offset += ifd->getSize(); in write() 147 ifd = ifd->getNextIfd(); in write() [all …]
|
D | TiffIfd.cpp | 67 void TiffIfd::setNextIfd(const sp<TiffIfd>& ifd) { in setNextIfd() argument 68 mNextIfd = ifd; in setNextIfd()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffWriter.h | 127 virtual status_t addEntry(const sp<TiffEntry>& entry, uint32_t ifd); 144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd); 176 virtual status_t addStrip(uint32_t ifd); 182 virtual sp<TiffEntry> getEntry(uint16_t tag, uint32_t ifd) const; 187 virtual void removeEntry(uint16_t tag, uint32_t ifd); 193 virtual status_t addIfd(uint32_t ifd); 199 virtual status_t addSubIfd(uint32_t parentIfd, uint32_t ifd, SubIfdType type = SUBIFD); 215 virtual bool hasIfd(uint32_t ifd) const; 301 status_t TiffWriter::addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) { in addEntry() argument 310 return addEntry(outEntry, ifd); in addEntry()
|
D | TiffIfd.h | 62 virtual void setNextIfd(const sp<TiffIfd>& ifd);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifParser.java | 323 mIfdType = ((IfdEvent) event).ifd; in next() 591 int ifd = tag.getIfd(); in checkOffsetOrImageTag() local 592 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) { in checkOffsetOrImageTag() 597 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) { in checkOffsetOrImageTag() 602 && checkAllowed(ifd, ExifInterface.TAG_INTEROPERABILITY_IFD)) { in checkOffsetOrImageTag() 607 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)) { in checkOffsetOrImageTag() 612 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH)) { in checkOffsetOrImageTag() 616 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) { in checkOffsetOrImageTag() 631 && checkAllowed(ifd, ExifInterface.TAG_STRIP_BYTE_COUNTS) in checkOffsetOrImageTag() 637 private boolean checkAllowed(int ifd, int tagId) { in checkAllowed() argument [all …]
|
D | ExifData.java | 159 protected ExifTag getTag(short tag, int ifd) { in getTag() argument 160 IfdData ifdData = mIfdDatas[ifd]; in getTag() 170 int ifd = tag.getIfd(); in addTag() local 171 return addTag(tag, ifd); in addTag() 277 protected List<ExifTag> getAllTagsForIfd(int ifd) { in getAllTagsForIfd() argument 278 IfdData d = mIfdDatas[ifd]; in getAllTagsForIfd()
|
D | ExifModifier.java | 128 for (IfdData ifd : ifdDatas) { in commit() 129 if (ifd != null && ifd.getTagCount() > 0) { in commit()
|
D | ExifOutputStream.java | 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) in writeIfd() argument 283 ExifTag[] tags = ifd.getAllTags(); in writeIfd() 301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd()); in writeIfd() 309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { in calculateOffsetOfIfd() argument 310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4; in calculateOffsetOfIfd() 311 ExifTag[] tags = ifd.getAllTags(); in calculateOffsetOfIfd()
|
D | ExifTag.java | 127 ExifTag(short tagId, short type, int componentCount, int ifd, in ExifTag() argument 133 mIfd = ifd; in ExifTag()
|
D | ExifInterface.java | 1701 int ifd = tag.getIfd(); in getTagDefinitionForTag() local 1702 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd); in getTagDefinitionForTag() 1705 protected int getTagDefinitionForTag(short tagId, short type, int count, int ifd) { in getTagDefinitionForTag() argument 1719 if (j == ifd) { in getTagDefinitionForTag() 2371 protected static boolean isIfdAllowed(int info, int ifd) { in isIfdAllowed() argument 2375 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) { in isIfdAllowed()
|
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 1020 int ifd, wfd = -1; in DumpTraces() local 1031 ifd = inotify_init(); in DumpTraces() 1032 if (ifd < 0) { in DumpTraces() 1037 wfd = inotify_add_watch(ifd, traces_path.c_str(), IN_CLOSE_WRITE); in DumpTraces() 1079 struct pollfd pfd = { ifd, POLLIN, 0 }; in DumpTraces() 1087 read(ifd, &ie, sizeof(ie)); in DumpTraces() 1138 close(ifd); in DumpTraces()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 547 InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, uint32_t height, 569 InputStripSource::InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, in InputStripSource() argument 571 uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd), mInput(&input), in InputStripSource() 681 DirectStripSource(JNIEnv* env, const uint8_t* pixelBytes, uint32_t ifd, uint32_t width, 703 DirectStripSource::DirectStripSource(JNIEnv* env, const uint8_t* pixelBytes, uint32_t ifd, in DirectStripSource() argument 705 uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd), in DirectStripSource()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDatabase.cpp | 861 exifdata->ifd[EXIF_IFD_EXIF], EXIF_TAG_PIXEL_X_DIMENSION); in getObjectInfo() 863 exifdata->ifd[EXIF_IFD_EXIF], EXIF_TAG_PIXEL_Y_DIMENSION); in getObjectInfo()
|