unsafe protected override void ConvolveLine(byte *bstart, byte *wstart, byte *tstart, byte *ostart, byte *pmapy, int smapy, int ox, int oy, int ow) { fixed(byte *blurstart = &blurBuff.Array[0]) { int cy = oy - IntStartLine; byte *bp = bstart + cy * BufferStride; byte *wp = wstart + cy * WorkStride; YProcessor.WriteDestLine(tstart, blurstart, ox, ow, pmapy, smapy); processor.SharpenLine(bp, wp, blurstart, ostart, ox, ow, sharpenSettings.Amount, sharpenSettings.Threshold, Format.Colorspace == PixelColorspace.LinearRgb); } }
unsafe protected virtual void ConvolveLine(byte *bstart, byte *wstart, byte *tstart, byte *ostart, byte *pmapy, int smapy, int ox, int oy, int ow) { YProcessor.WriteDestLine(tstart, ostart, ox, ow, pmapy, smapy); }