Loading rs/java/android/renderscript/ScriptIntrinsicBlur.java +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ public final class ScriptIntrinsicBlur extends ScriptIntrinsic { */ public static ScriptIntrinsicBlur create(RenderScript rs, Element e) { if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(5, e.getID(rs)); ScriptIntrinsicBlur sib = new ScriptIntrinsicBlur(id, rs); Loading rs/java/android/renderscript/ScriptIntrinsicColorMatrix.java +2 −2 Original line number Diff line number Diff line Loading @@ -251,7 +251,7 @@ public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic { !ain.getElement().isCompatible(Element.F32_3(mRS)) && !ain.getElement().isCompatible(Element.F32_4(mRS))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } if (!aout.getElement().isCompatible(Element.U8(mRS)) && Loading @@ -263,7 +263,7 @@ public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic { !aout.getElement().isCompatible(Element.F32_3(mRS)) && !aout.getElement().isCompatible(Element.F32_4(mRS))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } forEach(0, ain, aout, null, opt); Loading rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ public final class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic { !e.isCompatible(Element.F32_2(rs)) && !e.isCompatible(Element.F32_3(rs)) && !e.isCompatible(Element.F32_4(rs))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(1, e.getID(rs)); ScriptIntrinsicConvolve3x3 si = new ScriptIntrinsicConvolve3x3(id, rs); Loading rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { !e.isCompatible(Element.F32_2(rs)) && !e.isCompatible(Element.F32_3(rs)) && !e.isCompatible(Element.F32_4(rs))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(4, e.getID(rs)); Loading rs/java/android/renderscript/ScriptIntrinsicHistogram.java +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public final class ScriptIntrinsicHistogram extends ScriptIntrinsic { (!e.isCompatible(Element.U8_3(rs))) && (!e.isCompatible(Element.U8_2(rs))) && (!e.isCompatible(Element.U8(rs)))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(9, e.getID(rs)); ScriptIntrinsicHistogram sib = new ScriptIntrinsicHistogram(id, rs); Loading Loading
rs/java/android/renderscript/ScriptIntrinsicBlur.java +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ public final class ScriptIntrinsicBlur extends ScriptIntrinsic { */ public static ScriptIntrinsicBlur create(RenderScript rs, Element e) { if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(5, e.getID(rs)); ScriptIntrinsicBlur sib = new ScriptIntrinsicBlur(id, rs); Loading
rs/java/android/renderscript/ScriptIntrinsicColorMatrix.java +2 −2 Original line number Diff line number Diff line Loading @@ -251,7 +251,7 @@ public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic { !ain.getElement().isCompatible(Element.F32_3(mRS)) && !ain.getElement().isCompatible(Element.F32_4(mRS))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } if (!aout.getElement().isCompatible(Element.U8(mRS)) && Loading @@ -263,7 +263,7 @@ public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic { !aout.getElement().isCompatible(Element.F32_3(mRS)) && !aout.getElement().isCompatible(Element.F32_4(mRS))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } forEach(0, ain, aout, null, opt); Loading
rs/java/android/renderscript/ScriptIntrinsicConvolve3x3.java +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ public final class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic { !e.isCompatible(Element.F32_2(rs)) && !e.isCompatible(Element.F32_3(rs)) && !e.isCompatible(Element.F32_4(rs))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(1, e.getID(rs)); ScriptIntrinsicConvolve3x3 si = new ScriptIntrinsicConvolve3x3(id, rs); Loading
rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { !e.isCompatible(Element.F32_2(rs)) && !e.isCompatible(Element.F32_3(rs)) && !e.isCompatible(Element.F32_4(rs))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(4, e.getID(rs)); Loading
rs/java/android/renderscript/ScriptIntrinsicHistogram.java +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public final class ScriptIntrinsicHistogram extends ScriptIntrinsic { (!e.isCompatible(Element.U8_3(rs))) && (!e.isCompatible(Element.U8_2(rs))) && (!e.isCompatible(Element.U8(rs)))) { throw new RSIllegalArgumentException("Unsuported element type."); throw new RSIllegalArgumentException("Unsupported element type."); } long id = rs.nScriptIntrinsicCreate(9, e.getID(rs)); ScriptIntrinsicHistogram sib = new ScriptIntrinsicHistogram(id, rs); Loading