| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv byte[] | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv ImageData | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv LEDataInputStream | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv byte[] | |
| pack-priv ImageLoader | |
| pack-priv static final int[] | |
| pack-priv int | |
| pack-priv LZWNode[] | |
| pack-priv LEDataOutputStream | |
| pack-priv int | |
| pack-priv int[] | |
| pack-priv int[] | |
| pack-priv int[] | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| public void | decode(LEDataInputStream inputStream, ImageLoader loader, ImageData image, boolean interlaced, int depth)
Decode the LZW-encoded bytes in the given byte stream into the given DeviceIndependentImage. |
| pack-priv void | |
| public void | encode(LEDataOutputStream byteStream, ImageData image)
Encode the bytes into the given byte stream from the given DeviceIndependentImage. |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| pack-priv void |
| bitsLeft | back to summary |
|---|---|
| pack-priv int bitsLeft | |
| bitsPerPixel | back to summary |
|---|---|
| pack-priv int bitsPerPixel | |
| block | back to summary |
|---|---|
| pack-priv byte[] block | |
| blockIndex | back to summary |
|---|---|
| pack-priv int blockIndex | |
| blockSize | back to summary |
|---|---|
| pack-priv int blockSize | |
| clearCode | back to summary |
|---|---|
| pack-priv int clearCode | |
| codeMask | back to summary |
|---|---|
| pack-priv int codeMask | |
| codeSize | back to summary |
|---|---|
| pack-priv int codeSize | |
| currentByte | back to summary |
|---|---|
| pack-priv int currentByte | |
| currentSlot | back to summary |
|---|---|
| pack-priv int currentSlot | |
| endCode | back to summary |
|---|---|
| pack-priv int endCode | |
| image | back to summary |
|---|---|
| pack-priv ImageData image | |
| imageHeight | back to summary |
|---|---|
| pack-priv int imageHeight | |
| imageWidth | back to summary |
|---|---|
| pack-priv int imageWidth | |
| imageX | back to summary |
|---|---|
| pack-priv int imageX | |
| imageY | back to summary |
|---|---|
| pack-priv int imageY | |
| inputStream | back to summary |
|---|---|
| pack-priv LEDataInputStream inputStream | |
| interlaced | back to summary |
|---|---|
| pack-priv boolean interlaced | |
| line | back to summary |
|---|---|
| pack-priv int line | |
| lineArray | back to summary |
|---|---|
| pack-priv byte[] lineArray | |
| loader | back to summary |
|---|---|
| pack-priv ImageLoader loader | |
| MASK_TABLE | back to summary |
|---|---|
| pack-priv static final int[] MASK_TABLE | |
| newCodes | back to summary |
|---|---|
| pack-priv int newCodes | |
| nodeStack | back to summary |
|---|---|
| pack-priv LZWNode[] nodeStack | |
| outputStream | back to summary |
|---|---|
| pack-priv LEDataOutputStream outputStream | |
| pass | back to summary |
|---|---|
| pack-priv int pass | |
| prefix | back to summary |
|---|---|
| pack-priv int[] prefix | |
| stack | back to summary |
|---|---|
| pack-priv int[] stack | |
| suffix | back to summary |
|---|---|
| pack-priv int[] suffix | |
| topSlot | back to summary |
|---|---|
| pack-priv int topSlot | |
| LZWCodec | back to summary |
|---|---|
| pack-priv LZWCodec() | |
| copyRow | back to summary |
|---|---|
| pack-priv void copyRow(byte[] buf, int copies) Copy duplicate rows of pixel values to the image. This is to fill in rows if the image is interlaced. | |
| decode | back to summary |
|---|---|
| pack-priv void decode() Decode the input. | |
| decode | back to summary |
|---|---|
| public void decode(LEDataInputStream inputStream, ImageLoader loader, ImageData image, boolean interlaced, int depth) Decode the LZW-encoded bytes in the given byte stream into the given DeviceIndependentImage. | |
| encode | back to summary |
|---|---|
| pack-priv void encode() Encode the image. | |
| encode | back to summary |
|---|---|
| public void encode(LEDataOutputStream byteStream, ImageData image) Encode the bytes into the given byte stream from the given DeviceIndependentImage. | |
| encodeLoop | back to summary |
|---|---|
| pack-priv int encodeLoop() Encoding loop broken out to allow early return. | |
| initializeForDecoding | back to summary |
|---|---|
| pack-priv void initializeForDecoding() Initialize the receiver for decoding the given byte array. | |
| initializeForEncoding | back to summary |
|---|---|
| pack-priv void initializeForEncoding() Initialize the receiver for encoding the given byte array. | |
| nextCode | back to summary |
|---|---|
| pack-priv int nextCode() Answer the next code from the input byte array. | |
| nextPixel | back to summary |
|---|---|
| pack-priv int nextPixel() Answer the next pixel to encode in the image | |
| nextPixels | back to summary |
|---|---|
| pack-priv void nextPixels(byte[] buf, int lineWidth) Copy a row of pixel values from the image. | |
| nextPutCode | back to summary |
|---|---|
| pack-priv void nextPutCode(int aCode) Output aCode to the output stream. | |
| nextPutPixels | back to summary |
|---|---|
| pack-priv void nextPutPixels(byte[] buf) Copy a row of pixel values to the image. | |
| readBlock | back to summary |
|---|---|
| pack-priv int readBlock() Read a block from the byte stream. Return the number of bytes read. Throw an exception if the block could not be read. | |
| writeBlock | back to summary |
|---|---|
| pack-priv void writeBlock() Write a block to the byte stream. Throw an exception if the block could not be written. | |