예제 #1
0
 public Token()
 {
     /* Init DHT Tables to 0. */
     for (int i = 0; i < WSQConstants.MAX_DHT_TABLES; i++)
     {
         tableDHT[i]        = new TableDHT();
         tableDHT[i].tabdef = 0;
     }
 }
예제 #2
0
        private void initialize()
        {
            tableDTT   = new TableDTT();
            tableDQT   = new Table_DQT();
            quant_vals = new Quantization();
            comments   = new List <String>();

            /* Init DHT Tables to 0. */
            tableDHT = new TableDHT[WSQConstants.MAX_DHT_TABLES];
            for (int i = 0; i < WSQConstants.MAX_DHT_TABLES; i++)
            {
                tableDHT[i]        = new TableDHT();
                tableDHT[i].tabdef = 0;
            }
        }