java.lang.Object | ||||
↳ | android.renderscript.BaseObj | |||
↳ | android.renderscript.Script | |||
↳ | android.renderscript.ScriptIntrinsic | |||
↳ | android.renderscript.ScriptIntrinsicBlend |
Intrinsic kernels for blending two Allocation
objects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Supported elements types are
U8_4(RenderScript) | |||||||||||
Sets dst = min(src + dst, 1.0)
| |||||||||||
Sets dst = min(src + dst, 1.0)
| |||||||||||
Sets dst = {0, 0, 0, 0}
| |||||||||||
Sets dst = {0, 0, 0, 0}
| |||||||||||
Sets dst = dst
This is a NOP.
| |||||||||||
Sets dst = dst
This is a NOP.
| |||||||||||
dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb
dst.a = src.a
| |||||||||||
dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb
dst.a = src.a
| |||||||||||
Sets dst = dst * src.a
| |||||||||||
Sets dst = dst * src.a
| |||||||||||
Sets dst = dst * (1.0 - src.a)
| |||||||||||
Sets dst = dst * (1.0 - src.a)
| |||||||||||
Sets dst = dst + src * (1.0 - dst.a)
| |||||||||||
Sets dst = dst + src * (1.0 - dst.a)
| |||||||||||
Sets dst = src * dst
| |||||||||||
Sets dst = src * dst
| |||||||||||
Sets dst = src
| |||||||||||
Sets dst = src
| |||||||||||
dst.rgb = src.rgb * dst.a + (1.0 - src.a) * dst.rgb
dst.a = dst.a
| |||||||||||
dst.rgb = src.rgb * dst.a + (1.0 - src.a) * dst.rgb
dst.a = dst.a
| |||||||||||
Sets dst = src * dst.a
| |||||||||||
Sets dst = src * dst.a
| |||||||||||
Sets dst = src * (1.0 - dst.a)
| |||||||||||
Sets dst = src * (1.0 - dst.a)
| |||||||||||
Sets dst = src + dst * (1.0 - src.a)
| |||||||||||
Sets dst = src + dst * (1.0 - src.a)
| |||||||||||
Sets dst = max(dst - src, 0.0)
| |||||||||||
Sets dst = max(dst - src, 0.0)
| |||||||||||
Sets dst = {src.r ^ dst.r, src.g ^ dst.g, src.b ^ dst.b, src.a ^ dst.a}
| |||||||||||
Sets dst = {src.r ^ dst.r, src.g ^ dst.g, src.b ^ dst.b, src.a ^ dst.a}
| |||||||||||
Get a KernelID for the Add kernel.
| |||||||||||
Get a KernelID for the Clear kernel.
| |||||||||||
Get a KernelID for the Dst kernel.
| |||||||||||
Get a KernelID for the DstAtop kernel.
| |||||||||||
Get a KernelID for the DstIn kernel.
| |||||||||||
Get a KernelID for the DstOut kernel.
| |||||||||||
Get a KernelID for the DstOver kernel.
| |||||||||||
Get a KernelID for the Multiply kernel.
| |||||||||||
Get a KernelID for the Src kernel.
| |||||||||||
Get a KernelID for the SrcAtop kernel.
| |||||||||||
Get a KernelID for the SrcIn kernel.
| |||||||||||
Get a KernelID for the SrcOut kernel.
| |||||||||||
Get a KernelID for the SrcOver kernel.
| |||||||||||
Get a KernelID for the Subtract kernel.
| |||||||||||
Get a KernelID for the Xor kernel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.Script
| |||||||||||
From class
android.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
|
Supported elements types are U8_4(RenderScript)
rs | The RenderScript context |
---|---|
e | Element type for inputs and outputs |
Sets dst = min(src + dst, 1.0)
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = min(src + dst, 1.0)
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = {0, 0, 0, 0}
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = {0, 0, 0, 0}
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = dst This is a NOP.
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = dst This is a NOP.
ain | The source buffer |
---|---|
aout | The destination buffer |
dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a
ain | The source buffer |
---|---|
aout | The destination buffer |
dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = dst * src.a
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = dst * src.a
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = dst * (1.0 - src.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = dst * (1.0 - src.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = dst + src * (1.0 - dst.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = dst + src * (1.0 - dst.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = src * dst
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = src * dst
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = src
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = src
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
dst.rgb = src.rgb * dst.a + (1.0 - src.a) * dst.rgb dst.a = dst.a
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
dst.rgb = src.rgb * dst.a + (1.0 - src.a) * dst.rgb dst.a = dst.a
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = src * dst.a
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = src * dst.a
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = src * (1.0 - dst.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = src * (1.0 - dst.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = src + dst * (1.0 - src.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = src + dst * (1.0 - src.a)
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = max(dst - src, 0.0)
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Sets dst = max(dst - src, 0.0)
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = {src.r ^ dst.r, src.g ^ dst.g, src.b ^ dst.b, src.a ^ dst.a}
ain | The source buffer |
---|---|
aout | The destination buffer |
Sets dst = {src.r ^ dst.r, src.g ^ dst.g, src.b ^ dst.b, src.a ^ dst.a}
ain | The source buffer |
---|---|
aout | The destination buffer |
opt | LaunchOptions for clipping |
Get a KernelID for the Add kernel.
Get a KernelID for the Clear kernel.
Get a KernelID for the Dst kernel.
Get a KernelID for the DstAtop kernel.
Get a KernelID for the DstIn kernel.
Get a KernelID for the DstOut kernel.
Get a KernelID for the DstOver kernel.
Get a KernelID for the Multiply kernel.
Get a KernelID for the Src kernel.
Get a KernelID for the SrcAtop kernel.
Get a KernelID for the SrcIn kernel.
Get a KernelID for the SrcOut kernel.
Get a KernelID for the SrcOver kernel.
Get a KernelID for the Subtract kernel.
Get a KernelID for the Xor kernel.