use of com.facebook.imagepipeline.producers.LocalVideoThumbnailProducer in project fresco by facebook.
the class ProducerSequenceFactory method getLocalVideoFileFetchSequence.
/**
* Bitmap cache get -> thread hand off -> multiplex -> bitmap cache -> local video thumbnail
*/
private synchronized Producer<CloseableReference<CloseableImage>> getLocalVideoFileFetchSequence() {
if (mLocalVideoFileFetchSequence == null) {
LocalVideoThumbnailProducer localVideoThumbnailProducer = mProducerFactory.newLocalVideoThumbnailProducer();
mLocalVideoFileFetchSequence = newBitmapCacheGetToBitmapCacheSequence(localVideoThumbnailProducer);
}
return mLocalVideoFileFetchSequence;
}
Aggregations