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

Functions

void ne10_img_rotate_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_int32_t angle)
 Specific implementation of ne10_img_rotate_rgba using plain C. More...
 
void ne10_img_rotate_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_int32_t angle)
 Specific implementation of ne10_img_rotate_rgba using NEON SIMD capabilities. More...
 

Variables

void(* ne10_img_rotate_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_int32_t angle)
 Image rotate of 8-bit data. More...
 

Detailed Description

Image rotate is a generic functionality in image processing. For C implementation, we take the cvGetQuadrangleSubPix function from OpenCV (http://opencv.org/) for reference.
This set of functions implements image rotate with bilinear interpolation algorithm for 8-bit data types.

Function Documentation

void ne10_img_rotate_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_int32_t  angle 
)

Specific implementation of ne10_img_rotate_rgba using plain C.

Definition at line 212 of file NE10_rotate.c.

void ne10_img_rotate_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_int32_t  angle 
)

Specific implementation of ne10_img_rotate_rgba using NEON SIMD capabilities.

Definition at line 256 of file NE10_rotate.c.

Variable Documentation

void(* ne10_img_rotate_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_int32_t angle)

Image rotate of 8-bit data.

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

The function extracts pixels from src at sub-pixel accuracy and stores them to dst. Points to ne10_img_rotate_rgba_c or ne10_img_rotate_rgba_neon.

Definition at line 62 of file NE10_init_imgproc.c.