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

/packages/apps/Camera2/tests/exiftool_parser/
H A Dparser.py48 ifd = s[2][l + 3:].split()[0] variable
51 ifds.append(ifd)
55 ifds[-1] = ifd
88 print (' <tag ifd="' + ifds[-1] + '" id="'
/packages/apps/Camera2/src/com/android/camera/exif/
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 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);
273 protected List<ExifTag> getAllTagsForIfd(int ifd) { argument
274 IfdData d = mIfdDatas[ifd];
H A DExifModifier.java128 for (IfdData ifd : ifdDatas) {
129 if (ifd != null && ifd.getTagCount() > 0) {
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 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: "
H A DExifInterface.java1680 int ifd = tag.getIfd();
1681 return getTagDefinitionForTag(tag.getTagId(), type, count, ifd);
1684 protected int getTagDefinitionForTag(short tagId, short type, int count, int ifd) { argument
1698 if (j == ifd) {
2350 protected static boolean isIfdAllowed(int info, int ifd) { argument
2354 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
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 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 DExifModifier.java129 for (IfdData ifd : ifdDatas) {
130 if (ifd != null && ifd.getTagCount() > 0) {
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 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: "
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) {
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
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 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 DExifModifier.java128 for (IfdData ifd : ifdDatas) {
129 if (ifd != null && ifd.getTagCount() > 0) {
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 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: "
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) {
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifParser.java324 mIfdType = ((IfdEvent) event).ifd;
593 int ifd = tag.getIfd();
594 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) {
599 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) {
604 && checkAllowed(ifd, ExifInterface.TAG_INTEROPERABILITY_IFD)) {
609 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT)) {
614 && checkAllowed(ifd, ExifInterface.TAG_JPEG_INTERCHANGE_FORMAT_LENGTH)) {
618 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) {
633 && checkAllowed(ifd, ExifInterface.TAG_STRIP_BYTE_COUNTS)
639 private boolean checkAllowed(int ifd, in argument
893 int ifd; field in class:ExifParser.IfdEvent
896 IfdEvent(int ifd, boolean isInterestedIfd) argument
[all...]
H A DExifData.java160 protected ExifTag getTag(short tag, int ifd) { argument
161 IfdData ifdData = mIfdDatas[ifd];
171 int ifd = tag.getIfd();
172 return addTag(tag, ifd);
278 protected List<ExifTag> getAllTagsForIfd(int ifd) { argument
279 IfdData d = mIfdDatas[ifd];
H A DExifModifier.java129 for (IfdData ifd : ifdDatas) {
130 if (ifd != null && ifd.getTagCount() > 0) {
H A DExifOutputStream.java285 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream) argument
287 ExifTag[] tags = ifd.getAllTags();
305 dataOutputStream.writeInt(ifd.getOffsetToNextIfd());
313 private int calculateOffsetOfIfd(IfdData ifd, int offset) { argument
314 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4;
315 ExifTag[] tags = ifd.getAllTags();
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: "
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) {
2412 protected static boolean isIfdAllowed(int info, int ifd) { argument
2416 if (ifd == ifds[i] && ((ifdFlags >> i) & 1) == 1) {

Completed in 490 milliseconds