mirror of
https://github.com/androidx/media.git
synced 2025-05-09 08:30:43 +08:00

Based on experimentation, when CameraX is producing input for frame processor the buffer size is not being set to match the camera capture resolution, so the output has lower resolution than expected. Expose the default buffer size setter on `SurfaceTexture` to allow apps to process frames at full resolution for use cases like this one where the producer doesn't override the default buffer size. PiperOrigin-RevId: 504022107