mirror of
https://github.com/cosyneco/MediaPipe.NET.git
synced 2025-08-24 08:40:39 +08:00
This did not commit AUGHHH
Signed-off-by: Ayane <ayane@vignetteapp.org>
This commit is contained in:
@ -45,10 +45,6 @@ namespace Mediapipe.Net.Framework.Format
|
|||||||
|
|
||||||
public ImageFrame(ImageFormat.Types.Format format, int width, int height, int widthStep, ReadOnlySpan<byte> pixelData, Deleter deleter) : this(format, width, height, widthStep, spanToBytePtr(pixelData), deleter) { }
|
public ImageFrame(ImageFormat.Types.Format format, int width, int height, int widthStep, ReadOnlySpan<byte> pixelData, Deleter deleter) : this(format, width, height, widthStep, spanToBytePtr(pixelData), deleter) { }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public ImageFrame(ImageFormat.Types.Format format, int width, int height, int widthStep, IntPtr pixelData) : this(format, width, height, widthStep, pixelData, VoidDeleter) { }
|
|
||||||
|
|
||||||
public ImageFrame(ImageFormat.Types.Format format, int width, int height, int widthStep, ReadOnlySpan<byte> pixelData) : this(format, width, height, widthStep, pixelData, VoidDeleter) { }
|
public ImageFrame(ImageFormat.Types.Format format, int width, int height, int widthStep, ReadOnlySpan<byte> pixelData) : this(format, width, height, widthStep, pixelData, VoidDeleter) { }
|
||||||
|
|
||||||
public static void VoidDeleter(IntPtr _) { }
|
public static void VoidDeleter(IntPtr _) { }
|
||||||
|
Reference in New Issue
Block a user