1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5 6<title>android::RSC::Element Class Reference</title> 7<link href="tabs.css" rel="stylesheet" type="text/css"/> 8<link href="doxygen.css" rel="stylesheet" type="text/css" /> 9 10 11 12</head> 13<body> 14<div id="top"><!-- do not remove this div! --> 15 16 17<!-- Generated by Doxygen 1.7.5.1 --> 18 <div id="navrow1" class="tabs"> 19 <ul class="tablist"> 20 <li><a href="index.html"><span>Overview</span></a></li> 21 <li class="current"><a href="annotated.html"><span>Structs</span></a></li> 22 </ul> 23 </div> 24 <div id="nav-path" class="navpath"> 25 <ul> 26 <li class="navelem"><b>android</b> </li> 27 <li class="navelem"><b>RSC</b> </li> 28 <li class="navelem"><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </li> 29 </ul> 30 </div> 31</div> 32<div class="header"> 33 <div class="summary"> 34<a href="#nested-classes">Data Structures</a> | 35<a href="#pub-methods">Public Member Functions</a> | 36<a href="#pub-static-methods">Static Public Member Functions</a> </div> 37 <div class="headertitle"> 38<div class="title">android::RSC::Element Class Reference</div> </div> 39</div> 40<div class="contents"> 41<!-- doxytag: class="android::RSC::Element" --><!-- doxytag: inherits="android::RSC::BaseObj" --> 42<p><code>#include <<a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>></code></p> 43<div class="dynheader"> 44Inheritance diagram for android::RSC::Element:</div> 45<div class="dyncontent"> 46 <div class="center"> 47 <img src="classandroid_1_1RSC_1_1Element.png" usemap="#android::RSC::Element_map" alt=""/> 48 <map id="android::RSC::Element_map" name="android::RSC::Element_map"> 49<area href="classandroid_1_1RSC_1_1BaseObj.html" alt="android::RSC::BaseObj" shape="rect" coords="0,0,140,24"/> 50</map> 51 </div></div> 52<table class="memberdecls"> 53<tr><td colspan="2"><h2><a name="nested-classes"></a> 54Data Structures</h2></td></tr> 55<tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element_1_1Builder.html">Builder</a></td></tr> 56<tr><td colspan="2"><h2><a name="pub-methods"></a> 57Public Member Functions</h2></td></tr> 58<tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3bc7d03d3f6d1b130592e4192aeeedc9">getSubElementCount</a> ()</td></tr> 59<tr><td class="memItemLeft" align="right" valign="top">sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a5a23869e7d2a8c22e0d70bf5a90448d1">getSubElement</a> (uint32_t index)</td></tr> 60<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#adb8f953d025b4ea03dd19678c69d4f5a">getSubElementName</a> (uint32_t index)</td></tr> 61<tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a004e582191292906e3c20cca7c38ff71">getSubElementArraySize</a> (uint32_t index)</td></tr> 62<tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#adaf83e7649e7fd0dfe4b8e2c884bfa5a">getSubElementOffsetBytes</a> (uint32_t index)</td></tr> 63<tr><td class="memItemLeft" align="right" valign="top">RsDataType </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a8534de74929342ed32f271ddfd446a5a">getDataType</a> () const </td></tr> 64<tr><td class="memItemLeft" align="right" valign="top">RsDataKind </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aa30bc1b991015ac6c1915229e04a9cca">getDataKind</a> () const </td></tr> 65<tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a5368abfd727463499d49775733cb0cf6">getSizeBytes</a> () const </td></tr> 66<tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#abdae22ce17b81b9c931f02481302ca46">getVectorSize</a> () const </td></tr> 67<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a66e7b5cccf8f7296bc049308d3990d66">isCompatible</a> (sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> >e) const </td></tr> 68<tr><td colspan="2"><h2><a name="pub-static-methods"></a> 69Static Public Member Functions</h2></td></tr> 70<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a03eb94692c2a7ffd8353373ef416876b">BOOLEAN</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 71<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a685e0e76cedd4d457f20fe4e36ab00b8">U8</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 72<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a253a510dd720bade6324e94dd2bf6064">I8</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 73<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ae6664c469040672733532b8d46181974">U16</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 74<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a909e326836fa1931b7d013b72bb238b9">I16</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 75<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a97c43a4c829fa6bf7b788e25ab38dc63">U32</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 76<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4a71a4bd7f73708084abaf059f3b69d9">I32</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 77<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3c45ab8ce73a2e652bcdfe8b632f870a">U64</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 78<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a8c5ef3c359e3ce8b03cfb7ebfaaa4723">I64</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 79<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a7cd574aa920bcf0bd7676ef12e8faf86">F32</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 80<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a2a156b02415f3c7781306757b4e6ff86">F64</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 81<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a52d7864dc41cdf9a9bccffd02564f88f">ELEMENT</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 82<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ad426d4adfccc00804ecd29397dfcae4b">TYPE</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 83<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ad7cec967de7508ed5f51ccecc3e43958">ALLOCATION</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 84<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3fef8f6e13144323e5abe23f93727faa">SAMPLER</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 85<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a98a7cc92c40fee058b69045a7b9b25da">SCRIPT</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 86<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a5c5ab41b9abcdc410b5ad9bc033f969e">A_8</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 87<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ab7c867004008b4f4bd3492db8f142e0a">RGB_565</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 88<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a68e4d393957b1236247d6c03de8508ac">RGB_888</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 89<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a22d97b36faf9a6e5cb68a8154e2b0d6b">RGBA_5551</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 90<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aaba22a166b24a8cc18bea2f1b2c05b65">RGBA_4444</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 91<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3499096cd7c11fea3711d61f39fdc3b4">RGBA_8888</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 92<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ab61e4800f47caea120ec50ca0fb57505">F32_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 93<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a97d4c34ac8c682c112b4f2cf894142d3">F32_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 94<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a388d2e9812c4ff4610de74a40a49467e">F32_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 95<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a2702b5676a8a91307be1ccaa30b396b4">F64_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 96<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4010587d58497cdf511ada9aae7674ce">F64_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 97<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ae2a9038ba6526d40628e5f9689469221">F64_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 98<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a16372b6701a2ae427b91f034f98f8969">U8_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 99<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a8a4a66f1f8bcce2e71f7af910043d820">U8_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 100<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ac20649353c9aa97b557c9e254f67492f">U8_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 101<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a92a9ec1f2c19ee13a7c869502cbc08ae">I8_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 102<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4d064b750ac65f8caf9fdf9f69271d02">I8_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 103<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ad05e74d257665041085a3f5ab2c3a2b0">I8_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 104<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a0fd26a84b5ccc124b09babbd03258e65">U16_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 105<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a76949cad4eacff904a5edfdd71361539">U16_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 106<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a55684e38747445df7d4ed2b8502a5e15">U16_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 107<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a7323339691ded8b0b50e3b099ec90c3a">I16_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 108<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#acd84e217f33bfb744315b2340752370e">I16_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 109<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4c57bb50d919386c1d0fed978f18b6f8">I16_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 110<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a26a9a26622a8d068781a0d7eef87dab5">U32_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 111<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a2bd4aef93cd7039e6a093243dbb69fd2">U32_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 112<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#adcceb18cbe85edc2f62af6e751ae64bc">U32_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 113<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a837431e95049bcc539c466ce1502277f">I32_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 114<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a167926bf1978d84952bf53332313a329">I32_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 115<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#abd04541c11096d72c59a174eeec1ef69">I32_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 116<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4ac012a1e70e98bcffe1a951f4e512ec">U64_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 117<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a313588f5b66a041a7336a883f9bbc59f">U64_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 118<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a7df301be899fbbf7d6a43b160b9de9ff">U64_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 119<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a47dc785bde64d663ee3b29f524bc16d7">I64_2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 120<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aeee892900573bb25af7e1615c2249685">I64_3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 121<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a0359b89391ace9ba2982857f17007037">I64_4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 122<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ac1636fe09e6df6f390e13f9eec1f301a">YUV</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 123<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ae86d34af397b300dc5bcd2bb853ae799">MATRIX_4X4</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 124<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a6fece5a3cfdbeec8c6956363efd2abda">MATRIX_3X3</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 125<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a437926b22d3c5daa3faa27e7a20df272">MATRIX_2X2</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 126<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#afaf1fb2fb0c2ad977867ef5ac098a4b6">createUser</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs, RsDataType dt)</td></tr> 127<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a12061ba6e9db8bfefeddb934123e8fc7">createVector</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs, RsDataType dt, uint32_t size)</td></tr> 128<tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aeeca0087ef6e895d76b3048828f0e481">createPixel</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs, RsDataType dt, RsDataKind dk)</td></tr> 129</table> 130<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 131<div class="textblock"><p>An <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> represents one item within an <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a>. An <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> is roughly equivalent to a C type in a RenderScript kernel. Elements may be basic or complex. Some basic elements are:</p> 132<ul> 133<li>A single float value (equivalent to a float in a kernel)</li> 134<li>A four-element float vector (equivalent to a float4 in a kernel)</li> 135<li>An unsigned 32-bit integer (equivalent to an unsigned int in a kernel)</li> 136<li>A single signed 8-bit integer (equivalent to a char in a kernel)</li> 137</ul> 138<p>Basic Elements are comprised of a Element.DataType and a Element.DataKind. The DataType encodes C type information of an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>, while the DataKind encodes how that <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> should be interpreted by a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>. Note that <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> objects with DataKind USER cannot be used as input for a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>. In general, <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> objects that are intended for use with a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> should use bitmap-derived Elements such as <a class="el" href="classandroid_1_1RSC_1_1Element.html#a3499096cd7c11fea3711d61f39fdc3b4">Element::RGBA_8888</a>. </p> 139 140<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00584">584</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 141</div><hr/><h2>Member Function Documentation</h2> 142<a class="anchor" id="a5c5ab41b9abcdc410b5ad9bc033f969e"></a><!-- doxytag: member="android::RSC::Element::A_8" ref="a5c5ab41b9abcdc410b5ad9bc033f969e" args="(sp< RS > rs)" --> 143<div class="memitem"> 144<div class="memproto"> 145 <table class="memname"> 146 <tr> 147 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::A_8 </td> 148 <td>(</td> 149 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 150 <td class="paramname"><em>rs</em></td><td>)</td> 151 <td><code> [static]</code></td> 152 </tr> 153 </table> 154</div> 155<div class="memdoc"> 156<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an ALPHA_8 pixel. </p> 157<dl><dt><b>Parameters:</b></dt><dd> 158 <table class="params"> 159 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 160 </table> 161 </dd> 162</dl> 163<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 164 165</div> 166</div> 167<a class="anchor" id="ad7cec967de7508ed5f51ccecc3e43958"></a><!-- doxytag: member="android::RSC::Element::ALLOCATION" ref="ad7cec967de7508ed5f51ccecc3e43958" args="(sp< RS > rs)" --> 168<div class="memitem"> 169<div class="memproto"> 170 <table class="memname"> 171 <tr> 172 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::ALLOCATION </td> 173 <td>(</td> 174 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 175 <td class="paramname"><em>rs</em></td><td>)</td> 176 <td><code> [static]</code></td> 177 </tr> 178 </table> 179</div> 180<div class="memdoc"> 181<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a>. </p> 182<dl><dt><b>Parameters:</b></dt><dd> 183 <table class="params"> 184 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 185 </table> 186 </dd> 187</dl> 188<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 189 190</div> 191</div> 192<a class="anchor" id="a03eb94692c2a7ffd8353373ef416876b"></a><!-- doxytag: member="android::RSC::Element::BOOLEAN" ref="a03eb94692c2a7ffd8353373ef416876b" args="(sp< RS > rs)" --> 193<div class="memitem"> 194<div class="memproto"> 195 <table class="memname"> 196 <tr> 197 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::BOOLEAN </td> 198 <td>(</td> 199 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 200 <td class="paramname"><em>rs</em></td><td>)</td> 201 <td><code> [static]</code></td> 202 </tr> 203 </table> 204</div> 205<div class="memdoc"> 206<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single bool. </p> 207<dl><dt><b>Parameters:</b></dt><dd> 208 <table class="params"> 209 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 210 </table> 211 </dd> 212</dl> 213<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 214 215</div> 216</div> 217<a class="anchor" id="aeeca0087ef6e895d76b3048828f0e481"></a><!-- doxytag: member="android::RSC::Element::createPixel" ref="aeeca0087ef6e895d76b3048828f0e481" args="(sp< RS > rs, RsDataType dt, RsDataKind dk)" --> 218<div class="memitem"> 219<div class="memproto"> 220 <table class="memname"> 221 <tr> 222 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::createPixel </td> 223 <td>(</td> 224 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 225 <td class="paramname"><em>rs</em>, </td> 226 </tr> 227 <tr> 228 <td class="paramkey"></td> 229 <td></td> 230 <td class="paramtype">RsDataType </td> 231 <td class="paramname"><em>dt</em>, </td> 232 </tr> 233 <tr> 234 <td class="paramkey"></td> 235 <td></td> 236 <td class="paramtype">RsDataKind </td> 237 <td class="paramname"><em>dk</em> </td> 238 </tr> 239 <tr> 240 <td></td> 241 <td>)</td> 242 <td></td><td><code> [static]</code></td> 243 </tr> 244 </table> 245</div> 246<div class="memdoc"> 247<p>Create an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> with a given DataType and DataKind. </p> 248<dl><dt><b>Parameters:</b></dt><dd> 249 <table class="params"> 250 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 251 <tr><td class="paramdir">[in]</td><td class="paramname">dt</td><td>DataType </td></tr> 252 <tr><td class="paramdir">[in]</td><td class="paramname">dk</td><td>DataKind </td></tr> 253 </table> 254 </dd> 255</dl> 256<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 257 258</div> 259</div> 260<a class="anchor" id="afaf1fb2fb0c2ad977867ef5ac098a4b6"></a><!-- doxytag: member="android::RSC::Element::createUser" ref="afaf1fb2fb0c2ad977867ef5ac098a4b6" args="(sp< RS > rs, RsDataType dt)" --> 261<div class="memitem"> 262<div class="memproto"> 263 <table class="memname"> 264 <tr> 265 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::createUser </td> 266 <td>(</td> 267 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 268 <td class="paramname"><em>rs</em>, </td> 269 </tr> 270 <tr> 271 <td class="paramkey"></td> 272 <td></td> 273 <td class="paramtype">RsDataType </td> 274 <td class="paramname"><em>dt</em> </td> 275 </tr> 276 <tr> 277 <td></td> 278 <td>)</td> 279 <td></td><td><code> [static]</code></td> 280 </tr> 281 </table> 282</div> 283<div class="memdoc"> 284<p>Create an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> with a given DataType. </p> 285<dl><dt><b>Parameters:</b></dt><dd> 286 <table class="params"> 287 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 288 <tr><td class="paramdir">[in]</td><td class="paramname">dt</td><td>data type </td></tr> 289 </table> 290 </dd> 291</dl> 292<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 293 294</div> 295</div> 296<a class="anchor" id="a12061ba6e9db8bfefeddb934123e8fc7"></a><!-- doxytag: member="android::RSC::Element::createVector" ref="a12061ba6e9db8bfefeddb934123e8fc7" args="(sp< RS > rs, RsDataType dt, uint32_t size)" --> 297<div class="memitem"> 298<div class="memproto"> 299 <table class="memname"> 300 <tr> 301 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::createVector </td> 302 <td>(</td> 303 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 304 <td class="paramname"><em>rs</em>, </td> 305 </tr> 306 <tr> 307 <td class="paramkey"></td> 308 <td></td> 309 <td class="paramtype">RsDataType </td> 310 <td class="paramname"><em>dt</em>, </td> 311 </tr> 312 <tr> 313 <td class="paramkey"></td> 314 <td></td> 315 <td class="paramtype">uint32_t </td> 316 <td class="paramname"><em>size</em> </td> 317 </tr> 318 <tr> 319 <td></td> 320 <td>)</td> 321 <td></td><td><code> [static]</code></td> 322 </tr> 323 </table> 324</div> 325<div class="memdoc"> 326<p>Create a vector <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> with the given DataType </p> 327<dl><dt><b>Parameters:</b></dt><dd> 328 <table class="params"> 329 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript </td></tr> 330 <tr><td class="paramdir">[in]</td><td class="paramname">dt</td><td>DataType </td></tr> 331 <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>vector size </td></tr> 332 </table> 333 </dd> 334</dl> 335<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 336 337</div> 338</div> 339<a class="anchor" id="a52d7864dc41cdf9a9bccffd02564f88f"></a><!-- doxytag: member="android::RSC::Element::ELEMENT" ref="a52d7864dc41cdf9a9bccffd02564f88f" args="(sp< RS > rs)" --> 340<div class="memitem"> 341<div class="memproto"> 342 <table class="memname"> 343 <tr> 344 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::ELEMENT </td> 345 <td>(</td> 346 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 347 <td class="paramname"><em>rs</em></td><td>)</td> 348 <td><code> [static]</code></td> 349 </tr> 350 </table> 351</div> 352<div class="memdoc"> 353<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p> 354<dl><dt><b>Parameters:</b></dt><dd> 355 <table class="params"> 356 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 357 </table> 358 </dd> 359</dl> 360<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 361 362</div> 363</div> 364<a class="anchor" id="a7cd574aa920bcf0bd7676ef12e8faf86"></a><!-- doxytag: member="android::RSC::Element::F32" ref="a7cd574aa920bcf0bd7676ef12e8faf86" args="(sp< RS > rs)" --> 365<div class="memitem"> 366<div class="memproto"> 367 <table class="memname"> 368 <tr> 369 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F32 </td> 370 <td>(</td> 371 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 372 <td class="paramname"><em>rs</em></td><td>)</td> 373 <td><code> [static]</code></td> 374 </tr> 375 </table> 376</div> 377<div class="memdoc"> 378<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single float. </p> 379<dl><dt><b>Parameters:</b></dt><dd> 380 <table class="params"> 381 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 382 </table> 383 </dd> 384</dl> 385<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 386 387</div> 388</div> 389<a class="anchor" id="ab61e4800f47caea120ec50ca0fb57505"></a><!-- doxytag: member="android::RSC::Element::F32_2" ref="ab61e4800f47caea120ec50ca0fb57505" args="(sp< RS > rs)" --> 390<div class="memitem"> 391<div class="memproto"> 392 <table class="memname"> 393 <tr> 394 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F32_2 </td> 395 <td>(</td> 396 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 397 <td class="paramname"><em>rs</em></td><td>)</td> 398 <td><code> [static]</code></td> 399 </tr> 400 </table> 401</div> 402<div class="memdoc"> 403<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a float2. </p> 404<dl><dt><b>Parameters:</b></dt><dd> 405 <table class="params"> 406 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 407 </table> 408 </dd> 409</dl> 410<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 411 412</div> 413</div> 414<a class="anchor" id="a97d4c34ac8c682c112b4f2cf894142d3"></a><!-- doxytag: member="android::RSC::Element::F32_3" ref="a97d4c34ac8c682c112b4f2cf894142d3" args="(sp< RS > rs)" --> 415<div class="memitem"> 416<div class="memproto"> 417 <table class="memname"> 418 <tr> 419 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F32_3 </td> 420 <td>(</td> 421 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 422 <td class="paramname"><em>rs</em></td><td>)</td> 423 <td><code> [static]</code></td> 424 </tr> 425 </table> 426</div> 427<div class="memdoc"> 428<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a float3. </p> 429<dl><dt><b>Parameters:</b></dt><dd> 430 <table class="params"> 431 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 432 </table> 433 </dd> 434</dl> 435<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 436 437</div> 438</div> 439<a class="anchor" id="a388d2e9812c4ff4610de74a40a49467e"></a><!-- doxytag: member="android::RSC::Element::F32_4" ref="a388d2e9812c4ff4610de74a40a49467e" args="(sp< RS > rs)" --> 440<div class="memitem"> 441<div class="memproto"> 442 <table class="memname"> 443 <tr> 444 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F32_4 </td> 445 <td>(</td> 446 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 447 <td class="paramname"><em>rs</em></td><td>)</td> 448 <td><code> [static]</code></td> 449 </tr> 450 </table> 451</div> 452<div class="memdoc"> 453<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a float4. </p> 454<dl><dt><b>Parameters:</b></dt><dd> 455 <table class="params"> 456 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 457 </table> 458 </dd> 459</dl> 460<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 461 462</div> 463</div> 464<a class="anchor" id="a2a156b02415f3c7781306757b4e6ff86"></a><!-- doxytag: member="android::RSC::Element::F64" ref="a2a156b02415f3c7781306757b4e6ff86" args="(sp< RS > rs)" --> 465<div class="memitem"> 466<div class="memproto"> 467 <table class="memname"> 468 <tr> 469 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F64 </td> 470 <td>(</td> 471 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 472 <td class="paramname"><em>rs</em></td><td>)</td> 473 <td><code> [static]</code></td> 474 </tr> 475 </table> 476</div> 477<div class="memdoc"> 478<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single double. </p> 479<dl><dt><b>Parameters:</b></dt><dd> 480 <table class="params"> 481 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 482 </table> 483 </dd> 484</dl> 485<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 486 487</div> 488</div> 489<a class="anchor" id="a2702b5676a8a91307be1ccaa30b396b4"></a><!-- doxytag: member="android::RSC::Element::F64_2" ref="a2702b5676a8a91307be1ccaa30b396b4" args="(sp< RS > rs)" --> 490<div class="memitem"> 491<div class="memproto"> 492 <table class="memname"> 493 <tr> 494 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F64_2 </td> 495 <td>(</td> 496 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 497 <td class="paramname"><em>rs</em></td><td>)</td> 498 <td><code> [static]</code></td> 499 </tr> 500 </table> 501</div> 502<div class="memdoc"> 503<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a double2. </p> 504<dl><dt><b>Parameters:</b></dt><dd> 505 <table class="params"> 506 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 507 </table> 508 </dd> 509</dl> 510<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 511 512</div> 513</div> 514<a class="anchor" id="a4010587d58497cdf511ada9aae7674ce"></a><!-- doxytag: member="android::RSC::Element::F64_3" ref="a4010587d58497cdf511ada9aae7674ce" args="(sp< RS > rs)" --> 515<div class="memitem"> 516<div class="memproto"> 517 <table class="memname"> 518 <tr> 519 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F64_3 </td> 520 <td>(</td> 521 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 522 <td class="paramname"><em>rs</em></td><td>)</td> 523 <td><code> [static]</code></td> 524 </tr> 525 </table> 526</div> 527<div class="memdoc"> 528<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a double3. </p> 529<dl><dt><b>Parameters:</b></dt><dd> 530 <table class="params"> 531 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 532 </table> 533 </dd> 534</dl> 535<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 536 537</div> 538</div> 539<a class="anchor" id="ae2a9038ba6526d40628e5f9689469221"></a><!-- doxytag: member="android::RSC::Element::F64_4" ref="ae2a9038ba6526d40628e5f9689469221" args="(sp< RS > rs)" --> 540<div class="memitem"> 541<div class="memproto"> 542 <table class="memname"> 543 <tr> 544 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::F64_4 </td> 545 <td>(</td> 546 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 547 <td class="paramname"><em>rs</em></td><td>)</td> 548 <td><code> [static]</code></td> 549 </tr> 550 </table> 551</div> 552<div class="memdoc"> 553<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a double4. </p> 554<dl><dt><b>Parameters:</b></dt><dd> 555 <table class="params"> 556 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 557 </table> 558 </dd> 559</dl> 560<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 561 562</div> 563</div> 564<a class="anchor" id="aa30bc1b991015ac6c1915229e04a9cca"></a><!-- doxytag: member="android::RSC::Element::getDataKind" ref="aa30bc1b991015ac6c1915229e04a9cca" args="() const " --> 565<div class="memitem"> 566<div class="memproto"> 567 <table class="memname"> 568 <tr> 569 <td class="memname">RsDataKind android::RSC::Element::getDataKind </td> 570 <td>(</td> 571 <td class="paramname"></td><td>)</td> 572 <td> const<code> [inline]</code></td> 573 </tr> 574 </table> 575</div> 576<div class="memdoc"> 577<p>Returns the data kind used for the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p> 578<dl class="return"><dt><b>Returns:</b></dt><dd>data kind </dd></dl> 579 580<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00641">641</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 581 582</div> 583</div> 584<a class="anchor" id="a8534de74929342ed32f271ddfd446a5a"></a><!-- doxytag: member="android::RSC::Element::getDataType" ref="a8534de74929342ed32f271ddfd446a5a" args="() const " --> 585<div class="memitem"> 586<div class="memproto"> 587 <table class="memname"> 588 <tr> 589 <td class="memname">RsDataType android::RSC::Element::getDataType </td> 590 <td>(</td> 591 <td class="paramname"></td><td>)</td> 592 <td> const<code> [inline]</code></td> 593 </tr> 594 </table> 595</div> 596<div class="memdoc"> 597<p>Returns the data type used for the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p> 598<dl class="return"><dt><b>Returns:</b></dt><dd>data type </dd></dl> 599 600<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00633">633</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 601 602</div> 603</div> 604<a class="anchor" id="a5368abfd727463499d49775733cb0cf6"></a><!-- doxytag: member="android::RSC::Element::getSizeBytes" ref="a5368abfd727463499d49775733cb0cf6" args="() const " --> 605<div class="memitem"> 606<div class="memproto"> 607 <table class="memname"> 608 <tr> 609 <td class="memname">size_t android::RSC::Element::getSizeBytes </td> 610 <td>(</td> 611 <td class="paramname"></td><td>)</td> 612 <td> const<code> [inline]</code></td> 613 </tr> 614 </table> 615</div> 616<div class="memdoc"> 617<p>Returns the size in bytes of the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p> 618<dl class="return"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl> 619 620<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00649">649</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 621 622</div> 623</div> 624<a class="anchor" id="a5a23869e7d2a8c22e0d70bf5a90448d1"></a><!-- doxytag: member="android::RSC::Element::getSubElement" ref="a5a23869e7d2a8c22e0d70bf5a90448d1" args="(uint32_t index)" --> 625<div class="memitem"> 626<div class="memproto"> 627 <table class="memname"> 628 <tr> 629 <td class="memname">sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::getSubElement </td> 630 <td>(</td> 631 <td class="paramtype">uint32_t </td> 632 <td class="paramname"><em>index</em></td><td>)</td> 633 <td></td> 634 </tr> 635 </table> 636</div> 637<div class="memdoc"> 638<p>For complex Elements, this returns the sub-element at a given index. </p> 639<dl><dt><b>Parameters:</b></dt><dd> 640 <table class="params"> 641 <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr> 642 </table> 643 </dd> 644</dl> 645<dl class="return"><dt><b>Returns:</b></dt><dd>sub-element </dd></dl> 646 647</div> 648</div> 649<a class="anchor" id="a004e582191292906e3c20cca7c38ff71"></a><!-- doxytag: member="android::RSC::Element::getSubElementArraySize" ref="a004e582191292906e3c20cca7c38ff71" args="(uint32_t index)" --> 650<div class="memitem"> 651<div class="memproto"> 652 <table class="memname"> 653 <tr> 654 <td class="memname">size_t android::RSC::Element::getSubElementArraySize </td> 655 <td>(</td> 656 <td class="paramtype">uint32_t </td> 657 <td class="paramname"><em>index</em></td><td>)</td> 658 <td></td> 659 </tr> 660 </table> 661</div> 662<div class="memdoc"> 663<p>For complex Elements, this returns the size of the sub-element at a given index. </p> 664<dl><dt><b>Parameters:</b></dt><dd> 665 <table class="params"> 666 <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr> 667 </table> 668 </dd> 669</dl> 670<dl class="return"><dt><b>Returns:</b></dt><dd>size of sub-element </dd></dl> 671 672</div> 673</div> 674<a class="anchor" id="a3bc7d03d3f6d1b130592e4192aeeedc9"></a><!-- doxytag: member="android::RSC::Element::getSubElementCount" ref="a3bc7d03d3f6d1b130592e4192aeeedc9" args="()" --> 675<div class="memitem"> 676<div class="memproto"> 677 <table class="memname"> 678 <tr> 679 <td class="memname">size_t android::RSC::Element::getSubElementCount </td> 680 <td>(</td> 681 <td class="paramname"></td><td>)</td> 682 <td><code> [inline]</code></td> 683 </tr> 684 </table> 685</div> 686<div class="memdoc"> 687<p>Elements could be simple, such as an int or a float, or a structure with multiple sub-elements, such as a collection of floats, float2, float4. This function returns zero for simple elements or the number of sub-elements otherwise. </p> 688<dl class="return"><dt><b>Returns:</b></dt><dd>number of sub-elements </dd></dl> 689 690<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00595">595</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 691 692</div> 693</div> 694<a class="anchor" id="adb8f953d025b4ea03dd19678c69d4f5a"></a><!-- doxytag: member="android::RSC::Element::getSubElementName" ref="adb8f953d025b4ea03dd19678c69d4f5a" args="(uint32_t index)" --> 695<div class="memitem"> 696<div class="memproto"> 697 <table class="memname"> 698 <tr> 699 <td class="memname">const char* android::RSC::Element::getSubElementName </td> 700 <td>(</td> 701 <td class="paramtype">uint32_t </td> 702 <td class="paramname"><em>index</em></td><td>)</td> 703 <td></td> 704 </tr> 705 </table> 706</div> 707<div class="memdoc"> 708<p>For complex Elements, this returns the name of the sub-element at a given index. </p> 709<dl><dt><b>Parameters:</b></dt><dd> 710 <table class="params"> 711 <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr> 712 </table> 713 </dd> 714</dl> 715<dl class="return"><dt><b>Returns:</b></dt><dd>name of sub-element </dd></dl> 716 717</div> 718</div> 719<a class="anchor" id="adaf83e7649e7fd0dfe4b8e2c884bfa5a"></a><!-- doxytag: member="android::RSC::Element::getSubElementOffsetBytes" ref="adaf83e7649e7fd0dfe4b8e2c884bfa5a" args="(uint32_t index)" --> 720<div class="memitem"> 721<div class="memproto"> 722 <table class="memname"> 723 <tr> 724 <td class="memname">uint32_t android::RSC::Element::getSubElementOffsetBytes </td> 725 <td>(</td> 726 <td class="paramtype">uint32_t </td> 727 <td class="paramname"><em>index</em></td><td>)</td> 728 <td></td> 729 </tr> 730 </table> 731</div> 732<div class="memdoc"> 733<p>Returns the location of a sub-element within a complex <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p> 734<dl><dt><b>Parameters:</b></dt><dd> 735 <table class="params"> 736 <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr> 737 </table> 738 </dd> 739</dl> 740<dl class="return"><dt><b>Returns:</b></dt><dd>offset in bytes </dd></dl> 741 742</div> 743</div> 744<a class="anchor" id="abdae22ce17b81b9c931f02481302ca46"></a><!-- doxytag: member="android::RSC::Element::getVectorSize" ref="abdae22ce17b81b9c931f02481302ca46" args="() const " --> 745<div class="memitem"> 746<div class="memproto"> 747 <table class="memname"> 748 <tr> 749 <td class="memname">uint32_t android::RSC::Element::getVectorSize </td> 750 <td>(</td> 751 <td class="paramname"></td><td>)</td> 752 <td> const<code> [inline]</code></td> 753 </tr> 754 </table> 755</div> 756<div class="memdoc"> 757<p>Returns the number of vector components for this <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p> 758<dl class="return"><dt><b>Returns:</b></dt><dd>number of vector components </dd></dl> 759 760<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00657">657</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 761 762</div> 763</div> 764<a class="anchor" id="a909e326836fa1931b7d013b72bb238b9"></a><!-- doxytag: member="android::RSC::Element::I16" ref="a909e326836fa1931b7d013b72bb238b9" args="(sp< RS > rs)" --> 765<div class="memitem"> 766<div class="memproto"> 767 <table class="memname"> 768 <tr> 769 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I16 </td> 770 <td>(</td> 771 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 772 <td class="paramname"><em>rs</em></td><td>)</td> 773 <td><code> [static]</code></td> 774 </tr> 775 </table> 776</div> 777<div class="memdoc"> 778<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed short. </p> 779<dl><dt><b>Parameters:</b></dt><dd> 780 <table class="params"> 781 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 782 </table> 783 </dd> 784</dl> 785<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 786 787</div> 788</div> 789<a class="anchor" id="a7323339691ded8b0b50e3b099ec90c3a"></a><!-- doxytag: member="android::RSC::Element::I16_2" ref="a7323339691ded8b0b50e3b099ec90c3a" args="(sp< RS > rs)" --> 790<div class="memitem"> 791<div class="memproto"> 792 <table class="memname"> 793 <tr> 794 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I16_2 </td> 795 <td>(</td> 796 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 797 <td class="paramname"><em>rs</em></td><td>)</td> 798 <td><code> [static]</code></td> 799 </tr> 800 </table> 801</div> 802<div class="memdoc"> 803<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a short2. </p> 804<dl><dt><b>Parameters:</b></dt><dd> 805 <table class="params"> 806 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 807 </table> 808 </dd> 809</dl> 810<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 811 812</div> 813</div> 814<a class="anchor" id="acd84e217f33bfb744315b2340752370e"></a><!-- doxytag: member="android::RSC::Element::I16_3" ref="acd84e217f33bfb744315b2340752370e" args="(sp< RS > rs)" --> 815<div class="memitem"> 816<div class="memproto"> 817 <table class="memname"> 818 <tr> 819 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I16_3 </td> 820 <td>(</td> 821 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 822 <td class="paramname"><em>rs</em></td><td>)</td> 823 <td><code> [static]</code></td> 824 </tr> 825 </table> 826</div> 827<div class="memdoc"> 828<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a short3. </p> 829<dl><dt><b>Parameters:</b></dt><dd> 830 <table class="params"> 831 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 832 </table> 833 </dd> 834</dl> 835<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 836 837</div> 838</div> 839<a class="anchor" id="a4c57bb50d919386c1d0fed978f18b6f8"></a><!-- doxytag: member="android::RSC::Element::I16_4" ref="a4c57bb50d919386c1d0fed978f18b6f8" args="(sp< RS > rs)" --> 840<div class="memitem"> 841<div class="memproto"> 842 <table class="memname"> 843 <tr> 844 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I16_4 </td> 845 <td>(</td> 846 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 847 <td class="paramname"><em>rs</em></td><td>)</td> 848 <td><code> [static]</code></td> 849 </tr> 850 </table> 851</div> 852<div class="memdoc"> 853<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a short4. </p> 854<dl><dt><b>Parameters:</b></dt><dd> 855 <table class="params"> 856 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 857 </table> 858 </dd> 859</dl> 860<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 861 862</div> 863</div> 864<a class="anchor" id="a4a71a4bd7f73708084abaf059f3b69d9"></a><!-- doxytag: member="android::RSC::Element::I32" ref="a4a71a4bd7f73708084abaf059f3b69d9" args="(sp< RS > rs)" --> 865<div class="memitem"> 866<div class="memproto"> 867 <table class="memname"> 868 <tr> 869 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I32 </td> 870 <td>(</td> 871 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 872 <td class="paramname"><em>rs</em></td><td>)</td> 873 <td><code> [static]</code></td> 874 </tr> 875 </table> 876</div> 877<div class="memdoc"> 878<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed int. </p> 879<dl><dt><b>Parameters:</b></dt><dd> 880 <table class="params"> 881 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 882 </table> 883 </dd> 884</dl> 885<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 886 887</div> 888</div> 889<a class="anchor" id="a837431e95049bcc539c466ce1502277f"></a><!-- doxytag: member="android::RSC::Element::I32_2" ref="a837431e95049bcc539c466ce1502277f" args="(sp< RS > rs)" --> 890<div class="memitem"> 891<div class="memproto"> 892 <table class="memname"> 893 <tr> 894 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I32_2 </td> 895 <td>(</td> 896 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 897 <td class="paramname"><em>rs</em></td><td>)</td> 898 <td><code> [static]</code></td> 899 </tr> 900 </table> 901</div> 902<div class="memdoc"> 903<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an int2. </p> 904<dl><dt><b>Parameters:</b></dt><dd> 905 <table class="params"> 906 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 907 </table> 908 </dd> 909</dl> 910<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 911 912</div> 913</div> 914<a class="anchor" id="a167926bf1978d84952bf53332313a329"></a><!-- doxytag: member="android::RSC::Element::I32_3" ref="a167926bf1978d84952bf53332313a329" args="(sp< RS > rs)" --> 915<div class="memitem"> 916<div class="memproto"> 917 <table class="memname"> 918 <tr> 919 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I32_3 </td> 920 <td>(</td> 921 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 922 <td class="paramname"><em>rs</em></td><td>)</td> 923 <td><code> [static]</code></td> 924 </tr> 925 </table> 926</div> 927<div class="memdoc"> 928<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an int3. </p> 929<dl><dt><b>Parameters:</b></dt><dd> 930 <table class="params"> 931 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 932 </table> 933 </dd> 934</dl> 935<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 936 937</div> 938</div> 939<a class="anchor" id="abd04541c11096d72c59a174eeec1ef69"></a><!-- doxytag: member="android::RSC::Element::I32_4" ref="abd04541c11096d72c59a174eeec1ef69" args="(sp< RS > rs)" --> 940<div class="memitem"> 941<div class="memproto"> 942 <table class="memname"> 943 <tr> 944 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I32_4 </td> 945 <td>(</td> 946 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 947 <td class="paramname"><em>rs</em></td><td>)</td> 948 <td><code> [static]</code></td> 949 </tr> 950 </table> 951</div> 952<div class="memdoc"> 953<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an int4. </p> 954<dl><dt><b>Parameters:</b></dt><dd> 955 <table class="params"> 956 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 957 </table> 958 </dd> 959</dl> 960<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 961 962</div> 963</div> 964<a class="anchor" id="a8c5ef3c359e3ce8b03cfb7ebfaaa4723"></a><!-- doxytag: member="android::RSC::Element::I64" ref="a8c5ef3c359e3ce8b03cfb7ebfaaa4723" args="(sp< RS > rs)" --> 965<div class="memitem"> 966<div class="memproto"> 967 <table class="memname"> 968 <tr> 969 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I64 </td> 970 <td>(</td> 971 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 972 <td class="paramname"><em>rs</em></td><td>)</td> 973 <td><code> [static]</code></td> 974 </tr> 975 </table> 976</div> 977<div class="memdoc"> 978<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed long long. </p> 979<dl><dt><b>Parameters:</b></dt><dd> 980 <table class="params"> 981 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 982 </table> 983 </dd> 984</dl> 985<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 986 987</div> 988</div> 989<a class="anchor" id="a47dc785bde64d663ee3b29f524bc16d7"></a><!-- doxytag: member="android::RSC::Element::I64_2" ref="a47dc785bde64d663ee3b29f524bc16d7" args="(sp< RS > rs)" --> 990<div class="memitem"> 991<div class="memproto"> 992 <table class="memname"> 993 <tr> 994 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I64_2 </td> 995 <td>(</td> 996 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 997 <td class="paramname"><em>rs</em></td><td>)</td> 998 <td><code> [static]</code></td> 999 </tr> 1000 </table> 1001</div> 1002<div class="memdoc"> 1003<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a long2. </p> 1004<dl><dt><b>Parameters:</b></dt><dd> 1005 <table class="params"> 1006 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1007 </table> 1008 </dd> 1009</dl> 1010<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1011 1012</div> 1013</div> 1014<a class="anchor" id="aeee892900573bb25af7e1615c2249685"></a><!-- doxytag: member="android::RSC::Element::I64_3" ref="aeee892900573bb25af7e1615c2249685" args="(sp< RS > rs)" --> 1015<div class="memitem"> 1016<div class="memproto"> 1017 <table class="memname"> 1018 <tr> 1019 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I64_3 </td> 1020 <td>(</td> 1021 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1022 <td class="paramname"><em>rs</em></td><td>)</td> 1023 <td><code> [static]</code></td> 1024 </tr> 1025 </table> 1026</div> 1027<div class="memdoc"> 1028<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a long3. </p> 1029<dl><dt><b>Parameters:</b></dt><dd> 1030 <table class="params"> 1031 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1032 </table> 1033 </dd> 1034</dl> 1035<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1036 1037</div> 1038</div> 1039<a class="anchor" id="a0359b89391ace9ba2982857f17007037"></a><!-- doxytag: member="android::RSC::Element::I64_4" ref="a0359b89391ace9ba2982857f17007037" args="(sp< RS > rs)" --> 1040<div class="memitem"> 1041<div class="memproto"> 1042 <table class="memname"> 1043 <tr> 1044 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I64_4 </td> 1045 <td>(</td> 1046 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1047 <td class="paramname"><em>rs</em></td><td>)</td> 1048 <td><code> [static]</code></td> 1049 </tr> 1050 </table> 1051</div> 1052<div class="memdoc"> 1053<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a long4. </p> 1054<dl><dt><b>Parameters:</b></dt><dd> 1055 <table class="params"> 1056 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1057 </table> 1058 </dd> 1059</dl> 1060<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1061 1062</div> 1063</div> 1064<a class="anchor" id="a253a510dd720bade6324e94dd2bf6064"></a><!-- doxytag: member="android::RSC::Element::I8" ref="a253a510dd720bade6324e94dd2bf6064" args="(sp< RS > rs)" --> 1065<div class="memitem"> 1066<div class="memproto"> 1067 <table class="memname"> 1068 <tr> 1069 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I8 </td> 1070 <td>(</td> 1071 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1072 <td class="paramname"><em>rs</em></td><td>)</td> 1073 <td><code> [static]</code></td> 1074 </tr> 1075 </table> 1076</div> 1077<div class="memdoc"> 1078<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed char. </p> 1079<dl><dt><b>Parameters:</b></dt><dd> 1080 <table class="params"> 1081 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1082 </table> 1083 </dd> 1084</dl> 1085<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1086 1087</div> 1088</div> 1089<a class="anchor" id="a92a9ec1f2c19ee13a7c869502cbc08ae"></a><!-- doxytag: member="android::RSC::Element::I8_2" ref="a92a9ec1f2c19ee13a7c869502cbc08ae" args="(sp< RS > rs)" --> 1090<div class="memitem"> 1091<div class="memproto"> 1092 <table class="memname"> 1093 <tr> 1094 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I8_2 </td> 1095 <td>(</td> 1096 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1097 <td class="paramname"><em>rs</em></td><td>)</td> 1098 <td><code> [static]</code></td> 1099 </tr> 1100 </table> 1101</div> 1102<div class="memdoc"> 1103<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a char2. </p> 1104<dl><dt><b>Parameters:</b></dt><dd> 1105 <table class="params"> 1106 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1107 </table> 1108 </dd> 1109</dl> 1110<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1111 1112</div> 1113</div> 1114<a class="anchor" id="a4d064b750ac65f8caf9fdf9f69271d02"></a><!-- doxytag: member="android::RSC::Element::I8_3" ref="a4d064b750ac65f8caf9fdf9f69271d02" args="(sp< RS > rs)" --> 1115<div class="memitem"> 1116<div class="memproto"> 1117 <table class="memname"> 1118 <tr> 1119 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I8_3 </td> 1120 <td>(</td> 1121 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1122 <td class="paramname"><em>rs</em></td><td>)</td> 1123 <td><code> [static]</code></td> 1124 </tr> 1125 </table> 1126</div> 1127<div class="memdoc"> 1128<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a char3. </p> 1129<dl><dt><b>Parameters:</b></dt><dd> 1130 <table class="params"> 1131 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1132 </table> 1133 </dd> 1134</dl> 1135<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1136 1137</div> 1138</div> 1139<a class="anchor" id="ad05e74d257665041085a3f5ab2c3a2b0"></a><!-- doxytag: member="android::RSC::Element::I8_4" ref="ad05e74d257665041085a3f5ab2c3a2b0" args="(sp< RS > rs)" --> 1140<div class="memitem"> 1141<div class="memproto"> 1142 <table class="memname"> 1143 <tr> 1144 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::I8_4 </td> 1145 <td>(</td> 1146 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1147 <td class="paramname"><em>rs</em></td><td>)</td> 1148 <td><code> [static]</code></td> 1149 </tr> 1150 </table> 1151</div> 1152<div class="memdoc"> 1153<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a char4. </p> 1154<dl><dt><b>Parameters:</b></dt><dd> 1155 <table class="params"> 1156 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1157 </table> 1158 </dd> 1159</dl> 1160<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1161 1162</div> 1163</div> 1164<a class="anchor" id="a66e7b5cccf8f7296bc049308d3990d66"></a><!-- doxytag: member="android::RSC::Element::isCompatible" ref="a66e7b5cccf8f7296bc049308d3990d66" args="(sp< const Element >e) const " --> 1165<div class="memitem"> 1166<div class="memproto"> 1167 <table class="memname"> 1168 <tr> 1169 <td class="memname">bool android::RSC::Element::isCompatible </td> 1170 <td>(</td> 1171 <td class="paramtype">sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td> 1172 <td class="paramname"><em>e</em></td><td>)</td> 1173 <td> const</td> 1174 </tr> 1175 </table> 1176</div> 1177<div class="memdoc"> 1178<p>Returns true if the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> can interoperate with this <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p> 1179<dl><dt><b>Parameters:</b></dt><dd> 1180 <table class="params"> 1181 <tr><td class="paramdir">[in]</td><td class="paramname">e</td><td><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> to compare </td></tr> 1182 </table> 1183 </dd> 1184</dl> 1185<dl class="return"><dt><b>Returns:</b></dt><dd>true if Elements can interoperate </dd></dl> 1186 1187</div> 1188</div> 1189<a class="anchor" id="a437926b22d3c5daa3faa27e7a20df272"></a><!-- doxytag: member="android::RSC::Element::MATRIX_2X2" ref="a437926b22d3c5daa3faa27e7a20df272" args="(sp< RS > rs)" --> 1190<div class="memitem"> 1191<div class="memproto"> 1192 <table class="memname"> 1193 <tr> 1194 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::MATRIX_2X2 </td> 1195 <td>(</td> 1196 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1197 <td class="paramname"><em>rs</em></td><td>)</td> 1198 <td><code> [static]</code></td> 1199 </tr> 1200 </table> 1201</div> 1202<div class="memdoc"> 1203<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an rs_matrix_2x2. </p> 1204<dl><dt><b>Parameters:</b></dt><dd> 1205 <table class="params"> 1206 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1207 </table> 1208 </dd> 1209</dl> 1210<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1211 1212</div> 1213</div> 1214<a class="anchor" id="a6fece5a3cfdbeec8c6956363efd2abda"></a><!-- doxytag: member="android::RSC::Element::MATRIX_3X3" ref="a6fece5a3cfdbeec8c6956363efd2abda" args="(sp< RS > rs)" --> 1215<div class="memitem"> 1216<div class="memproto"> 1217 <table class="memname"> 1218 <tr> 1219 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::MATRIX_3X3 </td> 1220 <td>(</td> 1221 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1222 <td class="paramname"><em>rs</em></td><td>)</td> 1223 <td><code> [static]</code></td> 1224 </tr> 1225 </table> 1226</div> 1227<div class="memdoc"> 1228<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an rs_matrix_3x3. </p> 1229<dl><dt><b>Parameters:</b></dt><dd> 1230 <table class="params"> 1231 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1232 </table> 1233 </dd> 1234</dl> 1235<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1236 1237</div> 1238</div> 1239<a class="anchor" id="ae86d34af397b300dc5bcd2bb853ae799"></a><!-- doxytag: member="android::RSC::Element::MATRIX_4X4" ref="ae86d34af397b300dc5bcd2bb853ae799" args="(sp< RS > rs)" --> 1240<div class="memitem"> 1241<div class="memproto"> 1242 <table class="memname"> 1243 <tr> 1244 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::MATRIX_4X4 </td> 1245 <td>(</td> 1246 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1247 <td class="paramname"><em>rs</em></td><td>)</td> 1248 <td><code> [static]</code></td> 1249 </tr> 1250 </table> 1251</div> 1252<div class="memdoc"> 1253<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an rs_matrix_4x4. </p> 1254<dl><dt><b>Parameters:</b></dt><dd> 1255 <table class="params"> 1256 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1257 </table> 1258 </dd> 1259</dl> 1260<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1261 1262</div> 1263</div> 1264<a class="anchor" id="ab7c867004008b4f4bd3492db8f142e0a"></a><!-- doxytag: member="android::RSC::Element::RGB_565" ref="ab7c867004008b4f4bd3492db8f142e0a" args="(sp< RS > rs)" --> 1265<div class="memitem"> 1266<div class="memproto"> 1267 <table class="memname"> 1268 <tr> 1269 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::RGB_565 </td> 1270 <td>(</td> 1271 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1272 <td class="paramname"><em>rs</em></td><td>)</td> 1273 <td><code> [static]</code></td> 1274 </tr> 1275 </table> 1276</div> 1277<div class="memdoc"> 1278<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGB_565 pixel. </p> 1279<dl><dt><b>Parameters:</b></dt><dd> 1280 <table class="params"> 1281 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1282 </table> 1283 </dd> 1284</dl> 1285<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1286 1287</div> 1288</div> 1289<a class="anchor" id="a68e4d393957b1236247d6c03de8508ac"></a><!-- doxytag: member="android::RSC::Element::RGB_888" ref="a68e4d393957b1236247d6c03de8508ac" args="(sp< RS > rs)" --> 1290<div class="memitem"> 1291<div class="memproto"> 1292 <table class="memname"> 1293 <tr> 1294 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::RGB_888 </td> 1295 <td>(</td> 1296 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1297 <td class="paramname"><em>rs</em></td><td>)</td> 1298 <td><code> [static]</code></td> 1299 </tr> 1300 </table> 1301</div> 1302<div class="memdoc"> 1303<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGB_888 pixel. </p> 1304<dl><dt><b>Parameters:</b></dt><dd> 1305 <table class="params"> 1306 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1307 </table> 1308 </dd> 1309</dl> 1310<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1311 1312</div> 1313</div> 1314<a class="anchor" id="aaba22a166b24a8cc18bea2f1b2c05b65"></a><!-- doxytag: member="android::RSC::Element::RGBA_4444" ref="aaba22a166b24a8cc18bea2f1b2c05b65" args="(sp< RS > rs)" --> 1315<div class="memitem"> 1316<div class="memproto"> 1317 <table class="memname"> 1318 <tr> 1319 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::RGBA_4444 </td> 1320 <td>(</td> 1321 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1322 <td class="paramname"><em>rs</em></td><td>)</td> 1323 <td><code> [static]</code></td> 1324 </tr> 1325 </table> 1326</div> 1327<div class="memdoc"> 1328<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGBA_4444 pixel. </p> 1329<dl><dt><b>Parameters:</b></dt><dd> 1330 <table class="params"> 1331 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1332 </table> 1333 </dd> 1334</dl> 1335<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1336 1337</div> 1338</div> 1339<a class="anchor" id="a22d97b36faf9a6e5cb68a8154e2b0d6b"></a><!-- doxytag: member="android::RSC::Element::RGBA_5551" ref="a22d97b36faf9a6e5cb68a8154e2b0d6b" args="(sp< RS > rs)" --> 1340<div class="memitem"> 1341<div class="memproto"> 1342 <table class="memname"> 1343 <tr> 1344 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::RGBA_5551 </td> 1345 <td>(</td> 1346 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1347 <td class="paramname"><em>rs</em></td><td>)</td> 1348 <td><code> [static]</code></td> 1349 </tr> 1350 </table> 1351</div> 1352<div class="memdoc"> 1353<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGBA_5551 pixel. </p> 1354<dl><dt><b>Parameters:</b></dt><dd> 1355 <table class="params"> 1356 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1357 </table> 1358 </dd> 1359</dl> 1360<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1361 1362</div> 1363</div> 1364<a class="anchor" id="a3499096cd7c11fea3711d61f39fdc3b4"></a><!-- doxytag: member="android::RSC::Element::RGBA_8888" ref="a3499096cd7c11fea3711d61f39fdc3b4" args="(sp< RS > rs)" --> 1365<div class="memitem"> 1366<div class="memproto"> 1367 <table class="memname"> 1368 <tr> 1369 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::RGBA_8888 </td> 1370 <td>(</td> 1371 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1372 <td class="paramname"><em>rs</em></td><td>)</td> 1373 <td><code> [static]</code></td> 1374 </tr> 1375 </table> 1376</div> 1377<div class="memdoc"> 1378<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGBA_8888 pixel. </p> 1379<dl><dt><b>Parameters:</b></dt><dd> 1380 <table class="params"> 1381 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1382 </table> 1383 </dd> 1384</dl> 1385<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1386 1387</div> 1388</div> 1389<a class="anchor" id="a3fef8f6e13144323e5abe23f93727faa"></a><!-- doxytag: member="android::RSC::Element::SAMPLER" ref="a3fef8f6e13144323e5abe23f93727faa" args="(sp< RS > rs)" --> 1390<div class="memitem"> 1391<div class="memproto"> 1392 <table class="memname"> 1393 <tr> 1394 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::SAMPLER </td> 1395 <td>(</td> 1396 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1397 <td class="paramname"><em>rs</em></td><td>)</td> 1398 <td><code> [static]</code></td> 1399 </tr> 1400 </table> 1401</div> 1402<div class="memdoc"> 1403<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>. </p> 1404<dl><dt><b>Parameters:</b></dt><dd> 1405 <table class="params"> 1406 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1407 </table> 1408 </dd> 1409</dl> 1410<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1411 1412</div> 1413</div> 1414<a class="anchor" id="a98a7cc92c40fee058b69045a7b9b25da"></a><!-- doxytag: member="android::RSC::Element::SCRIPT" ref="a98a7cc92c40fee058b69045a7b9b25da" args="(sp< RS > rs)" --> 1415<div class="memitem"> 1416<div class="memproto"> 1417 <table class="memname"> 1418 <tr> 1419 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::SCRIPT </td> 1420 <td>(</td> 1421 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1422 <td class="paramname"><em>rs</em></td><td>)</td> 1423 <td><code> [static]</code></td> 1424 </tr> 1425 </table> 1426</div> 1427<div class="memdoc"> 1428<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Script.html">Script</a>. </p> 1429<dl><dt><b>Parameters:</b></dt><dd> 1430 <table class="params"> 1431 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1432 </table> 1433 </dd> 1434</dl> 1435<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1436 1437</div> 1438</div> 1439<a class="anchor" id="ad426d4adfccc00804ecd29397dfcae4b"></a><!-- doxytag: member="android::RSC::Element::TYPE" ref="ad426d4adfccc00804ecd29397dfcae4b" args="(sp< RS > rs)" --> 1440<div class="memitem"> 1441<div class="memproto"> 1442 <table class="memname"> 1443 <tr> 1444 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::TYPE </td> 1445 <td>(</td> 1446 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1447 <td class="paramname"><em>rs</em></td><td>)</td> 1448 <td><code> [static]</code></td> 1449 </tr> 1450 </table> 1451</div> 1452<div class="memdoc"> 1453<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Type.html">Type</a>. </p> 1454<dl><dt><b>Parameters:</b></dt><dd> 1455 <table class="params"> 1456 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1457 </table> 1458 </dd> 1459</dl> 1460<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1461 1462</div> 1463</div> 1464<a class="anchor" id="ae6664c469040672733532b8d46181974"></a><!-- doxytag: member="android::RSC::Element::U16" ref="ae6664c469040672733532b8d46181974" args="(sp< RS > rs)" --> 1465<div class="memitem"> 1466<div class="memproto"> 1467 <table class="memname"> 1468 <tr> 1469 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U16 </td> 1470 <td>(</td> 1471 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1472 <td class="paramname"><em>rs</em></td><td>)</td> 1473 <td><code> [static]</code></td> 1474 </tr> 1475 </table> 1476</div> 1477<div class="memdoc"> 1478<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned short. </p> 1479<dl><dt><b>Parameters:</b></dt><dd> 1480 <table class="params"> 1481 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1482 </table> 1483 </dd> 1484</dl> 1485<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1486 1487</div> 1488</div> 1489<a class="anchor" id="a0fd26a84b5ccc124b09babbd03258e65"></a><!-- doxytag: member="android::RSC::Element::U16_2" ref="a0fd26a84b5ccc124b09babbd03258e65" args="(sp< RS > rs)" --> 1490<div class="memitem"> 1491<div class="memproto"> 1492 <table class="memname"> 1493 <tr> 1494 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U16_2 </td> 1495 <td>(</td> 1496 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1497 <td class="paramname"><em>rs</em></td><td>)</td> 1498 <td><code> [static]</code></td> 1499 </tr> 1500 </table> 1501</div> 1502<div class="memdoc"> 1503<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ushort2. </p> 1504<dl><dt><b>Parameters:</b></dt><dd> 1505 <table class="params"> 1506 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1507 </table> 1508 </dd> 1509</dl> 1510<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1511 1512</div> 1513</div> 1514<a class="anchor" id="a76949cad4eacff904a5edfdd71361539"></a><!-- doxytag: member="android::RSC::Element::U16_3" ref="a76949cad4eacff904a5edfdd71361539" args="(sp< RS > rs)" --> 1515<div class="memitem"> 1516<div class="memproto"> 1517 <table class="memname"> 1518 <tr> 1519 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U16_3 </td> 1520 <td>(</td> 1521 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1522 <td class="paramname"><em>rs</em></td><td>)</td> 1523 <td><code> [static]</code></td> 1524 </tr> 1525 </table> 1526</div> 1527<div class="memdoc"> 1528<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ushort3. </p> 1529<dl><dt><b>Parameters:</b></dt><dd> 1530 <table class="params"> 1531 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1532 </table> 1533 </dd> 1534</dl> 1535<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1536 1537</div> 1538</div> 1539<a class="anchor" id="a55684e38747445df7d4ed2b8502a5e15"></a><!-- doxytag: member="android::RSC::Element::U16_4" ref="a55684e38747445df7d4ed2b8502a5e15" args="(sp< RS > rs)" --> 1540<div class="memitem"> 1541<div class="memproto"> 1542 <table class="memname"> 1543 <tr> 1544 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U16_4 </td> 1545 <td>(</td> 1546 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1547 <td class="paramname"><em>rs</em></td><td>)</td> 1548 <td><code> [static]</code></td> 1549 </tr> 1550 </table> 1551</div> 1552<div class="memdoc"> 1553<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ushort4. </p> 1554<dl><dt><b>Parameters:</b></dt><dd> 1555 <table class="params"> 1556 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1557 </table> 1558 </dd> 1559</dl> 1560<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1561 1562</div> 1563</div> 1564<a class="anchor" id="a97c43a4c829fa6bf7b788e25ab38dc63"></a><!-- doxytag: member="android::RSC::Element::U32" ref="a97c43a4c829fa6bf7b788e25ab38dc63" args="(sp< RS > rs)" --> 1565<div class="memitem"> 1566<div class="memproto"> 1567 <table class="memname"> 1568 <tr> 1569 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U32 </td> 1570 <td>(</td> 1571 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1572 <td class="paramname"><em>rs</em></td><td>)</td> 1573 <td><code> [static]</code></td> 1574 </tr> 1575 </table> 1576</div> 1577<div class="memdoc"> 1578<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned int. </p> 1579<dl><dt><b>Parameters:</b></dt><dd> 1580 <table class="params"> 1581 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1582 </table> 1583 </dd> 1584</dl> 1585<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1586 1587</div> 1588</div> 1589<a class="anchor" id="a26a9a26622a8d068781a0d7eef87dab5"></a><!-- doxytag: member="android::RSC::Element::U32_2" ref="a26a9a26622a8d068781a0d7eef87dab5" args="(sp< RS > rs)" --> 1590<div class="memitem"> 1591<div class="memproto"> 1592 <table class="memname"> 1593 <tr> 1594 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U32_2 </td> 1595 <td>(</td> 1596 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1597 <td class="paramname"><em>rs</em></td><td>)</td> 1598 <td><code> [static]</code></td> 1599 </tr> 1600 </table> 1601</div> 1602<div class="memdoc"> 1603<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uint2. </p> 1604<dl><dt><b>Parameters:</b></dt><dd> 1605 <table class="params"> 1606 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1607 </table> 1608 </dd> 1609</dl> 1610<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1611 1612</div> 1613</div> 1614<a class="anchor" id="a2bd4aef93cd7039e6a093243dbb69fd2"></a><!-- doxytag: member="android::RSC::Element::U32_3" ref="a2bd4aef93cd7039e6a093243dbb69fd2" args="(sp< RS > rs)" --> 1615<div class="memitem"> 1616<div class="memproto"> 1617 <table class="memname"> 1618 <tr> 1619 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U32_3 </td> 1620 <td>(</td> 1621 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1622 <td class="paramname"><em>rs</em></td><td>)</td> 1623 <td><code> [static]</code></td> 1624 </tr> 1625 </table> 1626</div> 1627<div class="memdoc"> 1628<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uint3. </p> 1629<dl><dt><b>Parameters:</b></dt><dd> 1630 <table class="params"> 1631 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1632 </table> 1633 </dd> 1634</dl> 1635<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1636 1637</div> 1638</div> 1639<a class="anchor" id="adcceb18cbe85edc2f62af6e751ae64bc"></a><!-- doxytag: member="android::RSC::Element::U32_4" ref="adcceb18cbe85edc2f62af6e751ae64bc" args="(sp< RS > rs)" --> 1640<div class="memitem"> 1641<div class="memproto"> 1642 <table class="memname"> 1643 <tr> 1644 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U32_4 </td> 1645 <td>(</td> 1646 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1647 <td class="paramname"><em>rs</em></td><td>)</td> 1648 <td><code> [static]</code></td> 1649 </tr> 1650 </table> 1651</div> 1652<div class="memdoc"> 1653<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uint4. </p> 1654<dl><dt><b>Parameters:</b></dt><dd> 1655 <table class="params"> 1656 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1657 </table> 1658 </dd> 1659</dl> 1660<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1661 1662</div> 1663</div> 1664<a class="anchor" id="a3c45ab8ce73a2e652bcdfe8b632f870a"></a><!-- doxytag: member="android::RSC::Element::U64" ref="a3c45ab8ce73a2e652bcdfe8b632f870a" args="(sp< RS > rs)" --> 1665<div class="memitem"> 1666<div class="memproto"> 1667 <table class="memname"> 1668 <tr> 1669 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U64 </td> 1670 <td>(</td> 1671 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1672 <td class="paramname"><em>rs</em></td><td>)</td> 1673 <td><code> [static]</code></td> 1674 </tr> 1675 </table> 1676</div> 1677<div class="memdoc"> 1678<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned long long. </p> 1679<dl><dt><b>Parameters:</b></dt><dd> 1680 <table class="params"> 1681 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1682 </table> 1683 </dd> 1684</dl> 1685<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1686 1687</div> 1688</div> 1689<a class="anchor" id="a4ac012a1e70e98bcffe1a951f4e512ec"></a><!-- doxytag: member="android::RSC::Element::U64_2" ref="a4ac012a1e70e98bcffe1a951f4e512ec" args="(sp< RS > rs)" --> 1690<div class="memitem"> 1691<div class="memproto"> 1692 <table class="memname"> 1693 <tr> 1694 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U64_2 </td> 1695 <td>(</td> 1696 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1697 <td class="paramname"><em>rs</em></td><td>)</td> 1698 <td><code> [static]</code></td> 1699 </tr> 1700 </table> 1701</div> 1702<div class="memdoc"> 1703<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ulong2. </p> 1704<dl><dt><b>Parameters:</b></dt><dd> 1705 <table class="params"> 1706 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1707 </table> 1708 </dd> 1709</dl> 1710<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1711 1712</div> 1713</div> 1714<a class="anchor" id="a313588f5b66a041a7336a883f9bbc59f"></a><!-- doxytag: member="android::RSC::Element::U64_3" ref="a313588f5b66a041a7336a883f9bbc59f" args="(sp< RS > rs)" --> 1715<div class="memitem"> 1716<div class="memproto"> 1717 <table class="memname"> 1718 <tr> 1719 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U64_3 </td> 1720 <td>(</td> 1721 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1722 <td class="paramname"><em>rs</em></td><td>)</td> 1723 <td><code> [static]</code></td> 1724 </tr> 1725 </table> 1726</div> 1727<div class="memdoc"> 1728<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ulong3. </p> 1729<dl><dt><b>Parameters:</b></dt><dd> 1730 <table class="params"> 1731 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1732 </table> 1733 </dd> 1734</dl> 1735<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1736 1737</div> 1738</div> 1739<a class="anchor" id="a7df301be899fbbf7d6a43b160b9de9ff"></a><!-- doxytag: member="android::RSC::Element::U64_4" ref="a7df301be899fbbf7d6a43b160b9de9ff" args="(sp< RS > rs)" --> 1740<div class="memitem"> 1741<div class="memproto"> 1742 <table class="memname"> 1743 <tr> 1744 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U64_4 </td> 1745 <td>(</td> 1746 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1747 <td class="paramname"><em>rs</em></td><td>)</td> 1748 <td><code> [static]</code></td> 1749 </tr> 1750 </table> 1751</div> 1752<div class="memdoc"> 1753<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ulong4. </p> 1754<dl><dt><b>Parameters:</b></dt><dd> 1755 <table class="params"> 1756 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1757 </table> 1758 </dd> 1759</dl> 1760<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1761 1762</div> 1763</div> 1764<a class="anchor" id="a685e0e76cedd4d457f20fe4e36ab00b8"></a><!-- doxytag: member="android::RSC::Element::U8" ref="a685e0e76cedd4d457f20fe4e36ab00b8" args="(sp< RS > rs)" --> 1765<div class="memitem"> 1766<div class="memproto"> 1767 <table class="memname"> 1768 <tr> 1769 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U8 </td> 1770 <td>(</td> 1771 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1772 <td class="paramname"><em>rs</em></td><td>)</td> 1773 <td><code> [static]</code></td> 1774 </tr> 1775 </table> 1776</div> 1777<div class="memdoc"> 1778<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned char. </p> 1779<dl><dt><b>Parameters:</b></dt><dd> 1780 <table class="params"> 1781 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1782 </table> 1783 </dd> 1784</dl> 1785<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1786 1787</div> 1788</div> 1789<a class="anchor" id="a16372b6701a2ae427b91f034f98f8969"></a><!-- doxytag: member="android::RSC::Element::U8_2" ref="a16372b6701a2ae427b91f034f98f8969" args="(sp< RS > rs)" --> 1790<div class="memitem"> 1791<div class="memproto"> 1792 <table class="memname"> 1793 <tr> 1794 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U8_2 </td> 1795 <td>(</td> 1796 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1797 <td class="paramname"><em>rs</em></td><td>)</td> 1798 <td><code> [static]</code></td> 1799 </tr> 1800 </table> 1801</div> 1802<div class="memdoc"> 1803<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uchar2. </p> 1804<dl><dt><b>Parameters:</b></dt><dd> 1805 <table class="params"> 1806 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1807 </table> 1808 </dd> 1809</dl> 1810<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1811 1812</div> 1813</div> 1814<a class="anchor" id="a8a4a66f1f8bcce2e71f7af910043d820"></a><!-- doxytag: member="android::RSC::Element::U8_3" ref="a8a4a66f1f8bcce2e71f7af910043d820" args="(sp< RS > rs)" --> 1815<div class="memitem"> 1816<div class="memproto"> 1817 <table class="memname"> 1818 <tr> 1819 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U8_3 </td> 1820 <td>(</td> 1821 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1822 <td class="paramname"><em>rs</em></td><td>)</td> 1823 <td><code> [static]</code></td> 1824 </tr> 1825 </table> 1826</div> 1827<div class="memdoc"> 1828<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uchar3. </p> 1829<dl><dt><b>Parameters:</b></dt><dd> 1830 <table class="params"> 1831 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1832 </table> 1833 </dd> 1834</dl> 1835<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1836 1837</div> 1838</div> 1839<a class="anchor" id="ac20649353c9aa97b557c9e254f67492f"></a><!-- doxytag: member="android::RSC::Element::U8_4" ref="ac20649353c9aa97b557c9e254f67492f" args="(sp< RS > rs)" --> 1840<div class="memitem"> 1841<div class="memproto"> 1842 <table class="memname"> 1843 <tr> 1844 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::U8_4 </td> 1845 <td>(</td> 1846 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1847 <td class="paramname"><em>rs</em></td><td>)</td> 1848 <td><code> [static]</code></td> 1849 </tr> 1850 </table> 1851</div> 1852<div class="memdoc"> 1853<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uchar4. </p> 1854<dl><dt><b>Parameters:</b></dt><dd> 1855 <table class="params"> 1856 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1857 </table> 1858 </dd> 1859</dl> 1860<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1861 1862</div> 1863</div> 1864<a class="anchor" id="ac1636fe09e6df6f390e13f9eec1f301a"></a><!-- doxytag: member="android::RSC::Element::YUV" ref="ac1636fe09e6df6f390e13f9eec1f301a" args="(sp< RS > rs)" --> 1865<div class="memitem"> 1866<div class="memproto"> 1867 <table class="memname"> 1868 <tr> 1869 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>> android::RSC::Element::YUV </td> 1870 <td>(</td> 1871 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 1872 <td class="paramname"><em>rs</em></td><td>)</td> 1873 <td><code> [static]</code></td> 1874 </tr> 1875 </table> 1876</div> 1877<div class="memdoc"> 1878<p>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a YUV pixel. </p> 1879<dl><dt><b>Parameters:</b></dt><dd> 1880 <table class="params"> 1881 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 1882 </table> 1883 </dd> 1884</dl> 1885<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl> 1886 1887</div> 1888</div> 1889<hr/>The documentation for this class was generated from the following file:<ul> 1890<li><a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a></li> 1891</ul> 1892</div> 1893 1894</body> 1895</html> 1896