ScriptIntrinsic3DLUTThunkerpublic class ScriptIntrinsic3DLUTThunker extends ScriptIntrinsic3DLUT
Fields Summary |
---|
android.renderscript.ScriptIntrinsic3DLUT | mN |
Methods Summary |
---|
public static android.support.v8.renderscript.ScriptIntrinsic3DLUTThunker | create(RenderScript rs, Element e)
RenderScriptThunker rst = (RenderScriptThunker) rs;
ElementThunker et = (ElementThunker) e;
ScriptIntrinsic3DLUTThunker lut = new ScriptIntrinsic3DLUTThunker(0, rs, e);
try {
lut.mN = android.renderscript.ScriptIntrinsic3DLUT.create(rst.mN, et.getNObj());
} catch (android.renderscript.RSRuntimeException exc) {
throw ExceptionThunker.convertException(exc);
}
return lut;
| public void | forEach(Allocation ain, Allocation aout)Invoke the kernel and apply the lookup to each cell of ain
and copy to 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()Get a KernelID for this intrinsic kernel.
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.ScriptIntrinsic3DLUT | getNObj()
return mN;
| public void | setLUT(Allocation lut)
AllocationThunker lutt = (AllocationThunker) lut;
try {
mN.setLUT(lutt.getNObj());
} catch (android.renderscript.RSRuntimeException e) {
throw ExceptionThunker.convertException(e);
}
|
|