FrameProcessor.Listener
interface FrameProcessor.Listener
Listener for FrameProcessor events.
Summary
Public functions |
|
|---|---|
Unit |
onError(exception: VideoFrameProcessingException!)Notifies the |
Unit |
onFrameProcessed(frame: Frame!, onCompleteFence: SyncFenceWrapper?)Notifies the |
Unit |
onWakeup()Notifies the |
Public functions
onError
fun onError(exception: VideoFrameProcessingException!): Unit
Notifies the Listener that an exception has occurred during frame processing.
| Parameters | |
|---|---|
exception: VideoFrameProcessingException! |
onFrameProcessed
fun onFrameProcessed(frame: Frame!, onCompleteFence: SyncFenceWrapper?): Unit
Notifies the Listener that a frame has been fully processed.
| Parameters | |
|---|---|
frame: Frame! |
The queued |
onCompleteFence: SyncFenceWrapper? |
A |
onWakeup
fun onWakeup(): Unit
Notifies the Listener that the FrameProcessor is ready for queue to be called again.