Project Ne10
An open, optimized software library for the ARM architecture.
Functions | Variables

Functions

void ne10_img_resize_bilinear_rgba_c (ne10_uint8_t *dst, ne10_uint32_t dst_width, ne10_uint32_t dst_height, ne10_uint8_t *src, ne10_uint32_t src_width, ne10_uint32_t src_height, ne10_uint32_t src_stride)
 Specific implementation of ne10_img_resize_bilinear_rgba using plain C. More...
 
void ne10_img_resize_bilinear_rgba_neon (ne10_uint8_t *dst, ne10_uint32_t dst_width, ne10_uint32_t dst_height, ne10_uint8_t *src, ne10_uint32_t src_width, ne10_uint32_t src_height, ne10_uint32_t src_stride)
 Specific implementation of ne10_img_resize_bilinear_rgba using NEON SIMD capabilities. More...
 

Variables

void(* ne10_img_resize_bilinear_rgba )(ne10_uint8_t *dst, ne10_uint32_t dst_width, ne10_uint32_t dst_height, ne10_uint8_t *src, ne10_uint32_t src_width, ne10_uint32_t src_height, ne10_uint32_t src_stride)
 Image resize of 8-bit data. More...
 

Detailed Description

Image resize is a generic functionality in image processing. In Ne10 library, we use the bilinear interpolation algorithm (http://en.wikipedia.org/wiki/Bilinear_interpolation) to implement image resize. For C implementation, we take the cvResize function from OpenCV (http://opencv.org/) for reference.
This set of functions implements image resize with bilinear interpolation algorithm for 8-bit data types. The functions operate on out-of-place buffer which use different buffer for input and output.

Function Documentation

void ne10_img_resize_bilinear_rgba_c ( ne10_uint8_t dst,
ne10_uint32_t  dst_width,
ne10_uint32_t  dst_height,
ne10_uint8_t src,
ne10_uint32_t  src_width,
ne10_uint32_t  src_height,
ne10_uint32_t  src_stride 
)

Specific implementation of ne10_img_resize_bilinear_rgba using plain C.

Definition at line 446 of file NE10_resize.c.

void ne10_img_resize_bilinear_rgba_neon ( ne10_uint8_t dst,
ne10_uint32_t  dst_width,
ne10_uint32_t  dst_height,
ne10_uint8_t src,
ne10_uint32_t  src_width,
ne10_uint32_t  src_height,
ne10_uint32_t  src_stride 
)

Specific implementation of ne10_img_resize_bilinear_rgba using NEON SIMD capabilities.

Definition at line 487 of file NE10_resize.c.

Variable Documentation

void(* ne10_img_resize_bilinear_rgba) (ne10_uint8_t *dst, ne10_uint32_t dst_width, ne10_uint32_t dst_height, ne10_uint8_t *src, ne10_uint32_t src_width, ne10_uint32_t src_height, ne10_uint32_t src_stride)

Image resize of 8-bit data.

Parameters
[out]*dstpoint to the destination image
[in]dst_widthwidth of destination image
[in]dst_heightheight of destination image
[in]*srcpoint to the source image
[in]src_widthwidth of source image
[in]src_heightheight of source image
[in]src_stridestride of source buffer

The function implements image resize. Points to ne10_img_resize_bilinear_rgba_c or ne10_img_resize_bilinear_rgba_neon.

Definition at line 55 of file NE10_init_imgproc.c.