public class SSEColorAdjustPeer extends SSEEffectPeer
Constructor and Description |
---|
SSEColorAdjustPeer(FilterContext fctx,
Renderer r,
java.lang.String uniqueName) |
Modifier and Type | Method and Description |
---|---|
ImageData |
filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
private static void |
filter(int[] dstPixels,
int dstx,
int dsty,
int dstw,
int dsth,
int dstscan,
int[] baseImg_arr,
float src0Rect_x1,
float src0Rect_y1,
float src0Rect_x2,
float src0Rect_y2,
int src0w,
int src0h,
int src0scan,
float brightness,
float contrast,
float hue,
float saturation) |
private float |
getBrightness() |
private float |
getContrast() |
protected ColorAdjust |
getEffect() |
private float |
getHue() |
private float |
getSaturation() |
dispose, getAccelType, getDestBounds, getDestNativeBounds, getFilterContext, getInputBounds, getInputNativeBounds, getInputTransform, getPass, getRenderer, getRenderState, getResultBounds, getSamplerData, getSourceRegion, getTextureCoordinates, getTextureCoordinates, getUniqueName, isImageDataCompatible, isOriginUpperLeft, setDestBounds, setDestNativeBounds, setEffect, setInputBounds, setInputNativeBounds, setInputTransform, setPass, setRenderState
public SSEColorAdjustPeer(FilterContext fctx, Renderer r, java.lang.String uniqueName)
protected final ColorAdjust getEffect()
getEffect
in class EffectPeer
private float getHue()
private float getSaturation()
private float getBrightness()
private float getContrast()
public ImageData filter(Effect effect, RenderState rstate, BaseTransform transform, Rectangle outputClip, ImageData... inputs)
filter
in class EffectPeer
private static void filter(int[] dstPixels, int dstx, int dsty, int dstw, int dsth, int dstscan, int[] baseImg_arr, float src0Rect_x1, float src0Rect_y1, float src0Rect_x2, float src0Rect_y2, int src0w, int src0h, int src0scan, float brightness, float contrast, float hue, float saturation)