Class MMRDecoder

java.lang.Object
org.jpedal.jbig2.decoders.MMRDecoder

public class MMRDecoder extends Object

MMRDecoder class.

  • Field Details

    • ccittEndOfLine

      public static final int ccittEndOfLine
      Constant ccittEndOfLine=-2
      See Also:
    • twoDimensionalPass

      public static final int twoDimensionalPass
      Constant twoDimensionalPass=0
      See Also:
    • twoDimensionalHorizontal

      public static final int twoDimensionalHorizontal
      Constant twoDimensionalHorizontal=1
      See Also:
    • twoDimensionalVertical0

      public static final int twoDimensionalVertical0
      Constant twoDimensionalVertical0=2
      See Also:
    • twoDimensionalVerticalR1

      public static final int twoDimensionalVerticalR1
      Constant twoDimensionalVerticalR1=3
      See Also:
    • twoDimensionalVerticalL1

      public static final int twoDimensionalVerticalL1
      Constant twoDimensionalVerticalL1=4
      See Also:
    • twoDimensionalVerticalR2

      public static final int twoDimensionalVerticalR2
      Constant twoDimensionalVerticalR2=5
      See Also:
    • twoDimensionalVerticalL2

      public static final int twoDimensionalVerticalL2
      Constant twoDimensionalVerticalL2=6
      See Also:
    • twoDimensionalVerticalR3

      public static final int twoDimensionalVerticalR3
      Constant twoDimensionalVerticalR3=7
      See Also:
    • twoDimensionalVerticalL3

      public static final int twoDimensionalVerticalL3
      Constant twoDimensionalVerticalL3=8
      See Also:
  • Constructor Details

    • MMRDecoder

      public MMRDecoder(StreamReader reader)

      Constructor for MMRDecoder.

      Parameters:
      reader - a StreamReader object.
  • Method Details

    • reset

      public void reset()

      reset.

    • skipTo

      public void skipTo(int length)

      skipTo.

      Parameters:
      length - a Integer 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.