点击或拖拽改变大小

MediaPlayerLibVLCVideoLockCb 委托

A LibVLC media player plays one media (usually in a custom drawable).

@{

LibVLC simple media player external API

Opaque equalizer handle.
Callback prototype to allocate and lock a picture buffer.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public delegate IntPtr LibVLCVideoLockCb(
	IntPtr opaque,
	IntPtr planes
)

参数

opaque
类型:SystemIntPtr
private pointer as passed to libvlc_video_set_callbacks() [IN]
planes
类型:SystemIntPtr

start address of the pixel planes (LibVLC allocates the array

of void pointers, this callback must initialize the array) [OUT]

返回值

类型:IntPtr

a private pointer for the display and unlock callbacks to identify

the picture buffers

备注
Equalizer settings can be applied to a media player.
备注

Whenever a new video frame needs to be decoded, the lock callback is

invoked. Depending on the video chroma, one or three pixel planes of

adequate dimensions must be returned via the second parameter. Those

planes must be aligned on 32-bytes boundaries.

参见