No examples for this method.
Frequently called with: [Clear]
-1
| java.lang.Object | ||||
| ↳ | android.renderscript.BaseObj | |||
| ↳ | android.renderscript.Script | |||
| ↳ | android.renderscript.ScriptIntrinsic | |||
| ↳ | android.renderscript.ScriptIntrinsicYuvToRGB | |||
Intrinsic for converting an Android YUV buffer to RGB. The input allocation is supplied in NV21 format as a U8 element type. The output is RGBA, the alpha channel will be set to 255.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
Create an intrinsic for converting YUV to RGB.
|
|||||||||
|
|
|
Convert the image to RGB.
|
|||||||||
|
|
|
Get a FieldID for the input field of this intrinsic.
|
|||||||||
|
|
|
Get a KernelID for this intrinsic kernel.
|
|||||||||
|
|
|
Set the input yuv allocation, must be
U8(RenderScript).
|
|||||||||
| [Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class android.renderscript.Script
|
|||||||||||
From class android.renderscript.BaseObj
|
|||||||||||
From class java.lang.Object
|
|||||||||||
Create an intrinsic for converting YUV to RGB. Supported elements types are U8_4(RenderScript)
| rs | The Renderscript context |
|---|---|
| e | Element type for output |
Convert the image to RGB.
| aout | Output allocation. Must match creation element type. |
|---|
Get a FieldID for the input field of this intrinsic.
Get a KernelID for this intrinsic kernel.
Set the input yuv allocation, must be U8(RenderScript).
| ain | The input allocation. |
|---|