final class TIFFModifiedHuffmanCodec
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
bitOffsetDest |
(package private) int |
bitOffsetSrc |
(package private) static short[][][] |
BLACK_CODE |
(package private) static int |
BLACK_MIN_BITS |
(package private) int |
blackValue |
(package private) int |
byteOffsetDest |
(package private) int |
byteOffsetSrc |
(package private) int |
code |
(package private) byte[] |
dest |
(package private) boolean |
isWhite |
(package private) int |
nbrBits |
(package private) int |
rowSize |
(package private) byte[] |
src |
(package private) static short[][][] |
WHITE_CODE |
(package private) static int |
WHITE_MIN_BITS |
(package private) int |
whiteValue |
Constructor and Description |
---|
TIFFModifiedHuffmanCodec() |
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] src,
byte[] dest,
int offsetDest,
int rowSize,
int nRows) |
(package private) boolean |
decodeRow() |
(package private) int |
decodeRunLength() |
(package private) int |
getNextBit() |
(package private) int |
getNextBits(int cnt) |
(package private) void |
setNextBits(int value,
int cnt) |
static final short[][][] BLACK_CODE
static final short[][][] WHITE_CODE
static final int BLACK_MIN_BITS
static final int WHITE_MIN_BITS
boolean isWhite
int whiteValue
int blackValue
byte[] src
byte[] dest
int byteOffsetSrc
int bitOffsetSrc
int byteOffsetDest
int bitOffsetDest
int code
int nbrBits
int rowSize