|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.tidalwave.imageio.decoder.LosslessJPEGDecoder
public class LosslessJPEGDecoder
This class implements a 16-bit Lossless JPEG decoder. This kind of encoding is widely used by some RAW formats which include blocks of encoded data.
| Constructor Summary | |
|---|---|
LosslessJPEGDecoder()
Creates an empty decoder. |
|
| Method Summary | |
|---|---|
short[] |
loadRow(RAWImageInputStream iis)
Loads and decodes another row of data from this encoder. |
void |
reset(javax.imageio.stream.ImageInputStream iis)
Links the decoder to a given input stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LosslessJPEGDecoder()
reset(ImageInputStream) method. The same
instance can be reused more than once by resetting it multiple times.
| Method Detail |
|---|
public void reset(javax.imageio.stream.ImageInputStream iis)
throws java.io.IOException
iis - the input stream
java.io.IOException - if an I/O error occurs
public short[] loadRow(RAWImageInputStream iis)
throws java.io.IOException
iis - the bit reader to read data from
java.io.IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||