ByteBufferGlEffect.Image
Artifact: androidx.media3:media3-effect
public class ByteBufferGlEffect.Image
A class that represents image data is backed by a ByteBuffer.
Summary
Public fields |
|
|---|---|
final int |
|
final ByteBuffer |
|
final int |
Public fields
Public methods
copyToBitmap
public Bitmap copyToBitmap()
Returns a Bitmap that contains a copy of the pixel buffer.
The returned Bitmap has config ARGB_8888.
This method copies the pixel data and is less efficient than accessing the pixel buffer directly.