Project Ne10
An open, optimized software library for the ARM architecture.
Functions | Variables
Image Box Filter (Blur)

Functions

void ne10_img_boxfilter_rgba8888_c (const ne10_uint8_t *src, ne10_uint8_t *dst, ne10_size_t src_sz, ne10_int32_t src_stride, ne10_int32_t dst_stride, ne10_size_t kernel)
 Specific implementation of ne10_img_boxfilter_rgba8888 using plain C. More...
 
void ne10_img_boxfilter_rgba8888_neon (const ne10_uint8_t *src, ne10_uint8_t *dst, ne10_size_t src_sz, ne10_int32_t src_stride, ne10_int32_t dst_stride, ne10_size_t kernel)
 Specific implementation of ne10_img_boxfilter_rgba8888 using NEON SIMD capabilities. More...
 

Variables

void(* ne10_img_boxfilter_rgba8888 )(const ne10_uint8_t *src, ne10_uint8_t *dst, ne10_size_t src_size, ne10_int32_t src_stride, ne10_int32_t dst_stride, ne10_size_t kernel_size)
 Box blur of RGBA8888 image data. More...
 

Detailed Description

Function Documentation

void ne10_img_boxfilter_rgba8888_c ( const ne10_uint8_t src,
ne10_uint8_t dst,
ne10_size_t  src_sz,
ne10_int32_t  src_stride,
ne10_int32_t  dst_stride,
ne10_size_t  kernel 
)

Specific implementation of ne10_img_boxfilter_rgba8888 using plain C.

Definition at line 344 of file NE10_boxfilter.c.

void ne10_img_boxfilter_rgba8888_neon ( const ne10_uint8_t src,
ne10_uint8_t dst,
ne10_size_t  src_sz,
ne10_int32_t  src_stride,
ne10_int32_t  dst_stride,
ne10_size_t  kernel 
)

Specific implementation of ne10_img_boxfilter_rgba8888 using NEON SIMD capabilities.

Calls through to the non-optimised ne10_img_boxfilter_rgba8888_c routine for kernels with sides smaller than 2 pixels or larger than 127 pixels.

Definition at line 418 of file NE10_boxfilter.neon.c.

Variable Documentation

void(* ne10_img_boxfilter_rgba8888) (const ne10_uint8_t *src, ne10_uint8_t *dst, ne10_size_t src_size, ne10_int32_t src_stride, ne10_int32_t dst_stride, ne10_size_t kernel_size)

Box blur of RGBA8888 image data.

Parameters
[out]*dstpointer to the output buffer
[in]*srcpointer to the input buffer
[in]src_szsize of the source image
[in]src_stridesource stride
[in]dst_stridedestination stride
[in]kernelblurring kernel size (with sides between 1 and 65535 pixels wide)

Applies a box filter (also known as a box blur) to an input image in the RGBA8888 format, producing a blurred output image of the same size and format. The blurring kernel is anchored at its center. When values must be obtained from beyond the source image boundaries, zero-valued pixels are assumed.

Points to ne10_img_boxfilter_rgba8888_c or ne10_img_boxfilter_rgba8888_neon. This is an out-of-place algorithm.

Definition at line 69 of file NE10_init_imgproc.c.