Lines Matching refs:buffers
37 ImageBuffersForRenderScriptF32 buffers;
48 // Allocates, binds, and initializes buffers that interface between Java
53 buffers = new ImageBuffersForRenderScriptF32(inputImage, margin,
55 buffers.initializeRenderScript(focalLayer, scriptC);
60 // Extracts the result from .rs file to {@code buffers.outputImage} in Java.
64 scriptC.forEach_PackOutputImage(buffers.outAllocation);
69 buffers.outAllocation.copyTo(buffers.outputImage);
73 return buffers.outputImage;
81 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(),
82 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888);
94 Bitmap mBitmap = Bitmap.createBitmap(buffers.inputImage.getWidth(),
95 buffers.inputImage.getHeight(), Bitmap.Config.ARGB_8888);
136 scriptC.forEach_MarkLayerMask(buffers.inAllocation);
141 scriptC.forEach_ComputeLayerMatteBehindFocalDepth(buffers.inAllocation);
156 launchOptions.setY(0, buffers.inputImage.getHeight());
160 buffers.inAllocation, launchOptions);
168 scriptC.forEach_FilterLayerBehindFocalDepth(buffers.inAllocation);
182 scriptC.forEach_UpdateSharpImageUsingFuzzyImage(buffers.inAllocation);
196 scriptC.forEach_MarkLayerMask(buffers.inAllocation);
201 scriptC.forEach_ComputeLayerMatteInFrontOfFocalDepth(buffers.inAllocation);
216 launchOptions.setY(0, buffers.inputImage.getHeight());
220 buffers.inAllocation, launchOptions);
227 scriptC.forEach_FilterLayerInFrontOfFocalDepth(buffers.inAllocation);
242 scriptC.forEach_FinalizeFuzzyImageUsingSharpImage(buffers.inAllocation);