public class JSWLinearConvolvePeer extends JSWEffectPeer<LinearConvolveRenderState>
Modifier and Type | Field and Description |
---|---|
private static float |
cmax |
private static float |
cmin |
FVALS_A, FVALS_B, FVALS_G, FVALS_R
Constructor and Description |
---|
JSWLinearConvolvePeer(FilterContext fctx,
Renderer r,
java.lang.String uniqueName) |
Modifier and Type | Method and Description |
---|---|
ImageData |
filter(Effect effect,
LinearConvolveRenderState lcrstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
protected void |
filterHV(int[] dstPixels,
int dstcols,
int dstrows,
int dcolinc,
int drowinc,
int[] srcPixels,
int srccols,
int srcrows,
int scolinc,
int srowinc,
float[] weights) |
protected void |
filterVector(int[] dstPixels,
int dstw,
int dsth,
int dstscan,
int[] srcPixels,
int srcw,
int srch,
int srcscan,
float[] weights,
int count,
float srcx0,
float srcy0,
float offsetx,
float offsety,
float deltax,
float deltay,
float dxcol,
float dycol,
float dxrow,
float dyrow) |
private Rectangle |
getResultBounds(LinearConvolveRenderState lcrstate,
Rectangle outputClip,
ImageData... inputDatas) |
faccum, fsample, laccum, laccumsample, lsample
dispose, getAccelType, getDestBounds, getDestNativeBounds, getEffect, getFilterContext, getInputBounds, getInputNativeBounds, getInputTransform, getPass, getRenderer, getRenderState, getResultBounds, getSamplerData, getSourceRegion, getTextureCoordinates, getTextureCoordinates, getUniqueName, isImageDataCompatible, isOriginUpperLeft, setDestBounds, setDestNativeBounds, setEffect, setInputBounds, setInputNativeBounds, setInputTransform, setPass, setRenderState
private static final float cmin
private static final float cmax
public JSWLinearConvolvePeer(FilterContext fctx, Renderer r, java.lang.String uniqueName)
private Rectangle getResultBounds(LinearConvolveRenderState lcrstate, Rectangle outputClip, ImageData... inputDatas)
public ImageData filter(Effect effect, LinearConvolveRenderState lcrstate, BaseTransform transform, Rectangle outputClip, ImageData... inputs)
filter
in class EffectPeer<LinearConvolveRenderState>
protected void filterVector(int[] dstPixels, int dstw, int dsth, int dstscan, int[] srcPixels, int srcw, int srch, int srcscan, float[] weights, int count, float srcx0, float srcy0, float offsetx, float offsety, float deltax, float deltay, float dxcol, float dycol, float dxrow, float dyrow)
protected void filterHV(int[] dstPixels, int dstcols, int dstrows, int dcolinc, int drowinc, int[] srcPixels, int srccols, int srcrows, int scolinc, int srowinc, float[] weights)