public class

SimpleProgressiveJpegConfig

extends Object
implements ProgressiveJpegConfig
java.lang.Object
   ↳ com.facebook.imagepipeline.decoder.SimpleProgressiveJpegConfig

Class Overview

Simple ProgressiveJpegConfig with predefined scans to decode and good-enough scan number.

If no specific scans to decode are provided, every scan is allowed to be decoded.

Summary

Nested Classes
interface SimpleProgressiveJpegConfig.DynamicValueConfig  
Public Constructors
SimpleProgressiveJpegConfig()
SimpleProgressiveJpegConfig(SimpleProgressiveJpegConfig.DynamicValueConfig dynamicValueConfig)
Public Methods
int getNextScanNumberToDecode(int scanNumber)
Gets the next scan-number that should be decoded after the given scan-number.
QualityInfo getQualityInfo(int scanNumber)
Gets the quality information for the given scan-number.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.decoder.ProgressiveJpegConfig

Public Constructors

public SimpleProgressiveJpegConfig ()

public SimpleProgressiveJpegConfig (SimpleProgressiveJpegConfig.DynamicValueConfig dynamicValueConfig)

Public Methods

public int getNextScanNumberToDecode (int scanNumber)

Gets the next scan-number that should be decoded after the given scan-number.

public QualityInfo getQualityInfo (int scanNumber)

Gets the quality information for the given scan-number.