FileDocCategorySizeDatePackage
ScriptIntrinsicColorMatrixThunker.javaAPI DocAndroid 5.1 API3455Thu Mar 12 22:22:56 GMT 2015android.support.v8.renderscript

ScriptIntrinsicColorMatrixThunker

public class ScriptIntrinsicColorMatrixThunker extends ScriptIntrinsicColorMatrix

Fields Summary
android.renderscript.ScriptIntrinsicColorMatrix
mN
Constructors Summary
private ScriptIntrinsicColorMatrixThunker(int id, RenderScript rs)

        super(id, rs);
    
Methods Summary
public static android.support.v8.renderscript.ScriptIntrinsicColorMatrixThunkercreate(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 voidforEach(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.KernelIDgetKernelID()

        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.ScriptIntrinsicColorMatrixgetNObj()

        return mN;
    
public voidsetColorMatrix(Matrix4f m)

        try {
            mN.setColorMatrix(new android.renderscript.Matrix4f(m.getArray()));
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public voidsetColorMatrix(Matrix3f m)

        try {
            mN.setColorMatrix(new android.renderscript.Matrix3f(m.getArray()));
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public voidsetGreyscale()

        try {
            mN.setGreyscale();
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public voidsetRGBtoYUV()

        try {
            mN.setRGBtoYUV();
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }
    
public voidsetYUVtoRGB()

        try {
            mN.setYUVtoRGB();
        } catch (android.renderscript.RSRuntimeException e) {
            throw ExceptionThunker.convertException(e);
        }