to top
Android APIs
public class

ScriptIntrinsicYuvToRGBThunker

extends ScriptIntrinsicYuvToRGB
java.lang.Object
   ↳ android.support.v8.renderscript.BaseObj
     ↳ android.support.v8.renderscript.Script
       ↳ android.support.v8.renderscript.ScriptIntrinsic
         ↳ android.support.v8.renderscript.ScriptIntrinsicYuvToRGB
           ↳ android.support.v8.renderscript.ScriptIntrinsicYuvToRGBThunker

Summary

Public Methods
static ScriptIntrinsicYuvToRGBThunker create(RenderScript rs, Element e)
void forEach(Allocation aout)
Convert the image to RGB.
Script.FieldID getFieldID_Input()
Get a FieldID for the input field of this intrinsic.
Script.KernelID getKernelID()
Get a KernelID for this intrinsic kernel.
void setInput(Allocation ain)
Set the input yuv allocation, must be U8(RenderScript).
[Expand]
Inherited Methods
From class android.support.v8.renderscript.ScriptIntrinsicYuvToRGB
From class android.support.v8.renderscript.Script
From class android.support.v8.renderscript.BaseObj
From class java.lang.Object

Public Methods

public static ScriptIntrinsicYuvToRGBThunker create (RenderScript rs, Element e)

public void forEach (Allocation aout)

Convert the image to RGB.

Parameters
aout Output allocation. Must match creation element type.

public Script.FieldID getFieldID_Input ()

Get a FieldID for the input field of this intrinsic.

Returns
  • Script.FieldID The FieldID object.

public Script.KernelID getKernelID ()

Get a KernelID for this intrinsic kernel.

Returns
  • Script.KernelID The KernelID object.

public void setInput (Allocation ain)

Set the input yuv allocation, must be U8(RenderScript).

Parameters
ain The input allocation.