public static interface SurfaceTextureHelper.FrameRefMonitor
Modifier and Type | Method and Description |
---|---|
void |
onDestroyBuffer(VideoFrame.TextureBuffer textureBuffer)
Frame was destroyed (ref count reached 0).
|
void |
onNewBuffer(VideoFrame.TextureBuffer textureBuffer)
A new frame was created.
|
void |
onReleaseBuffer(VideoFrame.TextureBuffer textureBuffer)
Ref count of the frame was decremented by the calling thread.
|
void |
onRetainBuffer(VideoFrame.TextureBuffer textureBuffer)
Ref count of the frame was incremented by the calling thread.
|
void onNewBuffer(VideoFrame.TextureBuffer textureBuffer)
void onRetainBuffer(VideoFrame.TextureBuffer textureBuffer)
void onReleaseBuffer(VideoFrame.TextureBuffer textureBuffer)
void onDestroyBuffer(VideoFrame.TextureBuffer textureBuffer)
6.0.0