Lines Matching defs:offset

345     // Private tags used for pointing the other IFD offset. The types of the following tags are int.
1002 // List of tags for pointing to the other image file directory offset.
1012 // Tags for indicating the thumbnail offset and length
1119 * for writable and seekable file descriptors only. This constructor will not rewind the offset
1671 * Returns the offset and length of thumbnail inside the image file, or
1674 * @return two-element array, the offset in the first value, and length in
2080 // Read first ifd offset
2083 throw new IOException("Invalid first Ifd offset: " + firstIfdOffset);
2123 Log.d(TAG, "Thumbnail offset: " + mThumbnailOffset + ", length: "
2167 // Return if there is no data from the offset.
2186 // offset or value.
2208 // Read a value from data field or seek to the value offset which is stored in data
2212 long offset = dataInputStream.readUnsignedInt();
2214 Log.d(TAG, "seek to data offset: " + offset);
2216 if (offset + byteCount <= dataInputStream.mLength) {
2217 dataInputStream.seek(offset);
2219 // Skip if invalid data offset.
2220 Log.w(TAG, "Skip the tag entry since data offset is invalid: " + offset);
2233 long offset = -1L;
2234 // Get offset from data field
2237 offset = dataInputStream.readUnsignedShort();
2241 offset = dataInputStream.readShort();
2245 offset = dataInputStream.readUnsignedInt();
2249 offset = dataInputStream.readInt();
2258 Log.d(TAG, String.format("Offset: %d, tagName: %s", offset, tag.name));
2260 if (offset > 0L && offset < dataInputStream.mLength) {
2261 dataInputStream.seek(offset);
2264 Log.w(TAG, "Skip jump into the IFD since its offset is invalid: " + offset);
2285 // The next IFD offset needs to be bigger than 8
2286 // since the first IFD offset is at least 8.
2329 // Add IFD pointer tags. The next offset of primary image TIFF IFD will have thumbnail IFD
2330 // offset when there is one or more tags in the thumbnail IFD.
2446 // Write the next offset. It writes the offset of thumbnail IFD if there is one or
2455 // Write values of data field exceeding 4 bytes after the next offset.
2737 public void write(byte[] bytes, int offset, int length) throws IOException {
2738 mOutputStream.write(bytes, offset, length);