Package org.jpedal.jbig2.decoders
Class MMRDecoder
java.lang.Object
org.jpedal.jbig2.decoders.MMRDecoder
MMRDecoder class.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ConstantccittEndOfLine=-2
static final int
ConstanttwoDimensionalHorizontal=1
static final int
ConstanttwoDimensionalPass=0
static final int
ConstanttwoDimensionalVertical0=2
static final int
ConstanttwoDimensionalVerticalL1=4
static final int
ConstanttwoDimensionalVerticalL2=6
static final int
ConstanttwoDimensionalVerticalL3=8
static final int
ConstanttwoDimensionalVerticalR1=3
static final int
ConstanttwoDimensionalVerticalR2=5
static final int
ConstanttwoDimensionalVerticalR3=7
-
Constructor Summary
-
Method Summary
-
Field Details
-
ccittEndOfLine
public static final int ccittEndOfLineConstantccittEndOfLine=-2
- See Also:
-
twoDimensionalPass
public static final int twoDimensionalPassConstanttwoDimensionalPass=0
- See Also:
-
twoDimensionalHorizontal
public static final int twoDimensionalHorizontalConstanttwoDimensionalHorizontal=1
- See Also:
-
twoDimensionalVertical0
public static final int twoDimensionalVertical0ConstanttwoDimensionalVertical0=2
- See Also:
-
twoDimensionalVerticalR1
public static final int twoDimensionalVerticalR1ConstanttwoDimensionalVerticalR1=3
- See Also:
-
twoDimensionalVerticalL1
public static final int twoDimensionalVerticalL1ConstanttwoDimensionalVerticalL1=4
- See Also:
-
twoDimensionalVerticalR2
public static final int twoDimensionalVerticalR2ConstanttwoDimensionalVerticalR2=5
- See Also:
-
twoDimensionalVerticalL2
public static final int twoDimensionalVerticalL2ConstanttwoDimensionalVerticalL2=6
- See Also:
-
twoDimensionalVerticalR3
public static final int twoDimensionalVerticalR3ConstanttwoDimensionalVerticalR3=7
- See Also:
-
twoDimensionalVerticalL3
public static final int twoDimensionalVerticalL3ConstanttwoDimensionalVerticalL3=8
- See Also:
-
-
Constructor Details
-
MMRDecoder
Constructor for MMRDecoder.
- Parameters:
reader
- aStreamReader
object.
-
-
Method Details
-
reset
public void reset()reset.
-
skipTo
public void skipTo(int length) skipTo.
- Parameters:
length
- aInteger
object.
-
get24Bits
public long get24Bits()get24Bits.
- Returns:
- a long.
-
get2DCode
public int get2DCode()get2DCode.
- Returns:
- a
Integer
object.
-
getWhiteCode
public int getWhiteCode()getWhiteCode.
- Returns:
- a
Integer
object.
-
getBlackCode
public int getBlackCode()getBlackCode.
- Returns:
- a
Integer
object.
-