public Builder addDecodingCapability(
        ImageFormat imageFormat,
        ImageFormat.FormatChecker imageFormatChecker,
        @Nullable ImageDecoder decoder) {
      if (mCustomImageFormats == null) {
        mCustomImageFormats = new ArrayList<>();
      }
      mCustomImageFormats.add(imageFormatChecker);
      if (decoder != null) {
        overrideDecoder(imageFormat, decoder);
      }
      return this;
    }
Add a new decoding capability for a new image format.

@param imageFormat the new image format
@param imageFormatChecker the format checker that can determine the new image format
@param decoder the decoder that can decode the new image format
@return the builder
imagepipeline/src/main/java/com/facebook/imagepipeline/decoder/ImageDecoderConfig.java