java.lang.Object | ||||
↳ | android.renderscript.BaseObj | |||
↳ | android.renderscript.Script | |||
↳ | android.renderscript.ScriptIntrinsic | |||
↳ | android.renderscript.ScriptIntrinsicResize |
Intrinsic for performing a resize of a 2D allocation.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Supported elements types are
U8(RenderScript) , U8_2(RenderScript) , U8_3(RenderScript) , U8_4(RenderScript) | |||||||||||
Resize copy the input allocation to the output specified.
| |||||||||||
Resize copy the input allocation to the output specified.
| |||||||||||
Get a FieldID for the input field of this intrinsic.
| |||||||||||
Get a KernelID for this intrinsic kernel.
| |||||||||||
Set the input of the resize.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.Script
| |||||||||||
From class
android.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
|
Supported elements types are U8(RenderScript)
, U8_2(RenderScript)
, U8_3(RenderScript)
, U8_4(RenderScript)
rs | The RenderScript context |
---|
Resize copy the input allocation to the output specified. The Allocation is rescaled if necessary using bi-cubic interpolation.
aout | Output allocation. Element type must match current input. Must not be same as input. |
---|
Resize copy the input allocation to the output specified. The Allocation is rescaled if necessary using bi-cubic interpolation.
aout | Output allocation. Element type must match current input. |
---|---|
opt | LaunchOptions for clipping |
Get a FieldID for the input field of this intrinsic.
Get a KernelID for this intrinsic kernel.
Set the input of the resize. Must match the element type supplied during create.
ain | The input allocation. |
---|