docs/doc/reference/com/google/android/exoplayer2/effect/GlShaderProgram.InputListener.html
Package com.google.android.exoplayer2.effect
public static interfaceGlShaderProgram.InputListener
Listener for input-related video frame processing events.
This listener can be called from any thread.
All Methods Instance Methods Default Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| default void | onFlush() |
Called when the GlShaderProgram has been flushed.
|
| default void | onInputFrameProcessed(GlTextureInfo inputTexture) |
Called when the GlShaderProgram has processed an input frame.
|
| default void | onReadyToAcceptInputFrame() |
Called when the GlShaderProgram is ready to accept another input frame.
|
-
default void onReadyToAcceptInputFrame()
Called when the GlShaderProgram is ready to accept another input frame.
For each time this method is called, GlShaderProgram.queueInputFrame(GlTextureInfo, long) can be called once.
-
default void onInputFrameProcessed([GlTextureInfo](../util/GlTextureInfo.html "class in com.google.android.exoplayer2.util")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:inputTexture - The GlTextureInfo that was used to queue the input frame.
-
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.