rc_reduce.h File Reference

RAPP Compute layer 8-bit reduction. More...

Go to the source code of this file.

Functions

RC_EXPORT void rc_reduce_1x2_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 8-bit 1x2 (horizontal) reduction.
RC_EXPORT void rc_reduce_2x1_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 8-bit 2x1 (vertical) reduction.
RC_EXPORT void rc_reduce_2x2_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 8-bit 2x2 reduction.

Detailed Description

RAPP Compute layer 8-bit reduction.


Function Documentation

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

8-bit 1x2 (horizontal) reduction.

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 Image height in pixels.
RC_EXPORT void rc_reduce_2x1_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height 
)

8-bit 2x1 (vertical) reduction.

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 Image width in pixels.
height Source image height in pixels.
RC_EXPORT void rc_reduce_2x2_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height 
)

8-bit 2x2 reduction.

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