<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>android::RSC::ScriptIntrinsicConvolve5x5 Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div! --> <!-- Generated by Doxygen 1.7.5.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Overview</span></a></li> <li class="current"><a href="annotated.html"><span>Structs</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><b>android</b> </li> <li class="navelem"><b>RSC</b> </li> <li class="navelem"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve5x5.html">ScriptIntrinsicConvolve5x5</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <div class="title">android::RSC::ScriptIntrinsicConvolve5x5 Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="android::RSC::ScriptIntrinsicConvolve5x5" --><!-- doxytag: inherits="android::RSC::ScriptIntrinsic" --> <p><code>#include <<a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>></code></p> <div class="dynheader"> Inheritance diagram for android::RSC::ScriptIntrinsicConvolve5x5:</div> <div class="dyncontent"> <div class="center"> <img src="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve5x5.png" usemap="#android::RSC::ScriptIntrinsicConvolve5x5_map" alt=""/> <map id="android::RSC::ScriptIntrinsicConvolve5x5_map" name="android::RSC::ScriptIntrinsicConvolve5x5_map"> <area href="classandroid_1_1RSC_1_1ScriptIntrinsic.html" alt="android::RSC::ScriptIntrinsic" shape="rect" coords="0,112,243,136"/> <area href="classandroid_1_1RSC_1_1Script.html" alt="android::RSC::Script" shape="rect" coords="0,56,243,80"/> <area href="classandroid_1_1RSC_1_1BaseObj.html" alt="android::RSC::BaseObj" shape="rect" coords="0,0,243,24"/> </map> </div></div> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <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> <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> <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> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static sp<br class="typebreak"/> < <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> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Intrinsic for applying a 5x5 convolve to an allocation. </p> <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> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a16edb5063e7113f5923fa8b11197cb62"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::create" ref="a16edb5063e7113f5923fa8b11197cb62" args="(sp< RS > rs, sp< const Element > e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static sp<<a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve5x5.html">ScriptIntrinsicConvolve5x5</a>> android::RSC::ScriptIntrinsicConvolve5x5::create </td> <td>(</td> <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> <td class="paramname"><em>rs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td> <td class="paramname"><em>e</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Supported types U8 and F32 with vector lengths between 1 and 4. The default convolution kernel is the identity. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> <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> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>new <a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicConvolve5x5.html">ScriptIntrinsicConvolve5x5</a> </dd></dl> </div> </div> <a class="anchor" id="ab7ffe13967fd33f3fce8a8e48dc1c9f6"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::forEach" ref="ab7ffe13967fd33f3fce8a8e48dc1c9f6" args="(sp< Allocation > out)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void android::RSC::ScriptIntrinsicConvolve5x5::forEach </td> <td>(</td> <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> <td class="paramname"><em>out</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Launches the intrinsic. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <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> </table> </dd> </dl> </div> </div> <a class="anchor" id="a32a6051b732023e668807616f87c17dd"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::setCoefficients" ref="a32a6051b732023e668807616f87c17dd" args="(float *v)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void android::RSC::ScriptIntrinsicConvolve5x5::setCoefficients </td> <td>(</td> <td class="paramtype">float * </td> <td class="paramname"><em>v</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets convolution kernel. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>float[25] of values </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2f7c0212e1bb075153831ed543147d51"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicConvolve5x5::setInput" ref="a2f7c0212e1bb075153831ed543147d51" args="(sp< Allocation > in)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void android::RSC::ScriptIntrinsicConvolve5x5::setInput </td> <td>(</td> <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> <td class="paramname"><em>in</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets input for intrinsic. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <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> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a></li> </ul> </div> </body> </html>