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

#include <rsCppStructs.h>

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

Public Member Functions

void setInput (sp< Allocation > in)
void forEach (sp< Allocation > out)
void setRadius (float radius)

Static Public Member Functions

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

Detailed Description

Intrinsic Gausian blur filter. Applies a Gaussian blur of the specified radius to all elements of an Allocation.

Definition at line 1542 of file rsCppStructs.h.


Member Function Documentation

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

Supported Element types are U8 and U8_4.

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

Runs the intrinsic.

Parameters:
[in]outputAllocation
void android::RSC::ScriptIntrinsicBlur::setInput ( sp< Allocation in)

Sets the input of the blur.

Parameters:
[in]ininput Allocation
void android::RSC::ScriptIntrinsicBlur::setRadius ( float  radius)

Sets the radius of the blur. The supported range is 0 < radius <= 25.

Parameters:
[in]radiusradius of the blur

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