示例#1
0
 public Cjpeg(Cjpeg prev)
 {
     app0 = new APP0(prev.app0);
     dqt = new DQT(prev.dqt);
     dht = new DHT(prev.dht);
     sof = new SOF0(prev.sof);
     sos = new SOS(prev.sos);
     cb = new CBlock(prev.cb);
 }
示例#2
0
        public SOS(SOS prev)
        {
            if (prev.id != null)
            {
                id = new byte[prev.id.Length];
                prev.id.CopyTo(id, 0);
            }
            head_length = prev.head_length;

            cbs = new CbitStream(prev.cbs);
        }