Class AvifByteBufferBitmapDecoder
- java.lang.Object
-
- com.bumptech.glide.integration.avif.AvifByteBufferBitmapDecoder
-
- All Implemented Interfaces:
com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,android.graphics.Bitmap>
public final class AvifByteBufferBitmapDecoder extends java.lang.Object implements com.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,android.graphics.Bitmap>A GlideResourceDecodercapable of decoding Avif images.
-
-
Constructor Summary
Constructors Constructor Description AvifByteBufferBitmapDecoder(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool bitmapPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)booleanhandles(java.nio.ByteBuffer source, com.bumptech.glide.load.Options options)
-
-
-
Method Detail
-
decode
@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)- Specified by:
decodein interfacecom.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,android.graphics.Bitmap>
-
handles
public boolean handles(java.nio.ByteBuffer source, com.bumptech.glide.load.Options options)- Specified by:
handlesin interfacecom.bumptech.glide.load.ResourceDecoder<java.nio.ByteBuffer,android.graphics.Bitmap>
-
-