public ArithmeticCoder(BitWriter writer)
 {
     Writer          = writer;
     arithmeticModel = new ArithmeticModel(TOTAL_SYMBOLS);
 }
Ejemplo n.º 2
0
 public ArithmeticDecoder(BitReader reader)
 {
     this.reader     = reader;
     Code            = reader.ReadNBits(32);
     arithmeticModel = new ArithmeticModel(TOTAL_SYMBOLS);
 }