MediaPlayerLibVLCVideoLockCb 委托 |
A LibVLC media player plays one media (usually in a custom drawable).
@{
LibVLC simple media player external API
命名空间: LibVLCSharp.Shared
public delegate IntPtr LibVLCVideoLockCb( IntPtr opaque, IntPtr planes )
start address of the pixel planes (LibVLC allocates the array
of void pointers, this callback must initialize the array) [OUT]
a private pointer for the display and unlock callbacks to identify
the picture buffers
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.