media/demos/transformer/src/withMediaPipe
Googler 97e6a86d2b Avoid spinning in between intermediate texture processors.
This change adds a new method onReadyToAcceptInputFrame to
GlTextureProcesssor.InputListener and changes maybeQueueInputFrame
to queueInputFrame, removing the boolean return value.
This avoids the re-trying in ChainingGlTextureProcessorListener
by allowing it to only feed frames from the producing to the consuming
GlTextureProcessor when there is capacity.

MediaPipeProcessor still needs re-trying when processing isn't 1:1.

PiperOrigin-RevId: 466626369
2022-09-30 16:28:27 +00:00
..
assets Add frame processor based on MediaPipe to demo 2022-05-09 10:56:08 +01:00
java/androidx/media3/demo/transformer Avoid spinning in between intermediate texture processors. 2022-09-30 16:28:27 +00:00
AndroidManifest.xml Add frame processor based on MediaPipe to demo 2022-05-09 10:56:08 +01:00