java.lang.Object | ||||
↳ | android.support.v8.renderscript.BaseObj | |||
↳ | android.support.v8.renderscript.Script | |||
↳ | android.support.v8.renderscript.ScriptIntrinsic | |||
↳ | android.support.v8.renderscript.ScriptIntrinsicConvolve3x3 |
Intrinsic for applying a 3x3 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.support.v8.renderscript.Script
| |||||||||||
From class
android.support.v8.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
|
Supported elements types are [ 0, 0, 0 ]
[ 0, 1, 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 ]
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. |
---|