Class ArithmeticDecoderStats

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

public class ArithmeticDecoderStats extends Object

ArithmeticDecoderStats class.

  • Constructor Details

    • ArithmeticDecoderStats

      public ArithmeticDecoderStats(int contextSize)

      Constructor for ArithmeticDecoderStats.

      Parameters:
      contextSize - a Integer object.
  • Method Details

    • reset

      public void reset()

      reset.

    • setEntry

      public void setEntry(int codingContext, int i, int moreProbableSymbol)

      setEntry.

      Parameters:
      codingContext - a Integer object.
      i - a Integer object.
      moreProbableSymbol - a Integer object.
    • getContextCodingTableValue

      public int getContextCodingTableValue(int index)

      getContextCodingTableValue.

      Parameters:
      index - a Integer object.
      Returns:
      a Integer object.
    • setContextCodingTableValue

      public void setContextCodingTableValue(int index, int value)

      setContextCodingTableValue.

      Parameters:
      index - a Integer object.
      value - a Integer object.
    • overwrite

      public void overwrite(ArithmeticDecoderStats stats)

      overwrite.

      Parameters:
      stats - a ArithmeticDecoderStats object.
    • copy

      public ArithmeticDecoderStats copy()

      copy.

      Returns:
      a ArithmeticDecoderStats object.