public class ScriptIntrinsicResize extends ScriptIntrinsic
Script.Builder, Script.FieldBase, Script.FieldID, Script.InvokeID, Script.KernelID, Script.LaunchOptions
Modifier | Constructor and Description |
---|---|
protected |
ScriptIntrinsicResize(long id,
RenderScript rs) |
bindAllocation, createFieldID, createInvokeID, createKernelID, forEach, forEach, forEach, forEach, invoke, invoke, isIncSupp, reduce, setIncSupp, setTimeZone, setVar, setVar, setVar, setVar, setVar, setVar, setVar, setVar
protected ScriptIntrinsicResize(long id, RenderScript rs)
public static ScriptIntrinsicResize create(RenderScript rs)
Element.U8(android.support.v8.renderscript.RenderScript)
, Element.U8_2(android.support.v8.renderscript.RenderScript)
, Element.U8_3(android.support.v8.renderscript.RenderScript)
, Element.U8_4(android.support.v8.renderscript.RenderScript)
Element.F32(android.support.v8.renderscript.RenderScript)
, Element.F32_2(android.support.v8.renderscript.RenderScript)
, Element.F32_3(android.support.v8.renderscript.RenderScript)
, Element.F32_4(android.support.v8.renderscript.RenderScript)
rs
- The RenderScript contextpublic void setInput(Allocation ain)
ain
- The input allocation.public Script.FieldID getFieldID_Input()
public void forEach_bicubic(Allocation aout)
aout
- Output allocation. Element type must match
current input. Must not be same as input.public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt)
aout
- Output allocation. Element type must match
current input.opt
- LaunchOptions for clippingpublic Script.KernelID getKernelID_bicubic()