RAPP Compute layer binary 2x reduction. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_reduce_1x2_rk1_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 1x2 reduction, rank 1. | |
RC_EXPORT void | rc_reduce_1x2_rk2_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 1x2 reduction, rank 2. | |
RC_EXPORT void | rc_reduce_2x1_rk1_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 2x1 reduction, rank 1. | |
RC_EXPORT void | rc_reduce_2x1_rk2_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 2x1 reduction, rank 2. | |
RC_EXPORT void | rc_reduce_2x2_rk1_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 2x2 reduction, rank 1. | |
RC_EXPORT void | rc_reduce_2x2_rk2_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 2x2 reduction, rank 2. | |
RC_EXPORT void | rc_reduce_2x2_rk3_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 2x2 reduction, rank 3. | |
RC_EXPORT void | rc_reduce_2x2_rk4_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Binary 2x2 reduction, rank 4. |
RAPP Compute layer binary 2x reduction.
RC_EXPORT void rc_reduce_1x2_rk1_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 1x2 reduction, rank 1.
[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_1x2_rk2_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 1x2 reduction, rank 2.
[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_rk1_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 2x1 reduction, rank 1.
[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_2x1_rk2_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 2x1 reduction, rank 2.
[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_rk1_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 2x2 reduction, rank 1.
[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_reduce_2x2_rk2_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 2x2 reduction, rank 2.
[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_reduce_2x2_rk3_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 2x2 reduction, rank 3.
[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_reduce_2x2_rk4_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Binary 2x2 reduction, rank 4.
[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. |