diff options
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java')
-rw-r--r-- | rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java b/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java index aebafc2..2d37600 100644 --- a/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java +++ b/rs/java/android/renderscript/ScriptIntrinsicConvolve5x5.java @@ -16,8 +16,6 @@ package android.renderscript; -import android.util.Log; - /** * Intrinsic for applying a 5x5 convolve to an allocation. * @@ -113,6 +111,19 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { } /** + * Apply the filter to the input and save to the specified + * allocation. + * + * @param aout Output allocation. Must match creation element + * type. + * @param opt LaunchOptions for clipping + */ + public void forEach(Allocation aout, Script.LaunchOptions opt) { + forEach(0, (Allocation) null, aout, null, opt); + } + + + /** * Get a KernelID for this intrinsic kernel. * * @return Script.KernelID The KernelID object. |