Class AvifByteBufferBitmapDecoder
java.lang.Object
com.bumptech.glide.integration.avif.AvifByteBufferBitmapDecoder
- All Implemented Interfaces:
com.bumptech.glide.load.ResourceDecoder<ByteBuffer,Bitmap>
public final class AvifByteBufferBitmapDecoder
extends Object
implements com.bumptech.glide.load.ResourceDecoder<ByteBuffer,Bitmap>
A Glide
ResourceDecoder capable of decoding Avif images.-
Constructor Summary
ConstructorsConstructorDescriptionAvifByteBufferBitmapDecoder(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool bitmapPool) -
Method Summary
Modifier and TypeMethodDescriptioncom.bumptech.glide.load.engine.Resource<Bitmap>decode(ByteBuffer source, int width, int height, com.bumptech.glide.load.Options options) booleanhandles(ByteBuffer source, com.bumptech.glide.load.Options options)
-
Constructor Details
-
AvifByteBufferBitmapDecoder
public AvifByteBufferBitmapDecoder(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool bitmapPool)
-
-
Method Details
-
decode
@Nullable public com.bumptech.glide.load.engine.Resource<Bitmap> decode(ByteBuffer source, int width, int height, com.bumptech.glide.load.Options options) - Specified by:
decodein interfacecom.bumptech.glide.load.ResourceDecoder<ByteBuffer,Bitmap>
-
handles
- Specified by:
handlesin interfacecom.bumptech.glide.load.ResourceDecoder<ByteBuffer,Bitmap>
-