Delegate MediaPlayer.LibVLCVideoUnlockCb
- Namespace
- LibVLCSharp.Shared
- Assembly
- LibVLCSharp.dll
Callback prototype to unlock a picture buffer.
public delegate void MediaPlayer.LibVLCVideoUnlockCb(nint opaque, nint picture, nint planes)
Parameters
opaquenintprivate pointer as passed to libvlc_video_set_callbacks() [IN]
picturenintprivate pointer returned from the
planesnintpixel planes as defined by the
Remarks
When the video frame decoding is complete, the unlock callback is invoked.
This callback might not be needed at all. It is only an indication that the
application can now read the pixel values if it needs to.
A picture buffer is unlocked after the picture is decoded,
but before the picture is displayed.
callback [IN]
callback (this parameter is only for convenience) [IN]
Constructors
LibVLCVideoUnlockCb(object, nint)
public LibVLCVideoUnlockCb(object @object, nint method)
Parameters
Methods
BeginInvoke(nint, nint, nint, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(nint opaque, nint picture, nint planes, AsyncCallback callback, object @object)
Parameters
opaquenintpicturenintplanesnintcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(nint, nint, nint)
public virtual void Invoke(nint opaque, nint picture, nint planes)