public interface libvlc_lock_callback_t
extends com.sun.jna.Callback
Modifier and Type | Method and Description |
---|---|
com.sun.jna.Pointer |
lock(com.sun.jna.Pointer opaque,
com.sun.jna.ptr.PointerByReference planes)
Callback prototype to allocate and lock a picture buffer.
|
com.sun.jna.Pointer lock(com.sun.jna.Pointer opaque, com.sun.jna.ptr.PointerByReference planes)
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.
opaque
- private pointer as passed to libvlc_video_set_callbacks() [IN]planes
- start address of the pixel planes (LibVLC allocates the array of void pointers, this callback must initialize the array) [OUT]Copyright © 2009–2014 Caprica Software Limited. All rights reserved.