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::ScriptIntrinsicConvolve5x5 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_1ScriptIntrinsicConvolve5x5.html">ScriptIntrinsicConvolve5x5</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::ScriptIntrinsicConvolve5x5 Class Reference</div> </div> 38 </div> 39 <div class="contents"> 40 <!-- doxytag: class="android::RSC::ScriptIntrinsicConvolve5x5" --><!-- 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::ScriptIntrinsicConvolve5x5:</div> 44 <div class="dyncontent"> 45 <div class="center"> 46 <img src="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve5x5.png" usemap="#android::RSC::ScriptIntrinsicConvolve5x5_map" alt=""/> 47 <map id="android::RSC::ScriptIntrinsicConvolve5x5_map" name="android::RSC::ScriptIntrinsicConvolve5x5_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_1ScriptIntrinsicConvolve5x5.html#a2f7c0212e1bb075153831ed543147d51">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_1ScriptIntrinsicConvolve5x5.html#ab7ffe13967fd33f3fce8a8e48dc1c9f6">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_1ScriptIntrinsicConvolve5x5.html#a32a6051b732023e668807616f87c17dd">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_1ScriptIntrinsicConvolve5x5.html">ScriptIntrinsicConvolve5x5</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve5x5.html#a16edb5063e7113f5923fa8b11197cb62">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 5x5 convolve to an allocation. </p> 66 67 <p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l01667">1667</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="a16edb5063e7113f5923fa8b11197cb62"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::create" ref="a16edb5063e7113f5923fa8b11197cb62" 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_1ScriptIntrinsicConvolve5x5.html">ScriptIntrinsicConvolve5x5</a>> android::RSC::ScriptIntrinsicConvolve5x5::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_1ScriptIntrinsicConvolve5x5.html">ScriptIntrinsicConvolve5x5</a> </dd></dl> 102 103 </div> 104 </div> 105 <a class="anchor" id="ab7ffe13967fd33f3fce8a8e48dc1c9f6"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::forEach" ref="ab7ffe13967fd33f3fce8a8e48dc1c9f6" 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::ScriptIntrinsicConvolve5x5::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="a32a6051b732023e668807616f87c17dd"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::setCoefficients" ref="a32a6051b732023e668807616f87c17dd" args="(float *v)" --> 130 <div class="memitem"> 131 <div class="memproto"> 132 <table class="memname"> 133 <tr> 134 <td class="memname">void android::RSC::ScriptIntrinsicConvolve5x5::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[25] of values </td></tr> 147 </table> 148 </dd> 149 </dl> 150 151 </div> 152 </div> 153 <a class="anchor" id="a2f7c0212e1bb075153831ed543147d51"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::setInput" ref="a2f7c0212e1bb075153831ed543147d51" 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::ScriptIntrinsicConvolve5x5::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