public BitmapRequestBuilder<ModelType, TranscodeType> imageDecoder(ResourceDecoder<InputStream, Bitmap> decoder) {
        imageDecoder = decoder;
        super.decoder(new ImageVideoBitmapDecoder(decoder, videoDecoder));
        return this;
    }
Sets the {@link ResourceDecoder} that will be used to decode {@link Bitmap}s obtained
from an {@link InputStream}.

@see #videoDecoder

@param decoder The decoder to use to decode {@link Bitmap}s.
@return This request builder.
core/src/main/java/com/bumptech/glide/BitmapRequestBuilder.java