internal Coder EncodeStart(PpmdProperties properties) { Allocator = properties.Allocator; Coder = new Coder(); Coder.RangeEncoderInitialize(); StartModel(properties.ModelOrder, properties.ModelRestorationMethod); return(Coder); }
internal Coder DecodeStart(Stream source, PpmdProperties properties) { Allocator = properties.Allocator; Coder = new Coder(); Coder.RangeDecoderInitialize(source); StartModel(properties.ModelOrder, properties.ModelRestorationMethod); minimumContext = maximumContext; numberStatistics = minimumContext.NumberStatistics; return(Coder); }
internal Coder DecodeStart(Stream source, PpmdProperties properties) { Allocator = properties.Allocator; Coder = new Coder(); Coder.RangeDecoderInitialize(source); StartModel(properties.ModelOrder, properties.ModelRestorationMethod); minimumContext = maximumContext; numberStatistics = minimumContext.NumberStatistics; return Coder; }
internal Coder EncodeStart(PpmdProperties properties) { Allocator = properties.Allocator; Coder = new Coder(); Coder.RangeEncoderInitialize(); StartModel(properties.ModelOrder, properties.ModelRestorationMethod); return Coder; }