Table of Contents

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

opaque nint

private pointer as passed to libvlc_video_set_callbacks() [IN]

picture nint

private pointer returned from the

planes nint

pixel 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

object object
method nint

Methods

BeginInvoke(nint, nint, nint, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(nint opaque, nint picture, nint planes, AsyncCallback callback, object @object)

Parameters

opaque nint
picture nint
planes nint
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(nint, nint, nint)

public virtual void Invoke(nint opaque, nint picture, nint planes)

Parameters

opaque nint
picture nint
planes nint