private Producer<EncodedImage> newEncodedCacheMultiplexToTranscodeSequence(
      Producer<EncodedImage> inputProducer) {
    if (WebpSupportStatus.sIsWebpSupportRequired &&
        (!mWebpSupportEnabled || WebpSupportStatus.sWebpBitmapFactory == null)) {
      inputProducer = mProducerFactory.newWebpTranscodeProducer(inputProducer);
    }
    if (mDiskCacheEnabled) {
      inputProducer = newDiskCacheSequence(inputProducer);
    }
    EncodedMemoryCacheProducer encodedMemoryCacheProducer =
        mProducerFactory.newEncodedMemoryCacheProducer(inputProducer);
    return mProducerFactory.newEncodedCacheKeyMultiplexProducer(encodedMemoryCacheProducer);
  }
private Producer < EncodedImage > newEncodedCacheMultiplexToTranscodeSequence ( Producer < EncodedImage > inputProducer ) { if ( WebpSupportStatus . sIsWebpSupportRequired && ( ! mWebpSupportEnabled || WebpSupportStatus . sWebpBitmapFactory == null ) ) { inputProducer = mProducerFactory . newWebpTranscodeProducer ( inputProducer ) ; } if ( mDiskCacheEnabled ) { inputProducer = newDiskCacheSequence ( inputProducer ) ; } EncodedMemoryCacheProducer encodedMemoryCacheProducer = mProducerFactory . newEncodedMemoryCacheProducer ( inputProducer ) ; return mProducerFactory . newEncodedCacheKeyMultiplexProducer ( encodedMemoryCacheProducer ) ; }
encoded cache multiplex -> encoded cache -> (disk cache) -> (webp transcode)
@param inputProducer producer providing the input to the transcode
@return encoded cache multiplex to webp transcode sequence