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::ScriptIntrinsicConvolve3x3 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_1ScriptIntrinsicConvolve3x3.html">ScriptIntrinsicConvolve3x3</a> </li> 29 </ul> 30 </div> 31 </div> 32 <div class="header"> 33 <div class="summary"> 34 <a href="#pub-methods">Public Member Functions</a> | 35 <a href="#pub-static-methods">Static Public Member Functions</a> </div> 36 <div class="headertitle"> 37 <div class="title">android::RSC::ScriptIntrinsicConvolve3x3 Class Reference</div> </div> 38 </div> 39 <div class="contents"> 40 <!-- doxytag: class="android::RSC::ScriptIntrinsicConvolve3x3" --><!-- doxytag: inherits="android::RSC::ScriptIntrinsic" --> 41 <p><code>#include <<a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>></code></p> 42 <div class="dynheader"> 43 Inheritance diagram for android::RSC::ScriptIntrinsicConvolve3x3:</div> 44 <div class="dyncontent"> 45 <div class="center"> 46 <img src="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.png" usemap="#android::RSC::ScriptIntrinsicConvolve3x3_map" alt=""/> 47 <map id="android::RSC::ScriptIntrinsicConvolve3x3_map" name="android::RSC::ScriptIntrinsicConvolve3x3_map"> 48 <area href="classandroid_1_1RSC_1_1ScriptIntrinsic.html" alt="android::RSC::ScriptIntrinsic" shape="rect" coords="0,112,243,136"/> 49 <area href="classandroid_1_1RSC_1_1Script.html" alt="android::RSC::Script" shape="rect" coords="0,56,243,80"/> 50 <area href="classandroid_1_1RSC_1_1BaseObj.html" alt="android::RSC::BaseObj" shape="rect" coords="0,0,243,24"/> 51 </map> 52 </div></div> 53 <table class="memberdecls"> 54 <tr><td colspan="2"><h2><a name="pub-methods"></a> 55 Public Member Functions</h2></td></tr> 56 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.html#af37c3c898638afbda2911253c8d5f425">setInput</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in)</td></tr> 57 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.html#a1452800d1d0c8850d1a16af98e422478">forEach</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 58 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.html#a7e078b7dd03ed4ef95359e5c8aa4221a">setCoefficients</a> (float *v)</td></tr> 59 <tr><td colspan="2"><h2><a name="pub-static-methods"></a> 60 Static Public Member Functions</h2></td></tr> 61 <tr><td class="memItemLeft" align="right" valign="top">static sp<br class="typebreak"/> 62 < <a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.html">ScriptIntrinsicConvolve3x3</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.html#a75322ba192a90765448e6d677876fdd2">create</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs, sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > e)</td></tr> 63 </table> 64 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 65 <div class="textblock"><p>Intrinsic for applying a 3x3 convolve to an allocation. </p> 66 67 <p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l01635">1635</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 68 </div><hr/><h2>Member Function Documentation</h2> 69 <a class="anchor" id="a75322ba192a90765448e6d677876fdd2"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve3x3::create" ref="a75322ba192a90765448e6d677876fdd2" args="(sp< RS > rs, sp< const Element > e)" --> 70 <div class="memitem"> 71 <div class="memproto"> 72 <table class="memname"> 73 <tr> 74 <td class="memname">static sp<<a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.html">ScriptIntrinsicConvolve3x3</a>> android::RSC::ScriptIntrinsicConvolve3x3::create </td> 75 <td>(</td> 76 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 77 <td class="paramname"><em>rs</em>, </td> 78 </tr> 79 <tr> 80 <td class="paramkey"></td> 81 <td></td> 82 <td class="paramtype">sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td> 83 <td class="paramname"><em>e</em> </td> 84 </tr> 85 <tr> 86 <td></td> 87 <td>)</td> 88 <td></td><td><code> [static]</code></td> 89 </tr> 90 </table> 91 </div> 92 <div class="memdoc"> 93 <p>Supported types U8 and F32 with vector lengths between 1 and 4. The default convolution kernel is the identity. </p> 94 <dl><dt><b>Parameters:</b></dt><dd> 95 <table class="params"> 96 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 97 <tr><td class="paramdir">[in]</td><td class="paramname">e</td><td><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </td></tr> 98 </table> 99 </dd> 100 </dl> 101 <dl class="return"><dt><b>Returns:</b></dt><dd>new <a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve3x3.html">ScriptIntrinsicConvolve3x3</a> </dd></dl> 102 103 </div> 104 </div> 105 <a class="anchor" id="a1452800d1d0c8850d1a16af98e422478"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve3x3::forEach" ref="a1452800d1d0c8850d1a16af98e422478" args="(sp< Allocation > out)" --> 106 <div class="memitem"> 107 <div class="memproto"> 108 <table class="memname"> 109 <tr> 110 <td class="memname">void android::RSC::ScriptIntrinsicConvolve3x3::forEach </td> 111 <td>(</td> 112 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 113 <td class="paramname"><em>out</em></td><td>)</td> 114 <td></td> 115 </tr> 116 </table> 117 </div> 118 <div class="memdoc"> 119 <p>Launches the intrinsic. </p> 120 <dl><dt><b>Parameters:</b></dt><dd> 121 <table class="params"> 122 <tr><td class="paramdir">[in]</td><td class="paramname">out</td><td>output <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> </td></tr> 123 </table> 124 </dd> 125 </dl> 126 127 </div> 128 </div> 129 <a class="anchor" id="a7e078b7dd03ed4ef95359e5c8aa4221a"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve3x3::setCoefficients" ref="a7e078b7dd03ed4ef95359e5c8aa4221a" args="(float *v)" --> 130 <div class="memitem"> 131 <div class="memproto"> 132 <table class="memname"> 133 <tr> 134 <td class="memname">void android::RSC::ScriptIntrinsicConvolve3x3::setCoefficients </td> 135 <td>(</td> 136 <td class="paramtype">float * </td> 137 <td class="paramname"><em>v</em></td><td>)</td> 138 <td></td> 139 </tr> 140 </table> 141 </div> 142 <div class="memdoc"> 143 <p>Sets convolution kernel. </p> 144 <dl><dt><b>Parameters:</b></dt><dd> 145 <table class="params"> 146 <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>float[9] of values </td></tr> 147 </table> 148 </dd> 149 </dl> 150 151 </div> 152 </div> 153 <a class="anchor" id="af37c3c898638afbda2911253c8d5f425"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve3x3::setInput" ref="af37c3c898638afbda2911253c8d5f425" args="(sp< Allocation > in)" --> 154 <div class="memitem"> 155 <div class="memproto"> 156 <table class="memname"> 157 <tr> 158 <td class="memname">void android::RSC::ScriptIntrinsicConvolve3x3::setInput </td> 159 <td>(</td> 160 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 161 <td class="paramname"><em>in</em></td><td>)</td> 162 <td></td> 163 </tr> 164 </table> 165 </div> 166 <div class="memdoc"> 167 <p>Sets input for intrinsic. </p> 168 <dl><dt><b>Parameters:</b></dt><dd> 169 <table class="params"> 170 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>input <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> </td></tr> 171 </table> 172 </dd> 173 </dl> 174 175 </div> 176 </div> 177 <hr/>The documentation for this class was generated from the following file:<ul> 178 <li><a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a></li> 179 </ul> 180 </div> 181 182 </body> 183 </html> 184