java.lang.Object | ||||
↳ | android.renderscript.BaseObj | |||
↳ | android.renderscript.Script | |||
↳ | android.renderscript.ScriptIntrinsic | |||
↳ | android.renderscript.ScriptIntrinsicConvolve3x3 |
Intrinsic for applying a 3x3 convolve to an allocation.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Supported elements types are
U8(RenderScript) , U8_2(RenderScript) , U8_3(RenderScript) , U8_4(RenderScript) ,
F32(RenderScript) , F32_2(RenderScript) , F32_3(RenderScript) , and F32_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, 1, 0 ]
[ 0, 0, 0 ]
U8(RenderScript)
, U8_2(RenderScript)
, U8_3(RenderScript)
, U8_4(RenderScript)
,
F32(RenderScript)
, F32_2(RenderScript)
, F32_3(RenderScript)
, and F32_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. |
---|