public static void Scale(SWSContext context, SByteBuffer srcSlice, SIntBuffer srcStride, int srcSliceY, int srcSliceH, SByteBuffer dest, SIntBuffer dstStride) { fixed (byte** src = &srcSlice.NativeObj, dst = &dest.NativeObj) { FFmpegInvoke.sws_scale(context.NativeObj, src, srcStride.NativeObj, srcSliceY, srcSliceH, dst, dstStride.NativeObj); } }
public static void Scale(SWSContext context, DByteBuffer srcSlice, SIntBuffer srcStride, int srcSliceY, int srcSliceH, DByteBuffer dest, SIntBuffer dstStride) { FFmpegInvoke.sws_scale(context.NativeObj, srcSlice.NativeObj, srcStride.NativeObj, srcSliceY, srcSliceH, dest.NativeObj, dstStride.NativeObj); }