Methods Summary |
---|
public static android.support.v8.renderscript.ScriptIntrinsicColorMatrixThunker | create(RenderScript rs, Element e)
RenderScriptThunker rst = (RenderScriptThunker) rs;
ElementThunker et = (ElementThunker)e;
ScriptIntrinsicColorMatrixThunker cm = new ScriptIntrinsicColorMatrixThunker(0, rs);
try {
cm.mN = android.renderscript.ScriptIntrinsicColorMatrix.create(rst.mN, et.getNObj());
} catch (android.renderscript.RSRuntimeException exc) {
throw ExceptionThunker.convertException(exc);
}
return cm;
|
public void | forEach(Allocation ain, Allocation aout)
AllocationThunker aint = (AllocationThunker)ain;
AllocationThunker aoutt = (AllocationThunker)aout;
try {
mN.forEach(aint.getNObj(), aoutt.getNObj());
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
|
public Script.KernelID | getKernelID()
Script.KernelID k = createKernelID(0, 3, null, null);
try {
k.mN = mN.getKernelID();
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
return k;
|
android.renderscript.ScriptIntrinsicColorMatrix | getNObj()
return mN;
|
public void | setColorMatrix(Matrix4f m)
try {
mN.setColorMatrix(new android.renderscript.Matrix4f(m.getArray()));
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
|
public void | setColorMatrix(Matrix3f m)
try {
mN.setColorMatrix(new android.renderscript.Matrix3f(m.getArray()));
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
|
public void | setGreyscale()
try {
mN.setGreyscale();
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
|
public void | setRGBtoYUV()
try {
mN.setRGBtoYUV();
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
|
public void | setYUVtoRGB()
try {
mN.setYUVtoRGB();
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
|