public byte PredictValue(params byte[] values)
        {
            var a = values[0];
            var b = values[1];
            var c = values[2];

            if (c >= Max(a, b))
            {
                return(Min(a, b));
            }

            if (c <= Min(a, b))
            {
                return(Max(a, b));
            }

            return(PredictorCommon.GetAbsoluteByteFromInt(a + b - c));
        }
 public byte PredictValue(params byte[] values)
 {
     return(PredictorCommon.GetAbsoluteByteFromInt(values[0] + (values[1] - values[2] / 2)));
 }