Package gov.nih.mipav.model.file
Class FileSVS.JPEGBitInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
gov.nih.mipav.model.file.FileSVS.JPEGBitInputStream
- All Implemented Interfaces:
FileSVS.JPEGConstants,Closeable,AutoCloseable
- Enclosing class:
FileSVS
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate int(package private) FileSVS.JPEGInputStreamFields inherited from class java.io.FilterInputStream
inFields inherited from interface gov.nih.mipav.model.file.FileSVS.JPEGConstants
APP0, APP1, APP10, APP11, APP12, APP13, APP14, APP15, APP2, APP3, APP4, APP5, APP6, APP7, APP8, APP9, COM, CQT, CQT2, DAC, DCTBlockSize, DCTSize, DHP, DHT, DNL, DQT, DRI, EOI, EXP, HCACTable, HCDCTable, HLACTable, HLDCTable, IZigZagTable, JPG, JPG0, JPG1, JPG10, JPG11, JPG12, JPG13, JPG2, JPG3, JPG4, JPG5, JPG6, JPG7, JPG8, JPG9, LQT, LQT2, MARK, RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7, SOF0, SOF1, SOF10, SOF11, SOF13, SOF14, SOF15, SOF2, SOF3, SOF5, SOF6, SOF7, SOF9, SOI, SOS, TEM, ZigZagTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintreadBit()intreadBits(int neededBits) intprivate intreadIn()protected InputStreamvoidstart()Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
jpeg
-
bitBuffer
private int bitBuffer -
bitCount
private int bitCount
-
-
Constructor Details
-
JPEGBitInputStream
- Throws:
IOException
-
-
Method Details
-
readIn
- Throws:
IOException
-
readMarkedSegment
- Throws:
IOException
-
readCompressed
- Throws:
IOException
-
start
- Throws:
IOException
-
readBit
- Throws:
IOException
-
readBits
- Throws:
IOException
-