public interface RenderCallback
The render call-back provides access to the native memory buffer, if instead the full RGB integer
data is required for the full video frame then consider using RenderCallbackAdapter.
The render call-back is invoked by a native thread.
| Modifier and Type | Method and Description |
|---|---|
void |
display(DirectMediaPlayer mediaPlayer,
com.sun.jna.Memory[] nativeBuffers,
BufferFormat bufferFormat)
Call-back when ready to display a video frame.
|
void display(DirectMediaPlayer mediaPlayer, com.sun.jna.Memory[] nativeBuffers, BufferFormat bufferFormat)
Implementations of this method must execute as quickly as possible.
mediaPlayer - media player to which the event relatesnativeBuffers - video data for one framebufferFormat - information about the format of the buffer usedCopyright © 2009–2015 Caprica Software Limited. All rights reserved.