Search in sources :

Example 1 with LocalVideoThumbnailProducer

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;
}
Also used : LocalVideoThumbnailProducer(com.facebook.imagepipeline.producers.LocalVideoThumbnailProducer)

Aggregations

LocalVideoThumbnailProducer (com.facebook.imagepipeline.producers.LocalVideoThumbnailProducer)1