-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.request.Postprocessor
public final class BlurPostProcessor extends BasePostprocessor
A java implementation of a blur post processor. This provide two different blurring algorithm, one Gaussian blur using ScriptIntrinsicBlur for Android version >= 4.2 and the other one is an in-place iterative box blur algorithm that runs faster than a traditional box blur.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBlurPostProcessor.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IntegerblurRadiusprivate final Contextcontextprivate final Integeriterations
-
Constructor Summary
Constructors Constructor Description BlurPostProcessor(Integer blurRadius, Context context, Integer iterations)BlurPostProcessor(Integer blurRadius, Context context)
-
Method Summary
Modifier and Type Method Description final IntegergetBlurRadius()final ContextgetContext()final IntegergetIterations()CacheKeygetPostprocessorCacheKey()Unitprocess(Bitmap destBitmap, Bitmap sourceBitmap)Unitprocess(Bitmap bitmap)-
-
Method Detail
-
getBlurRadius
final Integer getBlurRadius()
-
getContext
final Context getContext()
-
getIterations
final Integer getIterations()
-
getPostprocessorCacheKey
CacheKey getPostprocessorCacheKey()
-
-
-
-