#include <rsCppStructs.h>
 
  
 | Public Member Functions | |
| void | setInput (sp< Allocation > in) | 
| void | forEach (sp< Allocation > out) | 
| Static Public Member Functions | |
| static sp < ScriptIntrinsicYuvToRGB > | create (sp< RS > rs, sp< const Element > e) | 
Intrinsic for converting an Android YUV buffer to RGB.
The input allocation should be supplied in a supported YUV format as a YUV element Allocation. The output is RGBA; the alpha channel will be set to 255.
Definition at line 1832 of file rsCppStructs.h.
| static sp<ScriptIntrinsicYuvToRGB> android::RSC::ScriptIntrinsicYuvToRGB::create | ( | sp< RS > | rs, | 
| sp< const Element > | e | ||
| ) |  [static] | 
Create an intrinsic for converting YUV to RGB.
Supported elements types are U8_4.
| [in] | rs | The RenderScript context | 
| [in] | e | Element type for output | 
| void android::RSC::ScriptIntrinsicYuvToRGB::forEach | ( | sp< Allocation > | out | ) | 
Convert the image to RGB.
| [in] | aout | Output allocation. Must match creation element type. | 
| void android::RSC::ScriptIntrinsicYuvToRGB::setInput | ( | sp< Allocation > | in | ) | 
Set the input YUV allocation.
| [in] | ain | The input allocation. |