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); }
public SOF0(SOF0 prev) { id = new byte[prev.id.Length]; prev.id.CopyTo(id, 0); head_length = prev.head_length; height = prev.height; width = prev.width; acc_sampling = prev.acc_sampling; n_sample = prev.n_sample; subsample_ratio = new byte[prev.subsample_ratio.Length]; prev.subsample_ratio.CopyTo(subsample_ratio, 0); t_sel = new byte[prev.t_sel.Length]; prev.t_sel.CopyTo(t_sel, 0); }