RAPP Compute layer binary gather. More...
Go to the source code of this file.
Functions | |
RC_EXPORT int | rc_gather_bin (uint8_t *restrict pack, const uint8_t *restrict src, int src_dim, const uint8_t *restrict map, int map_dim, int width, int height) |
Binary image gather. |
RAPP Compute layer binary gather.
RC_EXPORT int rc_gather_bin | ( | uint8_t *restrict | pack, | |
const uint8_t *restrict | src, | |||
int | src_dim, | |||
const uint8_t *restrict | map, | |||
int | map_dim, | |||
int | width, | |||
int | height | |||
) |
Binary image gather.
[out] | pack | Pixel buffer for gathered pixels. |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the source buffer. | |
[in] | map | Binary map pixel buffer. |
map_dim | Row dimension of the map buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |