public class FrameOperation extends AbstractOperation<FrameSettings>
MEMORY_MATH_CONTEXT| Constructor and Description |
|---|
FrameOperation() |
| Modifier and Type | Method and Description |
|---|---|
static android.graphics.Bitmap |
decodeFrame(AbstractConfig.FrameConfigInterface frameConfig,
int widthLimit,
int heightLimit) |
static android.graphics.Bitmap |
decodeFrameSlice(AbstractConfig.FrameConfigInterface frameConfig,
android.graphics.Rect range,
int sampleSize) |
protected ChunkModelInterface.RequestResult |
doOperation(Operator operator,
FrameSettings settings,
ChunkModelInterface.ResultRegion request)
Start the Operation
|
protected java.math.BigDecimal |
getEstimatedMemoryConsumptionFactor(Operator operator,
FrameSettings cropSettings) |
protected java.lang.String |
getIdentifier() |
protected Priority |
getPriority() |
android.graphics.Rect |
getResultRect(Operator operator,
float subSample) |
boolean |
isReady(FrameSettings settings) |
compareTo, equals, getEstimatedMemoryConsumptionFactor, getNecessaryMemory, getPreviousResultRect, getPreviousResultRect, getState, hashCode, isCachable, operatorReady, requestSourceAnswer, runAndDelegate, setLevelProgress, toString@NonNull protected Priority getPriority()
getPriority in class AbstractOperation<FrameSettings>protected java.lang.String getIdentifier()
getIdentifier in class AbstractOperation<FrameSettings>@Nullable protected ChunkModelInterface.RequestResult doOperation(Operator operator, FrameSettings settings, ChunkModelInterface.ResultRegion request)
AbstractOperationdoOperation in class AbstractOperation<FrameSettings>request - a ResultRegion object hold the request options like position and transformation.public boolean isReady(FrameSettings settings)
isReady in class AbstractOperation<FrameSettings>protected java.math.BigDecimal getEstimatedMemoryConsumptionFactor(Operator operator, FrameSettings cropSettings)
getEstimatedMemoryConsumptionFactor in class AbstractOperation<FrameSettings>public android.graphics.Rect getResultRect(Operator operator, float subSample)
getResultRect in class AbstractOperation<FrameSettings>@WorkerThread public static android.graphics.Bitmap decodeFrame(AbstractConfig.FrameConfigInterface frameConfig, int widthLimit, int heightLimit)
@WorkerThread public static android.graphics.Bitmap decodeFrameSlice(AbstractConfig.FrameConfigInterface frameConfig, @Nullable android.graphics.Rect range, int sampleSize)