Public Member Functions | Static Public Member Functions
android::RSC::ScriptIntrinsicConvolve3x3 Class Reference

#include <rsCppStructs.h>

Inheritance diagram for android::RSC::ScriptIntrinsicConvolve3x3:
android::RSC::ScriptIntrinsic android::RSC::Script android::RSC::BaseObj

Public Member Functions

void setInput (sp< Allocation > in)
void forEach (sp< Allocation > out)
void setCoefficients (float *v)

Static Public Member Functions

static sp
< ScriptIntrinsicConvolve3x3
create (sp< RS > rs, sp< const Element > e)

Detailed Description

Intrinsic for applying a 3x3 convolve to an allocation.

Definition at line 1635 of file rsCppStructs.h.


Member Function Documentation

static sp<ScriptIntrinsicConvolve3x3> android::RSC::ScriptIntrinsicConvolve3x3::create ( sp< RS rs,
sp< const Element e 
) [static]

Supported types U8 and F32 with vector lengths between 1 and 4. The default convolution kernel is the identity.

Parameters:
[in]rsRenderScript context
[in]eElement
Returns:
new ScriptIntrinsicConvolve3x3
void android::RSC::ScriptIntrinsicConvolve3x3::forEach ( sp< Allocation out)

Launches the intrinsic.

Parameters:
[in]outoutput Allocation
void android::RSC::ScriptIntrinsicConvolve3x3::setCoefficients ( float *  v)

Sets convolution kernel.

Parameters:
[in]vfloat[9] of values
void android::RSC::ScriptIntrinsicConvolve3x3::setInput ( sp< Allocation in)

Sets input for intrinsic.

Parameters:
[in]ininput Allocation

The documentation for this class was generated from the following file: