|
|
|
|
|
|
public int rowBytes; |
|
|
|
} |
|
|
|
|
|
|
|
public class Image : NativeWrapperCPtrDisposable, IEquatable<Image> { |
|
|
|
|
|
|
|
public class Image : NativeWrapperDisposable, IEquatable<Image> { |
|
|
|
public override void DisposeCPtrImpl(IntPtr ptr) { |
|
|
|
Image_dispose(ptr); |
|
|
|
public override void DisposePtr(IntPtr ptr) { |
|
|
|
Image_dispose(ptr); |
|
|
|
} |
|
|
|
|
|
|
|
public int width => Image_width(_ptr); |
|
|
|
|
|
|
|
|
|
|
public delegate void ImageDecoderCallback(Image result); |
|
|
|
|
|
|
|
public class FrameInfo : NativeWrapperCPtrDisposable { |
|
|
|
|
|
|
|
public class FrameInfo : NativeWrapper { |
|
|
|
public override void DisposeCPtrImpl(IntPtr ptr) { |
|
|
|
public override void DisposePtr(IntPtr ptr) { |
|
|
|
|
|
|
|
|
|
|
|
private Image _image; |
|
|
|
|
|
|
|
public Image image { |
|
|
|
get { |
|
|
|
if(_image == null){ |
|
|
|
_image = new Image(FrameInfo_image(_ptr)); |
|
|
|
} |
|
|
|
|
|
|
|
return _image; |
|
|
|
} |
|
|
|
} |
|
|
|
public Image image => new Image(FrameInfo_image(_ptr)); |
|
|
|
|
|
|
|
[DllImport(NativeBindings.dllName)] |
|
|
|
static extern void FrameInfo_dispose(IntPtr ptr); |
|
|
|
|
|
|
reverseDifference, |
|
|
|
} |
|
|
|
|
|
|
|
public abstract class EngineLayer : NativeWrapperCPtrDisposable { |
|
|
|
public abstract class EngineLayer : NativeWrapper { |
|
|
|
public override void DisposeCPtrImpl(IntPtr ptr) { |
|
|
|
public override void DisposePtr(IntPtr ptr) { |
|
|
|
EngineLayer_dispose(ptr); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
bool transparentOccluder); |
|
|
|
} |
|
|
|
|
|
|
|
public class Picture : NativeWrapperCPtrDisposable { |
|
|
|
|
|
|
|
public class Picture : NativeWrapperDisposable { |
|
|
|
public override void DisposeCPtrImpl(IntPtr ptr) { |
|
|
|
public override void DisposePtr(IntPtr ptr) { |
|
|
|
Picture_dispose(ptr); |
|
|
|
} |
|
|
|
|
|
|
|