org.jpedal.jbig2.decoders
Class ArithmeticDecoderStats

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

public class ArithmeticDecoderStats
extends java.lang.Object


Constructor Summary
ArithmeticDecoderStats(int contextSize)
           
 
Method Summary
 ArithmeticDecoderStats copy()
           
 int getContextCodingTableValue(int index)
           
 int getContextSize()
           
 void overwrite(ArithmeticDecoderStats stats)
           
 void reset()
           
 void setContextCodingTableValue(int index, int value)
           
 void setEntry(int codingContext, int i, int moreProbableSymbol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArithmeticDecoderStats

public ArithmeticDecoderStats(int contextSize)
Method Detail

reset

public void reset()

setEntry

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

getContextCodingTableValue

public int getContextCodingTableValue(int index)

setContextCodingTableValue

public void setContextCodingTableValue(int index,
                                       int value)

getContextSize

public int getContextSize()

overwrite

public void overwrite(ArithmeticDecoderStats stats)

copy

public ArithmeticDecoderStats copy()