java.lang.Object | ||||
↳ | android.renderscript.BaseObj | |||
↳ | android.renderscript.Script | |||
↳ | android.renderscript.ScriptIntrinsic | |||
↳ | android.renderscript.ScriptIntrinsicConvolve5x5 |
Intrinsic for applying a 5x5 convolve to an allocation.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Supported elements types are
U8_4(RenderScript)
The default coefficients are. | |||||||||||
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 coefficients for the convolve.
| |||||||||||
Set the input of the blur.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.Script
| |||||||||||
From class
android.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
|
Supported elements types are [ 0, 0, 0, 0, 0 ]
[ 0, 0, 0, 0, 0 ]
[ 0, 0, 1, 0, 0 ]
[ 0, 0, 0, 0, 0 ]
[ 0, 0, 0, 0, 0 ]
U8_4(RenderScript)
The default coefficients are.
rs | The Renderscript context |
---|---|
e | Element type for intputs 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 coefficients for the convolve.
The convolve layout is
[ 0, 1, 2, 3, 4 ]
[ 5, 6, 7, 8, 9 ]
[ 10, 11, 12, 13, 14 ]
[ 15, 16, 17, 18, 19 ]
[ 20, 21, 22, 23, 24 ]
v | The array of coefficients to set |
---|
Set the input of the blur. Must match the element type supplied during create.
ain | The input allocation. |
---|