java.lang.Object
javax.imageio.stream.ImageInputStreamImpl
org.monte.media.io.ImageInputStreamImpl2
org.monte.media.io.FilterImageInputStream
org.monte.media.quicktime.QTFFImageInputStream
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable,ImageInputStream
QuickTimeImageInputStream.- Author:
- Werner Randelshofer
-
Field Summary
FieldsFields inherited from class org.monte.media.io.FilterImageInputStream
inFields inherited from class org.monte.media.io.ImageInputStreamImpl2
byteBufFields inherited from class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReads 32-bit fixed-point number divided as 16.16.doubleReads 32-bit fixed-point number divided as 2.30.doubleReads 16-bit fixed-point number divided as 8.8.Reads a 32-bit Mac timestamp (seconds since 1902).readPString(int fixedSize) Reads a Pascal String which is padded to a fixed size.readType()intintMethods inherited from class org.monte.media.io.FilterImageInputStream
close, flushBefore, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, read, read, seek, skipBytes, skipBytesMethods inherited from class org.monte.media.io.ImageInputStreamImpl2
readInt, readShortMethods inherited from class javax.imageio.stream.ImageInputStreamImpl
checkClosed, finalize, flush, getBitOffset, getByteOrder, getFlushedPosition, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readLine, readLong, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder
-
Field Details
-
MAC_TIMESTAMP_EPOCH
protected static final long MAC_TIMESTAMP_EPOCH
-
-
Constructor Details
-
QTFFImageInputStream
-
-
Method Details
-
readMacTimestamp
Reads a 32-bit Mac timestamp (seconds since 1902).- Returns:
- date
- Throws:
IOException
-
readFixed16D16
Reads 32-bit fixed-point number divided as 16.16.- Throws:
IOException
-
readFixed2D30
Reads 32-bit fixed-point number divided as 2.30.- Throws:
IOException
-
readFixed8D8
Reads 16-bit fixed-point number divided as 8.8.- Throws:
IOException
-
readType
- Throws:
IOException
-
readPString
- Throws:
IOException
-
readPString
Reads a Pascal String which is padded to a fixed size.- Throws:
IOException
-
readUnsignedBCD4
- Throws:
IOException
-
readUnsignedBCD2
- Throws:
IOException
-