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::ScriptIntrinsicBlur 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_1ScriptIntrinsicBlur.html">ScriptIntrinsicBlur</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::ScriptIntrinsicBlur Class Reference</div> </div> 38 </div> 39 <div class="contents"> 40 <!-- doxytag: class="android::RSC::ScriptIntrinsicBlur" --><!-- 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::ScriptIntrinsicBlur:</div> 44 <div class="dyncontent"> 45 <div class="center"> 46 <img src="classandroid_1_1RSC_1_1ScriptIntrinsicBlur.png" usemap="#android::RSC::ScriptIntrinsicBlur_map" alt=""/> 47 <map id="android::RSC::ScriptIntrinsicBlur_map" name="android::RSC::ScriptIntrinsicBlur_map"> 48 <area href="classandroid_1_1RSC_1_1ScriptIntrinsic.html" alt="android::RSC::ScriptIntrinsic" shape="rect" coords="0,112,192,136"/> 49 <area href="classandroid_1_1RSC_1_1Script.html" alt="android::RSC::Script" shape="rect" coords="0,56,192,80"/> 50 <area href="classandroid_1_1RSC_1_1BaseObj.html" alt="android::RSC::BaseObj" shape="rect" coords="0,0,192,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_1ScriptIntrinsicBlur.html#a8f3edd1e3243209076159e8c2d7ddefc">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_1ScriptIntrinsicBlur.html#ae8e448c1a7cf4505ce9008cdd20bcfed">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_1ScriptIntrinsicBlur.html#ad25f4cb45a95a01f1e9adfeb6e0d810b">setRadius</a> (float radius)</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< <a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlur.html">ScriptIntrinsicBlur</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlur.html#a8fac744731e103570f149012cfad7426">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> 62 </table> 63 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 64 <div class="textblock"><p>Intrinsic Gausian blur filter. Applies a Gaussian blur of the specified radius to all elements of an <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a>. </p> 65 66 <p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l01542">1542</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 67 </div><hr/><h2>Member Function Documentation</h2> 68 <a class="anchor" id="a8fac744731e103570f149012cfad7426"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlur::create" ref="a8fac744731e103570f149012cfad7426" args="(sp< RS > rs, sp< const Element > e)" --> 69 <div class="memitem"> 70 <div class="memproto"> 71 <table class="memname"> 72 <tr> 73 <td class="memname">static sp<<a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlur.html">ScriptIntrinsicBlur</a>> android::RSC::ScriptIntrinsicBlur::create </td> 74 <td>(</td> 75 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 76 <td class="paramname"><em>rs</em>, </td> 77 </tr> 78 <tr> 79 <td class="paramkey"></td> 80 <td></td> 81 <td class="paramtype">sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td> 82 <td class="paramname"><em>e</em> </td> 83 </tr> 84 <tr> 85 <td></td> 86 <td>)</td> 87 <td></td><td><code> [static]</code></td> 88 </tr> 89 </table> 90 </div> 91 <div class="memdoc"> 92 <p>Supported <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> types are U8 and U8_4. </p> 93 <dl><dt><b>Parameters:</b></dt><dd> 94 <table class="params"> 95 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 96 <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> 97 </table> 98 </dd> 99 </dl> 100 <dl class="return"><dt><b>Returns:</b></dt><dd>new <a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlur.html">ScriptIntrinsicBlur</a> </dd></dl> 101 102 </div> 103 </div> 104 <a class="anchor" id="ae8e448c1a7cf4505ce9008cdd20bcfed"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlur::forEach" ref="ae8e448c1a7cf4505ce9008cdd20bcfed" args="(sp< Allocation > out)" --> 105 <div class="memitem"> 106 <div class="memproto"> 107 <table class="memname"> 108 <tr> 109 <td class="memname">void android::RSC::ScriptIntrinsicBlur::forEach </td> 110 <td>(</td> 111 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 112 <td class="paramname"><em>out</em></td><td>)</td> 113 <td></td> 114 </tr> 115 </table> 116 </div> 117 <div class="memdoc"> 118 <p>Runs the intrinsic. </p> 119 <dl><dt><b>Parameters:</b></dt><dd> 120 <table class="params"> 121 <tr><td class="paramdir">[in]</td><td class="paramname">output</td><td><a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> </td></tr> 122 </table> 123 </dd> 124 </dl> 125 126 </div> 127 </div> 128 <a class="anchor" id="a8f3edd1e3243209076159e8c2d7ddefc"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlur::setInput" ref="a8f3edd1e3243209076159e8c2d7ddefc" args="(sp< Allocation > in)" --> 129 <div class="memitem"> 130 <div class="memproto"> 131 <table class="memname"> 132 <tr> 133 <td class="memname">void android::RSC::ScriptIntrinsicBlur::setInput </td> 134 <td>(</td> 135 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 136 <td class="paramname"><em>in</em></td><td>)</td> 137 <td></td> 138 </tr> 139 </table> 140 </div> 141 <div class="memdoc"> 142 <p>Sets the input of the blur. </p> 143 <dl><dt><b>Parameters:</b></dt><dd> 144 <table class="params"> 145 <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> 146 </table> 147 </dd> 148 </dl> 149 150 </div> 151 </div> 152 <a class="anchor" id="ad25f4cb45a95a01f1e9adfeb6e0d810b"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlur::setRadius" ref="ad25f4cb45a95a01f1e9adfeb6e0d810b" args="(float radius)" --> 153 <div class="memitem"> 154 <div class="memproto"> 155 <table class="memname"> 156 <tr> 157 <td class="memname">void android::RSC::ScriptIntrinsicBlur::setRadius </td> 158 <td>(</td> 159 <td class="paramtype">float </td> 160 <td class="paramname"><em>radius</em></td><td>)</td> 161 <td></td> 162 </tr> 163 </table> 164 </div> 165 <div class="memdoc"> 166 <p>Sets the radius of the blur. The supported range is 0 < radius <= 25. </p> 167 <dl><dt><b>Parameters:</b></dt><dd> 168 <table class="params"> 169 <tr><td class="paramdir">[in]</td><td class="paramname">radius</td><td>radius of the blur </td></tr> 170 </table> 171 </dd> 172 </dl> 173 174 </div> 175 </div> 176 <hr/>The documentation for this class was generated from the following file:<ul> 177 <li><a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a></li> 178 </ul> 179 </div> 180 181 </body> 182 </html> 183