java.lang.Object
uk.co.caprica.vlcj.factory.VideoSurfaceApi
Behaviour pertaining to the creation of video surfaces.
-
Method Summary
Modifier and TypeMethodDescriptionnewVideoSurface
(long componentId) Create a new video surface for a native component id.newVideoSurface
(Component component) Create a new video surface for a Component.newVideoSurface
(BufferFormatCallback bufferFormatCallback, RenderCallback renderCallback, boolean lockBuffers) Create a new video surface for "direct" rendering via callbacks.
-
Method Details
-
newVideoSurface
-
newVideoSurface
Create a new video surface for a native component id.- Parameters:
componentId
- native component id- Returns:
- video surface
-
newVideoSurface
public CallbackVideoSurface newVideoSurface(BufferFormatCallback bufferFormatCallback, RenderCallback renderCallback, boolean lockBuffers) Create a new video surface for "direct" rendering via callbacks.- Parameters:
bufferFormatCallback
- buffer format callbackrenderCallback
- render callbacklockBuffers
-true
if the video buffer should be locked;false
if it should not- Returns:
- video surface
-