Home
last modified time | relevance | path

Searched refs:firstIfdOffset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DExifInterface.java2941 int firstIfdOffset = dataInputStream.readInt(); in parseTiffHeaders() local
2942 if (firstIfdOffset < 8 || firstIfdOffset >= exifBytesLength) { in parseTiffHeaders()
2943 throw new IOException("Invalid first Ifd offset: " + firstIfdOffset); in parseTiffHeaders()
2945 firstIfdOffset -= 8; in parseTiffHeaders()
2946 if (firstIfdOffset > 0) { in parseTiffHeaders()
2947 if (dataInputStream.skipBytes(firstIfdOffset) != firstIfdOffset) { in parseTiffHeaders()
2948 throw new IOException("Couldn't jump to first Ifd: " + firstIfdOffset); in parseTiffHeaders()
/frameworks/support/exifinterface/src/main/java/androidx/exifinterface/media/
DExifInterface.java5305 int firstIfdOffset = dataInputStream.readInt();
5306 if (firstIfdOffset < 8 || firstIfdOffset >= exifBytesLength) {
5307 throw new IOException("Invalid first Ifd offset: " + firstIfdOffset);
5309 firstIfdOffset -= 8;
5310 if (firstIfdOffset > 0) {
5311 if (dataInputStream.skipBytes(firstIfdOffset) != firstIfdOffset) {
5312 throw new IOException("Couldn't jump to first Ifd: " + firstIfdOffset);