-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.decoder.ProgressiveJpegConfig
public class SimpleProgressiveJpegConfig implements ProgressiveJpegConfig
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSimpleProgressiveJpegConfig.DynamicValueConfig
-
Constructor Summary
Constructors Constructor Description SimpleProgressiveJpegConfig()SimpleProgressiveJpegConfig(SimpleProgressiveJpegConfig.DynamicValueConfig dynamicValueConfig)
-
Method Summary
Modifier and Type Method Description booleandecodeProgressively()Shortcut for checking if we should attempt to decode progressively. intgetNextScanNumberToDecode(int scanNumber)Gets the next scan-number that should be decoded after the given scan-number. QualityInfogetQualityInfo(int scanNumber)Gets the quality information for the given scan-number. -
-
Constructor Detail
-
SimpleProgressiveJpegConfig
SimpleProgressiveJpegConfig()
-
SimpleProgressiveJpegConfig
SimpleProgressiveJpegConfig(SimpleProgressiveJpegConfig.DynamicValueConfig dynamicValueConfig)
-
-
Method Detail
-
decodeProgressively
boolean decodeProgressively()
Shortcut for checking if we should attempt to decode progressively.
-
getNextScanNumberToDecode
int getNextScanNumberToDecode(int scanNumber)
Gets the next scan-number that should be decoded after the given scan-number.
-
getQualityInfo
QualityInfo getQualityInfo(int scanNumber)
Gets the quality information for the given scan-number.
-
-
-
-