Added in API level 17
Deprecated in API level 31

ScriptIntrinsic


abstract class ScriptIntrinsic : Script
ScriptIntrinsic3DLUT

Intrinsic for converting RGB to RGBA by using a 3D lookup table.

ScriptIntrinsicBLAS

ScriptIntrinsicBLAS class provides high performance RenderScript APIs to BLAS.

ScriptIntrinsicBlend

Intrinsic kernels for blending two android.renderscript.Allocation objects.

ScriptIntrinsicBlur

Intrinsic Gausian blur filter.

ScriptIntrinsicColorMatrix

Intrinsic for applying a color matrix to allocations.

ScriptIntrinsicConvolve3x3

Intrinsic for applying a 3x3 convolve to an allocation.

ScriptIntrinsicConvolve5x5

Intrinsic for applying a 5x5 convolve to an allocation.

ScriptIntrinsicHistogram

Intrinsic Histogram filter.

ScriptIntrinsicLUT

Intrinsic for applying a per-channel lookup table.

ScriptIntrinsicResize

Intrinsic for performing a resize of a 2D allocation.

ScriptIntrinsicYuvToRGB

Intrinsic for converting an Android YUV buffer to RGB.


Base class for all Intrinsic scripts. An intrinsic is a script that implements a pre-defined function. Intrinsics are provided to provide efficient implementations of common operations. Not intended for direct use.

Summary

Inherited functions
Unit bindAllocation(va: Allocation!, slot: Int)

Only intended for use by generated reflected code.

Script.FieldID! createFieldID(slot: Int, e: Element!)

Only to be used by generated reflected classes.

Script.InvokeID! createInvokeID(slot: Int)

Only to be used by generated reflected classes.

Script.KernelID! createKernelID(slot: Int, sig: Int, ein: Element!, eout: Element!)

Only to be used by generated reflected classes.

Unit forEach(slot: Int, ain: Allocation!, aout: Allocation!, v: FieldPacker!)

Only intended for use by generated reflected code.

Unit forEach(slot: Int, ain: Allocation!, aout: Allocation!, v: FieldPacker!, sc: Script.LaunchOptions!)

Only intended for use by generated reflected code.

Unit forEach(slot: Int, ains: Array<Allocation!>!, aout: Allocation!, v: FieldPacker!)

Only intended for use by generated reflected code.

Unit forEach(slot: Int, ains: Array<Allocation!>!, aout: Allocation!, v: FieldPacker!, sc: Script.LaunchOptions!)

Only intended for use by generated reflected code.

Boolean getVarB(index: Int)

Double getVarD(index: Int)

Float getVarF(index: Int)

Int getVarI(index: Int)

Long getVarJ(index: Int)

Unit getVarV(index: Int, v: FieldPacker!)

Only intended for use by generated reflected code.

Unit invoke(slot: Int)

Only intended for use by generated reflected code.

Unit invoke(slot: Int, v: FieldPacker!)

Only intended for use by generated reflected code.

Unit reduce(slot: Int, ains: Array<Allocation!>!, aout: Allocation!, sc: Script.LaunchOptions!)

Only intended for use by generated reflected code. (General reduction)

Unit setTimeZone(timeZone: String!)

Unit setVar(index: Int, o: BaseObj!)

Only intended for use by generated reflected code.

Unit setVar(index: Int, v: FieldPacker!)

Only intended for use by generated reflected code.

Unit setVar(index: Int, v: FieldPacker!, e: Element!, dims: IntArray!)

Only intended for use by generated reflected code.

Unit setVar(index: Int, v: Boolean)

Only intended for use by generated reflected code.

Unit setVar(index: Int, v: Double)

Only intended for use by generated reflected code.

Unit setVar(index: Int, v: Float)

Only intended for use by generated reflected code.

Unit setVar(index: Int, v: Int)

Only intended for use by generated reflected code.

Unit setVar(index: Int, v: Long)

Only intended for use by generated reflected code.

Unit destroy()

Frees any native resources associated with this object. The primary use is to force immediate cleanup of resources when it is believed the GC will not respond quickly enough.

Boolean equals(other: Any?)

Compare the current BaseObj with another BaseObj for equality.

Unit finalize()

String! getName()

Int hashCode()

Calculates the hash code value for a BaseObj.

Unit setName(name: String!)

setName assigns a name to an object. This object can later be looked up by this name.