|
|||||||||
| Home >> All >> org >> eclipse >> swt >> internal >> [ image overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.swt.internal.image
Class PngDecodingDataStream

java.lang.Objectorg.eclipse.swt.internal.image.PngDecodingDataStream
- public class PngDecodingDataStream
- extends java.lang.Object
| Field Summary | |
(package private) int |
adlerValue
|
(package private) PngChunkReader |
chunkReader
|
(package private) byte |
currentByte
|
(package private) PngIdatChunk |
currentChunk
|
(package private) PngLzBlockReader |
lzBlockReader
|
(package private) static int |
MAX_BIT
|
(package private) int |
nextBitIndex
|
(package private) int |
nextByteIndex
|
(package private) static int |
PRIME
|
| Constructor Summary | |
(package private) |
PngDecodingDataStream(PngIdatChunk idatChunk,
PngChunkReader chunkReader)
|
| Method Summary | |
(package private) void |
assertImageDataAtEnd()
This method should be called when the image decoder thinks that all of the compressed image data has been read. |
(package private) void |
checkAdler()
|
(package private) void |
error()
|
private PngIdatChunk |
getNextChunk()
|
(package private) byte |
getNextDecodedByte()
|
(package private) byte |
getNextIdatBit()
|
(package private) int |
getNextIdatBits(int length)
|
(package private) byte |
getNextIdatByte()
|
private void |
readCompressedDataHeader()
|
private void |
updateAdler(byte value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
currentChunk
PngIdatChunk currentChunk
chunkReader
PngChunkReader chunkReader
currentByte
byte currentByte
nextByteIndex
int nextByteIndex
nextBitIndex
int nextBitIndex
lzBlockReader
PngLzBlockReader lzBlockReader
adlerValue
int adlerValue
PRIME
static final int PRIME
- See Also:
- Constant Field Values
MAX_BIT
static final int MAX_BIT
- See Also:
- Constant Field Values
| Constructor Detail |
PngDecodingDataStream
PngDecodingDataStream(PngIdatChunk idatChunk, PngChunkReader chunkReader)
| Method Detail |
assertImageDataAtEnd
void assertImageDataAtEnd()
- This method should be called when the image decoder thinks
that all of the compressed image data has been read. This
method will ensure that the next data value is an end of
block marker. If there are more blocks after this one,
the method will read them and ensure that they are empty.
getNextIdatBits
int getNextIdatBits(int length)
getNextIdatBit
byte getNextIdatBit()
getNextChunk
private PngIdatChunk getNextChunk()
getNextIdatByte
byte getNextIdatByte()
updateAdler
private void updateAdler(byte value)
getNextDecodedByte
byte getNextDecodedByte()
error
void error()
readCompressedDataHeader
private void readCompressedDataHeader()
checkAdler
void checkAdler()
|
|||||||||
| Home >> All >> org >> eclipse >> swt >> internal >> [ image overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.eclipse.swt.internal.image.PngDecodingDataStream