mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

Allow the VideoFrameProcessor to output multiple textures at a time, so that lifetime of textures is up to the consumer calling VFP.releaseOutputFrame. The FinalShaderProgramWrapper also has a new maxCapacity limit added, to ensure the a reasonable amount of textures is used and avoid using up memory. PiperOrigin-RevId: 532094256 (cherry picked from commit 07ec1eaa480146942e8019a1db25661201a2f3e0)