rc_rotate_bin.h File Reference

RAPP Compute layer binary image rotation. More...

Go to the source code of this file.

Functions

RC_EXPORT void rc_rotate_cw_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Rotate a binary image 90 degrees in clockwise direction.
RC_EXPORT void rc_rotate_ccw_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Rotate a binary image 90 degrees in counter-clockwise direction.

Detailed Description

RAPP Compute layer binary image rotation.


Function Documentation

RC_EXPORT void rc_rotate_ccw_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height 
)

Rotate a binary image 90 degrees in counter-clockwise direction.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
width Source image width in pixels.
height Source image height in pixels.
RC_EXPORT void rc_rotate_cw_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height 
)

Rotate a binary image 90 degrees in clockwise direction.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
width Source image width in pixels.
height Source image height in pixels.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1