java.lang.Object | ||||
↳ | android.support.v8.renderscript.BaseObj | |||
↳ | android.support.v8.renderscript.Script | |||
↳ | android.support.v8.renderscript.ScriptIntrinsic | |||
↳ | android.support.v8.renderscript.ScriptIntrinsicBlur |
Intrinsic Gausian blur filter. Applies a gaussian blur of the specified radius to all elements of an allocation.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.support.v8.renderscript.Script
| |||||||||||
From class
android.support.v8.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 |
---|