Searched defs:ifd (Results 1 - 10 of 10) sorted by path

/frameworks/av/media/img_utils/include/img_utils/
H A DTiffWriter.h125 * - NAME_NOT_FOUND - No ifd exists with the given ID.
127 virtual status_t addEntry(const sp<TiffEntry>& entry, uint32_t ifd);
141 * - NAME_NOT_FOUND - No ifd exists with the given ID.
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) cons
301 addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) argument
[all...]
/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp43 ALOGW("%s: Failed to add entry for tag 0x%x to ifd %u.", __FUNCTION__, entry->getTag(),
53 ALOGW("%s: No entry for tag 0x%x in ifd %u.", __FUNCTION__, tag, mIfdId);
67 void TiffIfd::setNextIfd(const sp<TiffIfd>& ifd) { argument
68 mNextIfd = ifd;
366 output.appendFormat("[ifd: %x, num_entries: %zu, entries:\n", getId(), s);
378 ALOGI("[ifd: %x, num_entries: %zu, entries:\n", getId(), s);
H A DTiffWriter.cpp96 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();
143 sp<TiffIfd> ifd = mIfd; local
144 while(ifd != NULL) {
145 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret);
146 offset += ifd
178 removeEntry(uint16_t tag, uint32_t ifd) argument
185 addEntry(const sp<TiffEntry>& entry, uint32_t ifd) argument
207 addStrip(uint32_t ifd) argument
217 addIfd(uint32_t ifd) argument
240 addSubIfd(uint32_t parentIfd, uint32_t ifd, SubIfdType type) argument
347 sp<TiffIfd> ifd = mIfd; local
373 sp<TiffIfd> ifd = mIfd; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp546 InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, uint32_t height,
568 InputStripSource::InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, argument
570 uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd), mInput(&input),
680 DirectStripSource(JNIEnv* env, const uint8_t* pixelBytes, uint32_t ifd, uint32_t width,
702 DirectStripSource::DirectStripSource(JNIEnv* env, const uint8_t* pixelBytes, uint32_t ifd, argument
704 uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd),
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifData.java159 protected ExifTag getTag(short tag, int ifd) { argument
160 IfdData ifdData = mIfdDatas[ifd];
170 int ifd = tag.getIfd();
171 return addTag(tag, ifd);
277 protected List<ExifTag> getAllTagsForIfd(int ifd) { argument
278 IfdData d = mIfdDatas[ifd];
H A DExifInterface.java1701 int ifd = tag.getIfd();
1702 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd);
1705 protected int getTagDefinitionForTag(short tagId, short type, int count, int ifd) { argument
1719 if (j == ifd) {
2371 protected static boolean isIfdAllowed(int info, int ifd) { argument
2375 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) {
H A DExifOutputStream.java281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) argument
283 ExifTag[] tags = ifd.getAllTags();
301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd());
309 private int calculateOffsetOfIfd(IfdData ifd, int offset) { argument
310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4;
311 ExifTag[] tags = ifd.getAllTags();
H A DExifParser.java323 mIfdType = ((IfdEvent) event).ifd;
591 int ifd = tag.getIfd();
592 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) {
597 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) {
602 && checkAllowed(ifd, ExifInterface.TAG_INTEROPERABILITY_IFD)) {
607 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)) {
612 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH)) {
616 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) {
631 && checkAllowed(ifd, ExifInterface.TAG_STRIP_BYTE_COUNTS)
637 private boolean checkAllowed(int ifd, in argument
891 int ifd; field in class:ExifParser.IfdEvent
894 IfdEvent(int ifd, boolean isInterestedIfd) argument
[all...]
H A DExifTag.java98 // The ifd that this tag should be put in
127 ExifTag(short tagId, short type, int componentCount, int ifd, argument
133 mIfd = ifd;
1003 return String.format("tag id: %04X\n", mTagId) + "ifd id: " + mIfd + "\ntype: "
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp1033 int ifd, wfd = -1; local
1043 ifd = inotify_init();
1044 if (ifd < 0) {
1049 wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRITE);
1091 struct pollfd pfd = { ifd, POLLIN, 0 };
1099 read(ifd, &ie, sizeof(ie));
1148 close(ifd);

Completed in 248 milliseconds