public final class AvifByteBufferBitmapDecoder
extends java.lang.Object
implements com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,android.graphics.Bitmap>
ResourceDecoder capable of decoding Avif images.| Constructor and Description |
|---|
AvifByteBufferBitmapDecoder(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool bitmapPool) |
| Modifier and Type | Method and Description |
|---|---|
com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> |
decode(java.nio.ByteBuffer source,
int width,
int height,
com.bumptech.glide.load.Options options) |
boolean |
handles(java.nio.ByteBuffer source,
com.bumptech.glide.load.Options options) |
public AvifByteBufferBitmapDecoder(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool bitmapPool)
@Nullable
public com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> decode(java.nio.ByteBuffer source,
int width,
int height,
com.bumptech.glide.load.Options options)
decode in interface com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,android.graphics.Bitmap>public boolean handles(java.nio.ByteBuffer source,
com.bumptech.glide.load.Options options)
handles in interface com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,android.graphics.Bitmap>