jfxrt

, arrayOfInt1, arrayOfFloat1[0], arrayOfFloat1[1], arrayOfFloat1[2], arrayOfFloat1[3], k, m, n, f, arrayOfInt2, arrayOfFloat2[0], arrayOfFloat2[1], arrayOfFloat2[2], arrayOfFloat2[3], i3, i4, i5);
    paramVarArgs[0].releaseTransformedImage(localHeapImage1);
    paramVarArgs[1].releaseTransformedImage(localHeapImage2);
    return new ImageData(getFilterContext(), localHeapImage3, localRectangle1);
  }
  
  private static native void filter(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int[] paramArrayOfInt2, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, int paramInt6, int paramInt7, int paramInt8, float paramFloat5, int[] paramArrayOfInt3, float paramFloat6, float paramFloat7, float paramFloat8, float paramFloat9, int paramInt9, int paramInt10, int paramInt11);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_INPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.Blend;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEBlend_SRC_OUTPeer
  extends SSEEffectPeer
{
  public SSEBlend_SRC_OUTPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final Blend getEffect()
  {
    return (Blend)super.getEffect();
  }
  
  private float getOpacity()
  {
    return getEffect().getOpacity();
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    Rectangle localRectangle1 = getResultBounds(paramBaseTransform, paramRectangle, paramVarArgs);
    setDestBounds(localRectangle1);
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getTransformedImage(localRectangle1);
    int i = 0;
    int j = 0;
    int k = localHeapImage1.getPhysicalWidth();
    int m = localHeapImage1.getPhysicalHeight();
    int n = localHeapImage1.getScanlineStride();
    int[] arrayOfInt1 = localHeapImage1.getPixelArray();
    Rectangle localRectangle2 = new Rectangle(i, j, k, m);
    Rectangle localRectangle3 = paramVarArgs[0].getTransformedBounds(localRectangle1);
    BaseTransform localBaseTransform1 = BaseTransform.IDENTITY_TRANSFORM;
    setInputBounds(0, localRectangle3);
    setInputNativeBounds(0, localRectangle2);
    HeapImage localHeapImage2 = (HeapImage)paramVarArgs[1].getTransformedImage(localRectangle1);
    int i1 = 0;
    int i2 = 0;
    int i3 = localHeapImage2.getPhysicalWidth();
    int i4 = localHeapImage2.getPhysicalHeight();
    int i5 = localHeapImage2.getScanlineStride();
    int[] arrayOfInt2 = localHeapImage2.getPixelArray();
    Rectangle localRectangle4 = new Rectangle(i1, i2, i3, i4);
    Rectangle localRectangle5 = paramVarArgs[1].getTransformedBounds(localRectangle1);
    BaseTransform localBaseTransform2 = BaseTransform.IDENTITY_TRANSFORM;
    setInputBounds(1, localRectangle5);
    setInputNativeBounds(1, localRectangle4);
    float[] arrayOfFloat1 = new float[4];
    getTextureCoordinates(0, arrayOfFloat1, x, y, k, m, localRectangle1, localBaseTransform1);
    float[] arrayOfFloat2 = new float[4];
    getTextureCoordinates(1, arrayOfFloat2, x, y, i3, i4, localRectangle1, localBaseTransform2);
    int i6 = width;
    int i7 = height;
    HeapImage localHeapImage3 = (HeapImage)getRenderer().getCompatibleImage(i6, i7);
    setDestNativeBounds(localHeapImage3.getPhysicalWidth(), localHeapImage3.getPhysicalHeight());
    int i8 = localHeapImage3.getScanlineStride();
    int[] arrayOfInt3 = localHeapImage3.getPixelArray();
    float f = getOpacity();
    filter(arrayOfInt3, 0, 0, i6, i7, i8, arrayOfInt1, arrayOfFloat1[0], arrayOfFloat1[1], arrayOfFloat1[2], arrayOfFloat1[3], k, m, n, f, arrayOfInt2, arrayOfFloat2[0], arrayOfFloat2[1], arrayOfFloat2[2], arrayOfFloat2[3], i3, i4, i5);
    paramVarArgs[0].releaseTransformedImage(localHeapImage1);
    paramVarArgs[1].releaseTransformedImage(localHeapImage2);
    return new ImageData(getFilterContext(), localHeapImage3, localRectangle1);
  }
  
  private static native void filter(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int[] paramArrayOfInt2, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, int paramInt6, int paramInt7, int paramInt8, float paramFloat5, int[] paramArrayOfInt3, float paramFloat6, float paramFloat7, float paramFloat8, float paramFloat9, int paramInt9, int paramInt10, int paramInt11);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.Blend;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEBlend_SRC_OVERPeer
  extends SSEEffectPeer
{
  public SSEBlend_SRC_OVERPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final Blend getEffect()
  {
    return (Blend)super.getEffect();
  }
  
  private float getOpacity()
  {
    return getEffect().getOpacity();
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    Rectangle localRectangle1 = getResultBounds(paramBaseTransform, paramRectangle, paramVarArgs);
    setDestBounds(localRectangle1);
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getTransformedImage(localRectangle1);
    int i = 0;
    int j = 0;
    int k = localHeapImage1.getPhysicalWidth();
    int m = localHeapImage1.getPhysicalHeight();
    int n = localHeapImage1.getScanlineStride();
    int[] arrayOfInt1 = localHeapImage1.getPixelArray();
    Rectangle localRectangle2 = new Rectangle(i, j, k, m);
    Rectangle localRectangle3 = paramVarArgs[0].getTransformedBounds(localRectangle1);
    BaseTransform localBaseTransform1 = BaseTransform.IDENTITY_TRANSFORM;
    setInputBounds(0, localRectangle3);
    setInputNativeBounds(0, localRectangle2);
    HeapImage localHeapImage2 = (HeapImage)paramVarArgs[1].getTransformedImage(localRectangle1);
    int i1 = 0;
    int i2 = 0;
    int i3 = localHeapImage2.getPhysicalWidth();
    int i4 = localHeapImage2.getPhysicalHeight();
    int i5 = localHeapImage2.getScanlineStride();
    int[] arrayOfInt2 = localHeapImage2.getPixelArray();
    Rectangle localRectangle4 = new Rectangle(i1, i2, i3, i4);
    Rectangle localRectangle5 = paramVarArgs[1].getTransformedBounds(localRectangle1);
    BaseTransform localBaseTransform2 = BaseTransform.IDENTITY_TRANSFORM;
    setInputBounds(1, localRectangle5);
    setInputNativeBounds(1, localRectangle4);
    float[] arrayOfFloat1 = new float[4];
    getTextureCoordinates(0, arrayOfFloat1, x, y, k, m, localRectangle1, localBaseTransform1);
    float[] arrayOfFloat2 = new float[4];
    getTextureCoordinates(1, arrayOfFloat2, x, y, i3, i4, localRectangle1, localBaseTransform2);
    int i6 = width;
    int i7 = height;
    HeapImage localHeapImage3 = (HeapImage)getRenderer().getCompatibleImage(i6, i7);
    setDestNativeBounds(localHeapImage3.getPhysicalWidth(), localHeapImage3.getPhysicalHeight());
    int i8 = localHeapImage3.getScanlineStride();
    int[] arrayOfInt3 = localHeapImage3.getPixelArray();
    float f = getOpacity();
    filter(arrayOfInt3, 0, 0, i6, i7, i8, arrayOfInt1, arrayOfFloat1[0], arrayOfFloat1[1], arrayOfFloat1[2], arrayOfFloat1[3], k, m, n, f, arrayOfInt2, arrayOfFloat2[0], arrayOfFloat2[1], arrayOfFloat2[2], arrayOfFloat2[3], i3, i4, i5);
    paramVarArgs[0].releaseTransformedImage(localHeapImage1);
    paramVarArgs[1].releaseTransformedImage(localHeapImage2);
    return new ImageData(getFilterContext(), localHeapImage3, localRectangle1);
  }
  
  private static native void filter(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int[] paramArrayOfInt2, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, int paramInt6, int paramInt7, int paramInt8, float paramFloat5, int[] paramArrayOfInt3, float paramFloat6, float paramFloat7, float paramFloat8, float paramFloat9, int paramInt9, int paramInt10, int paramInt11);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OVERPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.BoxBlur;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.Filterable;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEBoxBlurPeer
  extends SSEEffectPeer
{
  public SSEBoxBlurPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final BoxBlur getEffect()
  {
    return (BoxBlur)super.getEffect();
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    int i = getPass() == 0 ? 1 : 0;
    int j = i != 0 ? getEffect().getHorizontalSize() - 1 : 0;
    int k = i != 0 ? 0 : getEffect().getVerticalSize() - 1;
    int m = getEffect().getPasses();
    if ((m < 1) || ((j < 1) && (k < 1)))
    {
      paramVarArgs[0].addref();
      return paramVarArgs[0];
    }
    int n = j * m + 1 & 0xFFFFFFFE;
    int i1 = k * m + 1 & 0xFFFFFFFE;
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getUntransformedImage();
    Rectangle localRectangle1 = paramVarArgs[0].getUntransformedBounds();
    Object localObject1 = localHeapImage1;
    int i2 = width;
    int i3 = height;
    int i4 = ((HeapImage)localObject1).getScanlineStride();
    Object localObject2 = ((HeapImage)localObject1).getPixelArray();
    int i5 = i2 + n;
    int i6 = i3 + i1;
    while ((i2 < i5) || (i3 < i6))
    {
      int i7 = i2 + j;
      int i8 = i3 + k;
      if (i7 > i5) {
        i7 = i5;
      }
      if (i8 > i6) {
        i8 = i6;
      }
      HeapImage localHeapImage2 = (HeapImage)getRenderer().getCompatibleImage(i7, i8);
      int i9 = localHeapImage2.getScanlineStride();
      int[] arrayOfInt = localHeapImage2.getPixelArray();
      if (i != 0) {
        filterHorizontal(arrayOfInt, i7, i8, i9, (int[])localObject2, i2, i3, i4);
      } else {
        filterVertical(arrayOfInt, i7, i8, i9, (int[])localObject2, i2, i3, i4);
      }
      if (localObject1 != localHeapImage1) {
        getRenderer().releaseCompatibleImage((Filterable)localObject1);
      }
      localObject1 = localHeapImage2;
      i2 = i7;
      i3 = i8;
      localObject2 = arrayOfInt;
      i4 = i9;
    }
    Rectangle localRectangle2 = new Rectangle(x - n / 2, y - i1 / 2, i2, i3);
    return new ImageData(getFilterContext(), (Filterable)localObject1, localRectangle2);
  }
  
  private static native void filterHorizontal(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6);
  
  private static native void filterVertical(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEBoxBlurPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.BoxShadow;
import com.sun.scenario.effect.Color4f;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.Filterable;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEBoxShadowPeer
  extends SSEEffectPeer
{
  public SSEBoxShadowPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final BoxShadow getEffect()
  {
    return (BoxShadow)super.getEffect();
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    int i = getPass() == 0 ? 1 : 0;
    int j = i != 0 ? getEffect().getHorizontalSize() - 1 : 0;
    int k = i != 0 ? 0 : getEffect().getVerticalSize() - 1;
    if (j < 0) {
      j = 0;
    }
    if (k < 0) {
      k = 0;
    }
    int m = getEffect().getPasses();
    float f = getEffect().getSpread();
    if ((i != 0) && ((m < 1) || ((j < 1) && (k < 1))))
    {
      paramVarArgs[0].addref();
      return paramVarArgs[0];
    }
    int n = j * m + 1 & 0xFFFFFFFE;
    int i1 = k * m + 1 & 0xFFFFFFFE;
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getUntransformedImage();
    Rectangle localRectangle1 = paramVarArgs[0].getUntransformedBounds();
    Object localObject1 = localHeapImage1;
    int i2 = width;
    int i3 = height;
    int i4 = ((HeapImage)localObject1).getScanlineStride();
    Object localObject2 = ((HeapImage)localObject1).getPixelArray();
    int i5 = i2 + n;
    int i6 = i3 + i1;
    int i7 = i == 0 ? 1 : 0;
    while ((i7 != 0) || (i2 < i5) || (i3 < i6))
    {
      int i8 = i2 + j;
      int i9 = i3 + k;
      if (i8 > i5) {
        i8 = i5;
      }
      if (i9 > i6) {
        i9 = i6;
      }
      HeapImage localHeapImage2 = (HeapImage)getRenderer().getCompatibleImage(i8, i9);
      int i10 = localHeapImage2.getScanlineStride();
      int[] arrayOfInt = localHeapImage2.getPixelArray();
      if (m == 0) {
        f = 0.0F;
      }
      if (i != 0)
      {
        filterHorizontalBlack(arrayOfInt, i8, i9, i10, (int[])localObject2, i2, i3, i4, f);
      }
      else if ((i8 < i5) || (i9 < i6))
      {
        filterVerticalBlack(arrayOfInt, i8, i9, i10, (int[])localObject2, i2, i3, i4, f);
      }
      else
      {
        float[] arrayOfFloat = getEffect().getColor().getPremultipliedRGBComponents();
        if ((arrayOfFloat[3] == 1.0F) && (arrayOfFloat[0] == 0.0F) && (arrayOfFloat[1] == 0.0F) && (arrayOfFloat[2] == 0.0F)) {
          filterVerticalBlack(arrayOfInt, i8, i9, i10, (int[])localObject2, i2, i3, i4, f);
        } else {
          filterVertical(arrayOfInt, i8, i9, i10, (int[])localObject2, i2, i3, i4, f, arrayOfFloat);
        }
      }
      if (localObject1 != localHeapImage1) {
        getRenderer().releaseCompatibleImage((Filterable)localObject1);
      }
      m--;
      i7 = 0;
      localObject1 = localHeapImage2;
      i2 = i8;
      i3 = i9;
      localObject2 = arrayOfInt;
      i4 = i10;
    }
    Rectangle localRectangle2 = new Rectangle(x - n / 2, y - i1 / 2, i2, i3);
    return new ImageData(getFilterContext(), (Filterable)localObject1, localRectangle2);
  }
  
  private static native void filterHorizontalBlack(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6, float paramFloat);
  
  private static native void filterVerticalBlack(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6, float paramFloat);
  
  private static native void filterVertical(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6, float paramFloat, float[] paramArrayOfFloat);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEBoxShadowPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.Brightpass;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEBrightpassPeer
  extends SSEEffectPeer
{
  public SSEBrightpassPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final Brightpass getEffect()
  {
    return (Brightpass)super.getEffect();
  }
  
  private float getThreshold()
  {
    return getEffect().getThreshold();
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    Rectangle localRectangle1 = getResultBounds(paramBaseTransform, paramRectangle, paramVarArgs);
    setDestBounds(localRectangle1);
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getTransformedImage(localRectangle1);
    int i = 0;
    int j = 0;
    int k = localHeapImage1.getPhysicalWidth();
    int m = localHeapImage1.getPhysicalHeight();
    int n = localHeapImage1.getScanlineStride();
    int[] arrayOfInt1 = localHeapImage1.getPixelArray();
    Rectangle localRectangle2 = new Rectangle(i, j, k, m);
    Rectangle localRectangle3 = paramVarArgs[0].getTransformedBounds(localRectangle1);
    BaseTransform localBaseTransform = BaseTransform.IDENTITY_TRANSFORM;
    setInputBounds(0, localRectangle3);
    setInputNativeBounds(0, localRectangle2);
    float[] arrayOfFloat = new float[4];
    getTextureCoordinates(0, arrayOfFloat, x, y, k, m, localRectangle1, localBaseTransform);
    int i1 = width;
    int i2 = height;
    HeapImage localHeapImage2 = (HeapImage)getRenderer().getCompatibleImage(i1, i2);
    setDestNativeBounds(localHeapImage2.getPhysicalWidth(), localHeapImage2.getPhysicalHeight());
    int i3 = localHeapImage2.getScanlineStride();
    int[] arrayOfInt2 = localHeapImage2.getPixelArray();
    float f = getThreshold();
    filter(arrayOfInt2, 0, 0, i1, i2, i3, arrayOfInt1, arrayOfFloat[0], arrayOfFloat[1], arrayOfFloat[2], arrayOfFloat[3], k, m, n, f);
    paramVarArgs[0].releaseTransformedImage(localHeapImage1);
    return new ImageData(getFilterContext(), localHeapImage2, localRectangle1);
  }
  
  private static native void filter(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int[] paramArrayOfInt2, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, int paramInt6, int paramInt7, int paramInt8, float paramFloat5);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEBrightpassPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.ColorAdjust;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEColorAdjustPeer
  extends SSEEffectPeer
{
  public SSEColorAdjustPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final ColorAdjust getEffect()
  {
    return (ColorAdjust)super.getEffect();
  }
  
  private float getHue()
  {
    return getEffect().getHue() / 2.0F;
  }
  
  private float getSaturation()
  {
    return getEffect().getSaturation() + 1.0F;
  }
  
  private float getBrightness()
  {
    return getEffect().getBrightness() + 1.0F;
  }
  
  private float getContrast()
  {
    float f = getEffect().getContrast();
    if (f > 0.0F) {
      f *= 3.0F;
    }
    return f + 1.0F;
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    Rectangle localRectangle1 = getResultBounds(paramBaseTransform, paramRectangle, paramVarArgs);
    setDestBounds(localRectangle1);
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getTransformedImage(localRectangle1);
    int i = 0;
    int j = 0;
    int k = localHeapImage1.getPhysicalWidth();
    int m = localHeapImage1.getPhysicalHeight();
    int n = localHeapImage1.getScanlineStride();
    int[] arrayOfInt1 = localHeapImage1.getPixelArray();
    Rectangle localRectangle2 = new Rectangle(i, j, k, m);
    Rectangle localRectangle3 = paramVarArgs[0].getTransformedBounds(localRectangle1);
    BaseTransform localBaseTransform = BaseTransform.IDENTITY_TRANSFORM;
    setInputBounds(0, localRectangle3);
    setInputNativeBounds(0, localRectangle2);
    float[] arrayOfFloat = new float[4];
    getTextureCoordinates(0, arrayOfFloat, x, y, k, m, localRectangle1, localBaseTransform);
    int i1 = width;
    int i2 = height;
    HeapImage localHeapImage2 = (HeapImage)getRenderer().getCompatibleImage(i1, i2);
    setDestNativeBounds(localHeapImage2.getPhysicalWidth(), localHeapImage2.getPhysicalHeight());
    int i3 = localHeapImage2.getScanlineStride();
    int[] arrayOfInt2 = localHeapImage2.getPixelArray();
    float f1 = getBrightness();
    float f2 = getContrast();
    float f3 = getHue();
    float f4 = getSaturation();
    filter(arrayOfInt2, 0, 0, i1, i2, i3, arrayOfInt1, arrayOfFloat[0], arrayOfFloat[1], arrayOfFloat[2], arrayOfFloat[3], k, m, n, f1, f2, f3, f4);
    paramVarArgs[0].releaseTransformedImage(localHeapImage1);
    return new ImageData(getFilterContext(), localHeapImage2, localRectangle1);
  }
  
  private static native void filter(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int[] paramArrayOfInt2, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, int paramInt6, int paramInt7, int paramInt8, float paramFloat5, float paramFloat6, float paramFloat7, float paramFloat8);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEColorAdjustPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.DisplacementMap;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.FloatMap;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEDisplacementMapPeer
  extends SSEEffectPeer
{
  public SSEDisplacementMapPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final DisplacementMap getEffect()
  {
    return (DisplacementMap)super.getEffect();
  }
  
  private float[] getSampletx()
  {
    return new float[] { getEffect().getOffsetX(), getEffect().getOffsetY(), getEffect().getScaleX(), getEffect().getScaleY() };
  }
  
  private float[] getImagetx()
  {
    float f = getEffect().getWrap() ? 0.5F : 0.0F;
    return new float[] { f / getInputNativeBounds0width, f / getInputNativeBounds0height, (getInputBounds0width - 2.0F * f) / getInputNativeBounds0width, (getInputBounds0height - 2.0F * f) / getInputNativeBounds0height };
  }
  
  private float getWrap()
  {
    return getEffect().getWrap() ? 1.0F : 0.0F;
  }
  
  protected Object getSamplerData(int paramInt)
  {
    return getEffect().getMapData();
  }
  
  public int getTextureCoordinates(int paramInt, float[] paramArrayOfFloat, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, Rectangle paramRectangle, BaseTransform paramBaseTransform)
  {
    paramArrayOfFloat[0] = (paramArrayOfFloat[1] = 0.0F);
    paramArrayOfFloat[2] = (paramArrayOfFloat[3] = 1.0F);
    return 4;
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    Rectangle localRectangle1 = getResultBounds(paramBaseTransform, paramRectangle, paramVarArgs);
    setDestBounds(localRectangle1);
    FloatMap localFloatMap = (FloatMap)getSamplerData(1);
    int i = 0;
    int j = 0;
    int k = localFloatMap.getWidth();
    int m = localFloatMap.getHeight();
    int n = localFloatMap.getWidth();
    float[] arrayOfFloat1 = localFloatMap.getData();
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getUntransformedImage();
    int i1 = 0;
    int i2 = 0;
    int i3 = localHeapImage1.getPhysicalWidth();
    int i4 = localHeapImage1.getPhysicalHeight();
    int i5 = localHeapImage1.getScanlineStride();
    int[] arrayOfInt1 = localHeapImage1.getPixelArray();
    Rectangle localRectangle2 = new Rectangle(i1, i2, i3, i4);
    Rectangle localRectangle3 = paramVarArgs[0].getUntransformedBounds();
    BaseTransform localBaseTransform = paramVarArgs[0].getTransform();
    setInputBounds(0, localRectangle3);
    setInputNativeBounds(0, localRectangle2);
    float[] arrayOfFloat2 = { 0.0F, 0.0F, 1.0F, 1.0F };
    float[] arrayOfFloat3 = new float[4];
    getTextureCoordinates(0, arrayOfFloat3, x, y, i3, i4, localRectangle1, localBaseTransform);
    int i6 = width;
    int i7 = height;
    HeapImage localHeapImage2 = (HeapImage)getRenderer().getCompatibleImage(i6, i7);
    setDestNativeBounds(localHeapImage2.getPhysicalWidth(), localHeapImage2.getPhysicalHeight());
    int i8 = localHeapImage2.getScanlineStride();
    int[] arrayOfInt2 = localHeapImage2.getPixelArray();
    float[] arrayOfFloat4 = getImagetx();
    float[] arrayOfFloat5 = getSampletx();
    float f = getWrap();
    filter(arrayOfInt2, 0, 0, i6, i7, i8, arrayOfFloat4[0], arrayOfFloat4[1], arrayOfFloat4[2], arrayOfFloat4[3], arrayOfFloat1, arrayOfFloat2[0], arrayOfFloat2[1], arrayOfFloat2[2], arrayOfFloat2[3], k, m, n, arrayOfInt1, arrayOfFloat3[0], arrayOfFloat3[1], arrayOfFloat3[2], arrayOfFloat3[3], i3, i4, i5, arrayOfFloat5[0], arrayOfFloat5[1], arrayOfFloat5[2], arrayOfFloat5[3], f);
    return new ImageData(getFilterContext(), localHeapImage2, localRectangle1);
  }
  
  private static native void filter(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, float[] paramArrayOfFloat, float paramFloat5, float paramFloat6, float paramFloat7, float paramFloat8, int paramInt6, int paramInt7, int paramInt8, int[] paramArrayOfInt2, float paramFloat9, float paramFloat10, float paramFloat11, float paramFloat12, int paramInt9, int paramInt10, int paramInt11, float paramFloat13, float paramFloat14, float paramFloat15, float paramFloat16, float paramFloat17);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEDisplacementMapPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.impl.EffectPeer;
import com.sun.scenario.effect.impl.Renderer;

public abstract class SSEEffectPeer
  extends EffectPeer
{
  protected SSEEffectPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEEffectPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.InvertMask;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;

public class SSEInvertMaskPeer
  extends SSEEffectPeer
{
  public SSEInvertMaskPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final InvertMask getEffect()
  {
    return (InvertMask)super.getEffect();
  }
  
  private float[] getOffset()
  {
    float f1 = getEffect().getOffsetX();
    float f2 = getEffect().getOffsetY();
    float[] arrayOfFloat = { f1, f2 };
    try
    {
      getInputTransform(0).inverseDeltaTransform(arrayOfFloat, 0, arrayOfFloat, 0, 1);
    }
    catch (Exception localException) {}
    arrayOfFloat[0] /= getInputNativeBounds0width;
    arrayOfFloat[1] /= getInputNativeBounds0height;
    return arrayOfFloat;
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    Rectangle localRectangle1 = getResultBounds(paramBaseTransform, paramRectangle, paramVarArgs);
    setDestBounds(localRectangle1);
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getTransformedImage(localRectangle1);
    int i = 0;
    int j = 0;
    int k = localHeapImage1.getPhysicalWidth();
    int m = localHeapImage1.getPhysicalHeight();
    int n = localHeapImage1.getScanlineStride();
    int[] arrayOfInt1 = localHeapImage1.getPixelArray();
    Rectangle localRectangle2 = new Rectangle(i, j, k, m);
    Rectangle localRectangle3 = paramVarArgs[0].getTransformedBounds(localRectangle1);
    BaseTransform localBaseTransform = BaseTransform.IDENTITY_TRANSFORM;
    setInputBounds(0, localRectangle3);
    setInputNativeBounds(0, localRectangle2);
    float[] arrayOfFloat1 = new float[4];
    getTextureCoordinates(0, arrayOfFloat1, x, y, k, m, localRectangle1, localBaseTransform);
    int i1 = width;
    int i2 = height;
    HeapImage localHeapImage2 = (HeapImage)getRenderer().getCompatibleImage(i1, i2);
    setDestNativeBounds(localHeapImage2.getPhysicalWidth(), localHeapImage2.getPhysicalHeight());
    int i3 = localHeapImage2.getScanlineStride();
    int[] arrayOfInt2 = localHeapImage2.getPixelArray();
    float[] arrayOfFloat2 = getOffset();
    filter(arrayOfInt2, 0, 0, i1, i2, i3, arrayOfInt1, arrayOfFloat1[0], arrayOfFloat1[1], arrayOfFloat1[2], arrayOfFloat1[3], k, m, n, arrayOfFloat2[0], arrayOfFloat2[1]);
    paramVarArgs[0].releaseTransformedImage(localHeapImage1);
    return new ImageData(getFilterContext(), localHeapImage2, localRectangle1);
  }
  
  private static native void filter(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int[] paramArrayOfInt2, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, int paramInt6, int paramInt7, int paramInt8, float paramFloat5, float paramFloat6);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSEInvertMaskPeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.javafx.geom.Rectangle;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.scenario.effect.Effect;
import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.ImageData;
import com.sun.scenario.effect.impl.HeapImage;
import com.sun.scenario.effect.impl.Renderer;
import com.sun.scenario.effect.impl.state.AccessHelper;
import com.sun.scenario.effect.impl.state.LinearConvolveKernel;
import com.sun.scenario.effect.impl.state.LinearConvolveKernel.PassType;
import com.sun.scenario.effect.impl.state.LinearConvolvePeer;
import java.nio.FloatBuffer;

public class SSELinearConvolvePeer
  extends SSEEffectPeer
  implements LinearConvolvePeer
{
  public SSELinearConvolvePeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  protected final Effect getEffect()
  {
    return super.getEffect();
  }
  
  protected LinearConvolveKernel getKernel()
  {
    return (LinearConvolveKernel)AccessHelper.getState(getEffect());
  }
  
  public int getPow2ScaleX(LinearConvolveKernel paramLinearConvolveKernel)
  {
    return paramLinearConvolveKernel.getPow2ScaleX();
  }
  
  public int getPow2ScaleY(LinearConvolveKernel paramLinearConvolveKernel)
  {
    return paramLinearConvolveKernel.getPow2ScaleY();
  }
  
  public Rectangle getResultBounds(BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    return getKernel().getScaledResultBounds(paramVarArgs[0].getTransformedBounds(paramRectangle), getPass());
  }
  
  private int getCount()
  {
    return getKernel().getScaledKernelSize(getPass());
  }
  
  private float[] getOffset()
  {
    return getKernel().getVector(getInputNativeBounds(0), getInputTransform(0), getPass());
  }
  
  private FloatBuffer getWeights()
  {
    return getKernel().getWeights(getPass());
  }
  
  public ImageData filter(Effect paramEffect, BaseTransform paramBaseTransform, Rectangle paramRectangle, ImageData... paramVarArgs)
  {
    setEffect(paramEffect);
    Rectangle localRectangle1 = getResultBounds(paramBaseTransform, null, paramVarArgs);
    Rectangle localRectangle2 = new Rectangle(localRectangle1);
    localRectangle2.intersectWith(paramRectangle);
    setDestBounds(localRectangle2);
    int i = width;
    int j = height;
    HeapImage localHeapImage1 = (HeapImage)paramVarArgs[0].getUntransformedImage();
    int k = localHeapImage1.getPhysicalWidth();
    int m = localHeapImage1.getPhysicalHeight();
    int n = localHeapImage1.getScanlineStride();
    int[] arrayOfInt1 = localHeapImage1.getPixelArray();
    Rectangle localRectangle3 = paramVarArgs[0].getUntransformedBounds();
    BaseTransform localBaseTransform = paramVarArgs[0].getTransform();
    Rectangle localRectangle4 = new Rectangle(0, 0, k, m);
    setInputBounds(0, localRectangle3);
    setInputTransform(0, localBaseTransform);
    setInputNativeBounds(0, localRectangle4);
    HeapImage localHeapImage2 = (HeapImage)getRenderer().getCompatibleImage(i, j);
    setDestNativeBounds(localHeapImage2.getPhysicalWidth(), localHeapImage2.getPhysicalHeight());
    int i1 = localHeapImage2.getScanlineStride();
    int[] arrayOfInt2 = localHeapImage2.getPixelArray();
    int i2 = getCount();
    FloatBuffer localFloatBuffer = getWeights();
    LinearConvolveKernel.PassType localPassType = getKernel().getPassType(getPass());
    if ((!localBaseTransform.isIdentity()) || (!localRectangle2.contains(x, y))) {
      localPassType = LinearConvolveKernel.PassType.GENERAL_VECTOR;
    }
    float[] arrayOfFloat1;
    if (localPassType == LinearConvolveKernel.PassType.HORIZONTAL_CENTERED)
    {
      arrayOfFloat1 = new float[i2 * 2];
      localFloatBuffer.get(arrayOfFloat1, 0, i2);
      localFloatBuffer.rewind();
      localFloatBuffer.get(arrayOfFloat1, i2, i2);
      filterHV(arrayOfInt2, i, j, 1, i1, arrayOfInt1, k, m, 1, n, arrayOfFloat1);
    }
    else if (localPassType == LinearConvolveKernel.PassType.VERTICAL_CENTERED)
    {
      arrayOfFloat1 = new float[i2 * 2];
      localFloatBuffer.get(arrayOfFloat1, 0, i2);
      localFloatBuffer.rewind();
      localFloatBuffer.get(arrayOfFloat1, i2, i2);
      filterHV(arrayOfInt2, j, i, i1, 1, arrayOfInt1, m, k, n, 1, arrayOfFloat1);
    }
    else
    {
      arrayOfFloat1 = new float[i2];
      localFloatBuffer.get(arrayOfFloat1, 0, i2);
      float[] arrayOfFloat2 = new float[8];
      int i3 = getTextureCoordinates(0, arrayOfFloat2, x, y, width, height, localRectangle2, localBaseTransform);
      float f1 = arrayOfFloat2[0] * k;
      float f2 = arrayOfFloat2[1] * m;
      float f3;
      float f4;
      float f5;
      float f6;
      if (i3 < 8)
      {
        f3 = (arrayOfFloat2[2] - arrayOfFloat2[0]) * k / width;
        f4 = 0.0F;
        f5 = 0.0F;
        f6 = (arrayOfFloat2[3] - arrayOfFloat2[1]) * m / height;
      }
      else
      {
        f3 = (arrayOfFloat2[4] - arrayOfFloat2[0]) * k / width;
        f4 = (arrayOfFloat2[5] - arrayOfFloat2[1]) * m / height;
        f5 = (arrayOfFloat2[6] - arrayOfFloat2[0]) * k / width;
        f6 = (arrayOfFloat2[7] - arrayOfFloat2[1]) * m / height;
      }
      float[] arrayOfFloat3 = getOffset();
      float f7 = arrayOfFloat3[0] * k;
      float f8 = arrayOfFloat3[1] * m;
      float f9 = arrayOfFloat3[2] * k;
      float f10 = arrayOfFloat3[3] * m;
      filterVector(arrayOfInt2, i, j, i1, arrayOfInt1, k, m, n, arrayOfFloat1, i2, f1, f2, f9, f10, f7, f8, f3, f4, f5, f6);
    }
    return new ImageData(getFilterContext(), localHeapImage2, localRectangle2);
  }
  
  protected native void filterVector(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6, float[] paramArrayOfFloat, int paramInt7, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, float paramFloat5, float paramFloat6, float paramFloat7, float paramFloat8, float paramFloat9, float paramFloat10);
  
  protected native void filterHV(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int[] paramArrayOfInt2, int paramInt5, int paramInt6, int paramInt7, int paramInt8, float[] paramArrayOfFloat);
}

/* Location:
 * Qualified Name:     com.sun.scenario.effect.impl.sw.sse.SSELinearConvolvePeer
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.sun.scenario.effect.impl.sw.sse;

import com.sun.scenario.effect.FilterContext;
import com.sun.scenario.effect.impl.Renderer;
import com.sun.scenario.effect.impl.state.LinearConvolveKernel;

public class SSELinearConvolveShadowPeer
  extends SSELinearConvolvePeer
{
  public SSELinearConvolveShadowPeer(FilterContext paramFilterContext, Renderer paramRenderer, String paramString)
  {
    super(paramFilterContext, paramRenderer, paramString);
  }
  
  private float[] getShadowColor()
  {
    return getKernel().getShadowColorComponents(getPass());
  }
  
  private static native void filterVector(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6, float[] paramArrayOfFloat1, int paramInt7, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, float paramFloat5, float paramFloat6, float[] paramArrayOfFloat2, float paramFloat7, float paramFloat8, float paramFloat9, float paramFloat10);
  
  protected void filterVector(int[] paramArrayOfInt1, int paramInt1, int paramInt2, int paramInt3, int[] paramArrayOfInt2, int paramInt4, int paramInt5, int paramInt6, float[] paramArrayOfFloat, int paramInt7, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, float paramFloat5, float paramFloat6, float paramFloat7, float paramFloat8, float paramFloat9, float paramFloat10)
  {
    filterVector(paramArrayOfInt1, paramInt1, paramInt2, paramInt3, paramArrayOfInt2, para
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd