예제 #1
0
        public int Call()
        {
            int       count     = 0;
            Stopwatch stopwatch = Stopwatch.StartNew();

            while (stopwatch.ElapsedMilliseconds < 10000)
            {
                foreach (DoubleMatrix block in _channel.GetBlocks(0, _channel.GetNumOfBlocks()))
                {
                    DCT.Naive(block);
                }

                count++;
            }

            stopwatch.Stop();
            return(count);
        }
 public static void Direct(DoubleMatrix x)
 {
     DCT.Naive(x);
 }