FileDocCategorySizeDatePackage
WhiteBalance.javaAPI DocAndroid 5.1 API1256Thu Mar 12 22:22:54 GMT 2015com.android.rs.imagejb

WhiteBalance

public class WhiteBalance extends TestBase

Fields Summary
private ScriptC_wbalance
mScript
Constructors Summary
Methods Summary
public voidcreateTest(android.content.res.Resources res)

        mScript = new ScriptC_wbalance(mRS);
    
public voidrunTest()

        mScript.set_histogramSource(mInPixelsAllocation);
        mScript.set_histogramWidth(mInPixelsAllocation.getType().getX());
        mScript.set_histogramHeight(mInPixelsAllocation.getType().getY());
        mScript.invoke_prepareWhiteBalance();
        mScript.forEach_whiteBalanceKernel(mInPixelsAllocation, mOutPixelsAllocation);