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

#include <rsCppStructs.h>

Inheritance diagram for android::RSC::ScriptIntrinsicConvolve5x5:
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
< ScriptIntrinsicConvolve5x5
create (sp< RS > rs, sp< const Element > e)

Detailed Description

Intrinsic for applying a 5x5 convolve to an allocation.

Definition at line 1667 of file rsCppStructs.h.


Member Function Documentation

static sp<ScriptIntrinsicConvolve5x5> android::RSC::ScriptIntrinsicConvolve5x5::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 ScriptIntrinsicConvolve5x5
void android::RSC::ScriptIntrinsicConvolve5x5::forEach ( sp< Allocation out)

Launches the intrinsic.

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

Sets convolution kernel.

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

Sets input for intrinsic.

Parameters:
[in]ininput Allocation

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