java.lang.Object | ||||
↳ | android.support.v8.renderscript.BaseObj | |||
↳ | android.support.v8.renderscript.Script | |||
↳ | android.support.v8.renderscript.ScriptIntrinsic | |||
↳ | android.support.v8.renderscript.ScriptIntrinsicLUT |
Intrinsic for applying a per-channel lookup table. Each
channel of the input has an independant lookup table. The
tables are 256 entries in size and can cover the full value
range of U8_4(RenderScript)
.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Supported elements types are
U8_4(RenderScript)
The defaults tables are identity. | |||||||||||
Invoke the kernel and apply the lookup to each cell of ain
and copy to aout.
| |||||||||||
Get a KernelID for this intrinsic kernel.
| |||||||||||
Set an entry in the alpha channel lookup table
| |||||||||||
Set an entry in the blue channel lookup table
| |||||||||||
Set an entry in the green channel lookup table
| |||||||||||
Set an entry in the red channel lookup table
|
[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 U8_4(RenderScript)
The defaults tables are identity.
rs | The RenderScript context |
---|---|
e | Element type for intputs and outputs |
Invoke the kernel and apply the lookup to each cell of ain and copy to aout.
ain | Input allocation |
---|---|
aout | Output allocation |
Get a KernelID for this intrinsic kernel.
Set an entry in the alpha channel lookup table
index | Must be 0-255 |
---|---|
value | Must be 0-255 |
Set an entry in the blue channel lookup table
index | Must be 0-255 |
---|---|
value | Must be 0-255 |
Set an entry in the green channel lookup table
index | Must be 0-255 |
---|---|
value | Must be 0-255 |
Set an entry in the red channel lookup table
index | Must be 0-255 |
---|---|
value | Must be 0-255 |