RAPP Compute layer 8-bit image rotation. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_rotate_cw_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Rotate an 8-bit image 90 degrees in clockwise direction. | |
RC_EXPORT void | rc_rotate_ccw_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Rotate an 8-bit image 90 degrees in counter-clockwise direction. |
RAPP Compute layer 8-bit image rotation.
RC_EXPORT void rc_rotate_ccw_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Rotate an 8-bit image 90 degrees in counter-clockwise direction.
[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_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Rotate an 8-bit image 90 degrees in clockwise direction.
[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. |