Class TIFFModifiedHuffmanCodec
java.lang.Object
org.eclipse.swt.internal.image.TIFFModifiedHuffmanCodec
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) int(package private) static final short[][][](package private) static final int(package private) int(package private) int(package private) int(package private) int(package private) byte[](package private) boolean(package private) int(package private) int(package private) byte[](package private) static final short[][][](package private) static final int(package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdecode(byte[] src, byte[] dest, int offsetDest, int rowSize, int nRows) (package private) boolean(package private) int(package private) int(package private) intgetNextBits(int cnt) (package private) voidsetNextBits(int value, int cnt)
-
Field Details
-
BLACK_CODE
static final short[][][] BLACK_CODE -
WHITE_CODE
static final short[][][] WHITE_CODE -
BLACK_MIN_BITS
static final int BLACK_MIN_BITS- See Also:
-
WHITE_MIN_BITS
static final int WHITE_MIN_BITS- See Also:
-
isWhite
boolean isWhite -
whiteValue
int whiteValue -
blackValue
int blackValue -
src
byte[] src -
dest
byte[] dest -
byteOffsetSrc
int byteOffsetSrc -
bitOffsetSrc
int bitOffsetSrc -
byteOffsetDest
int byteOffsetDest -
bitOffsetDest
int bitOffsetDest -
code
int code -
nbrBits
int nbrBits -
rowSize
int rowSize
-
-
Constructor Details
-
TIFFModifiedHuffmanCodec
TIFFModifiedHuffmanCodec()
-
-
Method Details
-
decode
public int decode(byte[] src, byte[] dest, int offsetDest, int rowSize, int nRows) -
decodeRow
boolean decodeRow() -
decodeRunLength
int decodeRunLength() -
getNextBit
int getNextBit() -
getNextBits
int getNextBits(int cnt) -
setNextBits
void setNextBits(int value, int cnt)
-