beautypg.com

Blur, 23 blur, 1 detailed description – Google Flix Engine Linux Reference Manual User Manual

Page 99: Defines, Typedefs, Enumerations

background image

5.23 Blur

93

5.23

Blur

5.23.1

Detailed Description

Blurs the source image

Filter Parameters:

Name

|

Type

| Opt/Reqd |

Range

==========================================================================

FE2_BLUR_FILTER

| Numeric

| Optional | blurfilter_t

FE2_BLUR_MASKSIZE

| Numeric

| Optional | masksiz_t

Example Usage:

sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_BLUR);

//blur the image using a Gaussian kernel

if(sc == ON2_OK)

sc = Flix2_FilterSetParam(&filter, FE2_BLUR_FILTER, BLUR_GAUSS);

Defines

• #define

FE2_FILTER_BLUR

Filter name for use with

Flix2_AddFilter()

.

• #define

FE2_BLUR_FILTER

Specifies blur filter to be applied to source.

• #define

FE2_BLUR_MASKSIZE

Specifies the kernel/mask size to be used.

Typedefs

• typedef enum

masksiz masksiz_t

Filter mask/kernel size.

• typedef enum

blurfilter blurfilter_t

Enumerations

• enum

masksiz

{

MASK_3x3

,

MASK_5x5

}

Filter mask/kernel size.

• enum

blurfilter

{

BLUR_LOWPASS

,

BLUR_GAUSS

}

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen