| java.lang.Object | ||||
| ↳ | android.renderscript.BaseObj | |||
| ↳ | android.renderscript.Script | |||
| ↳ | android.renderscript.ScriptIntrinsic | |||
| ↳ | android.renderscript.ScriptIntrinsicBlur | |||
Intrinsic Gausian blur filter. Applies a gaussian blur of the specified radius to all elements of an allocation.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create an intrinsic for applying a blur to an allocation.
| |||||||||||
Apply the filter to the input and save to the specified
allocation.
| |||||||||||
Get a FieldID for the input field of this intrinsic.
| |||||||||||
Get a KernelID for this intrinsic kernel.
| |||||||||||
Set the input of the blur.
| |||||||||||
Set the radius of the Blur.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.Script
| |||||||||||
From class
android.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create an intrinsic for applying a blur to an allocation. The
default radius is 5.0.
Supported elements types are U8_4(RenderScript)
| rs | The RenderScript context |
|---|---|
| e | Element type for inputs and outputs |
Apply the filter to the input and save to the specified allocation.
| aout | Output allocation. Must match creation element type. |
|---|
Get a FieldID for the input field of this intrinsic.
Get a KernelID for this intrinsic kernel.
Set the input of the blur. Must match the element type supplied during create.
| ain | The input allocation |
|---|
Set the radius of the Blur. Supported range 0 < radius <= 25
| radius | The radius of the blur |
|---|