GlShaderProgram.InputListener
public interface GlShaderProgram.InputListener
Listener for input-related video frame processing events.
This listener can be called from any thread.
Summary
Public methods |
|
|---|---|
default void |
onFlush()Called when the |
default void |
onInputFrameProcessed(GlTextureInfo inputTexture)Called when the |
default void |
Called when the |
Public methods
onFlush
default void onFlush()
Called when the GlShaderProgram has been flushed.
The implementation shall not assume the GlShaderProgram is ready to accept another input frame when this method is called. If the implementation manages a limited input capacity, it must clear all prior input frame capacity.
onInputFrameProcessed
default void onInputFrameProcessed(GlTextureInfo inputTexture)
Called when the GlShaderProgram has processed an input frame.
The implementation shall not assume the GlShaderProgram is ready to accept another input frame when this method is called.
| Parameters | |
|---|---|
GlTextureInfo inputTexture |
The |
onReadyToAcceptInputFrame
default void onReadyToAcceptInputFrame()
Called when the GlShaderProgram is ready to accept another input frame.
For each time this method is called, queueInputFrame can be called once.