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::ScriptIntrinsicBlend 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_1ScriptIntrinsicBlend.html">ScriptIntrinsicBlend</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::ScriptIntrinsicBlend Class Reference</div> </div> 38</div> 39<div class="contents"> 40<!-- doxytag: class="android::RSC::ScriptIntrinsicBlend" --><!-- 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"> 43Inheritance diagram for android::RSC::ScriptIntrinsicBlend:</div> 44<div class="dyncontent"> 45 <div class="center"> 46 <img src="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.png" usemap="#android::RSC::ScriptIntrinsicBlend_map" alt=""/> 47 <map id="android::RSC::ScriptIntrinsicBlend_map" name="android::RSC::ScriptIntrinsicBlend_map"> 48<area href="classandroid_1_1RSC_1_1ScriptIntrinsic.html" alt="android::RSC::ScriptIntrinsic" shape="rect" coords="0,112,201,136"/> 49<area href="classandroid_1_1RSC_1_1Script.html" alt="android::RSC::Script" shape="rect" coords="0,56,201,80"/> 50<area href="classandroid_1_1RSC_1_1BaseObj.html" alt="android::RSC::BaseObj" shape="rect" coords="0,0,201,24"/> 51</map> 52 </div></div> 53<table class="memberdecls"> 54<tr><td colspan="2"><h2><a name="pub-methods"></a> 55Public 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_1ScriptIntrinsicBlend.html#addb362087b29501a147532b71fa1bd84">forEachClear</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</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_1ScriptIntrinsicBlend.html#a4a9b89fe7c7d0b508cb76ef3ff17b21f">forEachSrc</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, 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_1ScriptIntrinsicBlend.html#a0fd92d628989897bc74950dfe7d526a9">forEachDst</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 59<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a549d5ac3e162fe09953e91c3f051bfe1">forEachSrcOver</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 60<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a345320822d155e67b31bf3dd3bdd92cd">forEachDstOver</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 61<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#aa9eeb76a0bcab43ce0b184d763d4330b">forEachSrcIn</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 62<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a1a8c4062af7c2b65ef75265205a43074">forEachDstIn</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 63<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#ab4de9592804d272a87c11391007829af">forEachSrcOut</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 64<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a72d0bc7a4766cf7c232f03dd9b0bdd33">forEachDstOut</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 65<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a11d157495a1970b479cfc831222079d6">forEachSrcAtop</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 66<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#aa651ce27efb7f78b0615563c3fd41f31">forEachDstAtop</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 67<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#ac3fbf3acd4ff8d26779930f4fdc42cb8">forEachXor</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 68<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a10061ec772c84fedd9f04f43e06ad0a9">forEachMultiply</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 69<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a858f1780417ac702b26becaae865f736">forEachAdd</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 70<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#aeb8ee656f6d3ac2d21a4e2ca74f25cd9">forEachSubtract</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 71<tr><td colspan="2"><h2><a name="pub-static-methods"></a> 72Static Public Member Functions</h2></td></tr> 73<tr><td class="memItemLeft" align="right" valign="top">static sp< <a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html">ScriptIntrinsicBlend</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a1dbb5e8934181bd464aa941ab4ed04c2">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> 74</table> 75<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 76<div class="textblock"><p>Intrinsic kernel for blending two Allocations. </p> 77 78<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l01435">1435</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 79</div><hr/><h2>Member Function Documentation</h2> 80<a class="anchor" id="a1dbb5e8934181bd464aa941ab4ed04c2"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::create" ref="a1dbb5e8934181bd464aa941ab4ed04c2" args="(sp< RS > rs, sp< const Element > e)" --> 81<div class="memitem"> 82<div class="memproto"> 83 <table class="memname"> 84 <tr> 85 <td class="memname">static sp<<a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html">ScriptIntrinsicBlend</a>> android::RSC::ScriptIntrinsicBlend::create </td> 86 <td>(</td> 87 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 88 <td class="paramname"><em>rs</em>, </td> 89 </tr> 90 <tr> 91 <td class="paramkey"></td> 92 <td></td> 93 <td class="paramtype">sp< const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> > </td> 94 <td class="paramname"><em>e</em> </td> 95 </tr> 96 <tr> 97 <td></td> 98 <td>)</td> 99 <td></td><td><code> [static]</code></td> 100 </tr> 101 </table> 102</div> 103<div class="memdoc"> 104<p>Supported <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> types are U8_4. </p> 105<dl><dt><b>Parameters:</b></dt><dd> 106 <table class="params"> 107 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 108 <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> 109 </table> 110 </dd> 111</dl> 112<dl class="return"><dt><b>Returns:</b></dt><dd>new <a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html">ScriptIntrinsicBlend</a> </dd></dl> 113 114</div> 115</div> 116<a class="anchor" id="a858f1780417ac702b26becaae865f736"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachAdd" ref="a858f1780417ac702b26becaae865f736" args="(sp< Allocation > in, sp< Allocation > out)" --> 117<div class="memitem"> 118<div class="memproto"> 119 <table class="memname"> 120 <tr> 121 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachAdd </td> 122 <td>(</td> 123 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 124 <td class="paramname"><em>in</em>, </td> 125 </tr> 126 <tr> 127 <td class="paramkey"></td> 128 <td></td> 129 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 130 <td class="paramname"><em>out</em> </td> 131 </tr> 132 <tr> 133 <td></td> 134 <td>)</td> 135 <td></td><td></td> 136 </tr> 137 </table> 138</div> 139<div class="memdoc"> 140<p>Sets dst = min(src + dst, 1.0) </p> 141<dl><dt><b>Parameters:</b></dt><dd> 142 <table class="params"> 143 <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> 144 <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> 145 </table> 146 </dd> 147</dl> 148 149</div> 150</div> 151<a class="anchor" id="addb362087b29501a147532b71fa1bd84"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachClear" ref="addb362087b29501a147532b71fa1bd84" args="(sp< Allocation > in, sp< Allocation > out)" --> 152<div class="memitem"> 153<div class="memproto"> 154 <table class="memname"> 155 <tr> 156 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachClear </td> 157 <td>(</td> 158 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 159 <td class="paramname"><em>in</em>, </td> 160 </tr> 161 <tr> 162 <td class="paramkey"></td> 163 <td></td> 164 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 165 <td class="paramname"><em>out</em> </td> 166 </tr> 167 <tr> 168 <td></td> 169 <td>)</td> 170 <td></td><td></td> 171 </tr> 172 </table> 173</div> 174<div class="memdoc"> 175<p>sets dst = {0, 0, 0, 0} </p> 176<dl><dt><b>Parameters:</b></dt><dd> 177 <table class="params"> 178 <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> 179 <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> 180 </table> 181 </dd> 182</dl> 183 184</div> 185</div> 186<a class="anchor" id="a0fd92d628989897bc74950dfe7d526a9"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachDst" ref="a0fd92d628989897bc74950dfe7d526a9" args="(sp< Allocation > in, sp< Allocation > out)" --> 187<div class="memitem"> 188<div class="memproto"> 189 <table class="memname"> 190 <tr> 191 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachDst </td> 192 <td>(</td> 193 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 194 <td class="paramname"><em>in</em>, </td> 195 </tr> 196 <tr> 197 <td class="paramkey"></td> 198 <td></td> 199 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 200 <td class="paramname"><em>out</em> </td> 201 </tr> 202 <tr> 203 <td></td> 204 <td>)</td> 205 <td></td><td></td> 206 </tr> 207 </table> 208</div> 209<div class="memdoc"> 210<p>Sets dst = dst (NOP) </p> 211<dl><dt><b>Parameters:</b></dt><dd> 212 <table class="params"> 213 <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> 214 <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> 215 </table> 216 </dd> 217</dl> 218 219</div> 220</div> 221<a class="anchor" id="aa651ce27efb7f78b0615563c3fd41f31"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachDstAtop" ref="aa651ce27efb7f78b0615563c3fd41f31" args="(sp< Allocation > in, sp< Allocation > out)" --> 222<div class="memitem"> 223<div class="memproto"> 224 <table class="memname"> 225 <tr> 226 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachDstAtop </td> 227 <td>(</td> 228 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 229 <td class="paramname"><em>in</em>, </td> 230 </tr> 231 <tr> 232 <td class="paramkey"></td> 233 <td></td> 234 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 235 <td class="paramname"><em>out</em> </td> 236 </tr> 237 <tr> 238 <td></td> 239 <td>)</td> 240 <td></td><td></td> 241 </tr> 242 </table> 243</div> 244<div class="memdoc"> 245<p>Sets dst.rgb = dst.rgb * src.a + (1.0 - dst.a) * src.rgb </p> 246<dl><dt><b>Parameters:</b></dt><dd> 247 <table class="params"> 248 <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> 249 <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> 250 </table> 251 </dd> 252</dl> 253 254</div> 255</div> 256<a class="anchor" id="a1a8c4062af7c2b65ef75265205a43074"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachDstIn" ref="a1a8c4062af7c2b65ef75265205a43074" args="(sp< Allocation > in, sp< Allocation > out)" --> 257<div class="memitem"> 258<div class="memproto"> 259 <table class="memname"> 260 <tr> 261 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachDstIn </td> 262 <td>(</td> 263 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 264 <td class="paramname"><em>in</em>, </td> 265 </tr> 266 <tr> 267 <td class="paramkey"></td> 268 <td></td> 269 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 270 <td class="paramname"><em>out</em> </td> 271 </tr> 272 <tr> 273 <td></td> 274 <td>)</td> 275 <td></td><td></td> 276 </tr> 277 </table> 278</div> 279<div class="memdoc"> 280<p>Sets dst = dst * src.a </p> 281<dl><dt><b>Parameters:</b></dt><dd> 282 <table class="params"> 283 <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> 284 <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> 285 </table> 286 </dd> 287</dl> 288 289</div> 290</div> 291<a class="anchor" id="a72d0bc7a4766cf7c232f03dd9b0bdd33"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachDstOut" ref="a72d0bc7a4766cf7c232f03dd9b0bdd33" args="(sp< Allocation > in, sp< Allocation > out)" --> 292<div class="memitem"> 293<div class="memproto"> 294 <table class="memname"> 295 <tr> 296 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachDstOut </td> 297 <td>(</td> 298 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 299 <td class="paramname"><em>in</em>, </td> 300 </tr> 301 <tr> 302 <td class="paramkey"></td> 303 <td></td> 304 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 305 <td class="paramname"><em>out</em> </td> 306 </tr> 307 <tr> 308 <td></td> 309 <td>)</td> 310 <td></td><td></td> 311 </tr> 312 </table> 313</div> 314<div class="memdoc"> 315<p>Sets dst = dst * (1.0 - src.a) </p> 316<dl><dt><b>Parameters:</b></dt><dd> 317 <table class="params"> 318 <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> 319 <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> 320 </table> 321 </dd> 322</dl> 323 324</div> 325</div> 326<a class="anchor" id="a345320822d155e67b31bf3dd3bdd92cd"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachDstOver" ref="a345320822d155e67b31bf3dd3bdd92cd" args="(sp< Allocation > in, sp< Allocation > out)" --> 327<div class="memitem"> 328<div class="memproto"> 329 <table class="memname"> 330 <tr> 331 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachDstOver </td> 332 <td>(</td> 333 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 334 <td class="paramname"><em>in</em>, </td> 335 </tr> 336 <tr> 337 <td class="paramkey"></td> 338 <td></td> 339 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 340 <td class="paramname"><em>out</em> </td> 341 </tr> 342 <tr> 343 <td></td> 344 <td>)</td> 345 <td></td><td></td> 346 </tr> 347 </table> 348</div> 349<div class="memdoc"> 350<p>Sets dst = dst + src * (1.0 - dst.a) </p> 351<dl><dt><b>Parameters:</b></dt><dd> 352 <table class="params"> 353 <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> 354 <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> 355 </table> 356 </dd> 357</dl> 358 359</div> 360</div> 361<a class="anchor" id="a10061ec772c84fedd9f04f43e06ad0a9"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachMultiply" ref="a10061ec772c84fedd9f04f43e06ad0a9" args="(sp< Allocation > in, sp< Allocation > out)" --> 362<div class="memitem"> 363<div class="memproto"> 364 <table class="memname"> 365 <tr> 366 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachMultiply </td> 367 <td>(</td> 368 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 369 <td class="paramname"><em>in</em>, </td> 370 </tr> 371 <tr> 372 <td class="paramkey"></td> 373 <td></td> 374 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 375 <td class="paramname"><em>out</em> </td> 376 </tr> 377 <tr> 378 <td></td> 379 <td>)</td> 380 <td></td><td></td> 381 </tr> 382 </table> 383</div> 384<div class="memdoc"> 385<p>Sets dst = src * dst </p> 386<dl><dt><b>Parameters:</b></dt><dd> 387 <table class="params"> 388 <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> 389 <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> 390 </table> 391 </dd> 392</dl> 393 394</div> 395</div> 396<a class="anchor" id="a4a9b89fe7c7d0b508cb76ef3ff17b21f"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachSrc" ref="a4a9b89fe7c7d0b508cb76ef3ff17b21f" args="(sp< Allocation > in, sp< Allocation > out)" --> 397<div class="memitem"> 398<div class="memproto"> 399 <table class="memname"> 400 <tr> 401 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachSrc </td> 402 <td>(</td> 403 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 404 <td class="paramname"><em>in</em>, </td> 405 </tr> 406 <tr> 407 <td class="paramkey"></td> 408 <td></td> 409 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 410 <td class="paramname"><em>out</em> </td> 411 </tr> 412 <tr> 413 <td></td> 414 <td>)</td> 415 <td></td><td></td> 416 </tr> 417 </table> 418</div> 419<div class="memdoc"> 420<p>Sets dst = src </p> 421<dl><dt><b>Parameters:</b></dt><dd> 422 <table class="params"> 423 <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> 424 <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> 425 </table> 426 </dd> 427</dl> 428 429</div> 430</div> 431<a class="anchor" id="a11d157495a1970b479cfc831222079d6"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachSrcAtop" ref="a11d157495a1970b479cfc831222079d6" args="(sp< Allocation > in, sp< Allocation > out)" --> 432<div class="memitem"> 433<div class="memproto"> 434 <table class="memname"> 435 <tr> 436 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachSrcAtop </td> 437 <td>(</td> 438 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 439 <td class="paramname"><em>in</em>, </td> 440 </tr> 441 <tr> 442 <td class="paramkey"></td> 443 <td></td> 444 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 445 <td class="paramname"><em>out</em> </td> 446 </tr> 447 <tr> 448 <td></td> 449 <td>)</td> 450 <td></td><td></td> 451 </tr> 452 </table> 453</div> 454<div class="memdoc"> 455<p>Sets dst.rgb = src.rgb * dst.a + (1.0 - src.a) * dst.rgb </p> 456<dl><dt><b>Parameters:</b></dt><dd> 457 <table class="params"> 458 <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> 459 <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> 460 </table> 461 </dd> 462</dl> 463 464</div> 465</div> 466<a class="anchor" id="aa9eeb76a0bcab43ce0b184d763d4330b"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachSrcIn" ref="aa9eeb76a0bcab43ce0b184d763d4330b" args="(sp< Allocation > in, sp< Allocation > out)" --> 467<div class="memitem"> 468<div class="memproto"> 469 <table class="memname"> 470 <tr> 471 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachSrcIn </td> 472 <td>(</td> 473 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 474 <td class="paramname"><em>in</em>, </td> 475 </tr> 476 <tr> 477 <td class="paramkey"></td> 478 <td></td> 479 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 480 <td class="paramname"><em>out</em> </td> 481 </tr> 482 <tr> 483 <td></td> 484 <td>)</td> 485 <td></td><td></td> 486 </tr> 487 </table> 488</div> 489<div class="memdoc"> 490<p>Sets dst = src * dst.a </p> 491<dl><dt><b>Parameters:</b></dt><dd> 492 <table class="params"> 493 <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> 494 <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> 495 </table> 496 </dd> 497</dl> 498 499</div> 500</div> 501<a class="anchor" id="ab4de9592804d272a87c11391007829af"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachSrcOut" ref="ab4de9592804d272a87c11391007829af" args="(sp< Allocation > in, sp< Allocation > out)" --> 502<div class="memitem"> 503<div class="memproto"> 504 <table class="memname"> 505 <tr> 506 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachSrcOut </td> 507 <td>(</td> 508 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 509 <td class="paramname"><em>in</em>, </td> 510 </tr> 511 <tr> 512 <td class="paramkey"></td> 513 <td></td> 514 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 515 <td class="paramname"><em>out</em> </td> 516 </tr> 517 <tr> 518 <td></td> 519 <td>)</td> 520 <td></td><td></td> 521 </tr> 522 </table> 523</div> 524<div class="memdoc"> 525<p>Sets dst = src * (1.0 - dst.a) </p> 526<dl><dt><b>Parameters:</b></dt><dd> 527 <table class="params"> 528 <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> 529 <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> 530 </table> 531 </dd> 532</dl> 533 534</div> 535</div> 536<a class="anchor" id="a549d5ac3e162fe09953e91c3f051bfe1"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachSrcOver" ref="a549d5ac3e162fe09953e91c3f051bfe1" args="(sp< Allocation > in, sp< Allocation > out)" --> 537<div class="memitem"> 538<div class="memproto"> 539 <table class="memname"> 540 <tr> 541 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachSrcOver </td> 542 <td>(</td> 543 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 544 <td class="paramname"><em>in</em>, </td> 545 </tr> 546 <tr> 547 <td class="paramkey"></td> 548 <td></td> 549 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 550 <td class="paramname"><em>out</em> </td> 551 </tr> 552 <tr> 553 <td></td> 554 <td>)</td> 555 <td></td><td></td> 556 </tr> 557 </table> 558</div> 559<div class="memdoc"> 560<p>Sets dst = src + dst * (1.0 - src.a) </p> 561<dl><dt><b>Parameters:</b></dt><dd> 562 <table class="params"> 563 <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> 564 <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> 565 </table> 566 </dd> 567</dl> 568 569</div> 570</div> 571<a class="anchor" id="aeb8ee656f6d3ac2d21a4e2ca74f25cd9"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachSubtract" ref="aeb8ee656f6d3ac2d21a4e2ca74f25cd9" args="(sp< Allocation > in, sp< Allocation > out)" --> 572<div class="memitem"> 573<div class="memproto"> 574 <table class="memname"> 575 <tr> 576 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachSubtract </td> 577 <td>(</td> 578 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 579 <td class="paramname"><em>in</em>, </td> 580 </tr> 581 <tr> 582 <td class="paramkey"></td> 583 <td></td> 584 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 585 <td class="paramname"><em>out</em> </td> 586 </tr> 587 <tr> 588 <td></td> 589 <td>)</td> 590 <td></td><td></td> 591 </tr> 592 </table> 593</div> 594<div class="memdoc"> 595<p>Sets dst = max(dst - src, 0.0) </p> 596<dl><dt><b>Parameters:</b></dt><dd> 597 <table class="params"> 598 <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> 599 <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> 600 </table> 601 </dd> 602</dl> 603 604</div> 605</div> 606<a class="anchor" id="ac3fbf3acd4ff8d26779930f4fdc42cb8"></a><!-- doxytag: member="android::RSC::ScriptIntrinsicBlend::forEachXor" ref="ac3fbf3acd4ff8d26779930f4fdc42cb8" args="(sp< Allocation > in, sp< Allocation > out)" --> 607<div class="memitem"> 608<div class="memproto"> 609 <table class="memname"> 610 <tr> 611 <td class="memname">void android::RSC::ScriptIntrinsicBlend::forEachXor </td> 612 <td>(</td> 613 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 614 <td class="paramname"><em>in</em>, </td> 615 </tr> 616 <tr> 617 <td class="paramkey"></td> 618 <td></td> 619 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > </td> 620 <td class="paramname"><em>out</em> </td> 621 </tr> 622 <tr> 623 <td></td> 624 <td>)</td> 625 <td></td><td></td> 626 </tr> 627 </table> 628</div> 629<div class="memdoc"> 630<p>Sets dst = {src.r ^ dst.r, src.g ^ dst.g, src.b ^ dst.b, src.a ^ dst.a} </p> 631<dl><dt><b>Parameters:</b></dt><dd> 632 <table class="params"> 633 <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> 634 <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> 635 </table> 636 </dd> 637</dl> 638 639</div> 640</div> 641<hr/>The documentation for this class was generated from the following file:<ul> 642<li><a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a></li> 643</ul> 644</div> 645 646</body> 647</html> 648